/* Fuentes servidas desde esta misma web (SIL OFL 1.1, ver fonts/). */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body { margin: 0; }

/* Eco IA, página de presentación.
   Idea: papel de informe frío + pantalla de ecógrafo oscura. El azul es el azul del color Doppler y se usa solo en acciones. */
.lp {
  /* Paleta tomada del logo: azul marino, cian, celeste y verde agua. */
  --navy: #022b6a;
  --sky: #2ab2e7;
  --cyan: #0facdf;
  --cyan-deep: #0a7399;
  --lobe: #8dcffd;
  --lobe-2: #7db4f4;
  --teal: #85e5e0;
  --paper: #f3f9fd;
  --paper-2: #e4f2fa;
  --ink: #022b6a;
  --ink-soft: #40597c;
  --line: #c5dceb;
  --screen: #022b6a;
  --screen-line: rgba(168, 200, 232, 0.26);
  --screen-ink: #eaf5fc;
  --screen-soft: #a8c8e8;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  background: #fff;
  color: var(--ink);
  color-scheme: light;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
:where(.lp) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.lp) :where(ul, ol) { padding: 0; list-style: none; }
:where(.lp) a { color: inherit; }
:where(.lp) img { display: block; max-width: 100%; height: auto; }
.lp a:focus-visible, .lp summary:focus-visible {
  outline: 3px solid var(--cyan-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.lp-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Cabecera */
.lp-header { background: #fff; border-bottom: 1px solid var(--line); }
.lp-header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.lp-logo { display: inline-flex; align-items: center; text-decoration: none; }
.lp-logo-img { display: block; height: 58px; width: auto; max-width: none; }
.lp-logo-foot { height: 60px; }
.lp-nav { display: none; gap: 1.75rem; font-size: 0.97rem; font-weight: 500; }
.lp-nav a { text-decoration: none; color: var(--ink-soft); }
.lp-nav a:hover { color: var(--ink); }
.lp-header-cta { display: flex; align-items: center; gap: 1rem; }
.lp-link { font-weight: 600; text-decoration: none; }
.lp-link:hover { text-decoration: underline; }
@media (min-width: 900px) { .lp-nav { display: flex; } }

/* Botones */
.lp-btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.5rem;
  border: 1.5px solid transparent; border-radius: 10px;
  font-family: var(--body); font-size: 1rem; font-weight: 600; text-decoration: none; text-align: center;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.lp-btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.95rem; }
.lp-btn-primary { background: var(--navy); color: #fff; }
.lp-btn-primary:hover { background: #0b4aa8; }
.lp-btn-ghost { border-color: var(--navy); color: var(--navy); }
.lp-btn-ghost:hover { background: var(--paper-2); }
.lp-btn-light { background: #fff; color: var(--navy); }
.lp-btn-light:hover { background: var(--paper); }
.lp-btn-outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.lp-btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Tipografía */
.lp-h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.02; letter-spacing: -0.035em;
  text-wrap: balance; max-width: 13ch;
}
.lp-h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.08; letter-spacing: -0.028em;
  text-wrap: balance; max-width: 20ch;
}
.lp-h3 { font-family: var(--display); font-weight: 700; font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.015em; }
.lp-lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink-soft); max-width: 54ch; }
.lp-lead-narrow { max-width: 48ch; }

/* Portada */
.lp-hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .lp-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); } }
.lp-hero-copy { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; min-width: 0; }
.lp-refs { font-size: 0.95rem; color: var(--ink-soft); max-width: 46ch; padding-top: 0.5rem; border-top: 1px solid var(--line); }

.lp-visual { position: relative; isolation: isolate; min-width: 0; margin-bottom: 2rem; }
.lp-lobe { position: absolute; z-index: -1; }
.lp-lobe-a { left: -9%; top: 12%; width: 26%; height: 78%; background: var(--lobe-2); opacity: 0.55; border-radius: 100% 0 0 100% / 50% 0 0 50%; }
.lp-lobe-b { left: -3%; top: -6%; width: 36%; height: 104%; background: var(--lobe); opacity: 0.6; border-radius: 100% 0 0 100% / 50% 0 0 50%; }
.lp-lobe-c { right: -4%; top: 14%; width: 30%; height: 70%; background: var(--teal); opacity: 0.75; border-radius: 0 28px 28px 0; }
.lp-badge { font-size: 0.78rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }
.lp-tick { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan-deep); }
.lp-tick::after {
  content: ''; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Secciones */
.lp-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.lp-section-tint { background: var(--paper); }
.lp-section .lp-lead { margin-top: 1rem; }

.lp-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 3rem; }
@media (min-width: 800px) { .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.lp-step { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1.25rem; border-top: 3px solid var(--navy); }
.lp-step-n { font-family: var(--display); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--cyan-deep); }
.lp-step p { color: var(--ink-soft); max-width: 36ch; }
.lp-mid-cta { margin-top: 3rem; }

.lp-mod-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 900px) { .lp-mod-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } .lp-mod-head { position: sticky; top: 2rem; align-self: start; } }
.lp-mods { border-bottom: 1px solid var(--line); }
.lp-mod { display: grid; gap: 0.4rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.lp-mod p { color: var(--ink-soft); max-width: 58ch; }

/* Referencias */
.lp-trust { background: var(--screen); color: var(--screen-ink); }
.lp-trust .lp-lead { color: var(--screen-soft); }

/* Centros */
.lp-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2.75rem; }
@media (min-width: 800px) { .lp-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.lp-col { display: grid; gap: 0.5rem; align-content: start; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.lp-col p { color: var(--ink-soft); max-width: 38ch; }

/* Preguntas */
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 900px) { .lp-faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }
.lp-faq { border-bottom: 1px solid var(--line); }
.lp-q { border-top: 1px solid var(--line); padding-block: 1.1rem; }
.lp-q summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: '+'; flex: none; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--cyan-deep); transition: transform 0.2s; }
.lp-q[open] summary::after { transform: rotate(45deg); }
.lp-q p { margin-top: 0.7rem; color: var(--ink-soft); max-width: 58ch; }

/* Cierre */
.lp-final { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(115deg, #022b6a 0%, #04559b 58%, #0facdf 130%); color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); }
.lp-final-in { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.lp-final .lp-lead { color: rgba(255, 255, 255, 0.88); margin-top: 0; }
.lp-final a:focus-visible { outline-color: #fff; }

.lp-footer { padding-block: 2rem; background: #fff; border-top: 1px solid var(--line); }
.lp-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; }
.lp-footer p { font-size: 0.92rem; color: var(--ink-soft); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition: none !important; }
}

@media (max-width: 600px) {
  .lp-logo-img { height: 42px; }
  .lp-link { display: none; }
  .lp-btn { white-space: normal; }
  .lp-header-cta .lp-btn { white-space: nowrap; }
  .lp-visual { margin-bottom: 0; }
  }

/* Beneficios y herramientas */
.lp-h3-xl { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.12; letter-spacing: -0.02em; }
.lp-pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; margin-top: 3rem; }
@media (min-width: 900px) { .lp-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.lp-pillar { display: grid; gap: 0.8rem; align-content: start; padding-top: 1.4rem; border-top: 5px solid var(--cyan); }
.lp-pillar:nth-child(1) { border-top-color: var(--lobe-2); }
.lp-pillar:nth-child(3) { border-top-color: var(--teal); }
.lp-pillar p { color: var(--ink-soft); max-width: 38ch; }

.lp-tools { margin-top: 3rem; border-bottom: 1px solid var(--line); }
.lp-tool { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 2.25rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .lp-tool { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.lp-tool-main { display: grid; gap: 0.8rem; align-content: start; }
.lp-tool-main p { color: var(--ink-soft); max-width: 50ch; }
.lp-facts { display: grid; gap: 0; align-content: start; }
.lp-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.15rem 1.25rem; padding-block: 0.7rem; border-top: 1px solid var(--line); }
.lp-facts > div:first-child { border-top: 0; padding-top: 0; }
.lp-facts dt { color: var(--ink-soft); font-size: 0.97rem; }
.lp-facts dd { font-weight: 600; text-align: right; }
@media (max-width: 600px) { .lp-facts dd { text-align: left; } }

.lp-final::before, .lp-final::after { content: ''; position: absolute; z-index: -1; border-radius: 100% 0 0 100% / 50% 0 0 50%; }
.lp-final::before { right: 8%; top: -20%; width: 22%; min-width: 150px; height: 140%; background: rgba(141, 207, 253, 0.2); }
.lp-final::after { right: -2%; top: -10%; width: 26%; min-width: 170px; height: 120%; background: rgba(133, 229, 224, 0.28); }

/* Maqueta de la app en la portada */
.lp-app { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 32px 64px -30px rgba(2, 43, 106, 0.5); }
.lp-app-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.8rem 1.1rem; background: #fff; border-bottom: 1px solid var(--line); }
.lp-app-title { font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.lp-app-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.lp-app-col { display: grid; gap: 0.6rem; align-content: start; padding: 1rem 1.1rem 1.1rem; min-width: 0; }
.lp-app-doc { background: var(--paper); border-left: 1px solid var(--line); gap: 0.45rem; }
.lp-app-h { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.01em; }
.lp-row { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.lp-row-t { min-width: 0; }
.lp-tick-open { background: #fff; border: 2px solid var(--cyan); }
.lp-tick-open::after { display: none; }
.lp-pill { margin-left: auto; flex: none; font-size: 0.72rem; font-weight: 600; padding: 0.12rem 0.5rem; border-radius: 999px; background: #d9f6f4; color: #0b5f66; }
.lp-field { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-left: 1.7rem; font-size: 0.82rem; color: var(--ink-soft); }
.lp-bar { display: block; height: 8px; border-radius: 4px; background: #d3e4f0; }
.lp-field .lp-bar { width: 38%; flex: none; }
.lp-bar-s { width: 46%; }
.lp-bar-m { width: 72%; }
.lp-bar-l { width: 90%; }
.lp-gauge { position: relative; height: 8px; margin: 0.15rem 0 0.1rem 1.7rem; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--lobe), var(--lobe-2)); }
.lp-gauge-mark { position: absolute; left: 46%; top: -5px; width: 3px; height: 18px; border-radius: 2px; background: var(--navy); }
.lp-doc-h { margin-top: 0.4rem; font-family: var(--display); font-size: 0.88rem; color: var(--navy); }
.lp-doc-h:first-of-type { margin-top: 0.1rem; }
.lp-app-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; color: var(--cyan-deep); }
.lp-app-btn { padding: 0.3rem 0.7rem; border-radius: 8px; background: var(--navy); color: #fff; font-size: 0.78rem; }
.lp-app-note { padding: 0.5rem 1.1rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-soft); }
@media (max-width: 600px) {
  .lp-app-body { grid-template-columns: minmax(0, 1fr); }
  .lp-app-doc { border-left: 0; border-top: 1px solid var(--line); }
}

/* Calculadoras */
.lp-tool-main .lp-calc-hook { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--cyan-deep); max-width: 22ch; }
.lp-calc { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.lp-chips li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.93rem; font-weight: 500; }
.lp-chips li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* Calculadoras sobre fondo de marca */
.lp-tool-calc { margin-block: 0.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 0; border-radius: 18px; background: linear-gradient(115deg, #022b6a 0%, #04559b 100%); color: #fff; }
.lp-tool-calc .lp-h3 { color: #fff; }
.lp-tool-calc .lp-tool-main p { color: #d6e8f7; }
.lp-tool-calc .lp-tool-main .lp-calc-hook { color: var(--teal); }
.lp-tool-calc .lp-chips li { background: rgba(255, 255, 255, 0.1); border-color: rgba(168, 200, 232, 0.4); color: #fff; }
.lp-tool-calc .lp-chips li::before { background: var(--teal); }

/* Mapa venoso */
.lp-map { display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.lp-map-img { width: 100%; height: auto; padding: 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -30px rgba(2, 43, 106, 0.45); }
.lp-map figcaption { font-size: 0.88rem; color: var(--ink-soft); }

/* Referencias */
.lp-trust { position: relative; overflow: hidden; isolation: isolate; }
.lp-trust-in { display: grid; gap: 1.25rem; }
.lp-trust .lp-h2 { max-width: 16ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.lp-trust .lp-lead { max-width: 46ch; font-size: 1.25rem; }
.lp-trust::before, .lp-trust::after { content: ''; position: absolute; z-index: -1; border-radius: 100% 0 0 100% / 50% 0 0 50%; }
.lp-trust::before { right: 9%; top: -25%; width: 20%; min-width: 130px; height: 150%; background: rgba(141, 207, 253, 0.12); }
.lp-trust::after { right: -2%; top: -15%; width: 24%; min-width: 150px; height: 130%; background: rgba(133, 229, 224, 0.16); }

.lp-q .lp-chips { margin-top: 1rem; }

/* Mapa venoso con su leyenda al lado (debajo en celular) */
.lp-map-imgs { display: grid; grid-template-columns: minmax(0, 1.88fr) minmax(0, 1fr); gap: 0.75rem; align-items: start; }
@media (max-width: 600px) { .lp-map-imgs { grid-template-columns: minmax(0, 1fr); } .lp-map-legend { max-width: 260px; } }

/* Logo en cabecera: símbolo + nombre (el logo completo es cuadrado y su texto no se lee a esta altura) */
.lp-logo { gap: 0.6rem; }
.lp-logo-mark { display: block; width: 44px; height: 44px; }
.lp-logo-text { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--navy); white-space: nowrap; }
@media (max-width: 380px) { .lp-logo-mark { width: 36px; height: 36px; } .lp-logo-text { font-size: 1.25rem; } }

/* Pie */
.lp-logo-foot { display: block; width: 120px; height: auto; border-radius: 12px; }
.lp-footer-txt { display: grid; gap: 0.35rem; }
.lp-footer a { color: var(--cyan-deep); }

/* Correo visible junto a cada "Solicitar acceso", por si el mailto no abre un programa de correo */
.lp-mail-alt { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.45; color: var(--ink-soft); }
.lp-hero-copy .lp-mail-alt, .lp-final-in .lp-mail-alt { margin-top: -0.6rem; }
.lp-mail-addr { font-weight: 600; color: var(--ink); -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; }
.lp-final .lp-mail-alt { color: rgba(255, 255, 255, 0.88); }
.lp-final .lp-mail-addr { color: #fff; }
.lp-header-cta { flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.lp-mail-alt-sm { margin-top: 0; font-size: 0.74rem; line-height: 1.3; text-align: right; max-width: 15rem; }
.lp-mail-alt-sm .lp-mail-addr { display: block; }
