/* =========================================================
   CMDS · Centro Médico y Dental Satélite
   Design system: "Editorial médico premium"
   - Display: Fraunces (variable serif, optical-sized)
   - Body: Geist (humanist sans, restrained)
   - Anchor: oversized serif headlines with italic accent words
            + asymmetric image-text composition
            + a single brand-cyan that does the heavy lifting
   ========================================================= */

:root {
  /* Brand */
  --cmds-cyan:      #18A6D9;          /* logo blue */
  --cmds-cyan-deep: #0E6E92;          /* hover, deeper accent */
  --cmds-cyan-mist: #E5F2F8;          /* tinted background */
  --cmds-grey:      #B7B9BC;          /* logo grey */

  /* Editorial neutrals */
  --paper:    #F6F2EA;                /* warm paper background */
  --paper-2:  #EFEAE0;                /* slightly deeper paper */
  --ink:      #0F2A3F;                /* headline / body main */
  --ink-soft: #4A5F73;                /* secondary text */
  --line:     rgba(15, 42, 63, 0.12);
  --line-2:   rgba(15, 42, 63, 0.22);
  --shadow:   0 30px 60px -30px rgba(15,42,63,0.35);

  /* Type */
  --display: "Fraunces", "Times New Roman", serif;
  --body:    "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --pad-x: clamp(20px, 5vw, 80px);
  --container: 1320px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01","ss02","cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; }
.visually-hidden {
  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: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* ---------- Containers ---------- */
.topbar__inner,
.hero__grid,
.manifesto,
.units,
.team,
.venue__grid,
.process,
.faq,
.contact__grid,
.footer__inner,
.footer__base {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-size: clamp(44px, 7.4vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 .35em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--cmds-cyan-deep);
}
.display--md {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.06;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cmds-cyan);
  box-shadow: 0 0 0 5px rgba(24,166,217,0.18);
}

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 32px;
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  height: 86px;
}
.brand { display: inline-flex; align-items: center; }
.brand__mark { height: 72px; width: auto; mix-blend-mode: multiply; }

.nav__list {
  display: flex; gap: 28px; justify-content: center;
}
.nav__list a {
  font-size: 14px; font-weight: 500;
  color: var(--ink); position: relative;
  padding: 8px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--cmds-cyan);
  transition: right .35s var(--ease);
}
.nav__list a:hover::after { right: 0; }

.nav__toggle { display: none; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 14px var(--pad-x) 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.nav-mobile a {
  padding: 14px 0;
  font-size: 18px;
  font-family: var(--display);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: none; margin-top: 12px; }

@media (max-width: 900px) {
  .topbar__inner { grid-template-columns: auto 1fr auto; height: 72px; }
  .nav, .cta--ghost { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    border: 1px solid var(--line-2); background: transparent; border-radius: 999px;
    cursor: pointer;
  }
  .nav__toggle span {
    display: block; width: 16px; height: 1.5px; background: var(--ink);
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
  .nav-mobile[data-open="true"] { display: flex; }
}

/* ---------- CTAs ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.cta--solid {
  background: var(--ink); color: var(--paper);
}
.cta--solid:hover {
  background: var(--cmds-cyan-deep); transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(14,110,146,0.55);
}
.cta--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2);
}
.cta--ghost:hover { border-color: var(--ink); }
.cta--link {
  background: transparent; color: var(--ink); padding-left: 0; padding-right: 0;
  border-bottom: 1px solid var(--ink); border-radius: 0;
}
.cta--link:hover { color: var(--cmds-cyan-deep); border-color: var(--cmds-cyan-deep); }
.cta--lg { padding: 16px 24px; font-size: 15px; }

/* ---------- HERO ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 0; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(40px, 6vw, 90px);
}
.hero__copy h1 { margin-top: 8px; }
.hero__ctas { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 44px; }

.trust {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.trust li { display: flex; flex-direction: column; gap: 2px; }
.trust strong {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
}
.trust strong + span { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Hero Accordion ---------- */
.hero__accordion {
  display: flex; gap: 10px;
  height: 480px;
  justify-content: center;
}
.acc-card {
  display: block;
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: width .55s cubic-bezier(.25,.8,.25,1);
  width: 64px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.acc-card--active { width: 380px; cursor: default; }
.acc-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.acc-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,63,0.05) 0%, rgba(15,42,63,0.55) 100%);
}
.acc-card--active .acc-card__overlay {
  background: linear-gradient(180deg, rgba(15,42,63,0.15) 0%, rgba(15,42,63,0.45) 100%);
}
.acc-card__label {
  position: absolute;
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.01em;
  transition: all .45s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.acc-card--active .acc-card__label {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.acc-card:not(.acc-card--active) .acc-card__label {
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center center;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero__accordion { height: 360px; overflow-x: auto; justify-content: flex-start; padding: 0 var(--pad-x); }
  .acc-card--active { width: 280px; }
}

.hero__marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-2) 70%, transparent);
  overflow: hidden;
}
.marquee__track {
  display: inline-flex; gap: 28px;
  padding: 18px 0;
  white-space: nowrap;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  font-variation-settings: "opsz" 96, "WONK" 1;
  color: var(--ink);
  animation: scroll 50s linear infinite;
}
.marquee__track span:nth-child(2n) { color: var(--cmds-cyan); font-style: normal; opacity: .6; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; align-items: stretch; }
  .hero__image { aspect-ratio: 4/3; }
  .trust { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  padding: clamp(60px, 10vw, 140px) var(--pad-x);
  text-align: center;
}
.manifesto h2 { margin-inline: auto; max-width: 18ch; }
.manifesto__body {
  max-width: 60ch; margin: 32px auto 0;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--ink-soft);
}
.manifesto .eyebrow { justify-content: center; }

/* ---------- UNITS ---------- */
.units { padding: clamp(40px, 7vw, 100px) var(--pad-x); }
.units__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 72px); }
.units__lede { max-width: 56ch; color: var(--ink-soft); font-size: clamp(16px, 1.2vw, 18px); }

.unit {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 90px) 0;
  border-top: 1px solid var(--line);
}
.unit:last-of-type { border-bottom: 1px solid var(--line); }
.unit--reverse { grid-template-columns: 1fr 1.1fr; }
.unit--reverse .unit__visual { order: 2; }

.unit__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden; border-radius: 3px;
  box-shadow: var(--shadow);
}
.unit__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.unit:hover .unit__visual img { transform: scale(1.04); }
.unit__tag {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
}

.unit__title {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: .95;
  letter-spacing: -0.02em;
  margin: 0 0 .25em;
  display: flex; flex-direction: column;
}
.unit__title span {
  font-family: var(--body);
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.unit__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 100;
  color: var(--cmds-cyan-deep);
}

.unit__desc { font-size: clamp(16px, 1.2vw, 19px); color: var(--ink-soft); max-width: 50ch; }

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 28px 0;
}
.chips li a {
  display: inline-flex; align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.chips li a:hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  transform: translateY(-1px);
}

.unit--dental .chips li a:hover { background: var(--cmds-cyan-deep); border-color: var(--cmds-cyan-deep); }
.unit--medical .chips li a:hover { background: var(--ink); border-color: var(--ink); }
.unit--psy .chips li a:hover { background: #5a7d6f; border-color: #5a7d6f; } /* subtle olive cue for psy */

.unit__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.unit__cta:hover { color: var(--cmds-cyan-deep); border-color: var(--cmds-cyan-deep); gap: 14px; }

@media (max-width: 900px) {
  .unit, .unit--reverse { grid-template-columns: 1fr; }
  .unit--reverse .unit__visual { order: 0; }
}

/* ---------- TEAM ---------- */
.team { padding: clamp(60px, 10vw, 140px) var(--pad-x); }
.team__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.team__lede { color: var(--ink-soft); max-width: 56ch; font-size: clamp(16px, 1.2vw, 18px); }

.team__virtues {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.virtue { text-align: left; }
.virtue__icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper-2); color: var(--cmds-cyan-deep);
  margin-bottom: 18px;
}
.virtue h3 {
  font-family: var(--display); font-weight: 430;
  font-size: clamp(18px, 1.4vw, 22px);
  margin: 0 0 8px; color: var(--ink);
}
.virtue p {
  margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6;
  max-width: 36ch;
}

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

/* ---------- VENUE ---------- */
.venue { padding: clamp(40px, 7vw, 100px) var(--pad-x); }
.venue__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.venue__image {
  margin: 0; overflow: hidden; border-radius: 3px;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.venue__image img { width: 100%; height: 100%; object-fit: cover; }
.venue__features { margin-top: 28px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 15px; }
.venue__features li span { color: var(--cmds-cyan); margin-right: 6px; }

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

/* ---------- PROCESS ---------- */
.process { padding: clamp(60px, 10vw, 140px) var(--pad-x); }
.process__head { max-width: 700px; margin-bottom: clamp(32px, 5vw, 60px); }
.process__steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 40px);
}
.process__steps li { padding-right: 18px; border-right: 1px solid var(--line); }
.process__steps li:last-child { border-right: none; }
.process__num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--cmds-cyan-deep);
  letter-spacing: 0;
  display: block; margin-bottom: 14px;
}
.process__steps h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); margin: 0 0 8px; }
.process__steps p { color: var(--ink-soft); font-size: 15px; margin: 0; }
@media (max-width: 800px) {
  .process__steps { grid-template-columns: 1fr; }
  .process__steps li { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .process__steps li:last-child { border-bottom: none; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(40px, 7vw, 100px) var(--pad-x); }
.faq__head { max-width: 700px; margin-bottom: clamp(32px, 5vw, 60px); }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--ink);
  display: flex; align-items: baseline; gap: 18px;
  position: relative; padding-right: 40px;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 28px; color: var(--cmds-cyan-deep);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--cmds-cyan-deep); }
.faq details p {
  margin: 14px 0 0; color: var(--ink-soft); font-size: 16px; max-width: 70ch;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: clamp(60px, 10vw, 140px) var(--pad-x);
  background: var(--ink);
  color: var(--paper);
  margin-top: clamp(40px, 6vw, 80px);
}
.contact .display { color: var(--paper); }
.contact .display em { color: var(--cmds-cyan); }
.contact .eyebrow { color: rgba(246,242,234,0.6); }
.contact .eyebrow .dot { background: var(--cmds-cyan); box-shadow: 0 0 0 5px rgba(24,166,217,0.25); }
.contact__lede { color: rgba(246,242,234,0.7); max-width: 56ch; font-size: clamp(16px, 1.2vw, 18px); margin: 0 0 36px; }

.contact__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.contact__list {
  display: grid; gap: 18px; padding: 24px 0;
  border-top: 1px solid rgba(246,242,234,0.18);
  border-bottom: 1px solid rgba(246,242,234,0.18);
  margin-bottom: 32px;
}
.contact__list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: baseline;
  font-size: 16px;
}
.contact__label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .16em;
  color: rgba(246,242,234,0.5);
}
.contact__list a { color: var(--paper); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), color .25s var(--ease); }
.contact__list a:hover { color: var(--cmds-cyan); border-bottom-color: var(--cmds-cyan); }
.contact__list address { font-style: normal; }
.contact .cta--solid { background: var(--cmds-cyan); color: var(--ink); }
.contact .cta--solid:hover { background: #fff; }

.contact__map {
  display: block;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(246,242,234,0.12);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.contact__map:hover {
  box-shadow: 0 0 0 2px var(--cmds-cyan);
  transform: translateY(-2px);
}
.contact__map img { width: 100%; height: auto; display: block; }

.contact__map-link {
  display: flex; gap: 24px; padding-top: 14px;
}
.contact__map-link a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(246,242,234,0.65); font-size: 13px;
  border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), color .25s var(--ease);
}
.contact__map-link a:hover { color: var(--cmds-cyan); border-bottom-color: var(--cmds-cyan); }

address a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(246,242,234,0.25);
  transition: border-color .25s var(--ease);
}
address a:hover { border-bottom-color: var(--cmds-cyan); color: var(--cmds-cyan); }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(246,242,234,0.7); padding-top: 60px; }
.footer__inner {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px;
  padding-bottom: 50px;
  border-top: 1px solid rgba(246,242,234,0.12);
  padding-top: 50px;
}
.footer__brand img { height: 60px; width: auto; mix-blend-mode: lighten; filter: brightness(1.6) contrast(1.2); }
.footer__brand p { font-size: 14px; max-width: 36ch; margin-top: 18px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer__nav h4 {
  font-family: var(--body); font-weight: 500;
  font-size: 11px; text-transform: uppercase; letter-spacing: .18em;
  color: rgba(246,242,234,0.5); margin: 0 0 14px;
}
.footer__nav ul { display: grid; gap: 8px; }
.footer__nav a { font-size: 14px; transition: color .25s var(--ease); }
.footer__nav a:hover { color: var(--cmds-cyan); }
.footer__base {
  border-top: 1px solid rgba(246,242,234,0.12);
  padding: 24px var(--pad-x);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: rgba(246,242,234,0.45);
}
.footer__base a { color: rgba(246,242,234,0.55); border-bottom: 1px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease); }
.footer__base a:hover { color: var(--cmds-cyan); border-bottom-color: var(--cmds-cyan); }
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---------- FLOATING WHATSAPP ---------- */
.float-wa {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.float-wa:hover { transform: scale(1.08) rotate(-4deg); }
.float-wa:focus-visible { outline: 3px solid var(--cmds-cyan); outline-offset: 4px; }

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- FOCUS ---------- */
:focus-visible {
  outline: 2px solid var(--cmds-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- SELECTION ---------- */
::selection { background: var(--cmds-cyan); color: #fff; }
