/* ============================================================
   Pelucas Ivana — Pelucas en Mendoza
   Estilo: Soft UI elegante · rosé + crema + acento dorado
   ============================================================ */

:root {
  --rose: #B75D75;
  --rose-deep: #8A3A52;
  --rose-soft: #E7C4CF;
  --plum: #3E1F2E;
  --cream: #FBF6F3;
  --cream-2: #F5E9E5;
  --gold: #C9A46A;
  --wa: #25D366;
  --wa-deep: #128C7E;
  --white: #ffffff;
  --text: #3E1F2E;
  --muted: #7A5A66;
  --line: #EADFDB;
  --shadow-sm: 0 2px 8px rgba(62, 31, 46, .06);
  --shadow-md: 0 10px 30px rgba(62, 31, 46, .10);
  --shadow-lg: 0 24px 60px rgba(62, 31, 46, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-script { font-family: 'Cormorant Garamond', Georgia, serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------- Botones -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              box-shadow .22s var(--ease), border-color .22s var(--ease);
  line-height: 1; white-space: nowrap;
}
.btn svg { flex: none; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .32); }
.btn-wa:hover { background: var(--wa-deep); box-shadow: 0 10px 26px rgba(18, 140, 126, .38); }

.btn-outline { background: transparent; color: var(--rose-deep); border-color: var(--rose-soft); }
.btn-outline:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--rose-deep); border-color: #fff; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 243, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-script { font-size: 30px; font-weight: 600; color: var(--rose-deep); letter-spacing: .5px; }
.brand-sub { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-menu { display: flex; gap: 26px; list-style: none; }
.nav-menu a { font-size: 15px; font-weight: 400; color: var(--text); position: relative; padding: 6px 0; transition: color .2s var(--ease); }
.nav-menu a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--rose); transition: width .25s var(--ease); }
.nav-menu a:hover { color: var(--rose-deep); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta { padding: 11px 20px; font-size: 15px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 84px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(201,164,106,.16), transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(183,93,117,.16), transparent 45%),
    linear-gradient(160deg, #FDF7F4 0%, #F5E5E9 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--rose-deep); font-weight: 600; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); font-weight: 600; line-height: 1.05; color: var(--plum); letter-spacing: -.5px; }
.hero h1 .accent { color: var(--rose); font-style: italic; }
.lead { font-size: 1.18rem; color: var(--muted); margin: 22px 0 30px; max-width: 34ch; }
.lead strong { color: var(--rose-deep); font-weight: 500; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-trust li { font-size: 15px; color: var(--plum); font-weight: 400; }

.hero-media { position: relative; }
.hero-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px;
  box-shadow: var(--shadow-lg); border: 8px solid #fff;
}
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-md);
  padding: 16px 22px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
}
.hero-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 700; color: var(--rose); line-height: 1; }
.hero-badge-txt { font-size: 13px; color: var(--muted); line-height: 1.25; text-transform: uppercase; letter-spacing: 1px; }

/* Placeholders de imagen (reemplazar por <img>) */
.img-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rose-soft), var(--cream-2));
  color: var(--rose-deep); position: relative;
}
.img-placeholder span {
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 500; opacity: .8;
}
.img-placeholder::before {
  content: ''; position: absolute; inset: 12px; border: 2px dashed rgba(138,58,82,.35); border-radius: inherit;
}

/* -------------------- Stats -------------------- */
.stats { background: var(--plum); color: #fff; padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.82); letter-spacing: .3px; }

/* -------------------- Secciones -------------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--cream-2); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 600; color: var(--plum); line-height: 1.1; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }
.section-cta { text-align: center; margin-top: 44px; }

/* -------------------- Cards servicios -------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 34px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose-soft), var(--cream-2)); color: var(--rose-deep); margin-bottom: 20px;
}
.card h3 { font-size: 1.5rem; font-weight: 600; color: var(--plum); margin-bottom: 10px; }
.card p { font-size: .98rem; color: var(--muted); line-height: 1.6; }

/* -------------------- Features -------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 34px; }
.feature { display: flex; flex-direction: column; gap: 12px; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--rose); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.feature h3 { font-size: 1.4rem; font-weight: 600; color: var(--plum); }
.feature p { color: var(--muted); font-size: .98rem; }

/* -------------------- Nosotros -------------------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-md); border: 8px solid #fff; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy strong { color: var(--rose-deep); font-weight: 500; }
.about-cta { margin-top: 26px; }

/* -------------------- Galería -------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 4px solid #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

/* -------------------- Testimonios -------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.testi p { color: var(--text); font-size: 1.02rem; font-style: italic; margin-bottom: 16px; line-height: 1.6; }
.testi cite { color: var(--rose-deep); font-style: normal; font-weight: 500; font-size: .95rem; }
.testi-note { text-align: center; margin-top: 24px; font-size: .84rem; color: var(--muted); opacity: .8; }

/* -------------------- Ubicación -------------------- */
.ubic { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.ubic-list { list-style: none; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 18px; }
.ubic-list li { display: flex; gap: 14px; align-items: flex-start; }
.ubic-list svg { color: var(--rose); flex: none; margin-top: 2px; }
.ubic-list strong { color: var(--plum); font-weight: 600; }
.ubic-list span { color: var(--muted); line-height: 1.5; }
.ubic-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ubic-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 6px solid #fff; }
.ubic-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* -------------------- FAQ -------------------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line);
  padding: 4px 22px; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 500; font-size: 1.08rem; color: var(--plum);
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: 'Jost', sans-serif; font-size: 26px; color: var(--rose); font-weight: 300;
  transition: transform .25s var(--ease); line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; margin: 0; }

/* -------------------- CTA final -------------------- */
.final-cta { background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%); color: #fff; padding: 78px 0; text-align: center; }
.final-inner { max-width: 720px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; margin-bottom: 16px; }
.final-cta p { font-size: 1.15rem; color: rgba(255,255,255,.92); margin-bottom: 32px; }
.final-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--plum); color: rgba(255,255,255,.8); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand-script { color: #fff; font-size: 30px; }
.footer-brand p { margin-top: 12px; font-size: .95rem; max-width: 32ch; }
.footer-col h3 { font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .96rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: .96rem; line-height: 1.9; }
.footer-col address a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bottom p { font-size: .86rem; color: rgba(255,255,255,.6); text-align: center; }

/* -------------------- WhatsApp flotante -------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.5);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { background: var(--wa-deep); transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* -------------------- Reveal on scroll -------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* -------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 420px; margin: 0 auto; width: 100%; }
  /* En celular/tablet la foto del hero se muestra completa en 1:1 (formato original) */
  .hero-photo { aspect-ratio: 1 / 1; }
  .lead { max-width: none; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-media { max-width: 400px; margin: 0 auto; }
  .ubic { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; gap: 0; padding: 8px 22px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 15px 0; font-size: 16px; }
  .nav-menu a::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .section { padding: 62px 0; }

  /* Galería como carrusel deslizable en móvil */
  .gallery {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 16px;
    margin: 0 -4px;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .final-buttons .btn, .ubic-cta .btn { width: 100%; }
  .hero-cta, .final-buttons { width: 100%; }
  .hero-badge { left: 10px; bottom: -18px; padding: 12px 16px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
