*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --wine-900: #4a0a26; --wine-800: #7a1040; --rose-600: #b02060; --rose-500: #DE3667;
  --rose-400: #e85280; --fuchsia: #d873bc; --fuchsia-light: #f2aad8; --bg-light: #fff0f7;
  --text-dark: #0f172a; --text-mid: #334155; --text-light: #64748b; --border: #f5d5e8;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: var(--text-dark); overflow-x: hidden; }
a { text-decoration: none; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; transition: background .35s, box-shadow .35s; }
nav.scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 1px 28px rgba(74,10,38,.08); }
.nav-logo-img { height: 44px; width: auto; }
.nav-logo-white { filter: brightness(0) invert(1); }
nav.scrolled .nav-logo-white { filter: none; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; transition: color .2s; }
nav.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a:hover { color: var(--fuchsia-light); }
nav.scrolled .nav-links a:hover { color: var(--rose-500); }
.nav-cta { background: var(--fuchsia); color: #fff !important; padding: 10px 24px; border-radius: 100px; font-weight: 700 !important; white-space: nowrap; transition: transform .2s, opacity .2s; }
nav.scrolled .nav-cta { background: var(--rose-500); }
.nav-cta:hover { transform: translateY(-1px); opacity: .92; }

/* HERO */
.hero { min-height: 100vh; background: linear-gradient(140deg, var(--wine-900) 0%, var(--rose-600) 55%, var(--fuchsia) 100%); display: flex; align-items: center; justify-content: center; text-align: center; padding: 130px 24px 100px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 20% 60%, rgba(216,115,188,.22), transparent 70%), radial-gradient(ellipse 50% 40% at 80% 20%, rgba(222,54,103,.28), transparent 65%); }
.hero-circles span { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); }
.hero-circles span:nth-child(1) { width: 680px; height: 680px; top: -220px; left: -220px; }
.hero-circles span:nth-child(2) { width: 460px; height: 460px; bottom: -120px; right: -100px; }
.hero-circles span:nth-child(3) { width: 220px; height: 220px; top: 32%; right: 14%; }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-logo { display: block; width: min(230px, 62vw); margin: 0 auto 26px; filter: brightness(0) invert(1); opacity: 0; }
.hero-content { margin: 0 auto; }
/* Iconos de nav: instagram + login */
.nav-ig, .nav-login { display: inline-flex; align-items: center; }
.nav-ig svg { width: 22px; height: 22px; }
.nav-ig { color: rgba(255,255,255,.85); }
nav.scrolled .nav-ig { color: var(--text-mid); }
.nav-ig:hover { color: var(--fuchsia-light); }
nav.scrolled .nav-ig:hover { color: var(--rose-500); }
.nav-login { gap: 6px; }
/* Buscador del hero */
.hero-search { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 32px; opacity: 0; transform: translateY(18px); }
.hero-search input { flex: 1; padding: 15px 22px; font-size: 15px; font-family: inherit; border: none; border-radius: 100px; background: rgba(255,255,255,.95); color: var(--text-dark); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.hero-search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.hero-search button { background: #fff; border: none; border-radius: 100px; padding: 0 22px; font-size: 18px; cursor: pointer; color: var(--rose-500); }
.hero-badge { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: var(--fuchsia-light); padding: 6px 20px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 28px; opacity: 0; transform: translateY(20px); }
.hero-tagline { font-size: clamp(14px,2vw,17px); color: rgba(255,255,255,.65); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 32px; opacity: 0; transform: translateY(20px); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 48px; line-height: 1.75; opacity: 0; transform: translateY(20px); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(16px); }
.btn-white { background: #fff; color: var(--wine-800); padding: 16px 38px; border-radius: 100px; font-weight: 700; font-size: 15px; box-shadow: 0 4px 28px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,0,0,.22); }
.btn-ghost { background: transparent; color: #fff; padding: 15px 38px; border-radius: 100px; font-weight: 600; font-size: 15px; border: 2px solid rgba(255,255,255,.38); transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }

/* STATS */
.stats-bar { background: var(--wine-800); }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); }
.stat-item { padding: 30px 36px; display: flex; align-items: center; gap: 18px; border-right: 1px solid rgba(255,255,255,.09); }
.stat-item:last-child { border-right: none; }
.stat-icon { width: 52px; height: 52px; background: rgba(255,255,255,.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.stat-text strong { display: block; color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.stat-text span { color: rgba(255,255,255,.55); font-size: 13px; }

/* SECTIONS */
section { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-500); margin-bottom: 14px; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(32px,5vw,52px); font-weight: 800; line-height: 1.07; margin-bottom: 18px; letter-spacing: -.02em; }
.section-desc { font-size: 17px; color: var(--text-light); max-width: 540px; line-height: 1.75; }
.section-header { margin-bottom: 60px; }

/* CATEGORIES */
.categories { background: var(--bg-light); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; }
.cat-card { background: #fff; border-radius: 22px; padding: 28px 18px 22px; text-align: center; border: 1px solid var(--border); transition: transform .32s cubic-bezier(.22,.68,0,1.2), box-shadow .3s, border-color .3s; cursor: pointer; display: block; }
.cat-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 18px 52px rgba(222,54,103,.13); border-color: var(--rose-400); }
.cat-icon { width: 64px; height: 64px; background: var(--bg-light); border-radius: 18px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.cat-name { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.cat-subs { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.cat-sub { font-size: 11px; color: var(--rose-500); background: var(--bg-light); padding: 2px 9px; border-radius: 100px; }
.cat-count { font-size: 12px; color: var(--text-light); }

/* PRODUCTS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px,1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); transition: transform .32s cubic-bezier(.22,.68,0,1.2), box-shadow .3s; cursor: pointer; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 28px 72px rgba(74,10,38,.10); }
.product-img { width: 100%; height: 200px; object-fit: cover; background: var(--bg-light); display: block; }
.product-img.ph { display: flex; align-items: center; justify-content: center; font-size: 44px; color: #e3a9cb; }
.product-body { padding: 20px; }
.product-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.product-cat-tag { background: var(--bg-light); color: var(--rose-500); font-size: 11px; font-weight: 600; padding: 3px 11px; border-radius: 100px; }
.product-name { font-weight: 700; font-size: 14px; line-height: 1.45; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Inter', sans-serif; font-size: 23px; font-weight: 800; color: var(--wine-800); line-height: 1; }
.product-price sub { font-size: 12px; font-weight: 500; color: var(--text-light); font-family: 'Inter', sans-serif; vertical-align: middle; }
.btn-ver { background: var(--rose-500); color: #fff; border: none; padding: 11px 18px; border-radius: 14px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.btn-ver:hover { background: var(--wine-800); transform: scale(1.06); }
.see-all-wrap { text-align: center; margin-top: 56px; }
.btn-blue { display: inline-block; background: var(--rose-500); color: #fff; padding: 16px 40px; border-radius: 100px; font-weight: 700; font-size: 15px; transition: background .2s, transform .2s; box-shadow: 0 4px 20px rgba(222,54,103,.3); }
.btn-blue:hover { background: var(--wine-800); transform: translateY(-2px); }

/* WHY US */
.why-us { background: var(--wine-900); }
.why-us .section-label { color: var(--fuchsia-light); }
.why-us .section-title { color: #fff; }
.why-us .section-desc { color: rgba(255,255,255,.6); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 24px; margin-top: 60px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; padding: 32px 26px; transition: background .3s; }
.why-card:hover { background: rgba(255,255,255,.09); }
.why-icon { font-size: 36px; margin-bottom: 20px; }
.why-title { font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 12px; }
.why-text { font-size: 15px; color: rgba(255,255,255,.58); line-height: 1.75; }

/* CONTACT */
.contact { background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.ci-icon { width: 50px; height: 50px; background: #0f172a; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ci-text strong { display: block; font-weight: 700; margin-bottom: 5px; }
.ci-text a, .ci-text span { color: var(--text-light); font-size: 15px; line-height: 1.65; display: block; }
.ci-text a:hover { color: var(--rose-500); }
.contact-map-wrap { border-radius: 22px; overflow: hidden; height: 400px; box-shadow: 0 20px 56px rgba(74,10,38,.09); }
.contact-map-wrap iframe { width: 100%; height: 100%; border: none; }

/* WA + FOOTER */
.wa-float { position: fixed; bottom: 30px; right: 30px; z-index: 200; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(37,211,102,.42); transition: transform .22s; }
.wa-float:hover { transform: scale(1.12); }
.wa-float svg { width: 33px; height: 33px; fill: #fff; }
footer { background: var(--wine-900); padding: 50px 24px 40px; text-align: center; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 10px; }
footer p { color: rgba(255,255,255,.45); font-size: 14px; line-height: 1.8; }
.footer-links { display: flex; gap: 30px; justify-content: center; margin: 22px 0 28px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--fuchsia-light); }

@media (max-width: 900px) {
  nav { padding: 12px 16px; }
  .nav-links { gap: 14px; }
  .nav-links .solo-desktop { display: none; }
  .nav-cta { padding: 9px 16px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.09); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-map-wrap { height: 280px; }
  section { padding: 70px 18px; }
  .hero { padding: 110px 20px 80px; }
  .hero-logo { width: min(200px, 58vw); }
}
/* Nav en 2 niveles en mobile: logo arriba, acciones centradas abajo */
@media (max-width: 600px) {
  nav { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .nav-logo { flex: 1 0 100%; display: flex; justify-content: center; }
  .nav-logo-img { height: 40px; }
  .nav-links { flex: 1 0 100%; justify-content: center; gap: 22px; }
  .nav-login { font-size: 14px !important; gap: 6px; }
  .nav-cta { padding: 9px 20px; }
}
@media (max-width: 480px) {
  .hero h1.hero-desc { font-size: 16px; line-height: 1.6; margin-bottom: 34px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 20px 12px 16px; }
}

/* ===== Optimización mobile ===== */
html { -webkit-text-size-adjust: 100%; }
button, a, label { -webkit-tap-highlight-color: transparent; }
.btn-white:active, .btn-ghost:active, .btn-blue:active, .btn-ver:active, .nav-cta:active { transform: scale(.97); }
@media (max-width: 760px) {
  input, select, textarea, .hero-search input { font-size: 16px !important; }
  .wa-float { bottom: calc(22px + env(safe-area-inset-bottom)); right: calc(18px + env(safe-area-inset-right)); width: 54px; height: 54px; }
  nav { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
}
.hero-promo { display:inline-block; background:rgba(255,255,255,.96); color:var(--wine-800); font-weight:700; padding:11px 24px; border-radius:100px; font-size:15px; margin-bottom:20px; box-shadow:0 6px 24px rgba(0,0,0,.18); }
.hero-promo b { color:var(--rose-500); }

/* Crédito de desarrollo: presente pero sin competir con la marca */
.credito-dev { margin-top:14px; font-size:12px; opacity:.62; }
.credito-dev a { color:inherit; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.28); padding-bottom:1px; transition:opacity .18s; }
.credito-dev a:hover { opacity:1; border-bottom-color:currentColor; }

/* Resultados del buscador del hero: antes había que apretar Enter y ya estabas en
   otra página, así que si no existía lo buscado no te enterabas nunca.
   Van EN EL FLUJO, no flotando: el hero tiene overflow hidden y recortaba el panel,
   y encima quedaba tapando los botones. Así el panel empuja y se lee como parte
   del buscador. Mientras se busca, los botones se esconden. */
.hero-sug { max-width: 520px; margin: 0 auto 30px; background: rgba(255,255,255,.97); border-radius: 20px; box-shadow: 0 16px 44px rgba(60,8,30,.28); overflow: hidden; text-align: left; display: none; }
.hero-sug.abierta { display: block; animation: sugEntra .22s ease-out; }
@keyframes sugEntra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.hero-content.buscando .hero-search { margin-bottom: 12px; }
.hero-content.buscando .hero-actions { display: none; }
.hero-sug-it { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f4eef0; text-decoration: none; color: var(--text-dark); }
.hero-sug-it:last-of-type { border-bottom: none; }
.hero-sug-it:hover, .hero-sug-it:focus-visible { background: #fdf2f6; outline: none; }
.hero-sug-it img, .hero-sug-ph { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 8px; background: #faf6f7; object-fit: contain; }
.hero-sug-ph { display: grid; place-items: center; font-size: 20px; }
.hero-sug-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hero-sug-txt b { font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-sug-txt small { font-size: 11.5px; color: var(--text-mid); }
.hero-sug-precio { font-family: "Inter", system-ui, sans-serif; font-size: 14.5px; font-weight: 800; color: var(--rose-500); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-sug-todos { display: block; text-align: center; padding: 12px; background: var(--rose-500); color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.hero-sug-todos:hover { background: var(--wine-900); }
.hero-sug-vacio { padding: 18px 16px; font-size: 13.5px; color: var(--text-mid); text-align: center; }
.hero-sug-vacio a { color: var(--rose-500); font-weight: 700; }
@media (max-width: 560px) { .hero-sug-it { padding: 9px 11px; gap: 9px; } .hero-sug-it img, .hero-sug-ph { width: 38px; height: 38px; } }

/* ── Día del Odontólogo (3 de octubre) ─────────────────────────────────────────────────
   Provisoria: la muestra o la esconde home.js según la fecha. Se apoya en el rosa de la
   casa y no inventa una paleta nueva para una sección que va a estar una semana. */
/* Va ARRIBA DE TODO, antes del hero: Maxi la quiso apenas se entra, sin scrollear. Por
   eso el padding de arriba es grande: la barra de navegación es fija y transparente hasta
   que se scrollea, y sin ese aire le pasa por encima al título. */
.odonto { padding: 124px 24px 78px; background: linear-gradient(160deg, var(--wine-900) 0%, var(--rose-600) 70%, var(--fuchsia) 100%); color: #fff; }
.odonto.hidden { display: none; }
.odonto-cab { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.odonto-fecha { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 700; letter-spacing: .4px; margin: 0 0 16px; }
.odonto-tit { font-family: 'Syne', sans-serif; font-size: clamp(30px, 5vw, 46px); margin: 0 0 14px; line-height: 1.1; text-wrap: balance; }
.odonto-desc { font-size: 16px; line-height: 1.65; opacity: .9; margin: 0; }
.odonto-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1040px; margin: 0 auto; }
.odonto-card { background: #fff; border-radius: 18px; overflow: hidden; display: block; color: var(--wine-800); box-shadow: 0 10px 34px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s; }
.odonto-card:hover { transform: translateY(-4px); box-shadow: 0 16px 42px rgba(0,0,0,.3); }
.odonto-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; background: #fde7ee; }
.odonto-card-pie { padding: 14px 16px 16px; text-align: center; }
.odonto-card-monto { font-size: 22px; font-weight: 900; letter-spacing: -.4px; }
.odonto-card-ver { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--rose-500); }
.odonto-pie { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.odonto-nota { font-size: 13px; opacity: .82; }
@media (max-width: 560px) { .odonto { padding: 104px 18px 56px; } .odonto-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } .odonto-card-monto { font-size: 18px; } }
/* El buscador mudado al pie de la sección del odontólogo: el mismo nodo del hero, así que
   hereda todos sus estilos. Acá sólo se le da el aire que necesita en su lugar nuevo. */
.odonto-buscar { max-width: 520px; margin: 38px auto 0; }
.odonto-buscar .hero-search { margin-bottom: 0; }
.odonto-buscar .hero-sug { margin: 12px auto 0; }
