/* ===== Landing de Soy Enfermera (tarjetas) ===== */
.land-nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px);
  background: color-mix(in srgb, #ffffff 78%, transparent); border-bottom: 1px solid var(--line); }
.land-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.land-nav nav { display: flex; align-items: center; gap: 18px; }
.land-nav nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.land-nav nav a:hover { color: var(--brand); }
.land-nav nav a.btn { color: #fff; }
@media (max-width: 720px) { .land-nav nav a:not(.btn) { display: none; } }

.eyebrow { display: inline-block; background: #e6f6fb; color: #0b6a86; font-weight: 700;
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.grad { background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.land-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 54px 18px 40px; }
.land-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.05; margin: 0 0 16px; }
.land-hero p { color: var(--muted); font-size: 1.1rem; max-width: 540px; }
.row-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.mini { color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .land-hero { grid-template-columns: 1fr; padding-top: 34px; } .land-hero-visual { order: -1; } }

/* mock card en el hero */
.land-hero-visual { display: grid; place-items: center; }
.mockcard { position: relative; width: 280px; border-radius: 28px; padding: 30px 22px; color: #fff; text-align: center;
  background: linear-gradient(160deg, #37b3cf, #0a5f7d); box-shadow: 0 40px 80px -30px rgba(10,80,105,.7);
  animation: flotacard 6s ease-in-out infinite alternate; overflow: hidden; }
.mockcard::before { content: ""; position: absolute; inset: -30%;
  background: radial-gradient(closest-side, rgba(255,255,255,.5), transparent 70%) 20% 15%/50% 55% no-repeat,
              radial-gradient(closest-side, rgba(255,255,255,.35), transparent 70%) 85% 40%/50% 55% no-repeat;
  filter: blur(22px); animation: girar 18s linear infinite; }
.mockcard > * { position: relative; }
.mock-ring { position: absolute; top: 44px; left: 50%; width: 118px; height: 118px; margin-left: -59px; border-radius: 50%;
  background: conic-gradient(from 0deg, #fff, rgba(255,255,255,.2), #fff); animation: girar 7s linear infinite; }
.mock-av { position: relative; width: 104px; height: 104px; margin: 14px auto 10px; border-radius: 50%;
  background: color-mix(in srgb, #fff 92%, #0a7ea4); color: #0a5f7d; display: grid; place-items: center;
  font-family: 'Poppins'; font-weight: 700; font-size: 1.9rem; box-shadow: 0 12px 26px -12px rgba(0,0,0,.6); }
.mock-nombre { font-family: 'Poppins'; font-weight: 700; font-size: 1.25rem; margin-top: 8px; }
.mock-esp { font-size: .9rem; opacity: .95; }
.mock-chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.mock-chips span { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4); padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.mock-qr { width: 66px; height: 66px; margin: 16px auto 2px; border-radius: 12px; background:
  repeating-conic-gradient(#0a5f7d 0% 25%, #fff 0% 50%) 50% / 12px 12px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }

.land-sec { padding: 54px 18px; }
.land-sec h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-align: center; margin: 0 0 30px; }
.land-sec.alt { background: linear-gradient(180deg, #f2fafc, #ffffff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step b { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-family: 'Poppins'; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -24px rgba(10,80,105,.5); }
.feature .fi { font-size: 1.6rem; margin-bottom: 8px; }
.feature h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 760px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.destacado { border: 2px solid var(--brand); transform: scale(1.02); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 1.15rem; }
.plan .precio { font-family: 'Poppins'; font-weight: 700; font-size: 2.4rem; margin-bottom: 6px; }
.plan .precio small { font-size: 1rem; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 12px 0 22px; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--ink); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan .btn { margin-top: auto; }

.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; font-family: 'Poppins'; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 14px; color: var(--muted); }

.cta-final { padding: 60px 18px; text-align: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.cta-final h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 8px; }
.cta-final p { opacity: .95; margin: 0 0 20px; }
.cta-final .btn { background: #fff; color: var(--brand); box-shadow: 0 14px 30px -14px rgba(0,0,0,.4); }

.land-foot { padding: 34px 18px; background: #0b2230; color: #cfe6ee; }
.land-foot .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.land-foot .brand { color: #fff; }
.land-foot .brand .logo { color: #7fd8ea; }
.land-foot nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.land-foot a { color: #cfe6ee; }
.land-foot a:hover { color: #fff; }

/* reveal on scroll (solo si hay JS; sin JS se ve todo) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes flotacard { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .mockcard, .mock-ring { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.feature .fi { color: var(--brand); }
.feature .fi svg { width: 26px; height: 26px; }

/* ===== version compacta: hero + precios + blog ===== */
.hero-compact { text-align: center; padding: 42px 18px 10px; }
.hero-compact h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0 0 12px; }
.hero-compact p { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin: 0 auto; }

.pricing.compact { max-width: 720px; }
.plan ul { margin: 10px 0 18px; }

.blog-sec { padding: 52px 18px 30px; }
.blog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.blog-head h2 { margin: 0; text-align: left; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.postcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.postcard:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -24px rgba(10,80,105,.5); }
.postcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.pc-body { padding: 16px 18px 20px; }
.pc-date { color: var(--muted); font-size: .78rem; font-weight: 600; }
.postcard h3 { margin: 6px 0 8px; font-size: 1.05rem; line-height: 1.25; }
.postcard p { margin: 0; color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.pc-ph { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand), var(--brand-2)); position: relative; }
.pc-ph::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px); background-size: 16px 16px; }

/* ===== mas compacto ===== */
.hero-compact.wrap { padding: 24px 18px 4px; }
.hero-compact h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 8px; }
.hero-compact p { font-size: 1rem; }
.hero-compact .row-cta { margin: 16px 0 0; }
.price-sec.wrap { padding: 6px 18px 0; }
.pricing.compact { gap: 16px; }
.plan { padding: 20px 22px; }
.plan .precio { font-size: 2rem; margin-bottom: 2px; }
.plan h3 { margin-bottom: 2px; }
.plan ul { margin: 8px 0 16px; }
.plan li { padding: 5px 0 5px 24px; }
.blog-sec.wrap { padding: 34px 18px 12px; }
.blog-head { margin-bottom: 16px; }
.posts { gap: 16px; }
.pc-body { padding: 14px 16px 16px; }
.postcard h3 { font-size: 1rem; margin: 5px 0 6px; }
.land-foot { padding: 24px 18px; }

/* separa precios del hero para que no choque la etiqueta "Recomendado" */
.price-sec.wrap { padding: 22px 18px 0; }

/* temas / categorias del blog */
.temas { margin-top: 22px; display: grid; gap: 12px; }
.tema-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tema-label { font-family: 'Poppins'; font-weight: 700; font-size: .85rem; color: var(--muted); margin-right: 4px; }
.tchip { background: #eaf6fa; color: #0b6a86; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); transition: transform .15s ease, background .15s ease; }
.tchip:hover { transform: translateY(-2px); background: #d9eff6; }

/* un poco mas compacto aun */
.hero-compact.wrap { padding: 18px 18px 2px; }
.hero-compact h1 { font-size: clamp(1.55rem, 3.6vw, 2.2rem); margin-bottom: 6px; }
.hero-compact p { font-size: .96rem; }
.hero-compact .row-cta { margin: 12px 0 0; }
.price-sec.wrap { padding: 16px 18px 0; }
.plan { padding: 16px 18px; }
.plan .precio { font-size: 1.8rem; }
.plan ul { margin: 6px 0 12px; }
.plan li { padding: 4px 0 4px 22px; font-size: .94rem; }
.blog-sec.wrap { padding: 26px 18px 10px; }

/* ===== dos publicos ===== */
.sec-eyebrow { text-align: center; color: var(--muted); font-family: 'Poppins'; font-weight: 700;
  font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 18px auto 0; }
.duo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  box-shadow: var(--shadow); text-align: left; display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease; }
.duo-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -24px rgba(10,80,105,.5); }
.duo-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.duo-ico svg { width: 24px; height: 24px; }
.duo-card h3 { margin: 4px 0 0; font-size: 1.2rem; }
.duo-card p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.duo-card .btn { align-self: flex-start; }
.mini-search { display: flex; gap: 8px; margin-top: 4px; }
.mini-search input { flex: 1; min-width: 0; }
.duo-link { font-weight: 600; font-size: .9rem; margin-top: 4px; }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* precios aun mas compactos */
.sec-eyebrow { margin: 0 0 8px; font-size: .78rem; }
.price-sec.wrap { padding: 12px 18px 0; }
.pricing.compact { gap: 12px; }
.plan { padding: 14px 16px; }
.plan h3 { font-size: 1rem; }
.plan .precio { font-size: 1.55rem; margin-bottom: 0; }
.plan .mini { font-size: .78rem; }
.plan ul { margin: 4px 0 10px; }
.plan li { padding: 3px 0 3px 20px; font-size: .88rem; }
.plan .btn { padding: 10px 16px; font-size: .9rem; border-radius: 12px; }

.hero-compact .row-cta { justify-content: center; }

/* herramientas para la carrera (mini-tarjetas con icono) */
.tools-sec { padding-top: 6px; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; margin-top: 18px; }
.tool { display: flex; align-items: center; gap: 12px; min-width: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 14px; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(16,40,60,.06); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.tool:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 20px 40px -24px rgba(10,80,105,.5); }
.tool-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  overflow: hidden; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.tool-ico svg { width: 20px; height: 20px; max-width: 100%; max-height: 100%; }
.tool-nom { font-weight: 600; font-size: .92rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }

/* ===== ajustes home: buscador, centrados, animaciones ===== */
.home-search { display: flex; gap: 8px; max-width: 520px; margin: 20px auto 0; }
.home-search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  font: inherit; font-size: 1rem; background: #fff; box-shadow: var(--shadow); }
.home-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.home-search .btn { border-radius: 14px; }
@media (max-width: 520px) { .home-search { flex-direction: column; } }

/* encabezados centrados (Herramientas / Blog) */
.blog-head { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.blog-head h2 { text-align: center; }

/* categorias centradas */
.tema-row { justify-content: center; }

/* menos espacio entre herramientas y blog */
.tools-sec { padding: 6px 18px 8px; }

/* micro-animaciones sutiles */
@keyframes subeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-compact .eyebrow { animation: subeIn .5s ease both; }
.hero-compact h1 { animation: subeIn .55s ease both; animation-delay: .06s; }
.hero-compact p { animation: subeIn .55s ease both; animation-delay: .12s; }
.hero-compact .home-search { animation: subeIn .55s ease both; animation-delay: .18s; }
.tool-ico { transition: transform .18s ease; }
.tool:hover .tool-ico { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .hero-compact .eyebrow, .hero-compact h1, .hero-compact p, .hero-compact .home-search { animation: none !important; }
}

/* ===== pulido: encabezado de precios + aire en blog ===== */
.sec-eyebrow { font-size: 1rem; color: var(--brand); letter-spacing: .1em; font-weight: 800; margin: 0 0 30px; }
.sec-eyebrow::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; margin: 9px auto 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.temas { margin-bottom: 24px; }

/* ===== buscador de la home: barra de filtros ===== */
.home-search { flex-direction: column; align-items: stretch; gap: 12px; }
.hs-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; text-align: left; }
@media (max-width: 560px) { .hs-row { grid-template-columns: minmax(0, 1fr); } }
.hs-field { min-width: 0; }
.hs-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 5px 2px; }
.hs-ciudad-in { display: flex; gap: 8px; }
.home-search select, .home-search input { width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: .98rem; background: #fff; }
.home-search select:focus, .home-search input:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.hs-nombre { display: block; }
.hs-nombre[hidden] { display: none; }
.home-search .btn { width: 100%; border-radius: 12px; }
.hs-link { background: none; border: 0; color: var(--muted); font-size: .85rem; font-weight: 600;
  cursor: pointer; font-family: inherit; padding: 2px; }
.hs-link:hover { color: var(--brand); text-decoration: underline; }

/* Estado y Municipio a la mitad cada uno */
.hs-ciudad-in select, .hs-ciudad-in input { flex: 1 1 0; min-width: 0; width: auto; }

/* ===== newsletter ===== */
.news-sec { padding-bottom: 46px; }
.news-box { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  border-radius: 22px; padding: 26px; display: grid; gap: 16px;
  grid-template-columns: 1fr auto; align-items: center; box-shadow: var(--shadow); }
.news-box h2 { color: #fff; margin: 0 0 6px; }
.news-box p { margin: 0; max-width: 560px; color: rgba(255,255,255,.92); }
.news-form { display: flex; gap: 8px; }
.news-form input { border: 0; border-radius: 12px; padding: 13px 14px; min-width: 230px; font: inherit; }
.news-form .btn { background: #fff; color: var(--brand); box-shadow: none; }
.news-ok, .news-err { grid-column: 1 / -1; margin: 0; font-weight: 700; }
.news-err { color: #ffe0e0; }
@media (max-width: 720px) {
  .news-box { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form input { min-width: 0; }
}
