/* =========================================================
   Luciana Belén · Maquillaje y Peinado
   Estilos fieles a la web original (paleta marfil / gris)
   ========================================================= */
:root {
  --bg: #fffef2;
  --bg-alt: #f0f0f0;
  --text: #333;
  --text-soft: #666;
  --text-mute: #999;
  --line: #bcbbb4;
  --accent: #ba3e2b;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --header-h: 80px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--text); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Tipografía (idéntica al original) ---------- */
.font-display { font-family: var(--serif); }
.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(.75rem, 1.5vw, .875rem);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 2rem;
}
.sub-title { font-size: clamp(1.875rem, 3vw, 2.25rem); font-weight: 300; line-height: 1.25; margin-bottom: 2rem; }
.body-large { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--text-soft); }
.body-regular { font-size: .875rem; font-weight: 400; line-height: 1.7; color: var(--text-soft); }
.stack > * + * { margin-top: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mt-lg { margin-top: 3rem; }
.center { text-align: center; }
.narrow { max-width: 42rem; margin: 0 auto; }

/* ---------- Layout ---------- */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 52rem; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg); }
.bg-alt { background: var(--bg-alt); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.align-center { align-items: center; }
.align-start { align-items: start; }
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head .section-title { margin-bottom: 1.5rem; }
.divider { width: 4rem; height: 1px; background: var(--text); margin: 0 auto; }

@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* ---------- Botones ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--text);
  background: transparent; color: var(--text);
  font-family: var(--sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease;
}
.btn-primary:hover { background: var(--text); color: var(--bg); }
.btn-primary .arrow { transition: transform .3s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-small { padding: .7rem 1.25rem; font-size: .7rem; }
.btn-secondary {
  position: relative; display: inline-flex; padding: .5rem 0;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text);
}
.btn-secondary::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--text); transform-origin: left; transition: transform .3s ease;
}
.btn-secondary:hover::after { transform: scaleX(.4); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 254, 242, .95);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(188, 187, 180, .3);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-size: 1.25rem; font-weight: 300; letter-spacing: .15em; color: var(--text); transition: color .3s; }
.logo:hover { color: var(--text-soft); }
.main-nav { display: none; align-items: center; gap: 2.25rem; }
.nav-link { position: relative; font-size: .875rem; letter-spacing: .025em; color: var(--text); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--text); transition: width .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.menu-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; }
.menu-toggle span { width: 24px; height: 1.5px; background: var(--text); transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1099px) {
  .main-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg); padding: 2rem 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(188, 187, 180, .3);
  }
  .main-nav.open .nav-link { font-size: 1rem; }
}
@media (min-width: 1100px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Imágenes y marcos decorativos ---------- */
.img-wrap { overflow: hidden; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.obj-top { object-position: top; }
.img-hover { transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.img-wrap:hover .img-hover { transform: scale(1.03); }

.frame { position: relative; isolation: isolate; }
.frame::before { content: ""; position: absolute; border: 1px solid var(--line); z-index: -1; }
.frame-hero::before { width: 8rem; height: 8rem; bottom: -1.5rem; left: -1.5rem; }
.frame-about::before { width: 10rem; height: 10rem; top: -1.5rem; right: -1.5rem; }
.frame-inset::before { inset: -1rem; }
.frame-br::before { width: 8rem; height: 8rem; bottom: -1rem; right: -1rem; }
.frame-tl::before { width: 8rem; height: 8rem; top: -1rem; left: -1rem; }
@media (max-width: 640px) {
  .frame-hero::before, .frame-br::before { right: -.75rem; bottom: -.75rem; left: auto; }
  .frame-hero::before { left: -.75rem; right: auto; }
  .frame-about::before { right: -.75rem; top: -.75rem; }
  .frame-inset::before { inset: -.6rem; }
  .frame-tl::before { left: -.75rem; top: -.75rem; }
}
@media (min-width: 1024px) { .sticky-media { position: sticky; top: 8rem; } }

/* ---------- Hero ---------- */
.hero { min-height: min(100vh, 960px); min-height: min(100svh, 960px); display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; background: var(--bg); }
.hero-grid { align-items: center; width: 100%; }
.hero-text { order: 2; }
.hero-media { order: 1; }
.hero-title { font-size: clamp(2.6rem, 6vw, 3.75rem); font-weight: 300; letter-spacing: .1em; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text); }
.hero-lead { max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 2.5rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(188, 187, 180, .5); }
.trust-list li { display: flex; flex-direction: column; }
.trust-list strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--text); }
.trust-list span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-top: .2rem; }
@media (min-width: 1024px) {
  .hero-text { order: 1; }
  .hero-media { order: 2; }
}

.fade-in { animation: fadeIn 1s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Sobre mí ---------- */
.signature { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(188, 187, 180, .5); }
.signature p { font-size: 1.25rem; font-weight: 300; letter-spacing: .15em; }

/* ---------- Novias ---------- */
.includes { margin: 2.5rem 0; display: grid; gap: .9rem; }
.includes li { position: relative; padding-left: 1.75rem; font-size: .9rem; color: var(--text); font-weight: 400; }
.includes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 1rem; height: 1px; background: var(--text); }
.big-name { margin-top: 5rem; text-align: center; font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 300; letter-spacing: .15em; }

/* ---------- Cómo trabajo ---------- */
.steps { order: 2; }
.step { display: flex; gap: 1.5rem; padding-bottom: 2.5rem; position: relative; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 1.75rem; top: 4.5rem; bottom: 1rem; width: 1px; background: var(--line);
}
.step-num {
  flex-shrink: 0; width: 3.5rem; height: 3.5rem; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--text); background: var(--bg); font-size: 1.125rem; font-weight: 300;
}
.step-body { padding-top: .75rem; }
.step-body h3 { font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: .025em; margin-bottom: 1rem; }
@media (min-width: 1024px) { .step { gap: 2rem; } }

/* ---------- Momentos especiales ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: -1rem 0 2.5rem; }
.tags li { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); border: 1px solid var(--line); padding: .45rem .85rem; }

/* ---------- Galería ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.75rem; margin: -2rem 0 2.5rem; }
.filter {
  background: none; border: 0; padding: .4rem 0; border-bottom: 1px solid transparent;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-mute); transition: color .3s, border-color .3s;
}
.filter:hover { color: var(--text); }
.filter.active { color: var(--text); border-color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.g-item {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; border: 0; padding: 0; background: #e8e7e0;
  animation: fadeIn .5s ease both;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background .3s; }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { background: rgba(0, 0, 0, .2); }
.g-item[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92);
  display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 82vh; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; background: none; border: 0; color: #fff; line-height: 1; opacity: .8; transition: opacity .2s; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 1rem; right: 1.25rem; font-size: 2.5rem; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 1rem; }
.lb-prev { left: .25rem; }
.lb-next { right: .25rem; }
.lb-caption { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: .8rem; letter-spacing: .1em; }

/* ---------- Testimonios ---------- */
.testimonial {
  margin: 0; padding: 2rem; background: var(--bg-alt);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .06); }
.quote-mark { font-size: 4rem; line-height: .6; color: var(--line); height: 2rem; margin-bottom: 1rem; }
.testimonial blockquote { margin: 0 0 1.5rem; flex: 1; }
.stars { color: var(--text); letter-spacing: .2em; font-size: .9rem; margin-bottom: 1rem; }
.testimonial figcaption { border-top: 1px solid rgba(188, 187, 180, .5); padding-top: 1rem; display: flex; flex-direction: column; }
.testimonial figcaption strong { font-size: .875rem; font-weight: 500; }
.testimonial figcaption span { font-size: .75rem; color: var(--text-soft); margin-top: .25rem; }

/* ---------- FAQ ---------- */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.5rem 2.5rem 1.5rem 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.5rem; transition: transform .3s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 2.5rem 1.5rem 0; font-size: .95rem; font-weight: 300; line-height: 1.8; color: var(--text-soft); }

/* ---------- Contacto ---------- */
.contact-list { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 3rem; height: 3rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--text); color: #fff; transition: background .3s;
}
a.contact-item:hover .contact-icon { background: #000; }
.contact-item small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.contact-item small + span { font-size: .875rem; color: var(--text); }
.note { font-size: .75rem; font-style: italic; color: var(--text-soft); }

.form-card { background: var(--bg-alt); padding: 2rem; }
@media (min-width: 1024px) { .form-card { padding: 3rem; } }
.form-card h3 { font-size: 1.5rem; font-weight: 300; margin-bottom: .5rem; }
.form-card > p { margin-bottom: 2rem; }
#contact-form { display: grid; gap: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: .75rem 0; font-family: var(--sans); font-size: .875rem; color: var(--text);
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; padding-right: 1.5rem;
}
.field textarea { resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field input.invalid { border-color: var(--accent); }
.error { display: block; font-size: .75rem; color: var(--accent); margin-top: .4rem; min-height: 0; }
.btn-submit {
  width: 100%; margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--text); color: #fff; border: 0; padding: 1rem 1.5rem;
  font-size: .875rem; letter-spacing: .05em; text-transform: uppercase; transition: background .3s;
}
.btn-submit:hover { background: #000; }
.privacy { font-size: .7rem; color: var(--text-mute); text-align: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid rgba(188, 187, 180, .3); padding: 4rem 0 2rem; }
.footer-grid { gap: 3rem; }
@media (min-width: 1024px) { .footer-grid { gap: 5rem; } }
.site-footer .logo { margin-bottom: 1.5rem; }
.site-footer h4 { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.5rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 1rem; font-size: .875rem; color: var(--text-soft); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(188, 187, 180, .3);
  display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: .75rem; color: var(--text-soft);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.heart { color: var(--accent); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: background .3s;
}
.wa-float:hover { background: var(--wa-dark); }
.whatsapp-pulse { animation: waPulse 2s infinite; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 1.25rem; left: 50%; transform: translate(-50%, -150%); z-index: 120;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  padding: .9rem 1.25rem; font-size: .85rem; max-width: 90vw; box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transition: transform .4s ease;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Animación al hacer scroll ---------- */
/* Solo se oculta si el JS está activo (html.js); sin JS todo es visible */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
