/* Página pública — Doctora Ninette Medicina Estética. Paleta tomada de su identidad (beige/taupe). Sin fuentes externas. */
:root {
  --cream: #faf6f1; --sand: #f0e6db; --taupe: #b9a58d; --taupe-d: #8f7a64; --cocoa: #3f322b; --mocha: #6d594b; --rose: #c9a39a;
  --ink: #3a2e28; --muted: #6f5f54; --white: #fff; --radius: 22px; --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --shadow: 0 18px 50px rgba(63, 50, 43, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body.site { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--cream); overflow-x: hidden; }
a { color: inherit; } img, svg { max-width: 100%; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; } .center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cocoa); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; } .skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--cocoa); letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); } h1 em { font-style: italic; color: var(--taupe-d); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); } h3 { font-size: 1.45rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 600; color: var(--taupe-d); margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.big { font-size: 1.15rem; color: var(--muted); }

/* Botones */
.cta, .ghost, .pill-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s; min-height: 48px; padding: 12px 26px; }
.cta { background: var(--cocoa); color: #fff; box-shadow: 0 10px 26px rgba(63, 50, 43, .28); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(63, 50, 43, .34); }
.cta.small { min-height: 40px; padding: 8px 18px; font-size: .95rem; box-shadow: none; }
.cta.light { background: #fff; color: var(--cocoa); } .cta.wide { width: 100%; }
.ghost { border: 1.5px solid var(--taupe); color: var(--cocoa); background: transparent; } .ghost:hover { background: var(--sand); transform: translateY(-2px); }
.pill-link { min-height: 40px; padding: 8px 18px; font-size: .92rem; border: 1.5px solid var(--taupe); color: var(--cocoa); } .pill-link:hover { background: var(--sand); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--taupe-d); outline-offset: 3px; border-radius: 6px; }

/* Barra superior */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; }
.nav.solid { background: rgba(250, 246, 241, .92); backdrop-filter: blur(10px); box-shadow: 0 4px 24px rgba(63, 50, 43, .08); padding: 8px 0; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 54px; height: 54px; border-radius: 50%; background: var(--taupe); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.05; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.mark i { font-style: normal; font-size: .46rem; letter-spacing: .28em; } .mark b { font-size: .56rem; letter-spacing: .24em; font-weight: 600; }
.logo-txt { font-family: var(--serif); font-size: 1.15rem; color: var(--cocoa); letter-spacing: .04em; }
.menu { display: flex; align-items: center; gap: 22px; } .menu > a:not(.cta):not(.pill-link) { text-decoration: none; font-weight: 500; color: var(--cocoa); position: relative; }
.menu > a:not(.cta):not(.pill-link)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--taupe-d); transition: width .25s; } .menu > a:hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; } .burger span { display: block; width: 24px; height: 2px; background: var(--cocoa); margin: 5px auto; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; background: linear-gradient(135deg, #f7efe6 0%, #ecdccb 55%, #dcc7b2 100%); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; animation: float 14s ease-in-out infinite; }
.b1 { width: 460px; height: 460px; background: #fff; top: -140px; left: -120px; } .b2 { width: 520px; height: 520px; background: var(--rose); right: -160px; bottom: -180px; animation-delay: -6s; opacity: .45; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.trust li { display: flex; flex-direction: column; border-left: 2px solid var(--taupe); padding-left: 14px; } .trust strong { font-family: var(--serif); font-size: 1.5rem; color: var(--cocoa); line-height: 1.1; } .trust span { font-size: .85rem; color: var(--muted); }
.hero-art { position: relative; justify-self: center; width: min(420px, 82%); }
.arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; background: linear-gradient(160deg, #cdb9a2, #a58f78 60%, #8f7a64); background-size: cover; background-position: center; box-shadow: var(--shadow); display: grid; place-content: center; border: 8px solid rgba(255,255,255,.6); }
.arch-mark { width: 160px; height: 160px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); display: grid; place-content: center; text-align: center; color: #fff; line-height: 1.2; }
.arch-mark i { font-style: normal; letter-spacing: .4em; font-size: .75rem; } .arch-mark b { letter-spacing: .34em; font-size: .9rem; font-weight: 600; }
.chip { position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .92rem; color: var(--cocoa); box-shadow: var(--shadow); animation: float 9s ease-in-out infinite; } .chip span { color: var(--taupe-d); margin-right: 6px; }
.c1 { left: -34px; top: 18%; } .c2 { right: -26px; bottom: 16%; animation-delay: -4s; }
.scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid var(--taupe-d); border-radius: 20px; transform: translateX(-50%); } .scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--taupe-d); animation: dot 1.8s infinite; }

/* Secciones */
.sec { padding: clamp(64px, 9vw, 120px) 0; } .sec.alt { background: var(--sand); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.values article, .card-s { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 8px 30px rgba(63, 50, 43, .07); transition: transform .3s, box-shadow .3s; }
.values article:hover, .card-s:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.values p, .card-s p, .steps p { color: var(--muted); margin: 0; }
.ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sand); margin-bottom: 16px; } .sec.alt .ico { background: var(--cream); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--taupe-d); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; } .ico.s { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 50%; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 48px; }
.steps { list-style: none; counter-reset: s; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps li { text-align: center; position: relative; } .steps .n { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: var(--cocoa); color: #fff; font-family: var(--serif); font-size: 1.6rem; box-shadow: 0 0 0 8px var(--sand); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 46px); width: calc(100% - 92px); border-top: 2px dashed var(--taupe); }
.contact { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.contact-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.info { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; } .info li { display: flex; gap: 16px; } .info a { color: var(--taupe-d); font-weight: 600; text-underline-offset: 3px; }
.map-card { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.map-art { height: 280px; border-radius: 16px; margin-bottom: 14px; position: relative; overflow: hidden; background:
  linear-gradient(90deg, rgba(185,165,141,.25) 1px, transparent 1px) 0 0 / 38px 38px, linear-gradient(rgba(185,165,141,.25) 1px, transparent 1px) 0 0 / 38px 38px, linear-gradient(135deg, #efe3d4, #e3d2bf); }
.pin { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -30px 0 0 -15px; background: var(--cocoa); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 8px 20px rgba(63,50,43,.4); animation: bounce 2s infinite; } .pin::after { content: ""; position: absolute; inset: 9px; background: #fff; border-radius: 50%; }
.band { background: linear-gradient(135deg, var(--cocoa), #5b4638); color: #fff; padding: 72px 0; } .band h2 { color: #fff; } .band p { opacity: .85; margin: 0 0 24px; }
.foot { background: #2c221d; color: #d8cabd; padding: 34px 0; font-size: .92rem; } .foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; } .foot strong { color: #fff; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.foot-r { display: flex; flex-direction: column; gap: 4px; text-align: right; } .foot a { color: var(--taupe); }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25a05a; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.28); text-decoration: none; animation: pulse 2.6s infinite; } .fab svg { width: 28px; height: 28px; }

/* Animaciones */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; } .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .values .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; } .cards .reveal:nth-child(3), .values .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; } .cards .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes bounce { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(-4px, 4px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,160,90,.5), 0 10px 26px rgba(0,0,0,.28); } 70% { box-shadow: 0 0 0 16px rgba(37,160,90,0), 0 10px 26px rgba(0,0,0,.28); } 100% { box-shadow: 0 0 0 0 rgba(37,160,90,0), 0 10px 26px rgba(0,0,0,.28); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .blob, .chip, .scroll span, .pin, .fab { animation: none; } }

/* Teléfono y tableta */
@media (max-width: 920px) {
  .burger { display: block; position: relative; z-index: 3; }
  .menu { position: fixed; inset: 0; background: var(--cream); flex-direction: column; justify-content: center; gap: 26px; font-size: 1.3rem; transform: translateY(-100%); transition: transform .35s ease; z-index: 2; visibility: hidden; }
  .menu.open { transform: none; visibility: visible; }
  .menu .cta.small, .menu .pill-link { font-size: 1rem; }
  .nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav.open .burger span:nth-child(2) { opacity: 0; } .nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 110px; } .hero-in { grid-template-columns: 1fr; text-align: center; gap: 36px; } .lead { margin-inline: auto; } .hero-cta, .trust { justify-content: center; }
  .hero-art { width: min(320px, 78%); } .c1 { left: -12px; } .c2 { right: -12px; }
  .values { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; gap: 34px 16px; } .steps li:not(:last-child)::after { display: none; }
  .contact-in { grid-template-columns: 1fr; } .foot-r { text-align: left; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } body.site { font-size: 16px; } .logo-txt { display: none; } .trust { gap: 18px; } .scroll { display: none; } }

/* Fotos reales */
.hero-art { width: min(360px, 80%); }
.arch { border: 8px solid rgba(255,255,255,.75); background-position: center top; }
.portrait-band { padding: 0 0 clamp(48px, 7vw, 90px); }
.banner-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.banner-photo img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 355; object-fit: cover; }
.gallery { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); background: linear-gradient(180deg, var(--cream), #f3eadf); overflow: hidden; }
.strip { margin-top: 38px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; padding: 8px 0; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track img { width: 200px; height: 200px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 28px rgba(63,50,43,.16); flex: none; transition: transform .3s; }
.strip-track img:hover { transform: translateY(-6px) scale(1.03); }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .strip-track { animation: none; } }
@media (max-width: 520px) { .strip-track img { width: 150px; height: 150px; } }

/* El hero aparece solo con CSS (no depende de JavaScript ni del observador de scroll) */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: fadeUp .9s ease both; }
.hero .hero-art.reveal { animation-delay: .15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .reveal { animation: none; } }

/* ===== Tema claro y limpio: crema + blanco + dorado (sobrescribe la paleta anterior) ===== */
:root { --cream: #fdfaf6; --sand: #f7efe4; --taupe: #d9ad5e; --taupe-d: #9a6a1b; --cocoa: #2f2620; --mocha: #6b5a4c; --rose: #f0d9b5; --gold: #9a6a1b; --gold-l: #c9973f; --ink: #2f2620; --muted: #7a6d63; --shadow: 0 18px 50px rgba(80, 55, 20, .10); }
body.site { background: var(--cream); }
.mark { background: var(--gold-l); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.nav.solid { background: rgba(255, 255, 255, .92); }
.cta { background: var(--gold); box-shadow: 0 10px 26px rgba(154, 106, 27, .28); } .cta:hover { box-shadow: 0 14px 30px rgba(154, 106, 27, .36); }
.cta.light { background: #fff; color: var(--gold); }
.ghost, .pill-link { border-color: #e4d3b8; background: #fff; } .ghost:hover, .pill-link:hover { background: var(--sand); }
.hero { background: linear-gradient(135deg, #fffdf9 0%, #fbf3e6 55%, #f4e5cb 100%); }
.b1 { background: #fff; } .b2 { background: #f3d9a8; opacity: .5; }
.arch { background: linear-gradient(160deg, #f6e4c4, #e2bb78 70%, #c9973f); border-color: #fff; }
.chip span, .trust strong { color: var(--gold); }
.trust li { border-left-color: var(--gold-l); }
.sec.alt, .gallery { background: var(--sand); }
.gallery { background: linear-gradient(180deg, var(--cream), #f7efe4); }
.values article, .card-s, .map-card { box-shadow: 0 8px 28px rgba(80, 55, 20, .07); border: 1px solid #f0e6d6; }
.ico { background: #fbf1df; } .ico svg { stroke: var(--gold); }
.steps .n { background: var(--gold); box-shadow: 0 0 0 8px #f7efe4; }
.steps li:not(:last-child)::after { border-top-color: #e4cfa6; }
.contact { background: linear-gradient(180deg, var(--cream), #f7efe4); }
.info a { color: var(--gold); }
.band { background: linear-gradient(135deg, #b98428, #8a5c14); }
.foot { background: #fff; color: var(--mocha); border-top: 1px solid #efe4d3; } .foot strong { color: var(--cocoa); } .foot a { color: var(--gold); }
.eyebrow { color: var(--gold); }
h1 em { color: var(--gold-l); }
.pin { background: var(--gold); }
.map-art { background: linear-gradient(90deg, rgba(201,151,63,.18) 1px, transparent 1px) 0 0 / 38px 38px, linear-gradient(rgba(201,151,63,.18) 1px, transparent 1px) 0 0 / 38px 38px, linear-gradient(135deg, #fbf2e2, #f0dfbf); }

.map-art iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
