/* Dr. Diego Pugliese — estilos */
:root {
  --ink: #1E2A38;
  --ink-2: #2A3847;
  --paper: #FFFFFF;
  --sand: #F6F3EE;
  --line: #E5DFD6;
  --text: #1E2A38;
  --muted: #6A6F77;
  --accent: #A3845F;
  --teal: #3DB2A3;       /* turquesa Serendipity */
  --seren-grey: #6E6E6E; /* gris Serendipity */
  --on-dark: #F4F1EC;
  --on-dark-muted: rgba(244, 241, 236, 0.66);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 12vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 70px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink .muted, .bg-ink p { color: var(--on-dark-muted); }

/* Tipografía */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin-bottom: 28px; }
h3 { font-size: 1.45rem; line-height: 1.3; margin-bottom: 12px; }
.reg { font-family: var(--sans); font-size: .38em; vertical-align: super; margin-left: 2px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.bg-ink h2 em, .hero h1 em { color: #CBB08C; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.35;
  margin: 56px 0;
  padding-left: 28px;
  border-left: 1px solid var(--accent);
  max-width: 820px;
}
.statement {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.25;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.statement span { display: block; font-style: italic; color: var(--accent); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font: 400 14px/1 var(--sans);
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-light:hover { background: transparent; color: var(--on-dark); }
.link-arrow {
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 44px; }

/* Navegación */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav { padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--on-dark); }
.brand img { width: auto; }
.brand .mono { height: 38px; }
.brand .word { height: 15px; }
.brand .logo-dark { display: none; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-links .btn { padding: 11px 18px; font-size: 12px; opacity: 1; }
.nav .nav-links .btn { background: transparent; color: var(--on-dark); border-color: rgba(244,241,236,.5); }
.nav.solid { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.nav.solid .brand, .nav.solid .nav-links a { color: var(--ink); }
.nav.solid .brand .logo-light { display: none; }
.nav.solid .brand .logo-dark { display: block; }
.nav.solid .nav-links .btn { color: var(--ink); border-color: var(--ink); }
.nav.solid .nav-links .btn:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--on-dark); }
.nav.solid .menu-toggle { color: var(--ink); }
.menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 85% 40%, #2C3B4D 0%, var(--ink) 60%);
  color: var(--on-dark);
  overflow: hidden;
}
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.hero-photo video { width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(30,42,56,.55) 35%, rgba(30,42,56,.1) 100%); }
.photo { width: 100%; object-fit: cover; }
.duo { margin: 0; }
.duo-imgs { position: relative; padding-bottom: 16%; }
.duo img { display: block; object-fit: cover; aspect-ratio: 4 / 5; max-width: 100%; }
.duo .main { width: 76%; margin-left: auto; object-position: 50% 45%; }
.duo .inset { position: absolute; left: 0; bottom: 0; width: 44%; border: 6px solid var(--ink); object-position: 50% 30%; }
.duo figcaption { margin-top: 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.photo.tall { aspect-ratio: 4 / 5; }
.hero .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 80px; }
.hero h1 { max-width: 760px; }
.hero .wrap > * { position: relative; }
.hero .sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--on-dark); margin: 30px 0 18px; }
.hero .pillars-line { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero .link-arrow { color: var(--on-dark); }
.scroll-hint { position: absolute; left: 50%; bottom: 30px; width: 1px; height: 56px; background: linear-gradient(var(--on-dark-muted), transparent); }

/* Grillas */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.top { align-items: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 72px; }
.grid-4 > div { background: var(--paper); padding: 38px 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 64px; }
.num { font-family: var(--serif); font-size: 15px; color: var(--accent); display: block; margin-bottom: 18px; letter-spacing: .08em; }
.card h3, .grid-4 h3 { font-size: 1.3rem; }
.card p, .grid-4 p { font-size: 15.5px; color: var(--muted); margin: 0; }
.bg-ink .card p { color: var(--on-dark-muted); }
.card { border-top: 1px solid var(--line); padding-top: 28px; }
.bg-ink .card { border-color: rgba(244,241,236,.18); }

/* Marcadores de imagen */
.ph {
  position: relative; width: 100%;
  background: linear-gradient(160deg, #EDE7DE 0%, #E2DACE 100%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  margin: 18px; padding: 7px 12px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); background: rgba(255,255,255,.72);
}
.ph img.ph-mark { position: absolute; inset: 0; margin: auto; height: 34%; width: auto; opacity: .09; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 16 / 9; }
.bg-ink .ph { background: linear-gradient(160deg, #2E3D4F 0%, #26333F 100%); }
.bg-ink .ph::after { background: rgba(30,42,56,.8); color: var(--on-dark-muted); }
.play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid rgba(244,241,236,.6); display: grid; place-items: center;
}
.play::before { content: ""; border-left: 16px solid var(--on-dark); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }

/* Acordeones */
.accordion { margin-top: 64px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--accent);
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .body { padding: 0 0 30px; max-width: 760px; color: var(--muted); }
.tag { font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 3px 8px; margin-left: 12px; vertical-align: middle; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span { font-size: 13px; letter-spacing: .1em; padding: 8px 16px; border: 1px solid var(--line); background: var(--paper); }

/* Recorrido */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; margin-top: 76px; }
.step .num { font-size: 42px; margin-bottom: 14px; color: #CBB08C; }
.step h3 { font-size: 1.25rem; }
.step p { font-size: 15.5px; margin: 0; }

/* App de pacientes */
.app-cta {
  margin-top: 80px; padding: 44px 48px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  border: 1px solid var(--seren-grey); border-left: 3px solid var(--teal);
  background: rgba(110, 110, 110, .12); overflow: hidden;
}
.app-copy { min-width: 0; }
.app-eyebrow { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.bg-ink .app-text { margin: 0 0 10px; color: var(--on-dark); font-size: 18px; max-width: 560px; }
.bg-ink .app-note { margin: 0 0 28px; font-size: 14px; color: var(--on-dark-muted); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--ink); font-weight: 500; line-height: 1.4; }
.btn-teal:hover { background: transparent; color: var(--teal); }
.app-phones { position: relative; height: 470px; }
.phone {
  position: absolute; top: 50%; left: 50%; width: 200px; max-width: none; aspect-ratio: 416 / 900; object-fit: cover; object-position: top;
  border: 7px solid #10171F; border-radius: 30px; box-shadow: 0 24px 50px rgba(0,0,0,.45);
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease);
}
.phone.pos-1 { transform: translate(-50%, -50%); z-index: 3; }
.phone.pos-0 { transform: translate(-108%, -46%) rotate(-8deg) scale(.86); z-index: 2; opacity: .75; filter: saturate(.8); }
.phone.pos-2 { transform: translate(8%, -46%) rotate(8deg) scale(.86); z-index: 1; opacity: .75; filter: saturate(.8); }

/* Lista "para vos" */
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 20px 0 20px 40px; border-bottom: 1px solid var(--line); position: relative; font-size: 17px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 30px; width: 16px; height: 1px; background: var(--accent); }

/* Timeline CV */
.cv { list-style: none; padding: 0; margin: 0; }
.cv li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }

/* Testimonios */
.reviews-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 24px; }
.rating { font-size: 14px; letter-spacing: .1em; color: var(--muted); }
.rating b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--ink); letter-spacing: 0; margin-right: 6px; }
.stars { color: var(--accent); letter-spacing: .15em; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.review { background: var(--paper); padding: 34px 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review blockquote { margin: 16px 0 24px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; flex: 1; }
.review .who { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.review .what { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .04em; text-transform: none; margin-top: 4px; }

/* Bandas */
.band { padding: clamp(72px, 9vw, 110px) 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.band h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.band p { margin: 14px 0 0; max-width: 620px; }

/* Serendipity: isotipo de fondo */
.band-seren { position: relative; overflow: hidden; }
.band-seren .wrap { position: relative; z-index: 1; }
.seren-mark {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%) rotate(-8deg);
  height: 150%; width: auto; max-width: none; opacity: .16; pointer-events: none;
}

/* Contacto */
.contact-info dl { margin: 40px 0 0; }
.contact-info dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-top: 26px; }
.contact-info dd { margin: 6px 0 0; font-size: 17px; }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--line); }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 300 17px/1.5 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #CFC7BB;
  padding: 10px 0; border-radius: 0; outline: none; width: 100%;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 4px; accent-color: var(--ink); }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-note a { color: var(--ink); font-weight: 400; }

/* Footer */
.footer { padding: 90px 0 40px; }
.footer .top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.footer .logo { width: 210px; height: auto; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--on-dark-muted); font-size: 15px; }
.footer a:hover { color: var(--on-dark); }
.footer .legal { margin-top: 70px; padding-top: 28px; border-top: 1px solid rgba(244,241,236,.14); font-size: 13px; color: var(--on-dark-muted); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .legal p { margin: 0; max-width: 720px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(30,42,56,.28);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1140px) {
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); padding: 12px var(--gutter) 30px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 20px; display: inline-flex; border-bottom: 1px solid var(--ink); }
  .nav .nav-links .btn { color: var(--ink); border-color: var(--ink); }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: var(--paper); }
  .nav.open .brand, .nav.open .menu-toggle { color: var(--ink); }
  .nav.open .brand .logo-light { display: none; }
  .nav.open .brand .logo-dark { display: block; }
  .nav.open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-toggle { display: block; }
}
@media (max-width: 960px) {
  .app-cta { grid-template-columns: 1fr; }
  .hero-photo { width: 100%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(30,42,56,.72) 0%, rgba(30,42,56,.88) 60%, var(--ink) 100%); }
  .split { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand .word { height: 12px; }
  .brand { gap: 10px; }
  .grid-4, .grid-3, .steps, .reviews, .row-2 { grid-template-columns: 1fr; }

  .quote { padding-left: 20px; margin: 40px 0; }
  .actions { gap: 22px; }
  .band .wrap { align-items: flex-start; }
  .app-cta { padding: 28px 22px; margin-top: 56px; }
  .app-phones { height: 360px; }
  .phone { width: 150px; border-width: 5px; border-radius: 22px; }
  .seren-mark { height: 90%; right: -18%; top: 38%; opacity: .14; }
}
