/* =========================================================
   Praxis Sophia von Krauß — Design System
   Cream + Navy, DM Sans + Instrument Serif
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --navy: #1C2333;
  --cream: #F8F6F0;
  --accent: #404F68;
  --accent-light: #A3A7B3;
  --text: var(--navy);
  --text-muted: var(--accent);
  --radius: 18px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--navy); color: var(--cream); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

/* ---------- Typographic primitives ---------- */
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 700; }

.badge, .tag-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  border: 1.5px solid rgba(28, 35, 51, 0.25);
  border-radius: 50px;
  padding: 0.4rem 1.25rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  margin-bottom: 1.75rem;
  white-space: nowrap;
}
.on-dark .badge, .on-dark .tag-pill {
  border-color: rgba(163, 167, 179, 0.4);
  color: var(--accent-light);
}

/* ---------- Buttons ---------- */
.btn {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--navy); color: var(--cream); transform: translateY(-1px); }
.btn .arrow { transition: transform 0.22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-solid { background: var(--navy); color: var(--cream); }
.btn-solid:hover { background: #11161f; color: var(--cream); }

.on-dark .btn { color: var(--accent-light); border-color: var(--accent-light); }
.on-dark .btn:hover { background: var(--accent-light); color: var(--navy); border-color: var(--accent-light); }

/* ---------- Navigation ---------- */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(28, 35, 51, 0.07);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
}
nav.site-nav.nav-visible { transform: translateY(0); }
nav.site-nav.nav-static { transform: translateY(0); position: sticky; }
.nav-inner { max-width: var(--maxw); margin: 0 auto; height: 100px; display: flex; align-items: center; }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-right: 1.5rem; }
.nav-logo img { height: 80px; width: auto; display: block; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-size: 14px; font-weight: 400;
  padding: 0.5rem 0.8rem; border-radius: 8px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { font-weight: 500; }
.nav-caret { width: 9px; height: 9px; transition: transform 0.25s var(--ease); opacity: 0.7; }
.nav-links li.open .nav-caret { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; margin-left: 1.25rem; }

/* Mega dropdown */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(760px, 90vw);
  background: var(--cream);
  border: 1px solid rgba(28, 35, 51, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(28, 35, 51, 0.25);
  padding: 1.75rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 120;
}
.nav-links li.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-col h5 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 0.9rem;
}
.mega-col a {
  display: block; padding: 0.45rem 0; font-size: 14px; color: var(--text-muted);
  border-radius: 6px; transition: color 0.2s, padding 0.2s;
}
.mega-col a:hover { color: var(--navy); padding-left: 6px; }
.mega-col a .m-sub { display: block; font-size: 12px; color: var(--accent-light); margin-top: 1px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); margin: 5px 0; transition: 0.3s var(--ease); }
.mobile-menu { display: none; }

/* ---------- Hero (home) ---------- */
.home-hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.home-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.home-hero .hero-bg .photo-ph { align-items: flex-start; justify-content: flex-end; padding: 5.5rem 2rem; }
.home-hero .hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(28,35,51,0.55) 0%, rgba(28,35,51,0.25) 45%, rgba(28,35,51,0.35) 100%);
}
.home-hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-label {
  display: block; font-weight: 400; font-size: 13px; letter-spacing: 0.12em;
  color: rgba(248,246,240,0.7); text-transform: uppercase; margin-bottom: 1rem;
}
.hero-title {
  display: block; font-size: clamp(3.5rem, 9vw, 8.5rem); font-weight: 700;
  color: #E8E4DB; line-height: 0.93; letter-spacing: -0.03em; margin-bottom: 2.5rem;
}
.hero-sub { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--cream); font-weight: 300; max-width: 540px; line-height: 1.4; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 2.5rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-info { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-info-card {
  flex: 1 1 0; min-width: 170px;
  border: 1px solid rgba(163,167,179,0.3); background: rgba(28,35,51,0.25);
  backdrop-filter: blur(6px); border-radius: 14px; padding: 1rem 1.4rem;
}
.hero-info-card .hk { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.45rem; }
.hero-info-card .hv { font-size: 14px; color: var(--cream); line-height: 1.4; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 11rem 0 4rem; }
.page-hero.on-dark { background: var(--navy); }
.page-hero .ph-inner { max-width: 880px; }
.page-h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; color: var(--navy); }
.on-dark .page-h1 { color: #E8E4DB; }
.page-lede { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300; line-height: 1.6; color: var(--text-muted); margin-top: 1.6rem; }
.on-dark .page-lede { color: var(--accent-light); }
.page-lede p + p { margin-top: 1.1rem; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 5.5rem 0; }
.section.tight { padding: 4rem 0; }
.section.alt { border-top: 1px solid rgba(28,35,51,0.10); }

.section-header { max-width: 760px; margin-bottom: 3.25rem; }
.section-title { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1.06; }
.section-desc { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-muted); line-height: 1.55; font-weight: 300; margin-top: 1.1rem; }

/* prose */
.prose { max-width: 780px; }
.prose p { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--text); font-weight: 300; line-height: 1.7; margin-bottom: 1.3em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }
.prose .lead { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 300; line-height: 1.6; color: var(--navy); }

/* ---------- Quote (Instrument Serif) ---------- */
.quote-block { max-width: 820px; }
.quote-block .q {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.3; letter-spacing: -0.01em;
  color: var(--navy);
}
.quote-block .q.muted { color: var(--text-muted); }
.quote-cite { margin-top: 1.5rem; font-size: 14px; letter-spacing: 0.04em; color: var(--text-muted); }

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.service-card {
  background: rgba(28, 35, 51, 0.05); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 0.9rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
  cursor: pointer; text-decoration: none; color: var(--text);
}
.service-card:hover { background: var(--navy); color: var(--cream); transform: translateY(-3px); }
.service-card:hover .service-num { color: rgba(248,246,240,0.45); }
.service-card:hover .service-desc { color: rgba(248,246,240,0.65); }
.service-card:hover .service-link { color: var(--cream); border-color: rgba(248,246,240,0.4); }
.service-num { font-size: 13px; font-weight: 400; color: var(--text-muted); letter-spacing: 0.05em; }
.service-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.service-desc { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); flex: 1 1 0%; }
.service-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 13px; font-weight: 500; color: var(--navy); text-decoration: none; margin-top: 0.4rem;
  border: 1.5px solid rgba(28,35,51,0.3); border-radius: 50px; padding: 0.5rem 1.1rem;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}
.service-card:hover .service-link { transform: translateX(2px); }


/* ---------- Topic cards (Schwerpunkte) ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.topic-card {
  background: rgba(28,35,51,0.04); border: 1px solid rgba(28,35,51,0.07);
  border-radius: var(--radius); padding: 2rem;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease), border-color 0.25s;
}
.topic-card:hover { background: rgba(28,35,51,0.07); transform: translateY(-2px); }
.topic-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.topic-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); font-weight: 300; }

/* ---------- Steps / numbered process ---------- */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 860px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; padding: 2rem 0; border-top: 1px solid rgba(28,35,51,0.12); }
.step:first-child { border-top: none; }
.step-num {
  font-family: "Instrument Serif", Georgia, serif; font-size: 2.6rem; line-height: 1;
  color: var(--accent-light); font-weight: 400; min-width: 56px;
}
.step-body h3 { font-size: 1.25rem; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.step-body p { font-size: 15px; line-height: 1.65; color: var(--text-muted); font-weight: 300; }
.step-body p + p { margin-top: 0.8rem; }

/* ---------- Phase blocks ---------- */
.phase { display: grid; grid-template-columns: 0.8fr 2fr; gap: 2.5rem; padding: 3rem 0; border-top: 1px solid rgba(28,35,51,0.12); }
.phase:first-of-type { border-top: none; }
.phase-meta .badge { margin-bottom: 0.75rem; }
.phase-meta .phase-index { font-family: "Instrument Serif", Georgia, serif; font-size: 4rem; line-height: 0.9; color: var(--accent-light); }
.phase-body h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.phase-body p { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; color: var(--text-muted); font-weight: 300; }
.phase-body p + p { margin-top: 1rem; }

/* ---------- Package / pricing box ---------- */
.pkg {
  background: rgba(28,35,51,0.04); border: 1px solid rgba(28,35,51,0.1);
  border-radius: var(--radius-lg); padding: 2.5rem; max-width: 760px;
}
.pkg .pkg-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.pkg-rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.5rem; }
.pkg-row { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; border-top: 1px solid rgba(28,35,51,0.1); }
.pkg-row:first-child { border-top: none; }
.pkg-row .pk { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-light); font-weight: 500; }
.pkg-row .pv { font-size: 15px; color: var(--navy); font-weight: 400; text-align: right; max-width: 60%; }
.pkg-row .pv.price { font-weight: 600; }
.pkg-note { font-size: 13.5px; color: var(--text-muted); font-weight: 300; line-height: 1.65; }

/* ---------- Info / detail rows (kosten, qualifications) ---------- */
.detail-list { display: flex; flex-direction: column; max-width: 820px; }
.detail-item { padding: 1.8rem 0; border-top: 1px solid rgba(28,35,51,0.12); }
.detail-item:first-child { border-top: none; }
.detail-item h3 { font-size: 1.2rem; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.detail-item p { font-size: 15px; line-height: 1.65; color: var(--text-muted); font-weight: 300; }
.detail-item .sub-q { font-weight: 600; color: var(--navy); margin-top: 0.8rem; display: block; font-size: 14px; }

/* two-column info cards */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.info-card {
  background: rgba(28,35,51,0.04); border: 1px solid rgba(28,35,51,0.08);
  border-radius: var(--radius); padding: 2rem;
}
.info-card .badge { margin-bottom: 1rem; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; letter-spacing: -0.02em; }
.info-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); font-weight: 300; }
.info-card p + p { margin-top: 0.7rem; }
.info-card .sub-q { font-weight: 600; color: var(--navy); display: block; margin-top: 0.9rem; font-size: 14px; }

/* ---------- CTA card (navy + photo veil) ---------- */
.cta-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy); padding: 4rem; min-height: 360px;
  display: flex; align-items: center;
}
.cta-card .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-card .cta-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(28,35,51,0.94) 0%, rgba(28,35,51,0.82) 50%, rgba(28,35,51,0.7) 100%);
}
.cta-content { position: relative; z-index: 2; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; }
.cta-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; color: var(--cream); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1rem; }
.cta-desc { font-size: 16px; color: var(--accent-light); max-width: 480px; line-height: 1.6; margin-bottom: 2rem; font-weight: 300; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; display: flex; flex-direction: column; }
details.faq {
  border-top: 1px solid rgba(28,35,51,0.12);
}
details.faq:last-child { border-bottom: 1px solid rgba(28,35,51,0.12); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 0; display: flex;
  align-items: flex-start; justify-content: space-between; gap: 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 500; color: var(--navy);
  letter-spacing: -0.01em; line-height: 1.35;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq .faq-icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; margin-top: 4px; transition: transform 0.3s var(--ease); }
details.faq .faq-icon::before, details.faq .faq-icon::after {
  content: ""; position: absolute; background: var(--accent); transition: 0.3s var(--ease);
}
details.faq .faq-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
details.faq .faq-icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
details.faq[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); }
details.faq .faq-answer { padding: 0 2.5rem 1.7rem 0; max-width: 720px; }
details.faq .faq-answer p { font-size: 15.5px; line-height: 1.7; color: var(--text-muted); font-weight: 300; }
details.faq .faq-answer p + p { margin-top: 0.8rem; }
details.faq .faq-answer a.inline-link { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(28,35,51,0.3); padding-bottom: 1px; }
details.faq .faq-answer a.inline-link:hover { border-color: var(--navy); }

/* inline arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
  color: var(--navy); font-weight: 500; font-size: 15px;
  border: 1.5px solid rgba(28,35,51,0.3); border-radius: 50px; padding: 0.55rem 1.25rem;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.15s;
}
.arrow-link:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); transform: translateY(-1px); }
.on-dark .arrow-link { color: var(--accent-light); border-color: var(--accent-light); }
.on-dark .arrow-link:hover { background: var(--accent-light); color: var(--navy); }
.arrow-link .arrow { transition: transform 0.22s var(--ease); }
.arrow-link:hover .arrow { transform: translateX(3px); }

/* link list */
.link-list { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-card {
  background: rgba(28,35,51,0.04); border: 1px solid rgba(28,35,51,0.08);
  border-radius: var(--radius); padding: 2rem; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
a.contact-card:hover { background: var(--navy); color: var(--cream); transform: translateY(-3px); }
a.contact-card:hover .cc-k { color: var(--accent-light); }
a.contact-card:hover .cc-sub { color: rgba(248,246,240,0.65); }
.contact-card .cc-k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); }
.contact-card .cc-v { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; word-break: break-word; }
.contact-card .cc-sub { font-size: 13.5px; color: var(--text-muted); font-weight: 300; }

.transport { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.transport .tr { border-top: 2px solid rgba(28,35,51,0.15); padding-top: 1rem; }
.transport .tr .trk { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.4rem; }
.transport .tr .trv { font-size: 14.5px; color: var(--navy); line-height: 1.5; font-weight: 300; }

/* notfall / emergency box */
.callout {
  background: rgba(28,35,51,0.05); border: 1px solid rgba(28,35,51,0.12);
  border-radius: var(--radius); padding: 2rem; max-width: 820px;
}
.callout ul { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.callout li { font-size: 15px; color: var(--text); font-weight: 300; }
.callout li strong { font-weight: 600; }

/* photo placeholder */
.photo-ph {
  position: relative; width: 100%; height: 100%;
  background-color: #2a3346;
  background-image:
    repeating-linear-gradient(135deg, rgba(163,167,179,0.10) 0px, rgba(163,167,179,0.10) 2px, transparent 2px, transparent 14px);
  display: flex; align-items: center; justify-content: center;
}
.photo-ph .ph-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px;
  letter-spacing: 0.08em; color: rgba(248,246,240,0.55); text-transform: uppercase;
  border: 1px solid rgba(248,246,240,0.25); padding: 0.4rem 0.9rem; border-radius: 4px;
  background: rgba(28,35,51,0.35);
}
.media-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.media-frame.portrait { aspect-ratio: 3 / 4; }
.media-frame.wide { aspect-ratio: 16 / 9; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.media-right { grid-template-columns: 1.05fr 0.95fr; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); padding: 5rem 2rem 2.5rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 2fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(248,246,240,0.1); margin-bottom: 2rem; }
.footer-brand img { height: 86px; width: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 13.5px; color: rgba(248,246,240,0.5); line-height: 1.7; margin-bottom: 1.5rem; max-width: 320px; }
.footer-col h4 { font-size: 13px; font-weight: 500; color: var(--cream); margin-bottom: 1.2rem; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; }
.footer-col ul li + li { margin-top: 0.6rem; }
.footer-col ul a, .footer-col address a { text-decoration: none; font-size: 13.5px; color: rgba(248,246,240,0.5); transition: color 0.2s; }
.footer-col ul a:hover, .footer-col address a:hover { color: rgba(248,246,240,0.9); }
.footer-col address { font-style: normal; font-size: 13.5px; color: rgba(248,246,240,0.5); line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(248,246,240,0.35); flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Reveal animations ---------- */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(32px); } 100% { opacity: 1; transform: translateY(0); } }
.hero-anim { animation: fadeInUp 0.9s var(--ease) both; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.25s; } .d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; } .d5 { animation-delay: 0.7s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .hero-anim, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .split, .split.media-right { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
  .phase { grid-template-columns: 1fr; gap: 1rem; }
  .phase-meta { display: flex; align-items: center; gap: 1.5rem; }
  .topic-grid, .info-grid { grid-template-columns: 1fr; }
  .home-hero { padding-bottom: 3rem; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 1.25rem; }
  .cards-grid, .cards-grid.cols-3, .cards-grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 2.25rem 1.75rem; }
  .pkg { padding: 1.75rem; }
  .transport { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-num { font-size: 2rem; }
}

/* mobile menu panel */
.mobile-menu.open { display: block; position: fixed; inset: 100px 0 0; background: var(--cream); z-index: 99; padding: 2rem; overflow-y: auto; }
.mobile-menu a { display: block; padding: 0.9rem 0; font-size: 1.2rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(28,35,51,0.08); }
.mobile-menu .mm-group-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); margin-top: 1.5rem; }
