/* =====================================================================
   AO Anwaltskanzlei – Kanzlei am See
   Design tokens + modular section styles
   Maps 1:1 to Elementor Global Colors / Global Fonts / Global Spacing.
   ===================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Colors */
  --c-bordeaux:      #670C1B;   /* exact value from logo */
  --c-bordeaux-deep: #4E0A16;   /* footer / depth */
  --c-white:         #FFFFFF;
  --c-offwhite:      #F7F4F1;   /* warm off-white, alternating sections */
  --c-ink:           #1C1416;   /* primary text on light */
  --c-muted:         #6B6B6B;   /* secondary text */
  --c-line:          #E6E1DD;   /* hairline borders */
  --c-gold:          #B08D57;   /* accent — used sparingly */
  --c-gold-soft:     #C9AD81;

  /* Typography */
  --font-head: "Jost", "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --fs-display: clamp(2.4rem, 4.6vw, 4rem);
  --fs-h2:      clamp(1.9rem, 3.2vw, 2.7rem);
  --fs-h3:      1.375rem;
  --fs-lead:    clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-label:   0.78rem;

  --lh-tight: 1.12;
  --lh-snug:  1.3;
  --lh-body:  1.65;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Section rhythm */
  --section-y: clamp(64px, 9vw, 120px);
  --container: 1180px;
  --container-narrow: 820px;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;

  /* Misc */
  --header-h: 80px;
  --shadow-sm: 0 1px 2px rgba(28,20,22,.04), 0 4px 16px rgba(28,20,22,.05);
  --shadow-md: 0 10px 40px rgba(28,20,22,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ---------- TYPOGRAPHY HELPERS ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: var(--lh-tight); color: var(--c-ink); letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.label {
  font-family: var(--font-head);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-gold);
}
.label--light { color: var(--c-gold-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--c-gold);
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--offwhite { background: var(--c-offwhite); }
.section--bordeaux { background: var(--c-bordeaux); color: var(--c-white); }
.section--bordeaux h1,
.section--bordeaux h2,
.section--bordeaux h3 { color: var(--c-white); }

.section-head { max-width: 720px; margin-bottom: var(--s-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: var(--s-4); }
.section-head p { font-size: var(--fs-lead); color: var(--c-muted); }
.section--bordeaux .section-head p { color: rgba(255,255,255,.78); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--c-bordeaux); color: var(--c-white); }
.btn--primary:hover { background: var(--c-bordeaux-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--c-bordeaux); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-bordeaux); transform: translateY(-2px); }
.btn--on-bordeaux { background: var(--c-white); color: var(--c-bordeaux); }
.btn--on-bordeaux:hover { background: var(--c-offwhite); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: var(--c-white); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- IMAGE PLACEHOLDER ---------- */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-3);
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(103,12,27,.025) 0 2px, transparent 2px 22px),
    var(--c-offwhite);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-muted);
  padding: var(--s-6);
  min-height: 240px;
  overflow: hidden;
}
.ph__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-head);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-gold);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 4px 10px; border-radius: var(--r-pill);
}
.ph__icon { width: 40px; height: 40px; stroke: var(--c-gold); opacity: .85; }
.ph__caption { font-family: var(--font-head); font-style: normal; font-size: var(--fs-small); color: var(--c-ink); max-width: 30ch; }
.ph__sub { font-size: 0.82rem; color: var(--c-muted); }
/* placeholder variant on bordeaux */
.ph--light {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
    rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.8);
}
.ph--light .ph__tag { background: transparent; color: var(--c-gold-soft); border-color: rgba(255,255,255,.3); }
.ph--light .ph__icon { stroke: var(--c-gold-soft); }
.ph--light .ph__caption { color: #fff; }
.ph--light .ph__sub { color: rgba(255,255,255,.65); }

/* ---------- STARS ---------- */
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: var(--c-gold); }
.stars--lg svg { width: 22px; height: 22px; }

/* =====================================================================
   MODULE 01 — HEADER / STICKY NAV
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: var(--shadow-sm); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
}
.header-logo { flex-shrink: 0; display: block; }
.header-logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--c-ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--c-bordeaux); transition: width .25s var(--ease);
}
.nav a:hover { color: var(--c-bordeaux); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--s-5); }
.header-phone {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--c-bordeaux);
  white-space: nowrap;
}
.header-phone svg { width: 17px; height: 17px; stroke: var(--c-bordeaux); }

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--c-ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--c-white);
  padding: var(--s-7) clamp(20px,5vw,48px);
  flex-direction: column; gap: var(--s-2);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-head); font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.mobile-menu .mobile-cta { margin-top: var(--s-5); }
.mobile-menu .header-phone { font-size: 1.15rem; margin-top: var(--s-4); }

/* =====================================================================
   MODULE 02 — HERO
   ===================================================================== */
.hero { background: var(--c-bordeaux); color: var(--c-white); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero-trust-top { display: inline-flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); flex-wrap: wrap; }
.hero-trust-top .stars svg { fill: var(--c-gold-soft); }
.hero-trust-top span { font-size: var(--fs-small); color: rgba(255,255,255,.85); font-family: var(--font-head); letter-spacing: .02em; }
.hero h1 { font-size: var(--fs-display); color: #fff; margin-bottom: var(--s-5); font-weight: 500; }
.hero h1 em { font-style: normal; color: var(--c-gold-soft); }
.hero-sub { font-size: var(--fs-lead); color: rgba(255,255,255,.85); max-width: 46ch; margin-bottom: var(--s-7); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-6); }
.hero-note { display: inline-flex; align-items: center; gap: var(--s-3); font-size: var(--fs-small); color: rgba(255,255,255,.72); }
.hero-note svg { width: 18px; height: 18px; stroke: var(--c-gold-soft); flex-shrink: 0; }
.hero-media { min-height: 420px; }
.hero-media .ph { height: 100%; min-height: 420px; }

/* =====================================================================
   MODULE 03 — TRUST / SOCIAL PROOF BAR
   ===================================================================== */
.trustbar { background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.trustbar-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  padding-block: var(--s-6);
}
.trust-item { display: flex; align-items: center; gap: var(--s-3); }
.trust-rating { display: flex; flex-direction: column; gap: 2px; }
.trust-rating .num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--c-bordeaux); }
.trust-rating .meta { font-size: 0.82rem; color: var(--c-muted); }
.trust-divider { width: 1px; height: 40px; background: var(--c-line); }
.trust-badge {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 500; color: var(--c-ink);
  border: 1px solid var(--c-line); border-radius: var(--r-pill);
  padding: 9px 18px;
}
.trust-badge svg { width: 20px; height: 20px; stroke: var(--c-gold); }
.trust-portal {
  font-family: var(--font-head); font-size: 0.82rem; letter-spacing: .04em; color: var(--c-muted);
  border: 1px dashed var(--c-line); border-radius: var(--r-sm); padding: 8px 14px;
}

/* =====================================================================
   MODULE 04 — LEISTUNGEN / SERVICES
   ===================================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--c-offwhite);
  margin-bottom: var(--s-5);
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--c-bordeaux); }
.service-card h3 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.service-card p { font-size: var(--fs-small); color: var(--c-muted); }

/* =====================================================================
   MODULE 05 — KANZLEI / ABOUT
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media .ph { min-height: 460px; height: 100%; }
.about-body h2 { font-size: var(--fs-h2); margin-bottom: var(--s-5); }
.about-body > p { color: var(--c-muted); margin-bottom: var(--s-4); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-6); }
.about-feature { display: flex; gap: var(--s-3); }
.about-feature svg { width: 22px; height: 22px; stroke: var(--c-gold); flex-shrink: 0; margin-top: 3px; }
.about-feature h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 500; margin-bottom: 2px; }
.about-feature p { font-size: 0.88rem; color: var(--c-muted); }
.about-langs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.lang-chip {
  font-family: var(--font-head); font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 6px 14px; color: var(--c-ink);
}

/* =====================================================================
   MODULE 06 — ABLAUF / PROCESS
   ===================================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.step {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-md);
  padding: var(--s-6);
  background: rgba(255,255,255,.04);
}
.step__num {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 300; line-height: 1;
  color: var(--c-gold-soft); margin-bottom: var(--s-5);
}
.step h3 { font-size: 1.2rem; color: #fff; margin-bottom: var(--s-3); }
.step p { font-size: var(--fs-small); color: rgba(255,255,255,.78); }
.steps-note {
  display: flex; align-items: center; justify-content: center; gap: var(--s-3);
  margin-top: var(--s-7); text-align: center;
  font-size: var(--fs-small); color: rgba(255,255,255,.85);
}
.steps-note svg { width: 22px; height: 22px; stroke: var(--c-gold-soft); flex-shrink: 0; }

/* =====================================================================
   MODULE 07 — BEWERTUNGEN / TESTIMONIALS
   ===================================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.testimonial {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.testimonial__quote { font-size: 1.02rem; color: var(--c-ink); line-height: 1.6; flex-grow: 1; }
.testimonial__quote::before { content: "\201C"; font-family: var(--font-head); color: var(--c-gold); font-size: 2.2rem; line-height: 0; vertical-align: -0.35em; margin-right: 4px; }
.testimonial__person { display: flex; align-items: center; gap: var(--s-3); border-top: 1px solid var(--c-line); padding-top: var(--s-4); }
.testimonial__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c-offwhite); border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 500; color: var(--c-bordeaux); font-size: 0.95rem;
}
.testimonial__name { font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; }
.testimonial__role { font-size: 0.8rem; color: var(--c-muted); }

/* =====================================================================
   MODULE 08 — FAQ
   ===================================================================== */
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0;
  font-family: var(--font-head); font-size: 1.18rem; font-weight: 500; color: var(--c-ink);
}
.faq-q .faq-icon { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .faq-icon::before,
.faq-q .faq-icon::after { content: ""; position: absolute; background: var(--c-bordeaux); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.faq-q .faq-icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .faq-icon::after  { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 0 var(--s-5); color: var(--c-muted); max-width: 64ch; }

/* =====================================================================
   MODULE 09 — KONTAKT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { margin-bottom: var(--s-5); }
.field label { display: block; font-family: var(--font-head); font-size: 0.85rem; font-weight: 500; margin-bottom: var(--s-2); color: var(--c-ink); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--c-ink);
  background: var(--c-offwhite); border: 1px solid var(--c-line); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-bordeaux); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.file-drop {
  display: flex; align-items: center; gap: var(--s-3);
  border: 1.5px dashed var(--c-line); border-radius: var(--r-sm);
  padding: 16px; color: var(--c-muted); font-size: var(--fs-small);
  cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.file-drop:hover { border-color: var(--c-gold); background: var(--c-offwhite); }
.file-drop svg { width: 22px; height: 22px; stroke: var(--c-gold); flex-shrink: 0; }
.file-drop input { display: none; }
.consent { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-small); color: var(--c-muted); margin-bottom: var(--s-5); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--c-bordeaux); flex-shrink: 0; }
.consent a { color: var(--c-bordeaux); text-decoration: underline; text-underline-offset: 2px; }

.contact-info { display: flex; flex-direction: column; gap: var(--s-5); }
.info-row { display: flex; gap: var(--s-4); align-items: flex-start; }
.info-row svg { width: 22px; height: 22px; stroke: var(--c-bordeaux); flex-shrink: 0; margin-top: 2px; }
.info-row .label-sm { font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-muted); margin-bottom: 2px; }
.info-row .value { font-size: 1.05rem; color: var(--c-ink); }
.info-row a.value[href^="tel"] { white-space: nowrap; }
.info-row a.value[href^="mailto"] { word-break: break-word; }
.info-row a.value:hover { color: var(--c-bordeaux); }
.contact-map .ph { min-height: 220px; }
.btn-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  background: #25D366; color: #fff; font-family: var(--font-head); font-weight: 500;
  border-radius: var(--r-pill); padding: 13px 22px; transition: filter .2s var(--ease), transform .2s var(--ease);
}
.btn-whatsapp:hover { filter: brightness(.95); transform: translateY(-2px); }
.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; }

/* =====================================================================
   MODULE 10 — FOOTER
   ===================================================================== */
.site-footer { background: var(--c-bordeaux-deep); color: rgba(255,255,255,.8); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px,4vw,56px); padding-block: var(--s-9) var(--s-7); }
.footer-brand img { height: 36px; margin-bottom: var(--s-5); }
.footer-brand p { font-size: var(--fs-small); color: rgba(255,255,255,.65); max-width: 32ch; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--c-gold-soft); margin-bottom: var(--s-5); font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a, .footer-col li { font-size: var(--fs-small); color: rgba(255,255,255,.78); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.footer-social svg { width: 18px; height: 18px; stroke: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: var(--s-5);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  font-size: 0.82rem; color: rgba(255,255,255,.55);
}
.footer-bottom .links { display: flex; gap: var(--s-5); }
.footer-bottom a:hover { color: #fff; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  /* collapse the full desktop header to burger before it can overflow */
  .nav, .header-phone.desktop-only { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }
  .header-actions .btn { display: none; }
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; min-height: 280px; }
  .hero-media .ph { min-height: 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media .ph { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards-grid, .steps-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .about-features, .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .trust-divider { display: none; }
  .hero-ctas .btn { width: 100%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
