/* Landing clínicas · Respondo (2026-11-07) */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2f7f4;
  --mint: #d8e7e3;
  --mint-2: #e8f1ee;
  --teal: #0e5553;
  --teal-deep: #0a3b39;
  --ink: #16302f;
  --muted: #5d7874;
  --line: #b8d1cd;
  --accent: #c96a4b;
  --white: #ffffff;
  --display: Georgia, "Times New Roman", serif;
  --pad: clamp(28px, 11vw, 158px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--teal); color: #fff; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.cl-main { display: block; }
.cl-wrap { width: min(var(--max), 100%); margin-inline: auto; }

/* Header */
.cl-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad);
  background: rgba(232, 241, 238, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 85, 83, .14);
}
.cl-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cl-logo small { font-size: 9px; font-weight: 500; letter-spacing: .16em; color: var(--muted); }
.cl-back-icon { width: 18px; height: 18px; flex: none; fill: currentColor; will-change: transform; }
.cl-nav { display: flex; gap: clamp(18px, 2.4vw, 38px); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.cl-nav a { color: var(--muted); }
.cl-nav a:hover { color: var(--teal); }
.cl-head-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.cl-menu {
  display: none;
  background: transparent;
  border: 1px solid rgba(14, 85, 83, .24);
  padding: 10px 12px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.cl-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  padding: 90px var(--pad) 30px;
}
.cl-mobile-nav.open { display: block; }
.cl-mobile-nav a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -.03em;
}
.cl-mobile-nav .close { position: absolute; top: 22px; right: var(--pad); background: none; border: 0; font-size: 28px; cursor: pointer; }

/* Botones */
.btn-line, .btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-solid { background: var(--teal); color: #fff; }
.btn-line:hover { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }

/* Hero */
.cl-hero {
  position: relative;
  overflow: hidden;
  background: var(--mint);
  border-bottom: 1px solid var(--line);
}
.cl-word {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  font-size: clamp(120px, 25vw, 390px);
  line-height: .8;
  font-weight: 500;
  letter-spacing: -.09em;
  text-transform: uppercase;
  color: rgba(14, 85, 83, .075);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cl-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .92fr;
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(40px, 6vw, 90px) var(--pad) 0;
}
.cl-hero-copy { padding-bottom: clamp(34px, 5vw, 64px); }
.cl-eyebrow {
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
}
.cl-hero h1 {
  margin: 0 0 24px;
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(42px, 6.3vw, 92px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.cl-hero .lede {
  max-width: 46ch;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(14px, 1.15vw, 17px);
}
.cl-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cl-hero-photo {
  position: relative;
  margin: 0;
  align-self: end;
  height: clamp(380px, 46vw, 620px);
  border-radius: 240px 240px 0 0;
  overflow: hidden;
  background: var(--mint-2);
}
.cl-hero-photo img, .cl-hero-photo video { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.cl-hero-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 10px;
  background: rgba(242, 247, 244, .9);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Stats */
.cl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: var(--mint-2);
}
.cl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.cl-stat:last-child { border-right: 0; }
.cl-stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -.04em;
  color: var(--teal);
}
.cl-stat span { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Secciones */
.cl-section { padding: clamp(50px, 7vw, 100px) var(--pad); border-top: 1px solid var(--line); }
.cl-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.cl-kicker { margin: 0 0 14px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.cl-section h2 {
  margin: 0;
  max-width: 15ch;
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}
.cl-section-head p { margin: 0; max-width: 45ch; color: var(--muted); }
.cl-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cl-service {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--mint);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  isolation: isolate;
}
.cl-service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cl-service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 42, 40, 0) 32%, rgba(9, 42, 40, .86) 100%); }
.cl-service:hover img { transform: scale(1.04); }
.cl-service h3 { margin: 0 0 8px; font-family: var(--display); font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.cl-service p { margin: 0; max-width: 30ch; font-size: 13px; color: rgba(255,255,255,.82); }
.cl-service .cl-num {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 8px;
  background: rgba(9, 42, 40, .62);
  font-size: 9px;
  letter-spacing: .16em;
  color: #fff;
  backdrop-filter: blur(4px);
}
.cl-service .cl-plus {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 300;
}

/* Split */
.cl-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.cl-split > * { min-width: 0; }
.cl-photo { min-height: 540px; position: relative; overflow: hidden; background: var(--mint); }
.cl-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-split-copy { padding: clamp(34px, 5.5vw, 84px) var(--pad); }
.cl-split-copy h2 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(34px, 4.6vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.cl-split-copy p { max-width: 45ch; color: var(--muted); }
.cl-list { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid var(--line); }
.cl-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.cl-list b { color: var(--accent); font-size: 10px; letter-spacing: .12em; font-weight: 600; }
.cl-list strong { color: var(--ink); font-weight: 500; }

/* Feature grid */
.cl-features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cl-feature { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.cl-feature b { display: block; margin-bottom: 12px; font-size: 10px; letter-spacing: .16em; color: var(--accent); font-weight: 600; }
.cl-feature h3 { margin: 0 0 8px; font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: -.03em; }
.cl-feature p { margin: 0; font-size: 13px; color: var(--muted); }

/* Dark band */
.cl-dark {
  background: var(--teal-deep);
  color: var(--mint-2);
  padding: clamp(54px, 8vw, 112px) var(--pad);
}
.cl-dark-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.cl-dark h2 { margin: 0; max-width: 18ch; font-family: var(--display); font-size: clamp(38px, 5.5vw, 78px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.cl-dark p { max-width: 40ch; color: rgba(232,245,241,.7); }
.cl-dark .btn-line { border-color: rgba(232,245,241,.55); color: var(--mint-2); }
.cl-dark .btn-line:hover { background: var(--mint-2); color: var(--teal-deep); }

/* CTA banner */
.cl-banner { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--mint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.cl-banner-copy { padding: clamp(36px, 5.5vw, 78px) var(--pad); }
.cl-banner h2 { margin: 0 0 20px; max-width: 14ch; font-family: var(--display); font-size: clamp(36px, 5vw, 72px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.cl-banner p { max-width: 42ch; color: var(--muted); margin: 0 0 26px; }
.cl-banner-photo { min-height: 380px; position: relative; overflow: hidden; }
.cl-banner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.cl-faq { max-width: 880px; margin-inline: auto; }
.cl-faq-item { border-top: 1px solid var(--line); }
.cl-faq-item:last-child { border-bottom: 1px solid var(--line); }
.cl-faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; background: none; border: 0; text-align: left; font-size: 16px; font-weight: 500; cursor: pointer; }
.cl-faq-item button span { color: var(--accent); font-size: 20px; font-weight: 300; }
.cl-faq-item .ans { display: none; padding: 0 0 20px; max-width: 70ch; color: var(--muted); font-size: 14px; }
.cl-faq-item.open .ans { display: block; }

/* Contacto */
.cl-contact { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--mint-2); }
.cl-contact > div, .cl-contact form { padding: clamp(34px, 5.5vw, 76px) var(--pad); }
.cl-contact form { border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.cl-contact h2 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(34px, 4.6vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.cl-contact p { margin: 0 0 20px; max-width: 42ch; color: var(--muted); }
.cl-contact a.line { display: inline-block; margin: 6px 0; border-bottom: 1px solid var(--line); }
.cl-contact label { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cl-contact input, .cl-contact select {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  outline: none;
}
.cl-contact input:focus, .cl-contact select:focus { border-color: var(--teal); }
.form-status { margin: 0; font-size: 12px; color: var(--accent); }
.form-legal { margin: 0; font-size: 10px; color: var(--muted); }
.form-legal a { border-bottom: 1px solid var(--line); }

/* Footer */
.cl-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 34px var(--pad) 24px; }
.cl-foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.cl-foot-brand { font-size: 18px; letter-spacing: .16em; text-transform: uppercase; }
.cl-foot-brand small { display: block; margin-top: 8px; font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.cl-foot h3, .cl-foot h4 { margin: 0 0 10px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cl-foot a { display: block; margin: 5px 0; font-size: 13px; color: var(--muted); }
.cl-foot a:hover { color: var(--teal); }
.cl-foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-credit { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.credit-by { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.credit-by::before { content: ""; width: 16px; height: 1px; background: var(--accent); }
.credit-url { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.credit-url:hover { color: var(--teal); }

/* Chat abajo a la derecha */

/* Responsive */
@media (max-width: 960px) {
  .cl-head { grid-template-columns: 1fr auto; gap: 12px; }
  .cl-nav, .cl-head-actions .btn-line { display: none; }
  .cl-menu { display: inline-flex; }
  .cl-hero-inner { grid-template-columns: 1fr; gap: 26px; padding-top: 36px; }
  .cl-hero h1 { max-width: 16ch; }
  .cl-hero-photo { height: auto; aspect-ratio: 4/5; border-radius: 220px 220px 0 0; }
  .cl-stats { grid-template-columns: 1fr 1fr; }
  .cl-stat:nth-child(2) { border-right: 0; }
  .cl-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cl-section-head, .cl-split, .cl-dark-inner, .cl-banner, .cl-contact { grid-template-columns: 1fr; }
  .cl-section-head { gap: 14px; }
  .cl-services { grid-template-columns: 1fr; }
  .cl-service { min-height: 380px; }
  .cl-photo { min-height: 0; aspect-ratio: 4/3; }
  .cl-split-copy, .cl-banner-copy { padding-top: 36px; }
  .cl-banner-photo { min-height: 300px; }
  .cl-contact form { border-left: 0; border-top: 1px solid var(--line); }
  .cl-features { grid-template-columns: 1fr 1fr; }
  .cl-foot-top { grid-template-columns: 1fr; gap: 20px; }
  .cl-foot-bottom { flex-direction: column; gap: 8px; }
  .cl-word { top: 20%; }
}
@media (max-width: 560px) {
  .cl-head { gap: 8px; }
  .cl-logo { gap: 7px; font-size: 16px; letter-spacing: .1em; }
  .cl-logo small { font-size: 8px; }
  .cl-menu { padding: 9px 10px; font-size: 9px; }
  .cl-hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .cl-features { grid-template-columns: 1fr; }
  .cl-stats { grid-template-columns: 1fr 1fr; }
  .cl-stat { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cl-service img { transition: none; }
}

@media (max-width: 380px) {
  .cl-logo small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cl-hero-photo video { display: none; }
  .cl-hero-photo { background: url("/assets/photos/clinicas/doctora-loop-poster.jpg") center 18% / cover no-repeat; }
}

/* Redes sociales del pie */
.foot-social { display:flex; align-items:center; gap:.5rem; margin:1rem 0; }
.foot-social a { display:grid; place-items:center; width:2.35rem; height:2.35rem; margin:0; border:1px solid currentColor; border-radius:50%; color:inherit; text-decoration:none; transition:background .2s,color .2s,transform .2s; }
.foot-social a:hover, .foot-social a:focus-visible { background:#111; color:#fff; transform:translateY(-2px); }
.foot-social svg { width:1.05rem; height:1.05rem; display:block; }
