:root {
  --bg: #faf7f2;
  --bg-alt: #f2ece2;
  --ink: #221d17;
  --muted: #655c52;
  --line: #e4dacb;
  --accent: #8f6216;        /* gold text on light backgrounds (AA) */
  --accent-dark: #6f4b0f;
  --gold: #d8a650;          /* brand gold for fills */
  --gold-hi: #f2cd84;
  --night: #0d0b09;
  --night-2: #17130f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34,29,23,.06), 0 8px 28px rgba(34,29,23,.08);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Fraunces, Georgia, "Times New Roman", serif; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: .4rem; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; color: var(--accent); margin-bottom: .7rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.section-head { margin-bottom: 2.6rem; }
.section-head h2 { margin-bottom: .8rem; max-width: 22ch; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: #1a1208; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1a1208; text-decoration: none; font: inherit; font-weight: 600; padding: .8rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(216,166,80,.28); transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(216,166,80,.38); background: linear-gradient(180deg, #f7da9e, #e2b25e); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .92rem; box-shadow: none; }
.btn-ghost { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.7); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.btn-wa, .btn-wa:hover { background: #157a41; color: #fff; box-shadow: 0 6px 18px rgba(21,122,65,.3); }
.btn-wa:hover { background: #106535; }
.btn-block { display: flex; width: 100%; }

/* ---------- nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(13,11,9,.9); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(216,166,80,.22); color: #f4ead8; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: block; line-height: 0; }
.logo img { height: 62px; width: auto; }
.links { display: flex; gap: 1.6rem; align-items: center; }
.links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.links a:not(.btn):hover { color: var(--gold-hi); }
.nav-tel { display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-hi); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: #f4ead8; width: 44px; height: 44px; }

/* ---------- hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--night); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(13,11,9,.88) 0%, rgba(13,11,9,.62) 48%, rgba(13,11,9,.15) 100%),
  linear-gradient(0deg, rgba(13,11,9,.6) 0%, transparent 35%); }
.hero-content { position: relative; padding: 6rem 0 5rem; }
.hero .eyebrow { color: var(--gold-hi); }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); max-width: 15ch; margin-bottom: 1.3rem; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, #fff3d1, var(--gold) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #ece2d3; font-size: 1.15rem; max-width: 52ch; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2.1rem; }
.hero-trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.8rem; color: #e2d6c4; font-size: .93rem; }
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1208' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- stats */
.stats { background: var(--night); color: #fff; border-top: 1px solid rgba(216,166,80,.18); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2.4rem 0; }
.stats svg { color: var(--gold); margin-bottom: .6rem; }
.stats strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.22rem; color: var(--gold-hi); margin-bottom: .15rem; }
.stats span { font-size: .9rem; color: #cfc4b5; }

/* ---------- sections */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(34,29,23,.06), 0 18px 40px rgba(34,29,23,.14); }
.card-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.2rem 1.3rem 1.5rem; border-top: 3px solid var(--gold); }
.card p { color: var(--muted); font-size: .95rem; }

.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: -1rem 0 1.6rem; }
.filters button { font: inherit; font-size: .9rem; padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); transition: background .2s, color .2s; min-height: 40px; }
.filters button:hover { border-color: var(--gold); }
.filters button.active { background: var(--night); color: var(--gold-hi); border-color: var(--night); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: .8rem; }
.gallery a { position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd3c4; }
.gallery a[hidden] { display: none; }
.gallery .g-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(0deg, rgba(13,11,9,.78), transparent); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.gallery a:hover .g-cap, .gallery a:focus-visible .g-cap { opacity: 1; transform: none; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow); }
.steps span { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--gold-hi); font-family: Fraunces, Georgia, serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 1.15rem 2rem 1.15rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent); font-size: 1.2rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; }

/* ---------- contact */
.contact { background: radial-gradient(ellipse at 80% 0%, #2a2014 0%, var(--night) 60%); color: #f4ead8; }
.contact .eyebrow { color: var(--gold-hi); }
.contact .lead { color: #d3c7b6; }
.contact h2 { margin-bottom: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.contact-list { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid rgba(216,166,80,.2); padding-bottom: .9rem; }
.contact-list b { width: 100px; flex-shrink: 0; font-weight: 600; color: #fff; }
.contact-list a { color: var(--gold-hi); word-break: break-word; }
.cta-card { background: #fff; color: var(--ink); padding: 2.2rem; border-radius: 20px; display: grid; gap: 1rem; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.cta-card h3 { font-size: 1.6rem; font-weight: 700; margin: 0; }
.cta-card p { color: var(--muted); }
.cta-mail { text-align: center; color: var(--accent); font-size: .92rem; }

/* ---------- footer */
.footer { background: var(--night-2); color: #cfc4b5; padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer .logo img { height: 80px; margin-bottom: 1rem; }
.footer h2 { font-family: Inter, sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-hi); margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer a { color: #e9dfcf; text-decoration: none; word-break: break-word; }
.footer a:hover { color: var(--gold-hi); }
.footer-bottom { border-top: 1px solid rgba(216,166,80,.15); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .85rem; color: #a99d8c; }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,8,6,.94); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 8px; }
.lightbox button { position: absolute; top: 10px; right: 14px; width: 48px; height: 48px; font-size: 2.4rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }

/* ---------- floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #157a41; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .2s; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f9d55; animation: ping 2.4s ease-out 4s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- motion: hero entrance + reveal on scroll (only with JS) */
.js .hero-content > * { transform: translateY(26px); }
.js.ready .hero-content > * { animation: rise .9s var(--ease) var(--d, 0s) both; }
.js .hero-img { transform: scale(1.1); }
.js.ready .hero-img { animation: settle 2.6s var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(4n+2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(4n+3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4n+4), .steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- intro */
.intro { display: none; }
.intro-on body { overflow: hidden; }
.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; cursor: pointer;
  background: radial-gradient(ellipse at 50% 45%, #241b10 0%, #0d0b09 62%, #050403 100%);
  animation: intro-out 1s cubic-bezier(.75,0,.2,1) 3.5s forwards;
}
.intro.skip { animation: intro-out .6s cubic-bezier(.75,0,.2,1) 0s forwards !important; }
@keyframes intro-out {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); visibility: hidden; }
}
.intro-stage { width: min(560px, 84vw); animation: stage 4.5s cubic-bezier(.2,.7,.2,1) both; }
.intro.skip .intro-stage { animation: none; }
@keyframes stage {
  0% { transform: scale(.92); }
  70% { transform: scale(1); }
  100% { transform: translateY(-40px) scale(.9); }
}
.intro-logo { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.intro-glow { position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,205,132,.35) 0%, rgba(216,166,80,.12) 35%, transparent 70%);
  opacity: 0; animation: glow 2.6s ease-out 1.6s forwards; }
@keyframes glow { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1.15); } 100% { opacity: .55; transform: scale(1); } }
.intro-sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.intro-sparks span { position: absolute; width: var(--sz); height: var(--sz); border-radius: 50%; background: #f6d48c; box-shadow: 0 0 8px 2px rgba(246,212,140,.6); opacity: 0; animation: spark var(--dur) ease-out var(--dl) forwards; }
@keyframes spark { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-38vh); } }
.intro-skip { position: absolute; right: 20px; bottom: 20px; background: none; border: 1px solid rgba(242,205,132,.4); color: #f2cd84; font: 500 .85rem Inter, sans-serif; padding: .45rem .9rem; border-radius: 999px; cursor: pointer; opacity: 0; animation: fade .4s .6s forwards; }

/* logo parts */
.intro-logo .lg-arc path, .intro-logo .lg-roof path:last-child { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-logo .lg-arc path { animation: draw 1.1s cubic-bezier(.6,0,.2,1) .35s forwards; }
.intro-logo .lg-roof path:last-child { animation: draw .9s cubic-bezier(.6,0,.2,1) .15s forwards; }
.intro-logo .lg-roof path:first-child { opacity: 0; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: grow .4s ease-out .85s forwards; }
.intro-logo .lg-window rect { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .45s cubic-bezier(.3,1.6,.5,1) forwards; }
.intro-logo .lg-window rect:nth-child(1) { animation-delay: .8s; }
.intro-logo .lg-window rect:nth-child(2) { animation-delay: .88s; }
.intro-logo .lg-window rect:nth-child(3) { animation-delay: .96s; }
.intro-logo .lg-window rect:nth-child(4) { animation-delay: 1.04s; }
.intro-logo .lg-floor { opacity: 0; transform-box: fill-box; transform-origin: center; transform: perspective(600px) rotateX(70deg) scale(.4); animation: floor 1s cubic-bezier(.2,.8,.2,1) 1.05s forwards; }
.intro-logo .lg-letter { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(70px) scale(.6); filter: blur(6px); animation: letter .7s cubic-bezier(.2,1.4,.4,1) calc(1.45s + var(--i) * .08s) forwards; }
.intro-logo .lg-shadow { opacity: 0; animation: fade .5s ease-out 1.85s forwards; }
.intro-logo .lg-tagline { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scaleX(.6); letter-spacing: 0; animation: tag .8s cubic-bezier(.2,.8,.2,1) 2.05s forwards; }
.intro-logo .lg-bottom { opacity: 0; transform-box: fill-box; transform-origin: center top; transform: translateY(-20px); animation: rise .6s ease-out 2.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes floor { to { opacity: 1; transform: none; } }
@keyframes letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes tag { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }


/* ---------- responsive */
@media (max-width: 1060px) {
  .links { gap: 1.1rem; }
  .nav-tel span { display: none; }
}
@media (max-width: 900px) {
  .cards, .steps, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .menu-btn { display: block; }
  .logo img { height: 54px; }
  .links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--night); padding: 1.2rem 16px 1.6rem; border-bottom: 1px solid rgba(216,166,80,.25); gap: 1.1rem; }
  .links.open { display: flex; }
  .nav-tel span { display: inline; }
}
@media (max-width: 560px) {
  .cards, .steps, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 1.4rem; }
  .section { padding: 4.2rem 0; }
  .hero-content { padding: 4.5rem 0 3.5rem; }
  .hero-cta .btn { width: 100%; }
  .cta-card { padding: 1.6rem; }
  .gallery .g-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-content > *, .js .hero-img, .js .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .wa-float::after { display: none; }
  .card, .card-media img, .gallery img { transition: none; }
}
