/* =========================================================================
   PatiVia Veteriner Kliniği
   Design system + layout. Single source of truth — one theme, no overrides.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the PatiVia logo */
  --navy-900: #131C42;
  --navy-800: #1C2A63;
  --navy-700: #263A80;
  --blue-600: #2C55AB;
  --blue-500: #3B69C4;
  --blue-100: #DCE6F8;
  --blue-50:  #EEF3FC;

  /* Warm accent — used sparingly (emergency, highlights) */
  --amber-500: #E0870B;
  --amber-50:  #FDF3E2;

  /* Neutrals */
  --ink:      #0E1730;
  --body:     #4A5568;
  --muted:    #6B7A90;
  --line:     #E3E8F0;
  --line-2:   #CBD5E1;
  --surface:  #FFFFFF;
  --surface-2:#F7F9FC;
  --surface-3:#EFF3F9;

  /* Semantic */
  --success: #1F7A4D;
  --danger:  #C2372F;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw:     1160px;
  --gutter:   clamp(1.15rem, 4vw, 2.25rem);
  --header-h: 76px;
  --section-y: clamp(3.5rem, 7vw, 6rem);

  /* Shape */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(14, 23, 48, .06), 0 1px 3px rgba(14, 23, 48, .04);
  --sh:    0 4px 12px -4px rgba(14, 23, 48, .10), 0 2px 4px rgba(14, 23, 48, .04);
  --sh-md: 0 12px 28px -12px rgba(14, 23, 48, .18), 0 4px 10px -6px rgba(14, 23, 48, .08);
  --sh-lg: 0 28px 60px -30px rgba(14, 23, 48, .30), 0 8px 20px -12px rgba(14, 23, 48, .12);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
}

/* -------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv04";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--navy-800); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.021em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--blue-100); color: var(--navy-900); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 300;
  background: var(--navy-800); color: #fff;
  padding: .7rem 1.15rem; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* -------------------------------------------------------------------------
   3. SHARED PIECES
   ------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 250;
  background: linear-gradient(90deg, var(--blue-600), var(--navy-700));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .75rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; border-radius: 2px;
  background: currentColor; flex: none;
}
.section__head--center .eyebrow::before { display: none; }

.section__title { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.6rem); }
.section__intro {
  margin-top: 1rem;
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  color: var(--muted);
  max-width: 42rem;
}
.section__head--center .section__intro { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue-600); color: #fff;
  box-shadow: 0 8px 18px -10px rgba(44, 85, 171, .85);
}
.btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 14px 26px -12px rgba(28, 42, 99, .8); }

.btn--ghost {
  background: #fff; color: var(--navy-800);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--navy-800); }

.btn--light {
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
}
.btn--light:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.btn--sm { padding: .6rem 1.05rem; font-size: .875rem; }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Icon helper */
.icon { width: 24px; height: 24px; flex: none; stroke-width: 1.6; }

/* -------------------------------------------------------------------------
   4. TOP BAR + HEADER
   ------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-800);
  color: rgba(255, 255, 255, .82);
  font-size: .8125rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 40px;
}
.topbar__list { display: flex; align-items: center; gap: 1.5rem; }
.topbar__list li { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__list svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.topbar a { color: #fff; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar__emergency {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #fff; font-weight: 600; white-space: nowrap;
}
@media (max-width: 1040px) { .topbar__list li:first-child { display: none; } }
@media (max-width: 860px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px -6px rgba(14, 23, 48, .18);
}

.site-header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand:hover { opacity: .85; }
.brand__logo { height: 46px; width: auto; }
@media (max-width: 720px) { .brand__logo { height: 38px; } }

/* Nav */
.nav { display: flex; align-items: center; gap: .75rem; }
.nav__menu { display: flex; align-items: center; gap: .15rem; }
/* :not(.btn) — the CTA is a button and must keep its own box model */
.nav__menu a:not(.btn) {
  position: relative; display: block;
  padding: .55rem .85rem; border-radius: var(--r-sm);
  color: var(--ink); font-size: .9375rem; font-weight: 500;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__menu a:not(.btn):hover { color: var(--blue-600); background: var(--blue-50); }
.nav__menu a.is-active { color: var(--blue-600); }
.nav__menu a.btn--primary { color: #fff; }
.nav__menu a.btn--primary:hover { color: #fff; background: var(--navy-700); }
.nav__menu a.is-active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem;
  height: 2px; border-radius: 2px; background: var(--blue-600);
}

.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .5rem;
  color: var(--navy-800); font-weight: 600; font-size: .9375rem;
}
.nav__phone svg { width: 17px; height: 17px; }
.nav__phone:hover { color: var(--blue-600); }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; position: relative;
}
.nav__toggle-bars,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: ""; position: absolute; left: 50%;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translateX(-50%);
  transition: transform .28s var(--ease), opacity .18s var(--ease);
}
.nav__toggle-bars { top: 50%; margin-top: -1px; }
.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after  { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

.nav__backdrop {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 150;
  background: rgba(14, 23, 48, .38);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.nav__backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__phone span { display: none; }
  .nav__phone { padding: .55rem; }

  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 190;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .2s var(--ease), visibility .25s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu li + li { border-top: 1px solid var(--line); }
  /* :not(.btn) so the drawer CTA keeps its pill shape and centred label */
  .nav__menu a:not(.btn) { padding: .95rem .25rem; border-radius: 0; font-size: 1rem; }
  .nav__menu a:not(.btn):hover { background: transparent; }
  .nav__menu a.is-active::after { left: .25rem; right: auto; width: 18px; bottom: .55rem; }
  .nav__menu .nav__menu-cta { border-top: 0; padding-top: 1rem; }
  .nav__menu .nav__menu-cta .btn { width: 100%; padding-block: .85rem; font-size: .9375rem; }
}

/* -------------------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(900px 480px at 50% -12%, var(--blue-50) 0%, transparent 65%),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line);
}

.hero__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero__copy { max-width: 46rem; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem .45rem .55rem;
  margin-bottom: 1.25rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--sh-sm);
  font-size: .8125rem; font-weight: 600; color: var(--navy-800);
}
.hero__badge b {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .55rem; border-radius: 999px;
  background: var(--amber-50); color: var(--amber-500);
  font-size: .75rem; font-weight: 700;
}

.hero__title {
  font-size: clamp(2.1rem, 1.5rem + 3.1vw, 3.5rem);
  letter-spacing: -.03em;
}
.hero__title-accent { color: var(--blue-600); }

.hero__lead {
  margin-top: 1.15rem; margin-inline: auto;
  font-size: clamp(1.03rem, 1rem + .3vw, 1.175rem);
  color: var(--muted); max-width: 40rem;
}

.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .75rem; margin-top: 2rem;
}

/* -------------------------------------------------------------------------
   6. SERVICES
   ------------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--navy-700));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-100);
  box-shadow: var(--sh-md);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--blue-50); color: var(--blue-600);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--blue-600); color: #fff; }

.service-card__title { font-size: 1.125rem; margin-bottom: .5rem; }
.service-card__body { font-size: .9375rem; color: var(--muted); }

/* -------------------------------------------------------------------------
   7. ABOUT + STATS
   ------------------------------------------------------------------------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.about__lead { margin-top: 1.25rem; font-size: 1.075rem; color: var(--ink); }
.about__body { margin-top: 1rem; color: var(--muted); }

.about__card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh);
}
.about__card h3 { font-size: 1.0625rem; margin-bottom: 1.25rem; }

.about__points { display: grid; gap: 1rem; }
.about__points li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .9375rem; color: var(--ink);
}
.about__points li + li { padding-top: 1rem; border-top: 1px solid var(--line); }
.about__points svg {
  width: 20px; height: 20px; flex: none; margin-top: .2rem;
  color: var(--success);
}

@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   8. FEATURES (Neden PatiVia)
   ------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.feature {
  padding: 1.5rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff;
}
.feature__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--surface-3); color: var(--navy-800);
}
.feature h3 { font-size: 1rem; margin-bottom: .4rem; }
.feature p { font-size: .9rem; color: var(--muted); }

/* -------------------------------------------------------------------------
   10. FAQ
   ------------------------------------------------------------------------- */
.faq-wrap { max-width: 52rem; margin-inline: auto; }
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.25rem .25rem;
  list-style: none; cursor: pointer;
  font-size: 1.0125rem; font-weight: 600; color: var(--ink);
  transition: color .18s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--blue-600); }
.faq__item[open] .faq__q { color: var(--blue-600); }

.faq__icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease);
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }

.faq__a { padding: 0 3rem 1.35rem .25rem; color: var(--muted); font-size: .9375rem; }
.faq__item[open] .faq__a { animation: faqIn .28s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------------------
   11. CONTACT
   ------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.contact__info h3 { font-size: 1.125rem; margin-bottom: 1.25rem; }
.contact__list { display: grid; gap: 1.15rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 10px; background: var(--blue-50); color: var(--blue-600);
}
.contact__icon svg { width: 18px; height: 18px; }
.contact__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.contact__text strong {
  font-size: .6875rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.contact__text span, .contact__text a { color: var(--ink); font-size: .9375rem; }
.contact__text a { font-weight: 600; }
.contact__text a:hover { color: var(--blue-600); }

.contact__hours { display: grid; gap: .3rem; margin-top: .1rem; }
.contact__hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .9375rem; color: var(--ink);
  max-width: 17rem;
}
.contact__hours dt { color: var(--muted); }
.contact__hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.contact__social { display: flex; gap: .6rem; margin-top: 1.75rem; }
.contact__social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--navy-800);
  transition: all .2s var(--ease);
}
.contact__social a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); transform: translateY(-2px); }
.contact__social svg { width: 18px; height: 18px; }

/* Form */
.form {
  display: grid; gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { display: grid; gap: .4rem; min-width: 0; }
.form__field > span {
  font-size: .75rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
}
.form__field > span::after { content: ""; }
.form__field--required > span::after { content: " *"; color: var(--danger); }

.form input, .form select, .form textarea {
  width: 100%; padding: .8rem .9rem;
  font-size: .9375rem; color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: #98A6B8; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #AFBDD0; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; background: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(44, 85, 171, .14);
}
.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px;
  padding-right: 2.4rem;
}
.form textarea { resize: vertical; min-height: 110px; }

.form__err { display: none; font-size: .8125rem; font-style: normal; color: var(--danger); }
.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: var(--danger); background: #FEF6F5;
}
.form__field.is-invalid .form__err { display: block; }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .25rem; }
.form__whatsapp svg { width: 18px; height: 18px; color: #25D366; }
.form__submit { justify-self: start; }
.form__submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.form__note { font-size: .8125rem; color: var(--muted); }

.form__status { display: none; font-size: .9rem; font-weight: 600; padding: .75rem .9rem; border-radius: var(--r-sm); }
.form__status.is-ok  { display: block; color: var(--success); background: #EAF7F0; border: 1px solid #C8E9D8; }
.form__status.is-err { display: block; color: var(--danger);  background: #FDF0EF; border: 1px solid #F6D5D2; }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   12. MAP
   ------------------------------------------------------------------------- */
.map-section { padding-block: 0; }
.map {
  position: relative;
  display: flex; align-items: center;
  min-height: clamp(400px, 44vw, 520px);
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface-3);
}
/* The iframe fills the band; the card stays in flow so a tall card grows
   the band instead of spilling into the next section. */
.map__frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.2) contrast(1.02);
}
.map__card {
  position: relative; z-index: 1;
  margin-left: max(var(--gutter), calc(50% - var(--maxw) / 2 + var(--gutter)));
  margin-right: var(--gutter);
  width: min(360px, 100%);
  padding: 1.5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
}
.map__card h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.map__card p { font-size: .9375rem; color: var(--muted); }
.map__card .btn { margin-top: 1.15rem; width: 100%; }
.map__meta {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}
.map__meta svg { width: 16px; height: 16px; flex: none; color: var(--blue-600); }

@media (max-width: 780px) {
  .map { flex-direction: column; align-items: stretch; min-height: 0; padding-block: 0; }
  .map__frame { position: static; order: 2; height: 300px; }
  .map__card {
    order: 1; margin: 0; width: 100%;
    border: 0; border-radius: 0; box-shadow: none;
    padding: 1.75rem var(--gutter);
    background: var(--surface-2);
  }
}

/* -------------------------------------------------------------------------
   13. CTA BAND
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 140% at 15% 0%, var(--navy-700) 0%, var(--navy-900) 70%);
  color: #fff;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.75rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.cta-band p { margin-top: .5rem; color: rgba(255, 255, 255, .72); max-width: 34rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn--primary { background: #fff; color: var(--navy-800); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--blue-50); color: var(--navy-900); }

/* -------------------------------------------------------------------------
   14. FLOATING ACTIONS
   ------------------------------------------------------------------------- */
.wfab {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 180;
  display: inline-flex; align-items: center; gap: .55rem;
  height: 52px; padding: 0 1.15rem;
  background: #25D366; color: #fff; border-radius: 999px;
  box-shadow: 0 14px 28px -12px rgba(37, 211, 102, .8);
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.wfab:hover { transform: translateY(-3px); background: #1FB855; color: #fff; }
.wfab svg { width: 24px; height: 24px; flex: none; }
.wfab__label { font-size: .9rem; font-weight: 600; white-space: nowrap; }

.to-top {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem);
  bottom: calc(clamp(1rem, 3vw, 1.75rem) + 64px);
  z-index: 180;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: #fff; color: var(--navy-800);
  border: 1px solid var(--line); border-radius: 50%;
  box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--blue-600); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .wfab { height: 50px; width: 50px; padding: 0; justify-content: center; }
  .wfab__label { display: none; }
  .to-top { bottom: calc(clamp(1rem, 3vw, 1.75rem) + 60px); }
}

/* -------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); }
.site-footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.site-footer__logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.site-footer__tag { margin-top: 1rem; font-size: .9rem; max-width: 22rem; }

.site-footer h4 {
  margin-bottom: 1rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #fff;
}
.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer__col a, .site-footer__col span { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.site-footer__col a:hover { color: #fff; }

.site-footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.site-footer__social a {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: rgba(255, 255, 255, .09); border-radius: 10px; color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.site-footer__social a:hover { background: var(--blue-600); transform: translateY(-2px); }
.site-footer__social svg { width: 17px; height: 17px; }

.site-footer__bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__bar p { font-size: .8125rem; color: rgba(255, 255, 255, .55); }

@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   16. SCROLL REVEAL
   ------------------------------------------------------------------------- */
.js .r-rise,
.js .r-fade,
.js .r-zoom { opacity: 0; transition: opacity .6s var(--ease-out) var(--rd, 0s), transform .6s var(--ease-out) var(--rd, 0s); }
.js .r-rise { transform: translateY(18px); }
.js .r-zoom { transform: scale(.97); }
.js .r-rise.is-in, .js .r-fade.is-in, .js .r-zoom.is-in { opacity: 1; transform: none; }

body.nav-open { overflow: hidden; }

/* -------------------------------------------------------------------------
   17. REDUCED MOTION
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .r-rise, .js .r-fade, .js .r-zoom { opacity: 1 !important; transform: none !important; }
  .btn:hover, .service-card:hover { transform: none; }
}

/* -------------------------------------------------------------------------
   18. PRINT
   ------------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .wfab, .to-top, .scroll-progress, .map, .form, .cta-band { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1rem; }
}
