/* M&M Cleaning Solutions — Brand Styles */
:root {
  --navy: #0c3d72;
  --navy-deep: #08213f;
  --navy-soft: #1a5a9c;
  --lime: #7bc142;
  --lime-bright: #8fd45a;
  --lime-deep: #5a9a2e;
  --sky: #e8f4ff;
  --mist: #f3f9ff;
  --ink: #1a2b3c;
  --muted: #5a6d7e;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.75);
  --header-bg: rgba(255, 255, 255, 0.88);
  --border: rgba(12, 61, 114, 0.08);
  --border-strong: rgba(12, 61, 114, 0.18);
  --panel: #ffffff;
  --input-bg: #f3f9ff;
  --hero-veil: linear-gradient(120deg, rgba(255, 255, 255, 0.88) 0%, rgba(232, 244, 255, 0.78) 45%, rgba(255, 255, 255, 0.7) 100%),
    radial-gradient(circle at 70% 40%, rgba(123, 193, 66, 0.12), transparent 45%);
  --body-bg:
    radial-gradient(1200px 600px at 10% -10%, rgba(123, 193, 66, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(26, 90, 156, 0.12), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 40%, #eef6ff 100%);
  --cta-bg: linear-gradient(120deg, rgba(123, 193, 66, 0.18), rgba(12, 61, 114, 0.1)), var(--white);
  --card-grad: linear-gradient(160deg, var(--white), var(--sky));
  --shadow: 0 18px 50px rgba(12, 61, 114, 0.12);
  --logo-blend: multiply;
  --radius: 18px;
  --max: 1120px;
  --font: "Manrope", system-ui, sans-serif;
  --script: "Caveat", cursive;
}

html[data-theme="dark"] {
  --navy: #8ec0ff;
  --navy-deep: #d7e9ff;
  --navy-soft: #6aa8ef;
  --lime: #8fd45a;
  --lime-bright: #a6e075;
  --lime-deep: #7bc142;
  --sky: #16324f;
  --mist: #0b1624;
  --ink: #e8f0f8;
  --muted: #9db0c3;
  --white: #0f1a27;
  --surface: #142334;
  --surface-soft: rgba(20, 35, 52, 0.88);
  --header-bg: rgba(10, 18, 30, 0.9);
  --border: rgba(142, 192, 255, 0.14);
  --border-strong: rgba(142, 192, 255, 0.28);
  --panel: #142334;
  --input-bg: #0d1826;
  --hero-veil: linear-gradient(120deg, rgba(8, 16, 28, 0.88) 0%, rgba(12, 28, 48, 0.82) 45%, rgba(8, 18, 32, 0.78) 100%),
    radial-gradient(circle at 70% 40%, rgba(123, 193, 66, 0.16), transparent 45%);
  --body-bg:
    radial-gradient(1000px 500px at 10% -10%, rgba(123, 193, 66, 0.12), transparent 55%),
    radial-gradient(800px 480px at 100% 0%, rgba(26, 90, 156, 0.22), transparent 50%),
    linear-gradient(180deg, #0a1320 0%, #0f1a27 45%, #122338 100%);
  --cta-bg: linear-gradient(120deg, rgba(123, 193, 66, 0.14), rgba(26, 90, 156, 0.18)), #142334;
  --card-grad: linear-gradient(160deg, #152738, #16324f);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --logo-blend: normal;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--body-bg);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--lime);
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
}

.theme-toggle-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: inset -5px -2px 0 0 var(--surface);
}

html[data-theme="dark"] .theme-toggle-icon::before {
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 -7px 0 -4px currentColor,
    0 7px 0 -4px currentColor,
    7px 0 0 -4px currentColor,
    -7px 0 0 -4px currentColor,
    5px 5px 0 -4.5px currentColor,
    -5px 5px 0 -4.5px currentColor,
    5px -5px 0 -4.5px currentColor,
    -5px -5px 0 -4.5px currentColor;
  border: 2px solid currentColor;
  inset: 3px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  height: 58px;
  width: auto;
}

.brand-text {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav-links a {
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--navy);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(123, 193, 66, 0.16);
  color: var(--navy-deep);
}

.nav-links a.nav-cta {
  background: var(--lime);
  color: var(--white);
  margin-left: 0.35rem;
  box-shadow: 0 8px 20px rgba(123, 193, 66, 0.35);
}

.nav-links a.nav-cta:hover {
  background: var(--lime-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: none;
  background: #0c3d72;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

html[data-theme="dark"] .menu-toggle {
  background: #1a5a9c;
}

.menu-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6px; }
.menu-toggle-bars span:nth-child(3) { top: 12px; }

.menu-toggle.is-open .menu-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.scroll-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--lime);
  color: white;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(123, 193, 66, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top:hover {
  background: var(--lime-deep);
  transform: translateY(-2px);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../assets/banner.png") center / cover no-repeat;
  opacity: 0.28;
  z-index: -2;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-veil);
}

.hero-inner {
  max-width: var(--max);
  width: 100%;
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
}

.hero-logo {
  width: min(300px, 72vw);
  margin: 0 auto 1rem;
  background: transparent;
  mix-blend-mode: var(--logo-blend);
  filter: drop-shadow(0 8px 18px rgba(12, 61, 114, 0.12));
  animation: riseIn 0.9s ease both;
}

html[data-theme="dark"] .hero-logo {
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45)) brightness(1.08);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 0.85rem;
  animation: riseIn 0.9s ease 0.1s both;
}

.hero h1 span {
  color: var(--lime-deep);
}

.hero-tag {
  font-family: var(--script);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  color: var(--navy-soft);
  margin-bottom: 1.75rem;
  animation: riseIn 0.9s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  animation: riseIn 0.9s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(123, 193, 66, 0.35);
}

.btn-primary:hover {
  background: var(--lime-deep);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(12, 61, 114, 0.28);
}

.btn-secondary:hover {
  background: var(--navy-soft);
}

.btn-outline {
  background: var(--surface-soft);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: #0c3d72;
  border-color: #0c3d72;
  color: white;
}

html[data-theme="dark"] .btn-outline:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: #0a1624;
}

html[data-theme="dark"] .btn-secondary {
  background: #1a5a9c;
}

html[data-theme="dark"] .btn-secondary:hover {
  background: #2a6fb5;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: 0.5rem;
}

/* Values strip */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
  padding: 0 1.25rem 1rem;
  max-width: calc(var(--max) + 2.5rem);
  margin-left: auto;
  margin-right: auto;
}

.value-item {
  background: var(--card-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.value-item:hover {
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(123, 193, 66, 0.15);
  color: var(--navy);
  font-size: 1.35rem;
}

.value-item h3 {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.3;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
  border-color: rgba(123, 193, 66, 0.55);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0c3d72;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

html[data-theme="dark"] .service-icon {
  background: #1a5a9c;
}

.service h3 {
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.service p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Why / split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--navy);
}

.check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.split-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.split-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(12, 61, 114, 0.92);
  color: white;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  font-family: var(--script);
  font-size: 1.55rem;
  text-align: center;
}

/* Areas */
.areas {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: white;
  border-radius: 32px;
  padding: 2.5rem 1.75rem;
  text-align: center;
}

.areas h2 {
  margin-bottom: 0.4rem;
}

.areas > p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.area-chips span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--cta-bg);
  border-radius: 32px;
  border: 1px solid var(--border);
}

.cta-band h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.cta-band .hero-actions {
  animation: none;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 4rem 1.25rem 3rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero-bg {
  opacity: 0.22;
  animation: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
  position: relative;
}

.page-hero p {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto;
  position: relative;
  font-size: 1.08rem;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: white;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.contact-card > p {
  opacity: 0.88;
  margin-bottom: 1.35rem;
}

.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-line:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-line strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}

.contact-line a,
.contact-line span {
  font-size: 1.08rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-line a:hover {
  color: var(--lime);
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.quick-actions .btn {
  width: 100%;
}

.info-panel {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
}

.info-panel h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.form-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-panel h2 {
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-panel > p {
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  font: inherit;
  background: var(--input-bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(123, 193, 66, 0.2);
  background: var(--surface);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(123, 193, 66, 0.15);
  color: var(--navy);
  font-weight: 650;
}

.form-success.show {
  display: block;
  animation: riseIn 0.45s ease both;
}

.form-success.error {
  background: rgba(220, 80, 80, 0.15);
  color: #b42318;
}

html[data-theme="dark"] .form-success.error {
  color: #ffb4b0;
}

.botcheck {
  display: none !important;
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Review page — gallery + comments */
.media-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1.25rem;
}

.media-toolbar h2 {
  color: var(--navy);
  font-size: 1.4rem;
}

.review-count {
  font-weight: 750;
  color: var(--lime-deep);
  font-size: 0.95rem;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  background: var(--card-grad);
  border: 2px dashed var(--border-strong);
  box-shadow: none;
}

.gallery-placeholder:hover {
  border-color: rgba(123, 193, 66, 0.55);
}

.placeholder-inner {
  text-align: center;
  color: var(--navy);
  padding: 1rem;
}

.placeholder-inner span {
  display: block;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.placeholder-inner small {
  color: var(--muted);
  font-weight: 600;
}

.review-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.reviews-panel {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  min-height: 320px;
}

.reviews-list {
  display: grid;
  gap: 1rem;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.review-card {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: var(--card-grad);
  border: 1px solid var(--border);
  animation: riseIn 0.45s ease both;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.review-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.review-stars {
  color: #e6a819;
  letter-spacing: 0.06em;
  font-size: 1rem;
  line-height: 1;
}

.review-card time {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 650;
  white-space: nowrap;
}

.review-card p {
  color: var(--ink);
  font-size: 0.98rem;
  white-space: pre-wrap;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.media-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sky);
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  box-shadow: 0 10px 28px rgba(12, 61, 114, 0.1);
  animation: riseIn 0.5s ease both;
}

.media-item:hover {
  border-color: var(--lime);
}

.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-item .media-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.65rem 0.8rem;
  background: linear-gradient(transparent, rgba(8, 33, 63, 0.85));
  color: white;
  font-size: 0.82rem;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.media-delete {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}

.media-delete:hover {
  background: #e74c3c;
}

.media-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  background: var(--surface-soft);
}

/* Services detail */
.service-detail {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.15rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  align-items: start;
}

.service-row .service-icon {
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #0a3566, #061f3b);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 70px;
  width: auto;
  margin-bottom: 0.75rem;
  background: transparent;
}

.footer-brand p {
  opacity: 0.85;
  max-width: 32ch;
}

.footer-col h4 {
  color: var(--lime);
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 0.45rem;
  opacity: 0.88;
}

.footer-col a:hover {
  color: var(--lime);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer-promise {
  font-family: var(--script);
  font-size: 1.35rem;
  color: var(--lime);
  opacity: 1 !important;
}

/* Privacy policy */
.policy {
  max-width: 760px;
}

.policy-updated {
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 1.75rem;
}

.policy-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.policy-block:last-of-type {
  border-bottom: none;
}

.policy-block h2 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.policy-block p,
.policy-block li {
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.policy-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 0.85rem;
}

.policy-block a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-block a:hover {
  color: var(--lime-deep);
}

.footer-bottom a {
  color: var(--lime);
  opacity: 1;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-layout,
  .review-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--panel);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .services-grid,
  .media-grid,
  .form-grid,
  .quick-actions,
  .values {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 85vh;
  }

  .brand img {
    height: 48px;
  }
}
