/* ==========================================================================
   Dorcare — Design System
   Palette drawn from brand logo (#004799). Type: Space Grotesk / Inter.
   ========================================================================== */

:root {
  /* Color */
  --blue: #104890;
  --blue-dark: #002f66;
  --blue-deep: #001c3f;
  --blue-sky: #2e6bc7;
  --blue-pale: #dce8fa;
  --ink: #0b1420;
  --steel: #5b6b7c;
  --steel-light: #8b98a8;
  --mist: #eef2f7;
  --mist-dark: #e2e8f1;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebc59;

  /* Type */
  --font-head: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale (major third-ish, capped for mobile via clamp) */
  --step-1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step0: 1rem;
  --step1: clamp(1.13rem, 1.08rem + 0.25vw, 1.25rem);
  --step2: clamp(1.4rem, 1.3rem + 0.5vw, 1.7rem);
  --step3: clamp(1.75rem, 1.55rem + 1vw, 2.3rem);
  --step4: clamp(2.2rem, 1.85rem + 1.75vw, 3.2rem);
  --step5: clamp(2.7rem, 2.1rem + 3vw, 4.4rem);

  /* Layout */
  --content-max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-s: 3px;
  --radius-m: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

/* Safety net: any bare icon svg (no explicit sizing context) defaults to a sane size
   instead of the browser's ~300x150 replaced-element default. Containers below
   override this with width:100%/height:100% to fill their own fixed box. */
svg { display: block; width: 24px; height: 24px; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step5); }
h2 { font-size: var(--step4); }
h3 { font-size: var(--step2); }
h4 { font-size: var(--step1); }

p { margin: 0 0 1.1em; max-width: 62ch; color: var(--steel); }
p.lede { font-size: var(--step1); color: var(--ink); max-width: 56ch; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

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

:focus-visible {
  outline: 2.5px solid var(--blue-sky);
  outline-offset: 3px;
}

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

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section--mist { background: var(--mist); }
.section--navy {
  background: linear-gradient(155deg, var(--blue-deep), var(--blue-dark) 70%);
  color: var(--white);
}
.section--navy p { color: #b9c9e0; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-size: var(--step-1);
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  display: inline-block;
}
.section--navy .eyebrow { color: #7fb0ff; }
.section--navy .eyebrow::before { background: #7fb0ff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: var(--white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist-dark);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,20,32,0.06); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.6em; }
.nav__logo img { height: 42px; width: auto; }
@media (max-width: 480px) {
  .nav__logo img { height: 32px; }
}

.nav__links {
  display: flex;
  gap: clamp(1.2rem, 2vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  position: relative;
  padding-block: 0.3em;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--blue); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.nav__phone svg { flex-shrink: 0; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    height: 100vh;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.15rem; }
}

/* ==========================================================================
   Hero — sliding door reveal
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-dark) 55%, var(--blue) 100%);
  color: var(--white);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: min(88vh, 720px);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; padding-block: 3rem 2rem; }
}

.hero__eyebrow {
  color: #7fb0ff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: 0.02em;
  margin-bottom: 1em;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.1s forwards;
}
.hero h1 {
  font-size: var(--step5);
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.25s forwards;
}
.hero p.lede {
  color: #cdddf4;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.4s forwards;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.55s forwards;
}

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

/* Door widget: literal automatic doors, reused on the hero and About page.
   Opens once on load, then breathes closed briefly every ~9s like a real
   sensor door — a single motif reused deliberately, not scattered motion. */
.door-widget {
  --slide: 108%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--blue-deep);
  border: 1px solid rgba(255,255,255,0.14);
}
.split__media.is-animated { padding: 0; background: none; border: none; aspect-ratio: auto; min-height: 480px; }
.split__media.is-animated .door-widget { position: absolute; inset: 0; aspect-ratio: unset; }

.door-widget__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 11%;
  background: linear-gradient(180deg, #06294f, #021224);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.door-widget__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 10px);
  opacity: 0.5;
}
.door-widget__sensor {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ee08a;
  box-shadow: 0 0 0 0 rgba(78,224,138,0.6);
  animation: doorPulse 2.6s ease-out 1.7s infinite;
  z-index: 1;
}
@keyframes doorPulse {
  0% { box-shadow: 0 0 0 0 rgba(78,224,138,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(78,224,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,224,138,0); }
}

.door-widget__interior {
  position: absolute;
  inset: 11% 0 7% 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(46,107,199,0.5), transparent 65%),
    linear-gradient(180deg, #04203f 0%, #061c33 55%, #0a2540 100%);
  overflow: hidden;
}
.door-widget__floor {
  position: absolute;
  inset: 60% 0 0 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 13%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%);
  mask-image: linear-gradient(to bottom, transparent, black 40%);
}
.door-widget__logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  z-index: 3;
  opacity: 0;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.4));
  animation: fadeUp 0.9s var(--ease) 3.6s forwards;
}
.door-widget__reflection {
  position: absolute;
  left: 50%; top: 64%;
  transform: translate(-50%, 0%) scaleY(-1);
  width: 42%;
  z-index: 2;
  opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 70%);
  animation: fadeUp 0.9s var(--ease) 3.6s forwards;
}

.door-widget__panel {
  position: absolute;
  top: 11%; bottom: 7%;
  width: 52%;
  background: linear-gradient(115deg, #0c3d78 0%, #072a56 55%, #0c3d78 100%);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 5;
  animation: doorCycle 16s var(--ease) 0.4s infinite;
}
.door-widget__panel.left { left: 0; --sign: -1; }
.door-widget__panel.right { right: 0; --sign: 1; }
.door-widget__panel::before {
  /* handle */
  content: "";
  position: absolute;
  top: 30%; bottom: 30%;
  width: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
}
.door-widget__panel.left::before { right: 16px; }
.door-widget__panel.right::before { left: 16px; }
.door-widget__panel::after {
  /* top highlight where panel meets header track */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.18);
}

@keyframes doorCycle {
  0%   { transform: translateX(0); }
  24%  { transform: translateX(calc(var(--slide) * var(--sign))); }
  78%  { transform: translateX(calc(var(--slide) * var(--sign))); }
  87%  { transform: translateX(calc(var(--slide) * var(--sign) * 0.86)); }
  95%  { transform: translateX(calc(var(--slide) * var(--sign) * 0.86)); }
  100% { transform: translateX(calc(var(--slide) * var(--sign))); }
}

.door-widget__track {
  position: absolute;
  left: 5%; right: 5%; bottom: 7%;
  height: 2px;
  background: rgba(255,255,255,0.16);
  z-index: 6;
}

/* Hero photo (real technician image, replaces door-widget on the homepage hero) */
.hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 476 / 675;
  max-height: 620px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero__photo::after {
  /* subtle brand-tint overlay so the photo sits naturally in the navy hero */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,28,63,0) 60%, rgba(0,28,63,0.35) 100%);
  pointer-events: none;
}
@media (max-width: 940px) {
  .hero__photo { display: none; }
}

/* ==========================================================================
   Marquee strip (trust bar)
   ========================================================================== */
.trust-strip {
  border-block: 1px solid var(--mist-dark);
  padding-block: 1.6rem;
}
.certs-row {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--mist-dark);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.certs-row img {
  max-width: 280px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}
.certs-row__caption {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
@media (max-width: 700px) {
  .certs-row {
    flex-direction: column;
    text-align: center;
  }
  .certs-row img { max-width: 300px; }
  .certs-row__caption {
    font-size: 0.85rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--steel);
  }
}
.trust-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: var(--steel);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.trust-strip__item svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  flex-shrink: 0;
}
@media (max-width: 780px) {
  .trust-strip__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .trust-strip__row { grid-template-columns: 1fr; }
  .trust-strip__item { font-size: 0.92rem; }
}

/* ==========================================================================
   Services grid — door-frame card style (not generic rounded cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5px;
  background: var(--mist-dark);
  border: 1px solid var(--mist-dark);
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  padding: 2.2rem 1.9rem;
  position: relative;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover { border-left-color: var(--blue); background: var(--mist); }
.service-card__icon { width: 46px; height: 46px; color: var(--blue); margin-bottom: 1.1rem; }
.service-card__icon svg,
.pillar__icon svg,
.split__media svg { width: 100%; height: 100%; }
.service-card h3 { font-size: var(--step1); margin-bottom: 0.5em; }
.service-card p { font-size: 0.94rem; margin-bottom: 1rem; }
.service-card__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--blue);
}
.service-card__link svg { transition: transform 0.25s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ==========================================================================
   Why choose — value pillars
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.pillar { border-top: 2px solid rgba(255,255,255,0.2); padding-top: 1.3rem; }
.pillar__icon { width: 38px; height: 38px; color: #7fb0ff; margin-bottom: 1rem; }
.pillar h3 { font-size: var(--step1); color: var(--white); }
.pillar p { color: #b9c9e0; font-size: 0.95rem; }

/* ==========================================================================
   Stats counters
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.stat__num {
  font-family: var(--font-head);
  font-size: var(--step4);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat__label { color: var(--steel); font-size: 0.9rem; margin-top: 0.4em; }

/* ==========================================================================
   Split / feature sections
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split__media { order: 2; }
.split.split--stretch { align-items: stretch; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
}
.split__media {
  aspect-ratio: 5/4;
  background: linear-gradient(155deg, var(--blue-pale), #f6f9fd);
  border: 1px solid var(--mist-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.split__media svg { width: 55%; height: 55%; color: var(--blue); }

.feature-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.feature-list li {
  display: flex;
  gap: 0.8em;
  padding-block: 0.7em;
  border-bottom: 1px solid var(--mist-dark);
  font-size: 0.98rem;
  color: var(--ink);
}
.feature-list li svg { color: var(--blue); flex-shrink: 0; margin-top: 0.15em; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq { max-width: 780px; margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--mist-dark); }
.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item__q .icon { transition: transform 0.3s var(--ease); flex-shrink: 0; color: var(--blue); }
.faq-item.is-open .faq-item__q .icon { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-item__a p { padding-bottom: 1.3rem; margin: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 56ch; margin-inline: auto; color: var(--blue-pale); }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail { display: flex; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--mist-dark); }
.contact-detail svg { color: var(--blue); flex-shrink: 0; }
.contact-detail h4 { margin-bottom: 0.2em; font-size: 1rem; }
.contact-detail p { margin: 0; font-size: 0.95rem; }

.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4em; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1.5px solid var(--mist-dark);
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.map-frame { border: 1px solid var(--mist-dark); margin-top: 2rem; filter: grayscale(0.2); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--blue-deep);
  color: #a9bcd8;
  padding-block: clamp(3rem, 6vw, 4rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.7em; }
.footer-grid a { color: #a9bcd8; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-logo { height: 34px; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: waPulse 2.6s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ==========================================================================
   Brand logo carousel — auto-scrolling marquee
   ========================================================================== */
.brands {
  padding-block: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--mist-dark);
}
.brands__heading { font-size: var(--step3); }
.brands__marquee {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.brands__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  width: max-content;
  animation: brandsScroll 32s linear infinite;
}
.brands__marquee:hover .brands__track { animation-play-state: paused; }
.brands__track img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.25s;
}
.brands__track img:hover { filter: none; }

@keyframes brandsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .brands__track img { height: 40px; }
}
/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Page hero (interior pages, non-home)
   ========================================================================== */
.page-hero {
  background: linear-gradient(160deg, var(--blue-deep), var(--blue-dark));
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.breadcrumbs { font-size: 0.85rem; color: #9fb6db; margin-bottom: 1.2rem; }
.breadcrumbs a { color: #9fb6db; }
.breadcrumbs a:hover { color: var(--white); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.max-w-content { max-width: 640px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
