/* Página pública de la clínica (clinicahall.org). Independiente del resto
   de la app: no carga style.css ni nada del sistema. Mismos colores de la
   marca (verde azulado) y la misma letra Inter alojada en static/fonts. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --verde: #0f766e;
  --verde-osc: #0b5a54;
  --verde-claro: #d9f4f0;
  --verde-fondo: #f0faf8;
  --texto: #101828;
  --suave: #475467;
  --borde: #e4e7ec;
  --wa: #1fa855;
  --radio: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--texto);
  background: #fff;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--verde); }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- Barra superior --- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--borde);
}
.lp-nav-in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto); margin-right: auto; }
.lp-marca img { width: 32px; height: auto; }
.lp-marca span { display: flex; flex-direction: column; line-height: 1.15; }
.lp-marca b { font-size: 1rem; }
.lp-marca small { font-size: 0.72rem; color: var(--suave); }
.lp-enlaces { display: flex; gap: 22px; }
.lp-enlaces a { color: var(--suave); text-decoration: none; font-weight: 500; font-size: 0.93rem; }
.lp-enlaces a:hover { color: var(--verde); }
.lp-acceso {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--verde);
  color: var(--verde);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.lp-acceso svg { width: 16px; height: 16px; }
.lp-acceso:hover { background: var(--verde); color: #fff; }

.lp-enlaces a { position: relative; padding: 6px 0; }
.lp-enlaces a[aria-current="true"] { color: var(--verde); font-weight: 600; }
.lp-enlaces a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--verde);
}
.lp-menu-btn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--borde);
  border-radius: 12px;
  background: #fff;
  color: var(--texto);
  cursor: pointer;
  padding: 0;
}
.lp-menu-btn svg { width: 22px; height: 22px; }
.lp-menu-panel {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 14px 14px;
  display: grid;
  gap: 4px;
}
.lp-menu-panel[hidden] { display: none; }
.lp-menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--texto);
  font-weight: 500;
  text-decoration: none;
}
.lp-menu-panel a::after { content: "›"; color: #98a2b3; font-size: 1.3rem; }
.lp-menu-panel a:active, .lp-menu-panel a[aria-current="true"] { background: var(--verde-fondo); color: var(--verde-osc); }

/* --- Accesos rápidos bajo la portada --- */
.lp-rapido-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px 56px; }
.lp-rapido-titulo { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--suave); margin-bottom: 12px; }
.lp-rapido { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lp-rapido a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--borde);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: var(--texto);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.lp-rapido a:hover { border-color: var(--verde); box-shadow: 0 8px 22px rgba(15, 118, 110, 0.14); transform: translateY(-2px); }
.lp-rapido b { font-size: 0.95rem; line-height: 1.25; }
.lp-rapido small { color: var(--suave); font-size: 0.8rem; line-height: 1.35; }

/* --- Barra de acciones rápidas (celular) --- */
.lp-barra { display: none; }

/* --- Botones --- */
.lp-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.lp-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(31, 168, 85, 0.3); }
.lp-btn-sec { background: #fff; color: var(--verde); border-color: var(--verde); }
.lp-btn-sec-wa { color: #167a3e; border-color: var(--wa); }
.lp-btn-prim { background: var(--verde); color: #fff; margin-top: 8px; }
.lp-btn-blanco { background: #fff; color: var(--verde-osc); }
.lp-btn-borde { color: #fff; border-color: rgba(255, 255, 255, 0.7); }

/* --- Portada --- */
.lp-hero { background: linear-gradient(180deg, var(--verde-fondo), #fff); }
.lp-hero-in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.lp-etiqueta {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde);
}
.lp-etiqueta-clara { color: #a7ece4; }
.lp-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; }
.lp-lead { margin-top: 18px; font-size: 1.12rem; color: var(--suave); max-width: 34rem; }
.lp-datos { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; color: var(--suave); font-size: 0.95rem; }
.lp-datos li { display: flex; align-items: center; gap: 10px; }
.lp-datos svg { width: 20px; height: 20px; color: var(--verde); flex-shrink: 0; }
.lp-hero-foto img {
  height: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 118, 110, 0.25);
}

/* --- Secciones --- */
.lp-seccion { padding: 72px 0; }
.lp-claro { background: #f8fafb; }
.lp-cont { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.lp-seccion h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
.lp-sub { margin-top: 12px; color: var(--suave); font-size: 1.05rem; max-width: 40rem; }

.lp-grupos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 36px; }
.lp-grupo {
  --acc: #0f766e; --acc-bg: #d9f4f0;
  position: relative;
  padding: 24px 24px 22px;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.lp-grupo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--acc); }
.lp-grupo:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1); border-color: var(--acc); }
.lp-grupo-2 { --acc: #1d6fa5; --acc-bg: #e0effa; }
.lp-grupo-3 { --acc: #c2410c; --acc-bg: #ffecdd; }
.lp-grupo-4 { --acc: #6d4bd1; --acc-bg: #ece7fb; }
.lp-grupo-5 { --acc: #be185d; --acc-bg: #fde6f0; }
.lp-grupo-mas { --acc: #475467; --acc-bg: #eef1f5; background: #f8fafb; border-style: dashed; }
.lp-grupo header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lp-grupo-ico { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; background: var(--acc-bg); color: var(--acc); }
.lp-grupo-ico svg { width: 22px; height: 22px; }
.lp-grupo h3 { font-size: 1.02rem; line-height: 1.25; }
.lp-grupo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.lp-grupo li { position: relative; padding-left: 20px; color: #263446; font-size: 0.95rem; }
.lp-grupo li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); opacity: 0.85; }
.lp-grupo-mas p { color: var(--suave); font-size: 0.93rem; }

.lp-tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-tarjeta {
  padding: 24px;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.lp-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--verde-claro);
  color: var(--verde);
}
.lp-ico svg { width: 24px; height: 24px; }
.lp-tarjeta h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lp-tarjeta p { color: var(--suave); font-size: 0.95rem; }

/* --- Diabetes (área resaltada) --- */
.lp-diabetes { background: linear-gradient(180deg, #eaf6ff, #f4fbff); border-top: 1px solid #d3e8f7; border-bottom: 1px solid #d3e8f7; }
.lp-diabetes .lp-etiqueta { color: #1d6fa5; }
.lp-diab-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.lp-lista { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-lista li { position: relative; padding-left: 32px; color: #263446; }
.lp-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1d6fa5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lp-mcg {
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #cfe5f5;
  box-shadow: 0 16px 40px rgba(29, 111, 165, 0.14);
}
.lp-mcg-etiqueta {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e3f1fb;
  color: #1d6fa5;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-mcg h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.lp-mcg > p { color: var(--suave); }
.lp-curva { width: 100%; height: auto; margin: 18px 0 14px; display: block; }
.lp-curva-rango { fill: #d9f1e4; stroke: none; }
.lp-curva-linea { stroke: #1d6fa5; stroke-width: 3.2; fill: none; }
.lp-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; color: #344054; }
.lp-mini li { padding-left: 18px; position: relative; }
.lp-mini li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: #1d6fa5; }
.lp-diab-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.lp-metab {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #cfe5f5;
  border-left: 5px solid #1d6fa5;
}
.lp-metab h3 { font-size: 1.05rem; margin-bottom: 10px; color: #14486b; }
.lp-metab p { color: #344054; font-size: 0.95rem; }
.lp-metab p + p { margin-top: 8px; }
.lp-peq { color: var(--suave); font-size: 0.85rem; }
.lp-medico-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.lp-medico-wa svg { width: 17px; height: 17px; }

/* --- Ultrasonido --- */
.lp-us { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; margin-top: 30px; align-items: center; }
.lp-us-pantalla {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, #12454c, #071c20 75%);
  box-shadow: 0 22px 50px rgba(7, 28, 32, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.lp-us-pantalla svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; }
.lp-us-sello {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d9fffa;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lp-us-lista { display: grid; gap: 16px; }
.lp-us-grupo {
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--borde);
  border-left: 5px solid var(--verde);
}
.lp-us-grupo + .lp-us-grupo { border-left-color: #1d6fa5; }
.lp-us-grupo h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--suave); margin-bottom: 12px; }
.lp-us-grupo ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.lp-us-grupo li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.02rem; }
.lp-us-grupo li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--verde); flex-shrink: 0; }
.lp-us-grupo + .lp-us-grupo li::before { background: #1d6fa5; }

/* --- Endoscopia (bloque destacado) --- */
.lp-destacado {
  position: relative;
  padding: 88px 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(95, 201, 189, 0.28), transparent 42%),
    radial-gradient(circle at 6% 96%, rgba(255, 212, 121, 0.12), transparent 38%),
    linear-gradient(135deg, #07403c, #0f766e);
  overflow: hidden;
}
.lp-destacado h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.lp-destacado .lp-sub { color: #d3f3ee; font-size: 1.12rem; }
.lp-endo-cab { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.lp-endo-pts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-endo-pts li { position: relative; padding-left: 34px; color: #effcfa; font-size: 1.02rem; }
.lp-endo-pts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7ff0e0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4a45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lp-endo-cab .lp-botones { margin-top: 30px; }
.lp-btn-grande { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }

.lp-endo-fig {
  margin: 0;
  padding: 26px 22px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
}
.lp-endo-fig svg { width: 100%; max-width: 250px; height: auto; margin: 0 auto; display: block; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lp-higado { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.5; }
.lp-rotulo { fill: rgba(255, 255, 255, 0.5); stroke: none; font-size: 11px; font-family: "Inter", sans-serif; font-weight: 500; }
.lp-delgado { stroke: rgba(255, 255, 255, 0.26); stroke-width: 7; }
.lp-brillo-alta path { stroke: #ffd479; stroke-width: 12; opacity: 0.5; fill: none; }
.lp-brillo-colon { stroke: #7ff0e0; stroke-width: 18; opacity: 0.45; }
.lp-eso { stroke: #ffd479; stroke-width: 9; }
.lp-estomago { stroke: #ffd479; stroke-width: 5; fill: rgba(255, 212, 121, 0.22); }
.lp-rugas { stroke: #ffe3a3; stroke-width: 1.8; opacity: 0.55; }
.lp-duodeno { stroke: #ffd479; stroke-width: 9; }
.lp-colon { stroke: #7ff0e0; stroke-width: 15; stroke-linecap: butt; stroke-dasharray: 16 3.5; stroke-linejoin: round; }
.lp-recto { stroke: #7ff0e0; stroke-width: 15; }
.lp-ciego { fill: #7ff0e0; stroke: none; }
.lp-apendice { stroke: #7ff0e0; stroke-width: 5; }
.lp-endo-fig figcaption { display: grid; gap: 8px; margin-top: 14px; text-align: left; }
.lp-leyenda { position: relative; padding-left: 22px; font-size: 0.86rem; color: #e3f8f5; }
.lp-leyenda::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 12px; border-radius: 4px; }
.lp-leyenda-alta::before { background: #ffd479; }
.lp-leyenda-colon::before { background: #7ff0e0; }

.lp-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.lp-estudio {
  position: relative;
  padding: 30px 30px 28px;
  border-radius: 24px;
  background: #fff;
  color: var(--texto);
  box-shadow: 0 22px 50px rgba(4, 36, 34, 0.35);
  overflow: hidden;
}
.lp-estudio::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #f2b84b; }
.lp-estudio-colon::before { background: #2bc4b0; }
.lp-estudio-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: #eef3f5;
}
.lp-estudio h3 { font-size: 1.45rem; margin-bottom: 8px; position: relative; }
.lp-estudio-que { color: var(--suave); font-size: 1rem; position: relative; }
.lp-estudio-ind { margin-top: 18px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--verde); }
.lp-mini-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-mini-chips li { padding: 7px 13px; border-radius: 999px; background: #fff7e6; border: 1px solid #f6dfae; color: #7a4f06; font-size: 0.88rem; font-weight: 500; }
.lp-estudio-colon .lp-mini-chips li { background: #e6faf7; border-color: #bdeee6; color: #0b5a54; }

.lp-pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.lp-paso {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lp-paso > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--verde-osc);
  font-weight: 700;
}
.lp-paso b { display: block; font-size: 1rem; }
.lp-paso small { display: block; margin-top: 3px; color: #cfeee9; font-size: 0.86rem; line-height: 1.4; }

/* --- Médicos --- */
.lp-medicos { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 28px; margin-top: 30px; justify-content: center; }
.lp-medico { text-align: center; }
.lp-foto {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--verde-claro);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
}
.lp-foto img { width: 100%; height: 100%; object-fit: cover; }
.lp-foto-vacia {
  display: grid;
  place-items: center;
  border: 2px dashed #9fd8d0;
  background: var(--verde-fondo);
  box-shadow: none;
}
.lp-foto-vacia span { font-size: 3.2rem; font-weight: 700; color: var(--verde); opacity: 0.7; }
.lp-medico h3 { margin-top: 16px; font-size: 1.2rem; }
.lp-cargo { margin-top: 4px; color: var(--verde); font-weight: 600; }

/* --- Galería --- */
.lp-galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.lp-galeria img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radio); box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1); }

/* --- Ubicación --- */
.lp-ubic { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; margin-top: 28px; align-items: stretch; }
.lp-ubic-info h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--verde); margin: 18px 0 4px; }
.lp-ubic-info h3:first-child { margin-top: 0; }
.lp-ubic-info p { font-size: 1.02rem; }
.lp-mapa { min-height: 320px; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--borde); background: #eef2f4; }
.lp-mapa iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.lp-aviso { margin-top: 26px; color: var(--suave); font-size: 0.9rem; }

/* --- Pie --- */
.lp-pie { border-top: 1px solid var(--borde); background: #fff; }
.lp-pie-in {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--suave);
}
.lp-pie a { color: var(--suave); }

/* --- Celular --- */
@media (max-width: 860px) {
  .lp-enlaces { display: none; }
  .lp-menu-btn { display: grid; }
  .lp-rapido { grid-template-columns: repeat(2, 1fr); }
  .lp-rapido a:last-child { grid-column: 1 / -1; }
  .lp-rapido-wrap { padding-bottom: 36px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .lp-barra {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--borde);
    box-shadow: 0 -4px 18px rgba(16, 24, 40, 0.06);
  }
  .lp-barra a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid var(--borde);
    background: #fff;
    color: var(--verde-osc);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
  }
  .lp-barra a svg { width: 19px; height: 19px; }
  .lp-barra .lp-barra-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
  .lp-hero-in { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 44px; }
  .lp-hero-foto { order: -1; }
  .lp-hero-foto img {
  height: auto; border-radius: 18px; aspect-ratio: 16 / 10; }
  .lp-tarjetas, .lp-dos, .lp-galeria, .lp-ubic, .lp-diab-in, .lp-us, .lp-grupos, .lp-endo-cab, .lp-pasos { grid-template-columns: 1fr; }
  .lp-destacado { padding: 56px 0; }
  .lp-endo-cab { gap: 28px; }
  .lp-dos { margin-top: 36px; }
  .lp-estudio-num { font-size: 2.6rem; }
  .lp-endo-fig svg { max-width: 190px; }
  .lp-us-pantalla { aspect-ratio: 16 / 10; }
  .lp-seccion { padding: 48px 0; }
  .lp-medicos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .lp-foto-vacia span { font-size: 2.4rem; }
}
@media (max-width: 520px) {
  .lp-nav-in { padding: 8px 14px; gap: 10px; }
  .lp-marca small { display: none; }
  .lp-acceso { padding: 8px 12px; font-size: 0.82rem; }
  .lp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-btn { transition: none; }
}
