/* ReVitaMed · Centro Láser (WebFlash). Claro y médico, con el rojo del láser como acento. */
:root {
  --teal: #0e6b63;
  --teal2: #0a4f4a;
  --teal3: #083a37;
  --noche: #06201f;
  --laser: #e5323c;
  --laser2: #ff5a63;
  --crema: #f6f9f8;
  --blanco: #ffffff;
  --tinta: #10201f;
  --gris: #5b6b6a;
  --linea: rgba(14, 107, 99, .14);
  --radio: 22px;
  --pad: clamp(16px, 4vw, 40px);
  --tit: "Fraunces", Georgia, serif;
  --txt: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--txt); color: var(--tinta); background: var(--crema); line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--tit); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
.wrap { width: min(1160px, 100% - 2 * var(--pad)); margin: 0 auto; }
.sec { padding: clamp(60px, 9vw, 120px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 0 4px rgba(229, 50, 60, .18); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--gris); max-width: 62ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s; font-family: var(--txt); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--laser); color: #fff; box-shadow: 0 14px 34px rgba(229, 50, 60, .3); }
.btn-wa:hover { background: var(--laser2); }
.btn-linea { border-color: currentColor; background: transparent; }
.btn-chico { padding: 10px 16px; font-size: 14px; }
.btn-ancho { width: 100%; }

/* Cabecera */
.cabecera { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px var(--pad); color: #fff; transition: background .35s, box-shadow .35s, color .35s; }
.cabecera.solida { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); color: var(--tinta); box-shadow: 0 1px 0 var(--linea); }
.marca { display: flex; align-items: center; gap: 10px; font-family: var(--tit); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.marca i { width: 14px; height: 14px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 0 5px rgba(229, 50, 60, .22), 0 0 18px var(--laser); animation: late 2.2s infinite; }
.marca small { display: block; font-family: var(--txt); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .75; line-height: 1; margin-top: 2px; }
@keyframes late { 0%, 100% { box-shadow: 0 0 0 5px rgba(229, 50, 60, .22), 0 0 18px var(--laser); } 50% { box-shadow: 0 0 0 9px rgba(229, 50, 60, .08), 0 0 28px var(--laser); } }
.menu { display: none; gap: 22px; font-size: 14px; font-weight: 600; opacity: .9; }
.menu a:hover { color: var(--laser2); }
@media (min-width: 980px) { .menu { display: flex; } }

/* Portada */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; background: radial-gradient(1200px 700px at 70% 20%, #0f4d48 0%, var(--noche) 55%, #04100f 100%); color: #fff; overflow: hidden; padding: 110px 0 60px; }
.hero-fondo { position: absolute; inset: 0; opacity: .22; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; }
.hero-fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 32, 31, .2), rgba(6, 32, 31, .9) 80%); }
.hero-in { position: relative; display: grid; gap: 30px; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 10px var(--laser); }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 600; }
.hero h1 em { font-style: italic; color: #ffb3b8; }
.hero .lead { color: rgba(255, 255, 255, .78); margin: 20px 0 28px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-linea { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero-datos { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-datos b { display: block; color: #fff; font-family: var(--tit); font-size: 24px; font-weight: 600; }
.pulso-caja { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.pulso3d { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.pulso3d canvas { width: 100% !important; height: 100% !important; display: block; }
.pulso3d:active { cursor: grabbing; }
.pulso-fallback { position: absolute; inset: 12%; border-radius: 50%; border: 10px solid rgba(255, 255, 255, .12); box-shadow: inset 0 0 60px rgba(229, 50, 60, .25), 0 0 80px rgba(229, 50, 60, .2); animation: girar 9s linear infinite; }
.pulso-fallback::after { content: ""; position: absolute; width: 18px; height: 18px; top: -14px; left: calc(50% - 9px); border-radius: 50%; background: var(--laser); box-shadow: 0 0 24px var(--laser); }
.pulso3d.listo + .pulso-fallback { display: none; }
@keyframes girar { to { transform: rotate(360deg); } }
.pulso-pie { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

/* Cinta */
.cinta { overflow: hidden; background: var(--teal); color: #fff; padding: 12px 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cinta-in { display: inline-flex; gap: 28px; animation: cinta 40s linear infinite; }
.cinta-in i { width: 6px; height: 6px; border-radius: 50%; background: var(--laser2); align-self: center; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Tres "sin" */
.sines { display: grid; gap: 16px; margin-top: 34px; }
@media (min-width: 760px) { .sines { grid-template-columns: repeat(3, 1fr); } }
.sin { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px; position: relative; overflow: hidden; }
.sin::before { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 50, 60, .14), transparent 70%); }
.sin b { display: block; font-family: var(--tit); font-size: 34px; color: var(--laser); line-height: 1; margin-bottom: 14px; }
.sin h3 { margin-bottom: 8px; }
.sin p { color: var(--gris); font-size: 15px; }

/* Tratamientos */
.sec-trat { background: #fff; }
.trats { display: grid; gap: 22px; margin-top: 36px; }
@media (min-width: 720px) { .trats { grid-template-columns: repeat(2, 1fr); } }
.trat { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radio); overflow: hidden; background: var(--crema); border: 1px solid var(--linea); transition: transform .3s var(--ease), box-shadow .3s; }
.trat:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(14, 107, 99, .14); }
.trat-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.trat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trat:hover .trat-img img { transform: scale(1.05); }
.trat-n { position: absolute; left: 16px; top: 16px; background: rgba(6, 32, 31, .75); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .14em; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.trat-txt { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.trat-txt p { color: var(--gris); font-size: 15px; flex: 1; }
.trat-txt .para { font-size: 13px; color: var(--teal); font-weight: 600; }
.trat-txt a.btn { align-self: flex-start; margin-top: 6px; }

/* Cómo funciona */
.sec-como { background: var(--noche); color: #fff; }
.sec-como .eyebrow { color: #8fd9d0; }
.sec-como .lead { color: rgba(255, 255, 255, .72); }
.como-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .como-in { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.como-foto { border-radius: var(--radio); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.pasos { list-style: none; display: grid; gap: 14px; margin-top: 28px; counter-reset: p; }
.paso { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.paso-n { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--tit); font-size: 22px; background: var(--laser); color: #fff; box-shadow: 0 0 24px rgba(229, 50, 60, .5); }
.paso h3 { font-size: 20px; margin-bottom: 4px; }
.paso p { color: rgba(255, 255, 255, .72); font-size: 15px; }

/* Qué es */
.quees-in { display: grid; gap: 30px; }
@media (min-width: 900px) { .quees-in { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.quees-foto { border-radius: var(--radio); overflow: hidden; }
.puntos { display: grid; gap: 12px; margin-top: 24px; }
.punto { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--linea); border-radius: 16px; padding: 16px 18px; }
.punto svg { width: 26px; height: 26px; flex: none; color: var(--laser); }
.punto b { display: block; }
.punto span { color: var(--gris); font-size: 14px; }
.aviso { margin-top: 18px; font-size: 13px; color: var(--gris); border-left: 3px solid var(--laser); padding-left: 12px; }

/* Sedes */
.sec-sedes { background: #fff; }
.sedes { display: grid; gap: 12px; margin-top: 30px; }
@media (min-width: 640px) { .sedes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .sedes { grid-template-columns: repeat(4, 1fr); } }
.sede { border: 1px solid var(--linea); border-radius: 18px; padding: 20px; background: var(--crema); display: flex; flex-direction: column; gap: 6px; transition: transform .25s var(--ease), border-color .25s; }
.sede:hover { transform: translateY(-3px); border-color: var(--laser); }
.sede small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.sede b { font-family: var(--tit); font-size: 24px; font-weight: 600; }
.sede span { color: var(--gris); font-size: 14px; }
.sede-link { margin-top: 8px; color: var(--laser); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.sede-link svg { width: 16px; height: 16px; }
.sedes-foto { margin-top: 28px; border-radius: var(--radio); overflow: hidden; position: relative; }
.sedes-foto figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(6, 32, 31, .78); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: 13px; }

/* Consultá */
.sec-consulta { background: var(--crema); }
.consulta-in { display: grid; gap: 30px; }
@media (min-width: 900px) { .consulta-in { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.form { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px; display: grid; gap: 22px; box-shadow: 0 24px 60px rgba(14, 107, 99, .1); }
fieldset { border: 0; display: grid; gap: 10px; }
legend { font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.opc { display: flex; flex-wrap: wrap; gap: 8px; }
.opc button { border: 1.5px solid var(--linea); background: var(--crema); color: var(--tinta); padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--txt); transition: all .2s; }
.opc button.sel { background: var(--teal); border-color: var(--teal); color: #fff; }
.opc button:hover { border-color: var(--teal); }
.nota-campo { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.nota-campo span { font-weight: 400; color: var(--gris); font-size: 13px; }
.nota-campo input { padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--linea); font-size: 15px; font-family: var(--txt); background: var(--crema); }
.nota-campo input:focus { outline: 2px solid var(--teal); border-color: transparent; }
.resumen { background: var(--noche); color: #fff; border-radius: var(--radio); padding: 22px; margin-top: 22px; font-size: 15px; }
.resumen b { color: #ffb3b8; }
.resumen small { display: block; margin-top: 8px; color: rgba(255, 255, 255, .6); font-size: 13px; }

/* Opiniones placeholder + FAQ */
.pronto { margin-top: 30px; border: 1.5px dashed var(--linea); border-radius: var(--radio); padding: 26px; text-align: center; color: var(--gris); font-size: 15px; }
.faq { margin-top: 28px; display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--linea); border-radius: 16px; padding: 0 20px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--tit); font-size: 26px; color: var(--laser); line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--gris); font-size: 15px; }

/* Datos y pie */
.datos { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 760px) { .datos { grid-template-columns: repeat(3, 1fr); } }
.dato small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 6px; }
.dato p, .dato li { font-size: 15px; }
.dato a { color: var(--laser); font-weight: 700; }
.zonas { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.zonas li { background: #fff; border: 1px solid var(--linea); border-radius: 999px; padding: 5px 11px; font-size: 13px; }
.cierre { background: var(--teal2); color: #fff; text-align: center; }
.cierre h2 { max-width: 20ch; margin: 0 auto 14px; }
.cierre .lead { color: rgba(255, 255, 255, .78); margin: 0 auto 26px; }
.pie-web { background: var(--noche); color: rgba(255, 255, 255, .7); padding: 36px var(--pad); font-size: 14px; display: grid; gap: 12px; }
.pie-web .marca { color: #fff; }
.pie-web a { color: #fff; }
.wa-flot { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transform: scale(0); transition: transform .45s var(--ease); }
.wa-flot svg { width: 32px; height: 32px; }
.wa-flot.ver { transform: scale(1); }

/* Aparecer */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .cinta-in, .pulso-fallback, .marca i { animation: none; } }
