/* Dra. Natalia Ordóñez · Estilos del sitio */
:root {
  --teal: #2A7F82;
  --teal-dark: #1F5F61;
  --teal-soft: #E6F1F1;
  --mint: #7CC4C2;
  --coral: #E07A5F;
  --coral-text: #A94F36;
  --cream: #FBF6EF;
  --sand: #EFE6DA;
  --line: #E3DACD;
  --ink: #1F3A3D;
  --ink-2: #3E5456;
  --muted: #5A6466;
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --wrap: 1200px;
  --font: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.2vw, 62px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { white-space: nowrap; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { white-space: nowrap; font-size: 12.5px; color: var(--teal-dark); }
.main-nav ul { list-style: none; display: flex; gap: 24px; }
.main-nav a { white-space: nowrap; text-decoration: none; color: var(--ink); font-size: 15px; padding: 10px 0; display: inline-block; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; }
.lang a, .lang span { padding: 10px 6px; text-decoration: none; color: var(--muted); }
.lang [aria-current="true"] { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); padding: 10px 16px; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; min-height: 44px; }

/* Botones */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 16px; padding: 15px 26px; border-radius: var(--radius-pill); min-height: 48px; transition: background-color .15s ease; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-mint { background: var(--mint); color: #102628; font-weight: 600; }
.btn-mint:hover { background: #9AD4D2; color: #102628; }
.btn-sm { padding: 12px 20px; font-size: 15px; min-height: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Secciones */
.section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-sand { background: var(--sand); }
.label { font-size: 15px; font-weight: 500; color: var(--teal-dark); margin-bottom: 14px; display: block; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-head p { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.section-title { margin-bottom: 36px; }
.text-link { font-weight: 500; display: inline-block; padding: 10px 0; }

/* Portada */
.hero { padding: 80px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy .lead { max-width: 56ch; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-photo img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); position: relative; z-index: 1; }
.hero-arc { position: absolute; z-index: 0; left: -22%; top: -8%; width: 138%; height: 118%; pointer-events: none; }

/* Página interna */
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { max-width: 20ch; margin-bottom: 22px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.page-hero-photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Tarjetas */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius-md); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.section-white .card { background: var(--cream); }
.card p { color: var(--ink-2); font-size: 16px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 16px; }
.card ul li { padding-left: 18px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.audience-tag { font-size: 15px; font-weight: 600; color: var(--coral-text); }
.card .text-link { margin-top: auto; }

/* Ruta en pasos */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--cream); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.section:not(.section-white) .steps li { background: var(--white); }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* Etiquetas */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { font-size: 15px; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--teal-soft); color: var(--teal-dark); }
.chips-plain li { background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: 16px; padding: 11px 20px; }
.team-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.team-row strong { font-weight: 500; }

/* Sobre mí */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 11 / 13; object-fit: cover; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.creds { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.creds li { padding-left: 22px; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--teal); }

/* Trayectoria */
.cv-block { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.cv-block:first-of-type { border-top: 0; padding-top: 0; }
.cv-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.cv-list strong { display: block; font-weight: 600; font-size: 18px; }
.cv-list span { display: block; color: var(--ink-2); }
.cv-list .meta { color: var(--muted); font-size: 15px; }

/* Preguntas frecuentes */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border-radius: 16px; padding: 0 24px; }
.section-white .faq details { background: var(--cream); }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; padding: 20px 32px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* Criterios de remisión */
.criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.when-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.when-list li { background: var(--white); border-radius: 16px; padding: 22px; }
.when-list strong { display: block; font-size: 17px; margin-bottom: 4px; }
.when-list span { color: var(--ink-2); font-size: 16px; }

/* Redes */
.social-card { text-decoration: none; color: var(--ink); background: var(--cream); border-radius: var(--radius-md); padding: 30px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; transition: background-color .15s ease; }
.social-card:hover { background: var(--teal-soft); color: var(--ink); }
.social-card .handle { color: var(--teal-dark); font-weight: 500; }
.social-card p { color: var(--ink-2); font-size: 16px; }
.social-card svg { width: 30px; height: 30px; color: var(--teal); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.map { width: 100%; height: 320px; border: 0; border-radius: 16px; background: var(--sand); }
.plain-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

/* Llamado final */
.cta-band { background: var(--teal); color: var(--white); border-radius: var(--radius-lg); padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band p { color: #E3F1F0; font-size: 18px; margin-top: 10px; max-width: 52ch; }
.cta-band .btn { background: var(--white); color: var(--teal-dark); }
.cta-band .btn:hover { background: var(--cream); }

/* Texto legal */
.legal { max-width: 780px; display: flex; flex-direction: column; gap: 18px; }
.legal h2 { font-size: 26px; margin-top: 18px; }
.note { background: #FFF3DF; border: 1px solid #F0D8A8; border-radius: 12px; padding: 16px 20px; color: #6B4A12; }

/* Pie de página */
.site-footer { background: var(--ink); color: #E6EFEE; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h2 { font-size: 16px; font-weight: 600; color: var(--mint); letter-spacing: 0; margin-bottom: 16px; }
.site-footer a { color: #E6EFEE; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-sub { color: var(--mint); }
.site-footer p, .site-footer li { font-size: 16px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #36585B; margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: #B9CCCB; }
.footer-bottom a { color: #B9CCCB; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #4A6B6E; display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 20px; height: 20px; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #1F7A4D; color: var(--white); text-decoration: none; border-radius: var(--radius-pill); padding: 14px 20px; display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; box-shadow: 0 6px 20px rgba(31, 58, 61, 0.25); min-height: 52px; }
.wa-float:hover { background: #17603C; color: var(--white); }
.wa-float svg { width: 22px; height: 22px; }

/* Adaptación a pantallas */
@media (max-width: 1500px) {
  .brand-sub { display: none; }
  .main-nav ul { gap: 20px; }
}
@media (max-width: 1180px) {
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--teal-dark); }
}
@media (max-width: 960px) {
  .header-actions .btn { display: none; }
  .hero-grid, .page-hero-grid, .about-grid, .section-head, .contact-grid, .criteria { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { justify-self: start; max-width: 420px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cv-block { grid-template-columns: 1fr; gap: 20px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .page-hero { padding: 48px 0 40px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 17px; }
  .brand svg { width: 38px; height: 38px; }
  .header-inner { min-height: 72px; gap: 12px; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .lead { font-size: 18px; }
  .card { padding: 24px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .btn-row .btn { width: 100%; }
}
.legal-list { list-style: disc; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
