/* ===================== EsteCape — shared styles ===================== */
:root {
  --cream: #FAF7F2;
  --cream-2: #F3ECE3;
  --ink: #2B2320;
  --gold: #C9A26B;
  --gold-dark: #B08D52;
  --powder: #E8D5CE;
  --powder-soft: #F4E7E1;
  --white: #FFFFFF;
  --muted: #8A7F76;
  --wa-green: #25D366;
  --shadow: 0 8px 30px rgba(43, 35, 32, 0.10);
  --shadow-sm: 0 4px 16px rgba(43, 35, 32, 0.06);
  --radius: 18px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 62px 0; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--gold); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--gold); }
.btn-ghost:hover { background: var(--gold); color: #fff; }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: #1fb959; transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- HEADER / NAV ---------- */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 107, 0.18);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.brand .name { font-family: 'Playfair Display', serif; font-size: 1.32rem; font-weight: 700; letter-spacing: 0.02em; }
.brand .name span { color: var(--gold-dark); }

.menu { display: none; }
.menu ul { list-style: none; display: flex; align-items: center; gap: 26px; }
.menu a { font-size: 0.96rem; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width 0.22s ease;
}
.menu a:hover::after, .menu a.active::after { width: 100%; }
.menu a.active { color: var(--gold-dark); }
.nav-actions { display: none; }

/* hamburger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; border: none; background: transparent; cursor: pointer; align-items: center;
}
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 70px 0 auto 0; z-index: 55;
  background: var(--cream); border-bottom: 1px solid rgba(201,162,107,0.2);
  box-shadow: var(--shadow); padding: 12px 20px 22px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu ul { list-style: none; }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.08rem; font-weight: 500; border-bottom: 1px solid rgba(201,162,107,0.14); }
.mobile-menu a.active { color: var(--gold-dark); }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative; padding: 56px 0 48px; text-align: center;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(232, 213, 206, 0.5) 0%, rgba(232, 213, 206, 0) 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(201, 162, 107, 0.14) 0%, rgba(201, 162, 107, 0) 60%),
    var(--cream);
}
.page-hero h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 52ch; margin: 0 auto; font-size: 1.05rem; }
.crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.crumb a:hover { color: var(--gold-dark); }

/* ---------- HOME HERO ---------- */
.hero {
  position: relative; padding: 48px 0 60px;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(232, 213, 206, 0.55) 0%, rgba(232, 213, 206, 0) 55%),
    radial-gradient(90% 80% at 3% 100%, rgba(201, 162, 107, 0.16) 0%, rgba(201, 162, 107, 0) 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-logo img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.hero-logo .tag { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white);
  border: 1px solid rgba(201, 162, 107, 0.35); color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 8vw, 3.3rem); margin-bottom: 18px; }
.hero p.lead { font-size: clamp(1.02rem, 3.5vw, 1.18rem); color: var(--muted); max-width: 44ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 3.4;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .float-card {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(250, 247, 242, 0.92); backdrop-filter: blur(4px);
  padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-visual .float-card small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }

/* ---------- SERVICE CARDS (image) ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.svc-card {
  background: var(--white); border: 1px solid rgba(201, 162, 107, 0.14);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .thumb img { transform: scale(1.05); }
.svc-card .body { padding: 22px 22px 26px; }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 0.96rem; }
.svc-card .more { display: inline-block; margin-top: 14px; color: var(--gold-dark); font-weight: 600; font-size: 0.92rem; }
.svc-card .more::after { content: " →"; }

/* ---------- SERVICE DETAIL ROWS ---------- */
.svc-row { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; margin-bottom: 56px; scroll-margin-top: 90px; }
.svc-row:last-child { margin-bottom: 0; }
.svc-row .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.svc-row .media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row .txt .kicker { color: var(--gold-dark); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.svc-row .txt h2 { font-size: clamp(1.5rem, 5vw, 2rem); margin: 8px 0 12px; }
.svc-row .txt p { color: var(--muted); margin-bottom: 14px; }
.svc-row .txt ul { list-style: none; margin-bottom: 20px; }
.svc-row .txt li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink); font-size: 0.97rem; }
.svc-row .txt li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- WHY ---------- */
.tint { background: linear-gradient(180deg, rgba(232,213,206,0.30) 0%, var(--cream) 100%); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.why-item .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--powder), rgba(201,162,107,0.3)); font-size: 1.35rem; }
.why-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { text-align: center; background: var(--white); border: 1px solid rgba(201,162,107,0.14); border-radius: var(--radius); padding: 26px 14px; box-shadow: var(--shadow-sm); }
.stat .num { font-family: 'Playfair Display', serif; font-size: 2.1rem; color: var(--gold-dark); line-height: 1; }
.stat .lbl { font-size: 0.88rem; color: var(--muted); margin-top: 6px; }

/* ---------- REVIEWS ---------- */
.reviews-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; margin: 0 -20px;
  -webkit-overflow-scrolling: touch;
}
.reviews-scroll::-webkit-scrollbar { height: 6px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: rgba(201,162,107,0.4); border-radius: 999px; }
.review { scroll-snap-align: center; background: var(--white); border: 1px solid rgba(201,162,107,0.14); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 1rem; }
.review p { font-size: 1rem; line-height: 1.6; margin-bottom: 16px; }
.review .who { font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-top: auto; }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery a { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(30,25,22,0.9); display: none; align-items: center; justify-content: center; padding: 20px; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb .close { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; background: none; border: none; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.about-grid .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; }
.about-grid .media img { width: 100%; height: 100%; object-fit: cover; }
.about-grid h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 14px; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.about-grid .sign { font-family: 'Playfair Display', serif; font-style: italic; color: var(--ink); font-size: 1.15rem; margin-top: 6px; }
.values { display: grid; grid-template-columns: 1fr; gap: 18px; }
.value { background: var(--white); border: 1px solid rgba(201,162,107,0.14); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.value .ic { font-size: 1.5rem; margin-bottom: 10px; }
.value h3 { font-size: 1.14rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.info-card, .form-card { background: var(--white); border: 1px solid rgba(201,162,107,0.14); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.info-card h3, .form-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.info-row .ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--powder), rgba(201,162,107,0.3)); font-size: 1.15rem; }
.info-row .lbl { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.info-row .val { font-weight: 500; }
.info-row .val a { color: var(--gold-dark); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid rgba(201,162,107,0.14); font-size: 0.95rem; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td.time { text-align: right; color: var(--muted); }
.hours-table tr.closed td { color: #B9AEA4; }

.form-card label { display: block; font-size: 0.86rem; font-weight: 500; margin-bottom: 6px; }
.form-card .field { margin-bottom: 16px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(201,162,107,0.35); border-radius: 12px;
  font-family: inherit; font-size: 0.98rem; background: var(--cream); color: var(--ink); min-height: 48px;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,107,0.15); }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(201,162,107,0.14); min-height: 300px; }
.map-box iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ---------- CTA BAND ---------- */
.cta-band { background: linear-gradient(135deg, var(--ink) 0%, #3a2f2a 100%); color: #F3ECE3; text-align: center; border-radius: var(--radius); padding: 46px 24px; }
.cta-band h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 12px; color: #fff; }
.cta-band p { color: #cdbfb4; margin-bottom: 24px; max-width: 46ch; margin-inline: auto; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: #E8E2DC; padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.footer-brand p { font-size: 0.94rem; color: #B8AEA6; line-height: 1.7; max-width: 34ch; }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 14px; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #C7BDB4; font-size: 0.94rem; }
.footer-col a:hover { color: var(--gold); }
.foot-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #8A8078; display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; }
.foot-bottom a { color: var(--gold); }

/* ---------- STICKY WHATSAPP ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 100; width: 58px; height: 58px; border-radius: 50%; background: var(--wa-green); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,0.45); transition: transform 0.2s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; }
  html { scroll-behavior: auto; }
  .svc-card .thumb img, .gallery img { transition: none; }
}

/* ===================== DESKTOP ===================== */
@media (min-width: 760px) {
  section { padding: 88px 0; }
  .menu { display: block; }
  .nav-actions { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .reviews-scroll { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .hero { padding: 76px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 1fr; }
  .svc-row { grid-template-columns: 1fr 1fr; gap: 44px; }
  .svc-row.rev .media { order: 2; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .wa-float { width: 62px; height: 62px; right: 28px; bottom: 28px; }
  .page-hero { padding: 72px 0 60px; }
}
@media (min-width: 1024px) {
  .gallery.big { grid-template-columns: repeat(3, 1fr); }
}
