/* Isa Ramírez Makeup — estilos */

@import url('https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg: #fff9e2;
  --card: #fffdf2;
  --ink: #492e1b;
  --muted: #745642;
  --brand: #684b38;
  --brand-ink: #fff9e2;
  --gold: #c9a26a;
  --gold-ink: #1a1410;
  --blush: #bfaf95;
  --tan-soft: #dfd3bb;
  --border: rgba(190, 175, 150, .4);

  --font-script: 'Mrs Saint Delafield', cursive;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;

  --container: 1180px;
  --radius: 22px;
  --shadow-soft: 0 10px 40px -10px rgba(73,46,27,.25);
  --shadow-luxe: 0 30px 80px -30px rgba(73,46,27,.35);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: auto; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font: inherit; cursor: pointer; }

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

.eyebrow{
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 400;
  margin-bottom: 14px;
}
.eyebrow--blush{ color: var(--blush); }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 .5em;
  color: var(--ink);
}

h2{ font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.05; }
h3{ font-size: 1.4rem; }

em.accent{ font-style: italic; color: inherit; font-weight: 400; }

.lede{
  max-width: 640px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section--card{ background: var(--card); }
.section-head{ max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left{ margin: 0 0 48px; text-align: left; }
.section-head h2{ position: relative; padding-bottom: 22px; }
.section-head h2::after{
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 64px; height: 2px; background: var(--gold);
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform .7s cubic-bezier(.22,1,.36,1) .15s;
}
.section-head.is-visible h2::after{ transform: translateX(-50%) scaleX(1); }
.section-head.left h2::after{ left: 0; transform: scaleX(0); transform-origin: left; }
.section-head.left.is-visible h2::after{ transform: scaleX(1); }
.section--dark .section-head h2::after{ background: var(--blush); }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-gold, .btn-brand{ isolation: isolate; }
.btn-gold::before, .btn-brand::before{
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%; z-index: 0;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-gold:hover::before, .btn-brand:hover::before{ left: 130%; }
.btn-gold > *, .btn-brand > *{ position: relative; z-index: 1; }
.btn-gold{ background: var(--gold); color: var(--gold-ink); box-shadow: var(--shadow-soft); }
.btn-gold:hover{ box-shadow: var(--shadow-luxe); }
.btn-brand{ background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-soft); }
.btn-brand:hover{ box-shadow: var(--shadow-luxe); }
.btn-outline{ background: transparent; border-color: var(--border); color: var(--ink); }
.btn-outline:hover{ border-color: var(--brand); }
.btn-sm{ padding: 8px 20px; }
.btn-caps{
  padding: 14px 32px; font-size: .75rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
}
.btn-caps.btn-outline{ font-weight: 400; }
.btn-block{ width: 100%; }

/* Header */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header .container{
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.brand-logo{ display: flex; align-items: center; gap: 12px; }
.brand-logo img{ width: 52px; height: 52px; border-radius: 50%; }
.brand-logo span{ font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .04em; }

.main-nav{ display: flex; gap: 32px; }
.main-nav a{
  font-size: .85rem; letter-spacing: .02em; color: var(--muted);
  transition: color .2s ease;
}
.main-nav a:hover{ color: var(--brand); }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.icon-btn{
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(104,75,56,.08);
  color: var(--brand);
}
.menu-toggle{
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border);
  align-items: center; justify-content: center;
}

/* Cover */
.cover{
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff9e2;
}
.cover-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.cover-bg::after{ content:''; }
.cover-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,20,16,.35) 0%, rgba(26,20,16,.55) 55%, rgba(26,20,16,.75) 100%);
}
.cover-content{ position: relative; z-index: 2; padding: 0 24px; }
.cover-content .script{
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 1;
  margin: 0;
  color: #f5e9d4;
}
.cover-content .kicker{
  display: block;
  margin-top: 18px;
  font-family: var(--font-sans);
  letter-spacing: .5em;
  font-size: .8rem;
  color: #e9d9bc;
  text-transform: uppercase;
}
.cover-actions{
  margin-top: 44px;
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.cover .btn-outline{ border-color: rgba(255,249,226,.5); color: #fff9e2; }
.cover .btn-outline:hover{ border-color: #fff9e2; }
.cover-tagline{
  margin: 22px auto 0; max-width: 460px;
  font-family: var(--font-sans); font-size: .95rem; line-height: 1.4;
  color: #f5e9d4;
}
.cover-services{
  margin: 8px auto 0;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.cover-wa-link{
  display: inline-block; margin-top: 16px;
  font-size: .8rem; color: #fff9e2;
  text-decoration: underline; text-underline-offset: 3px;
}
.cover-wa-link:hover{ color: var(--gold); }
.scroll-cue{
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #f5e9d4; opacity: .85;
}
.scroll-cue svg{ animation: bob 2s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(8px);} }
@media (prefers-reduced-motion: reduce){ .scroll-cue svg{ animation: none; } }

/* Hero (headline section) */
.hero{
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.hero-grid{
  display: block; max-width: 720px;
}
.hero-grid--split{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  max-width: none;
}
.hero-media{
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-luxe);
  opacity: 0; transform: scale(1.04);
  animation: hero-media-in 1.1s cubic-bezier(.22,1,.36,1) .2s forwards;
}
.hero-media img{
  width: 100%; height: auto; display: block; max-height: 640px; object-fit: contain;
  transition: transform .6s ease;
}
.hero-media:hover img{ transform: scale(1.05); }
@keyframes hero-media-in{ to{ opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce){
  .hero-media{ opacity: 1; transform: none; animation: none; }
}
@media (max-width: 980px){
  .hero-grid--split{ grid-template-columns: 1fr; }
  .hero-media img{ max-height: 480px; }
}
.hero-badge{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  padding: 10px 20px; border-radius: 999px; font-size: .72rem; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge svg{ color: var(--brand); flex-shrink: 0; animation: sparkle-pulse 2.6s ease-in-out infinite; }
@keyframes sparkle-pulse{ 0%,100%{ transform: scale(1) rotate(0deg); opacity:1; } 50%{ transform: scale(1.18) rotate(12deg); opacity:.75; } }
@media (prefers-reduced-motion: reduce){ .hero-badge svg{ animation: none; } }
.btn-brand svg{ flex-shrink: 0; }
.hero-title{ font-size: clamp(2.2rem, 4vw, 3.4rem); }
.hero-actions{ display: flex; gap: 16px; margin: 32px 0; flex-wrap: wrap; }
.hero-meta{ display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.hero-meta div{ font-size: .85rem; color: var(--muted); display:flex; align-items:center; gap:8px; }
.hero-meta strong{ color: var(--ink); }

/* About */
.about-grid{ display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.about-media{ position: sticky; top: 110px; }
.about-media img{ border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.about-cards{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.about-cards--compact{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){
  .about-cards--compact{ grid-template-columns: 1fr; }
}
.about-card{ background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.about-card h4{ font-size: 1.1rem; margin-bottom: 8px; }
.about-card p{ font-size: .9rem; color: var(--muted); margin: 0; }
.about-actions{ display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* Services */
.services-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card{
  position: relative;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.service-card.featured{ border-color: var(--gold); box-shadow: var(--shadow-luxe); }
.service-badge{
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: var(--gold); color: var(--gold-ink);
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; font-weight: 700;
}
.service-media{ height: 220px; overflow: hidden; }
.service-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-media img{ transform: scale(1.05); }
.service-body{ padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.service-list{ display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-list li{
  font-size: .88rem; color: var(--muted);
  padding-left: 22px; position: relative;
}
.service-list li::before{
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 700;
}
.addon-card{
  margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 28px 32px;
}
.addon-card small{ display: block; color: var(--muted); font-size: .75rem; margin-top: 6px; }
.service-link{
  display: block; text-align: center; margin-top: 12px;
  font-size: .8rem; color: var(--brand); text-decoration: underline;
  text-underline-offset: 3px;
}
.service-link:hover{ color: var(--gold); }

/* Section dark variant (Por qué elegirme) */
.section--dark{ background: var(--ink); color: var(--bg); }
.section--dark h2{ color: var(--bg); }
.section--dark .lede{ color: rgba(255,249,226,.7); }
.section--dark em.accent{ color: var(--blush); }

/* Why choose */
.why-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-list li{
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,235,216,.05); border: 1px solid rgba(255,249,242,.15);
  border-radius: 18px; padding: 20px; font-size: .9rem; color: var(--bg);
}
.icon-check{
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
}

/* Brands */
.brands-grid{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: 40px;
}
.brand-card{
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3/2;
}
.brand-card img{ max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.brands-note{ text-align: center; margin-top: 32px; color: var(--muted); font-size: .9rem; }

/* Portfolio */
.filter-bar{ display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn{
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; font-size: .75rem; color: var(--ink);
}
.filter-btn.active{ background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.portfolio-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-item{
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5;
  transition: transform .25s ease, box-shadow .25s ease; will-change: transform;
}
.portfolio-item:hover{ box-shadow: var(--shadow-luxe); }
.portfolio-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.portfolio-item:hover img{ transform: scale(1.1); }
.portfolio-item::before{
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(73,46,27,.8) 0%, rgba(73,46,27,.1) 50%, transparent 100%);
  opacity: 0; transition: opacity .3s ease; z-index: 1;
}
.portfolio-item:hover::before{ opacity: 1; }
.portfolio-tag{
  position: absolute; inset: auto 0 0 0; z-index: 2;
  color: var(--bg); padding: 20px; text-align: left;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.portfolio-item:hover .portfolio-tag{ opacity: 1; transform: translateY(0); }
.portfolio-tag span{ display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blush); }
.portfolio-tag strong{ display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin-top: 4px; }
.portfolio-item[hidden]{ display: none; }

/* Before / After */
.ba-wrap{ max-width: 640px; margin: 0 auto; }
.ba-slider{
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-luxe);
  touch-action: pan-y;
}
.ba-slider img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-after{ clip-path: inset(0 0 0 50%); }
.ba-handle{
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: #fff9e2; transform: translateX(-50%);
  z-index: 3; cursor: ew-resize;
}
.ba-handle::after{
  content: '◀ ▶'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff9e2; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; box-shadow: var(--shadow-soft);
}
.ba-label{
  position: absolute; top: 16px; z-index: 3;
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  background: rgba(26,20,16,.55); color: #fff9e2; padding: 6px 12px; border-radius: 999px;
}
.ba-label.before{ left: 16px; }
.ba-label.after{ right: 16px; }

/* Stats */
.stats-strip{
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  text-align: center; padding: 56px 0;
}
@media (max-width: 640px){
  .stats-strip{ grid-template-columns: 1fr; }
}
.stat strong{ display: block; font-family: var(--font-display); font-weight: 500; font-size: 3rem; color: var(--brand); }
.stat span{ display: block; margin-top: 8px; color: var(--muted); font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 981px){
  .stat strong{ font-size: 3.75rem; }
}

/* Certifications */
.certs-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cert-card{ background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.cert-card img{ width: 100%; height: 320px; object-fit: cover; }
.cert-card .cert-body{ padding: 24px; }
.cert-card p{ color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

/* Testimonials */
.testi-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card{ border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); background: var(--card); }
.testi-card img{ width: 100%; height: auto; display: block; }
.testi-time{ padding: 10px 14px; font-size: .75rem; color: var(--muted); }

/* Process */
.process-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-card{
  text-align: left;
  border-radius: 24px; border: 1px solid var(--border);
  background: var(--card); padding: 32px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.process-card:hover{ border-color: rgba(104,75,56,.5); box-shadow: var(--shadow-soft); }
.process-num{ font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--blush); }
.process-card h3{
  font-family: var(--font-display); font-weight: 500; font-size: 1.5rem;
  color: var(--ink); margin: 16px 0 0;
}
.process-card p{ margin: 8px 0 0; color: var(--muted); font-size: .875rem; }

/* Instagram CTA */
.ig-section{ text-align: center; }
.ig-icon{ color: var(--brand); margin-bottom: 16px; }
.ig-grid{
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  max-width: 1180px; margin: 0 auto 36px;
}
.ig-item{ display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
.ig-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ig-item:hover img{ transform: scale(1.1); }

/* FAQ */
.faq-list{ max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item{ border: 1px solid var(--border); border-radius: 18px; background: var(--card); overflow: hidden; }
.faq-q{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left; background: transparent; border: 0; font-weight: 500;
}
.faq-q svg{ flex-shrink: 0; color: var(--brand); transition: transform .25s ease; }
.faq-item.open .faq-q svg{ transform: rotate(180deg); }
.faq-a{
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  padding: 0 24px; color: var(--muted); font-size: .9rem;
}
.faq-item.open .faq-a{ padding-bottom: 20px; }

/* Final CTA */
.final-cta{
  text-align: center; background: var(--brand); color: var(--brand-ink);
  border-radius: 28px; padding: 72px 32px; margin: 0 24px;
}
.final-cta h2{ color: var(--brand-ink); }
.final-cta em.accent{ color: var(--gold); }
.final-cta .lede{ color: rgba(255,249,226,.8); margin: 0 auto 32px; }

/* Footer */
.site-footer{ padding: 72px 0 32px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p{ color: var(--muted); font-size: .9rem; max-width: 320px; }
.footer-contact{ display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: .9rem; }
.footer-col h4{ font-size: .95rem; margin-bottom: 16px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ color: var(--muted); font-size: .9rem; }
.footer-col a:hover{ color: var(--brand); }
.footer-address{ color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.footer-map{ border-radius: 14px; overflow: hidden; height: 160px; border: 1px solid var(--border); }
.footer-map iframe{ width: 100%; height: 100%; display: block; }
.footer-map-link{ display: inline-block; margin-top: 12px; font-size: .85rem; color: var(--brand); text-decoration: underline; }
.footer-bottom{ border-top: 1px solid var(--border); padding-top: 24px; text-align: center; font-size: .8rem; color: var(--muted); }

/* Reveal on scroll */
[data-reveal]{ opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* Staggered reveal for grid items */
.about-cards > [data-reveal]:nth-child(1),
.services-grid > [data-reveal]:nth-child(1),
.certs-grid > [data-reveal]:nth-child(1),
.testi-grid > [data-reveal]:nth-child(1),
.process-grid > [data-reveal]:nth-child(1),
.stats-strip > [data-reveal]:nth-child(1){ transition-delay: 0s; }
.about-cards > [data-reveal]:nth-child(2),
.services-grid > [data-reveal]:nth-child(2),
.certs-grid > [data-reveal]:nth-child(2),
.testi-grid > [data-reveal]:nth-child(2),
.process-grid > [data-reveal]:nth-child(2),
.stats-strip > [data-reveal]:nth-child(2){ transition-delay: .08s; }
.about-cards > [data-reveal]:nth-child(3),
.services-grid > [data-reveal]:nth-child(3),
.testi-grid > [data-reveal]:nth-child(3),
.process-grid > [data-reveal]:nth-child(3){ transition-delay: .16s; }
.about-cards > [data-reveal]:nth-child(4),
.testi-grid > [data-reveal]:nth-child(4),
.process-grid > [data-reveal]:nth-child(4){ transition-delay: .24s; }
.about-cards > [data-reveal]:nth-child(5),
.testi-grid > [data-reveal]:nth-child(5){ transition-delay: .32s; }
.about-cards > [data-reveal]:nth-child(6),
.testi-grid > [data-reveal]:nth-child(6){ transition-delay: .4s; }
.testi-grid > [data-reveal]:nth-child(7){ transition-delay: .48s; }
.testi-grid > [data-reveal]:nth-child(8){ transition-delay: .56s; }
.testi-grid > [data-reveal]:nth-child(9){ transition-delay: .64s; }
@media (prefers-reduced-motion: reduce){
  .about-cards > [data-reveal], .services-grid > [data-reveal], .certs-grid > [data-reveal],
  .testi-grid > [data-reveal], .process-grid > [data-reveal], .stats-strip > [data-reveal]{
    transition-delay: 0s;
  }
}

/* Hover lift for cards */
.about-card, .cert-card, .testi-card, .brand-card, .faq-item{
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.about-card:hover, .cert-card:hover, .testi-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.brand-card:hover{ transform: translateY(-3px); border-color: var(--brand); }
.faq-item:hover{ border-color: rgba(104,75,56,.5); }

/* Nav underline */
.main-nav a{ position: relative; }
.main-nav a::after{
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1px; background: var(--brand); transition: right .3s ease;
}
.main-nav a:hover::after{ right: 0; }

/* Logo hover */
.brand-logo img{ transition: transform .4s ease; }
.brand-logo:hover img{ transform: scale(1.08) rotate(-4deg); }

/* Header elevation on scroll */
.site-header{ transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled{ box-shadow: 0 8px 24px -12px rgba(73,46,27,.25); }

/* Floating WhatsApp gentle pulse */
.fab-wa{ position: relative; }
.fab-wa svg{ position: relative; z-index: 1; }
.fab-wa::before{
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--brand); opacity: .5;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse{
  0%{ transform: scale(1); opacity: .45; }
  100%{ transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){ .fab-wa::before{ animation: none; } }

/* Cover entrance animation */
.cover-content .script,
.cover-content .kicker,
.cover-actions{
  opacity: 0; transform: translateY(18px);
  animation: cover-in .9s ease forwards;
}
.cover-content .script{ animation-delay: .1s; }
.cover-content .kicker{ animation-delay: .35s; }
.cover-actions{ animation-delay: .55s; }
@keyframes cover-in{ to{ opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce){
  .cover-content .script, .cover-content .kicker, .cover-actions{
    opacity: 1; transform: none; animation: none;
  }
}

/* Floating actions */
.floating-actions{ position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.floating-actions a{
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-luxe);
}
.fab-ig{ background: var(--card); color: var(--brand); border: 1px solid var(--border); }
.fab-wa{ background: var(--brand); color: var(--brand-ink); }

/* Responsive */
@media (max-width: 980px){
  .main-nav{ display: none; }
  .menu-toggle{ display: flex; }
  .about-grid, .why-grid{ grid-template-columns: 1fr; }
  .hero-grid{ max-width: 100%; }
  .about-media{ position: static; }
  .services-grid{ grid-template-columns: 1fr; }
  .brands-grid{ grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
  .certs-grid{ grid-template-columns: 1fr; }
  .testi-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .why-list{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .section{ padding: 64px 0; }
  .cover{ min-height: 82vh; }
  .cover-content .script{ font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .cover-content .kicker{ margin-top: 12px; letter-spacing: .35em; }
  .cover-actions{ margin-top: 28px; gap: 12px; }
  .cover-tagline{ margin-top: 16px; font-size: .85rem; }
  .cover-services{ margin-top: 6px; font-size: .68rem; }
  .cover-wa-link{ margin-top: 10px; }
  .brands-grid{ grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .brand-card{ padding: 10px; border-radius: 12px; aspect-ratio: 1; }
  .ig-grid{
    display: flex; grid-template-columns: none; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: 12px; margin-left: -24px; margin-right: -24px; padding: 0 24px 8px;
  }
  .ig-item{ flex: 0 0 42%; scroll-snap-align: start; }
}

.site-header.nav-open .main-nav{
  display: flex; position: absolute; top: 84px; left: 0; right: 0;
  flex-direction: column; background: var(--bg); padding: 20px 24px; gap: 18px;
  border-bottom: 1px solid var(--border);
}

/* Páginas de servicio */
.service-content{ max-width: 720px; margin: 0 auto; }
.service-content p{ color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin: 0 0 20px; }
.service-content p:last-child{ margin-bottom: 0; }
.service-content .pending{ color: var(--gold); font-style: italic; font-size: .9rem; }
.service-gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-gallery-item{
  border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease; will-change: transform;
}
.service-gallery-item:hover{ box-shadow: var(--shadow-luxe); }
.service-gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-gallery-item:hover img{ transform: scale(1.08); }
.service-video{ max-width: 720px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.service-video video{ display: block; width: 100%; height: auto; background: #000; }
.related-services{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-service-card{
  display: block; text-align: center; padding: 24px;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
  transition: border-color .25s ease, transform .25s ease;
}
.related-service-card:hover{ border-color: var(--brand); transform: translateY(-3px); }
.related-service-card span{ display: block; font-family: var(--font-sans); font-size: .8rem; color: var(--muted); margin-top: 6px; }

@media (max-width: 980px){
  .service-gallery{ grid-template-columns: repeat(2, 1fr); }
  .related-services{ grid-template-columns: 1fr; }
}

/* Trabajos recientes */
.recent-work-grid{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.recent-work-item{ border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-soft); }
.recent-work-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recent-work-item:hover img{ transform: scale(1.06); }
@media (max-width: 980px){
  .recent-work-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  .recent-work-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
