/* ============================================================
   Martin Mäder – Hausarzt mobil Berlin
   Design System: Warm Medical Minimalism
   ============================================================ */

/* --- Self-hosted Fonts (DSGVO-konform, kein Google-Server-Kontakt) --- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Design Tokens --- */
:root {
  /* Colors */
  --color-primary:        #1D3D52;
  --color-primary-light:  #2D6D86;
  --color-teal:           #2E7D92;
  --color-teal-light:     #4A9DAF;
  --color-sage:           #5A8C7A;
  --color-gold:           #A07D5A;
  --color-gold-light:     #C4A47A;

  --color-bg:             #F7F3EE;
  --color-bg-dark:        #EDE9E3;
  --color-surface:        #FFFFFF;
  --color-surface-warm:   #FBF9F6;

  --color-text:           #1A2C3A;
  --color-text-med:       #4A6070;
  --color-text-muted:     #7A8E9A;
  --color-border:         #DED9D2;
  --color-border-light:   #EEEAE4;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing */
  --nav-height:   80px;
  --max-width:    1180px;

  /* Spacing (8px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(29,61,82,0.08);
  --shadow-md:  0 4px 20px rgba(29,61,82,0.10);
  --shadow-lg:  0 8px 40px rgba(29,61,82,0.14);

  /* Border radius */
  --radius-sm:  3px;
  --radius:     6px;
  --radius-lg:  12px;

  /* Transitions */
  --transition: 200ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-primary);
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-med);
}

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

p { margin-bottom: var(--space-3); }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.section--sm {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.section--bg {
  background-color: var(--color-surface);
}

.section--warm {
  background-color: var(--color-surface-warm);
}

.section--dark {
  background-color: var(--color-primary);
  color: #fff;
}

.section__header {
  margin-bottom: var(--space-6);
}

.section__header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-6);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-2);
}

.section--dark .section__eyebrow {
  color: var(--color-gold-light);
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  margin-top: var(--space-3);
}

.divider--center { margin-left: auto; margin-right: auto; }

/* Grid */
.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-7); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
}

.btn:focus-visible {
  outline: 3px solid var(--color-teal-light);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46,125,146,0.3);
}
.btn--primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,125,146,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--gold {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(160,125,90,0.3);
}
.btn--gold:hover {
  background: #8C6B48;
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}

/* Swap .logo-mark SVG for <img src="images/logo.svg"> when real logo arrives */
.logo-mark { flex-shrink: 0; }

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-main {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.nav__logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-med);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
  background: var(--color-bg);
}

.nav__cta {
  margin-left: var(--space-2);
  padding: 10px 20px;
  font-size: 0.875rem;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4) var(--space-4);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.nav__mobile.open { display: block; }

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.nav__mobile-link {
  display: block;
  padding: 12px var(--space-3);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background var(--transition);
}

.nav__mobile-link:hover { background: var(--color-bg); }

/* Page offset for fixed nav */
.page-content { padding-top: var(--nav-height); }

/* --- Hero --- */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #EDF3F6 0%, #F7F3EE 50%, #F0EDE8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(46,125,146,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-teal);
}

.hero h1 {
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-teal);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--color-text-med);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  max-width: 500px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-med);
  box-shadow: var(--shadow-sm);
}

.badge svg { color: var(--color-teal); flex-shrink: 0; }

.hero__image-wrap {
  position: relative;
}

.hero__image {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-lg);
}

.hero__image-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 240px;
}

.hero__image-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(46,125,146,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-teal);
}

.hero__image-card-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

.hero__image-card-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--color-primary);
  padding: var(--space-4) 0;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.9);
  padding: var(--space-3);
}

.trust-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
}

.trust-item__label {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(46,125,146,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}

.card__icon svg {
  stroke: var(--color-teal);
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-med);
  line-height: 1.6;
}

/* --- Service Cards --- */
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card__body {
  padding: var(--space-4);
}

.service-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.service-card__body p {
  font-size: 0.88rem;
  color: var(--color-text-med);
  margin-bottom: var(--space-3);
}

/* --- Process Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-gold) 100%);
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: var(--space-4);
}

.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-teal);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(46,125,146,0.3);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.step p {
  font-size: 0.88rem;
  color: var(--color-text-med);
}

/* --- About Split --- */
.about-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-7);
  align-items: center;
}

.about-split__image-wrap { position: relative; }

.about-split__image {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-lg);
}


.about-split__badge {
  position: absolute;
  top: 24px;
  right: -20px;
  background: var(--color-primary);
  color: white;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-split__badge-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold-light);
}

.about-split__badge-sub {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-top: 2px;
  line-height: 1.3;
}

/* --- Checklist --- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.95rem;
  color: var(--color-text-med);
}

.checklist__item svg {
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #243F55 100%);
  padding: var(--space-8) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(46,125,146,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-3);
}

.cta-section .lead {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto var(--space-5);
}

/* --- Area Cards --- */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.area-tag {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition);
}

.area-tag:hover {
  background: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  gap: var(--space-3);
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 300ms ease;
  color: var(--color-teal);
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-answer-inner {
  padding-bottom: var(--space-4);
  font-size: 0.95rem;
  color: var(--color-text-med);
  line-height: 1.75;
}

/* --- Cost Table --- */
.cost-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}

.cost-card__header {
  background: var(--color-primary);
  padding: var(--space-4) var(--space-5);
  color: white;
}

.cost-card__header h3 {
  color: white;
  font-size: 1.5rem;
}

.cost-card__header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-top: 4px;
}

.cost-card__body { padding: var(--space-4) var(--space-5); }

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  gap: var(--space-3);
}

.cost-row:last-child { border-bottom: none; }

.cost-row__label {
  font-size: 0.9rem;
  color: var(--color-text-med);
}

.cost-row__price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(46,125,146,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  flex-shrink: 0;
}

.contact-info-item__content {}
.contact-info-item__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-info-item__value {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

.contact-info-item__value a {
  color: var(--color-teal);
  transition: color var(--transition);
}
.contact-info-item__value a:hover { color: var(--color-primary); }

.contact-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.contact-note {
  background: rgba(46,125,146,0.08);
  border-left: 3px solid var(--color-teal);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.875rem;
  color: var(--color-text-med);
  margin-top: var(--space-4);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #243F55 100%);
  padding: var(--space-8) 0 var(--space-7);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero h1 { color: white; margin-bottom: var(--space-3); }

.page-hero .lead {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-3);
  justify-content: center;
}

.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* --- Photo Grid --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.photo-grid__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.photo-grid__item:hover img { transform: scale(1.03); }

.photo-grid__item--tall { grid-row: span 2; aspect-ratio: auto; }
.photo-grid__item--tall img { height: 100%; }

/* --- Inline text links --- */
.text-link {
  color: var(--color-teal);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.text-link:hover { border-color: var(--color-teal); }

/* --- Download Button --- */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.download-btn:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.download-btn svg { color: var(--color-teal); }

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: var(--space-7) 0 var(--space-4);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-2);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
  line-height: 1.2;
}

.footer__brand-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-3);
}

.footer__text {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--space-3);
}

.footer__links { display: flex; flex-direction: column; gap: var(--space-2); }

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__link:hover { color: white; }

.footer__contact-item {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
}

.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--color-gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer__legal {
  display: flex;
  gap: var(--space-4);
}

.footer__legal a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__legal a:hover { color: rgba(255,255,255,0.85); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 500ms ease forwards;
}

.fade-up--1 { animation-delay: 100ms; }
.fade-up--2 { animation-delay: 200ms; }
.fade-up--3 { animation-delay: 300ms; }
.fade-up--4 { animation-delay: 400ms; }

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

/* --- Legal Pages --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.legal-content p,
.legal-content li {
  font-size: 0.9rem;
  color: var(--color-text-med);
  line-height: 1.75;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero__image-wrap { max-width: 360px; margin: 0 auto; order: -1; }
  .hero__image-card { bottom: -12px; left: -12px; }
  .hero { min-height: unset; padding: var(--space-5) 0; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--split { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-split__image-wrap { max-width: 340px; }
  .about-split__badge { right: 0; }

  .steps { grid-template-columns: 1fr; gap: var(--space-3); }
  .steps::before { display: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid__item--tall { grid-row: span 1; aspect-ratio: 4/3; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .section { padding-top: var(--space-6); padding-bottom: var(--space-6); }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .hero__badges { flex-wrap: wrap; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: 1fr; }
  .area-grid { flex-direction: column; }
  .area-tag { text-align: center; }
  .contact-secondary { grid-template-columns: 1fr; }
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* --- Focus styles for all interactive elements --- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   POLISH LAYER — Micro-interactions & Visual Refinement
   ============================================================ */

/* Smoother reveal easing */
.reveal {
  transition: opacity 550ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 550ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger grid children */
.grid > .reveal:nth-child(2) { transition-delay: 80ms; }
.grid > .reveal:nth-child(3) { transition-delay: 160ms; }
.grid > .reveal:nth-child(4) { transition-delay: 240ms; }

/* --- Floating hero card --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero__image-card {
  animation: float 5s ease-in-out infinite;
  will-change: transform;
}

/* --- Nav link underline slide-in --- */
.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

/* --- Button press feedback --- */
.btn:active {
  transform: scale(0.97) !important;
  transition-duration: 80ms !important;
}

/* --- Trust bar hover (dark bg) --- */
.trust-item {
  transition: transform 220ms ease, background 220ms ease;
  border-radius: var(--radius-lg);
}

.trust-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}

.trust-item:hover .trust-item__icon {
  transform: scale(1.15);
  background: rgba(255,255,255,0.18);
}

.trust-item__icon {
  transition: transform 220ms ease, background 220ms ease;
}

/* --- Enhanced card hover --- */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(29,61,82,0.14);
}

.card:hover .card__icon {
  transform: scale(1.12);
  background: rgba(46,125,146,0.18);
}

.card__icon {
  transition: transform 250ms ease, background 250ms ease;
}

/* --- About-split image zoom --- */
.about-split__image {
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 600ms ease;
}

.about-split__image-wrap:hover .about-split__image {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(29,61,82,0.2);
}

/* --- FAQ open state accent --- */
.faq-item.open {
  border-left: 3px solid var(--color-teal);
  padding-left: var(--space-3);
  margin-left: -3px;
  transition: border-color 200ms ease, padding-left 200ms ease;
}

.faq-item.open .faq-question {
  color: var(--color-teal);
}

/* --- Area tag enhanced hover --- */
.area-tag {
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
}

.area-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46,125,146,0.25);
}

/* --- Step number pulse on hover --- */
.step:hover .step__num {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(46,125,146,0.4);
}

.step__num {
  transition: transform 250ms ease, box-shadow 250ms ease;
}

/* --- Service card image zoom --- */
.service-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card__img {
  transition: transform 500ms ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.04);
}

/* --- Download button icon bounce --- */
.download-btn:hover svg {
  animation: bounce-down 400ms ease;
}

@keyframes bounce-down {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(3px); }
  70%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

/* --- Hero image subtle parallax feel (CSS only) --- */
.hero__image {
  transition: transform 600ms ease;
}

.hero__image-wrap:hover .hero__image {
  transform: scale(1.02);
}

/* --- Divider shimmer on section hover --- */
.section__header:hover .divider {
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  width: 64px;
  transition: width 300ms ease, background 300ms ease;
}

.divider {
  transition: width 300ms ease, background 300ms ease;
}

/* ============================================================
   DOWNLOADS PAGE
   ============================================================ */

.download-category {
  margin-bottom: var(--space-6);
}

.download-category__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

.download-category__header svg {
  flex-shrink: 0;
  color: var(--color-teal);
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.download-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.download-card__badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card__badge--pdf  { background: rgba(46,125,146,0.12); color: var(--color-teal); }
.download-card__badge--doc  { background: rgba(29,61,82,0.10);   color: var(--color-primary); }
.download-card__badge--xls  { background: rgba(90,140,122,0.15); color: var(--color-sage); }
.download-card__badge--other{ background: rgba(0,0,0,0.06);      color: var(--color-text-muted); }

.download-card__info {
  flex: 1;
  min-width: 0;
}

.download-card__name {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.download-card__btn {
  flex-shrink: 0;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.download-card__btn svg {
  flex-shrink: 0;
}

/* Loading state */
.downloads-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8) 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.downloads-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-teal);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error / empty state */
.downloads-state {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  color: var(--color-text-muted);
}

.downloads-state__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-4);
  background: var(--color-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.downloads-state h3 {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.downloads-state p {
  font-size: 0.9rem;
  max-width: 380px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
  .download-card {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .download-card__name {
    white-space: normal;
  }

  .download-card__btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-1);
  }
}

/* --- Print --- */
@media print {
  .nav, .hero__image-card, .cta-section, .footer { display: none; }
  body { background: white; color: black; }
}
