:root{
  --ink:#0b0b0d;
  --ink-2:#131316;
  --cream:#f3ede2;
  --cream-dim:#c9c2b5;
  --gold:#c9a86a;
  --gold-dim:#8f7a52;
  --accent-cool:#b3b0a8;
  --serif:'Playfair Display', Georgia, serif;
  --sans:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html{scroll-behavior:smooth;}

body{
  background:var(--ink);
  color:var(--cream);
  font-family:var(--sans);
  overflow-x:hidden;
  cursor:default;
}

img{display:block;max-width:100%;}

a{color:inherit;text-decoration:none;}

::selection{background:var(--gold);color:var(--ink);}

/* grain overlay */
.grain{
  position:fixed;inset:0;pointer-events:none;z-index:200;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* custom cursor (desktop only) */
.cursor-dot,.cursor-ring{
  position:fixed;top:0;left:0;pointer-events:none;z-index:300;
  border-radius:50%;transform:translate(-50%,-50%);
  will-change:transform;
}
.cursor-dot{width:6px;height:6px;background:var(--gold);}
.cursor-ring{width:34px;height:34px;border:1px solid var(--gold-dim);transition:transform .15s ease, opacity .2s ease;}
@media (hover:none), (pointer:coarse){
  .cursor-dot,.cursor-ring{display:none;}
}

/* header */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.6rem clamp(1.5rem,5vw,4rem);
  mix-blend-mode:difference;
}
.mark{font-family:var(--serif);letter-spacing:.08em;font-weight:600;}
.site-nav{display:flex;gap:2rem;align-items:center;font-size:.85rem;letter-spacing:.02em;}
.site-nav a{opacity:.85;transition:opacity .25s;}
.site-nav a:hover{opacity:1;}
.nav-cta{border:1px solid var(--cream);padding:.5rem 1.1rem;border-radius:999px;}

/* reveal animation base */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);}
[data-reveal].is-visible{opacity:1;transform:translateY(0);}

/* HERO (cinematic, full-bleed) */
.hero{
  position:relative;min-height:100svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;overflow:hidden;
  padding:8.5rem clamp(1.5rem,6vw,5rem) 4rem;
}
.hero-bg{position:absolute;inset:0;z-index:0;}
.hero-bg img{
  width:100%;height:100%;object-fit:cover;object-position:50% 38%;
  transform:scale(1.1);
  animation:kenburns 24s ease-in-out infinite alternate;
  filter:contrast(1.1) brightness(.85) saturate(1.05);
  will-change:transform;
}
@keyframes kenburns{
  0%{transform:scale(1.1) translate(0,0);}
  100%{transform:scale(1.2) translate(-1.5%,-2%);}
}
.hero-scrim{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(11,11,13,.4) 0%, rgba(11,11,13,.55) 42%, rgba(11,11,13,.94) 100%);
}
.hero .bg-grid{z-index:1;opacity:.8;}
.hero .orb{z-index:1;}
.hero-content{position:relative;z-index:2;max-width:800px;}
.eyebrow{
  font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);
  margin-bottom:1.2rem;font-weight:500;
}
.hero-title{
  font-family:var(--serif);font-weight:700;line-height:1.03;
  font-size:clamp(2.3rem,6vw,4.6rem);
}
.hero-title .line{
  display:block;overflow:hidden;
  background:linear-gradient(100deg, var(--gold) 0%, var(--accent-cool) 90%);
  background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  animation:shimmer 7s ease-in-out infinite;
}
.hero-title .accent{font-style:italic;font-weight:600;}
@keyframes shimmer{
  0%,100%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
}
.hero-rule{
  position:relative;width:min(260px,70%);height:1px;margin:1.7rem auto 1.9rem;
  background:linear-gradient(90deg, var(--gold) 0%, var(--gold-dim) 65%, transparent 100%);
}
.hero-rule::after{
  content:'';position:absolute;right:0;top:-3.5px;width:7px;height:7px;border-radius:50%;background:var(--gold);
}
.hero-sub{
  color:var(--cream-dim);max-width:520px;margin:0 auto;
  font-size:1.08rem;line-height:1.7;
}
.hero-actions{display:flex;gap:1rem;margin-top:2.3rem;flex-wrap:wrap;justify-content:center;}

.hero-stamp{
  position:absolute;top:7.6rem;right:clamp(1.2rem,5vw,3.5rem);z-index:2;
  width:104px;height:104px;border-radius:50%;
  border:1.5px solid var(--gold);color:var(--gold);
  display:flex;align-items:center;justify-content:center;text-align:center;
  font-size:.62rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;line-height:1.4;
  transform:rotate(-9deg);padding:.5rem;
  background:rgba(11,11,13,.45);backdrop-filter:blur(3px);
  animation:stamppulse 4.5s ease-in-out infinite;
}
@keyframes stamppulse{
  0%,100%{box-shadow:0 0 0 0 rgba(201,168,106,.25);}
  50%{box-shadow:0 0 26px 6px rgba(201,168,106,.16);}
}
@media (max-width:480px){
  .hero-stamp{width:78px;height:78px;font-size:.52rem;top:6.4rem;right:1rem;}
}
@media (prefers-reduced-motion: reduce){
  .hero-bg img,.hero-title .line,.hero-stamp{animation:none;}
}

.hero-ring{
  position:absolute;left:50%;bottom:-9%;z-index:0;
  width:82%;aspect-ratio:1/1;transform:translateX(-50%);
  border-radius:50%;border:1.5px solid transparent;
  background:linear-gradient(var(--ink),var(--ink)) padding-box,
             linear-gradient(120deg, var(--gold), var(--accent-cool)) border-box;
  opacity:.6;pointer-events:none;
  box-shadow:0 0 46px -8px rgba(179,176,168,.4), 0 0 30px -10px rgba(201,168,106,.3);
}

.hero-stamp{
  position:absolute;top:1.3rem;right:1.3rem;z-index:2;
  width:98px;height:98px;border-radius:50%;
  border:1.5px solid var(--gold);color:var(--gold);
  display:flex;align-items:center;justify-content:center;text-align:center;
  font-size:.6rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;line-height:1.4;
  transform:rotate(-9deg);padding:.5rem;
  background:rgba(11,11,13,.4);backdrop-filter:blur(2px);
}
.btn{
  padding:.85rem 1.8rem;border-radius:999px;font-size:.9rem;letter-spacing:.02em;font-weight:500;
  transition:transform .3s cubic-bezier(.22,1,.36,1), background .3s, color .3s, border-color .3s;
  display:inline-block;
}
.btn-primary{background:var(--gold);color:var(--ink);}
.btn-primary:hover{transform:translateY(-3px);background:#dcbb7e;}
.btn-ghost{border:1px solid rgba(243,237,226,.35);}
.btn-ghost:hover{transform:translateY(-3px);border-color:var(--gold);color:var(--gold);}

.scroll-cue{
  position:absolute;bottom:2.2rem;left:50%;transform:translateX(-50%);z-index:1;
  display:flex;flex-direction:column;align-items:center;gap:.6rem;
  color:var(--cream-dim);font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;
}
.scroll-cue span{
  width:1px;height:38px;background:linear-gradient(var(--gold), transparent);
  animation:scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{opacity:0;transform:scaleY(.4);transform-origin:top;}
  50%{opacity:1;transform:scaleY(1);transform-origin:top;}
  100%{opacity:0;transform:scaleY(.4);transform-origin:bottom;}
}

/* STATS */
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:2rem;padding:5rem clamp(1.5rem,6vw,5rem);
  background:var(--ink-2);border-top:1px solid rgba(243,237,226,.08);border-bottom:1px solid rgba(243,237,226,.08);
  text-align:center;
}
.stat-num{
  display:block;font-family:var(--serif);font-size:clamp(2.2rem,4.5vw,3.2rem);color:var(--gold);font-weight:700;
}
.stat p{margin-top:.6rem;color:var(--cream-dim);font-size:.85rem;letter-spacing:.01em;}

/* PILLARS */
.pillars{position:relative;padding:8rem clamp(1.5rem,6vw,5rem);overflow:hidden;}
.pillars-media{position:absolute;inset:0;z-index:0;}
.pillars-media img{width:100%;height:100%;object-fit:cover;object-position:60% 30%;opacity:.22;}
.pillars-scrim{position:absolute;inset:0;background:linear-gradient(90deg, var(--ink) 30%, rgba(11,11,13,.4) 100%);}
.pillars-content{position:relative;z-index:1;max-width:760px;}
.section-title{
  font-family:var(--serif);font-weight:700;font-size:clamp(1.8rem,4vw,2.8rem);
  line-height:1.15;margin-bottom:3.5rem;max-width:640px;
  background:linear-gradient(100deg, var(--gold) 0%, var(--accent-cool) 90%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  display:inline-block;
}
.pillar{
  display:flex;gap:1.8rem;padding:2.2rem 0;border-top:1px solid rgba(243,237,226,.12);
}
.pillar:last-child{border-bottom:1px solid rgba(243,237,226,.12);}
.pillar-num{font-family:var(--serif);color:var(--gold-dim);font-size:1.3rem;font-weight:600;flex-shrink:0;}
.pillar h3{font-family:var(--serif);font-size:1.3rem;margin-bottom:.6rem;font-weight:600;}
.pillar p{color:var(--cream-dim);line-height:1.65;font-size:.96rem;}

/* APPROACH / CARDS */
.approach{padding:7rem clamp(1.5rem,6vw,5rem);text-align:center;}
.approach .section-title{margin-left:auto;margin-right:auto;}
.cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;margin-top:3rem;text-align:left;
}
.card{
  background:var(--ink-2);border:1px solid rgba(243,237,226,.08);border-radius:14px;overflow:hidden;
  transition:transform .4s cubic-bezier(.22,1,.36,1), border-color .4s;
}
.card:hover{transform:translateY(-8px);border-color:var(--gold-dim);}
.card-img{height:220px;overflow:hidden;}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1);}
.card:hover .card-img img{transform:scale(1.08);}
.card h3{font-family:var(--serif);font-size:1.15rem;padding:1.4rem 1.4rem 0;font-weight:600;}
.card p{color:var(--cream-dim);font-size:.9rem;line-height:1.6;padding:.7rem 1.4rem 1.6rem;}

/* CLOSER */
.closer{
  position:relative;overflow:hidden;
  padding:9rem clamp(1.5rem,6vw,5rem);text-align:center;
  background:linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.closer-title{
  position:relative;z-index:1;
  font-family:var(--serif);font-weight:700;font-size:clamp(2.2rem,6vw,4.2rem);line-height:1.08;
  background:linear-gradient(100deg, var(--gold) 0%, var(--accent-cool) 90%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  display:inline-block;
}
.closer-sub{position:relative;z-index:1;color:var(--cream-dim);max-width:520px;margin:1.6rem auto 0;line-height:1.65;}
.closer .hero-actions{position:relative;z-index:1;justify-content:center;margin-top:2.6rem;}
.closer .eyebrow{position:relative;z-index:1;}

/* FOOTER */
.site-footer{
  display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
  padding:2.2rem clamp(1.5rem,6vw,5rem);font-size:.8rem;color:var(--cream-dim);
  border-top:1px solid rgba(243,237,226,.08);
}
.footer-links{display:flex;gap:1.6rem;}
.footer-links a{transition:color .25s;}
.footer-links a:hover{color:var(--gold);}

/* DECORATIVE BACKDROP (grid + floating orbs) */
.bg-grid{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(201,168,106,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,106,.08) 1px, transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(ellipse 80% 65% at 50% 30%, black 40%, transparent 100%);
  mask-image:radial-gradient(ellipse 80% 65% at 50% 30%, black 40%, transparent 100%);
}
.orb{
  position:absolute;z-index:0;border-radius:50%;filter:blur(60px);pointer-events:none;
  opacity:.35;animation:orbfloat 16s ease-in-out infinite alternate;
}
.orb-gold{background:radial-gradient(circle, var(--gold) 0%, transparent 72%);}
.orb-cool{background:radial-gradient(circle, var(--accent-cool) 0%, transparent 72%);}
@keyframes orbfloat{
  0%{transform:translate(0,0);}
  100%{transform:translate(26px,-20px);}
}
@media (prefers-reduced-motion: reduce){
  .orb{animation:none;}
}

/* RESPONSIVE */
@media (max-width:900px){
  .hero{padding-top:7.5rem;}
  .hero-inner{grid-template-columns:1fr;}
  .hero-media{order:-1;max-width:300px;margin:0 auto 1.5rem;}
  .hero-copy{max-width:100%;text-align:center;}
  .hero-rule{margin-left:auto;margin-right:auto;}
  .hero-sub{margin-left:auto;margin-right:auto;}
  .hero-actions{justify-content:center;}
  .stats{grid-template-columns:repeat(2,1fr);}
  .cards{grid-template-columns:1fr;}
  .pillars-media{opacity:.5;}
  .site-nav{gap:1rem;}
}
@media (max-width:560px){
  .stats{grid-template-columns:1fr 1fr;gap:2.2rem 1rem;padding:3.5rem 1.5rem;}
  .pillar{flex-direction:column;gap:.6rem;}
}

/* MOBILE NAV TOGGLE */
.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:38px;height:38px;background:none;border:none;cursor:pointer;z-index:110;
}
.nav-toggle span{width:22px;height:2px;background:var(--cream);transition:transform .3s ease,opacity .3s ease;}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.is-open span:nth-child(2){opacity:0;}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.site-nav a.is-active{color:var(--gold);}

@media (max-width:640px){
  .nav-toggle{display:flex;}
  .site-nav{
    position:fixed;inset:0;z-index:105;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.2rem;
    background:var(--ink);isolation:isolate;mix-blend-mode:normal;
    opacity:0;pointer-events:none;transform:translateY(-14px);
    transition:opacity .35s ease,transform .35s ease;
  }
  .site-nav.is-open{opacity:1;pointer-events:auto;transform:translateY(0);}
  .site-nav a{font-size:1.2rem;}
  .nav-cta{order:99;}
}

/* SUB-PAGE HEADER */
.page-header{position:relative;overflow:hidden;padding:10rem clamp(1.5rem,6vw,5rem) 3.5rem;text-align:center;}
.page-header .eyebrow{position:relative;z-index:1;display:flex;justify-content:center;}
.page-header .section-title{position:relative;z-index:1;margin:0 auto;max-width:720px;}
.page-header .hero-sub{position:relative;z-index:1;margin:1.4rem auto 0;}

/* TRUST STRIP (icons instead of counters) */
.stat-icon{display:block;margin:0 auto;width:30px;height:30px;color:var(--gold);}

/* SERVICE BLOCKS (servicios.html) */
.service-block{
  display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center;
  padding:5rem clamp(1.5rem,6vw,5rem);border-top:1px solid rgba(243,237,226,.08);
}
.service-block.reverse{direction:rtl;}
.service-block.reverse > *{direction:ltr;}
.service-eyebrow{font-family:var(--serif);color:var(--gold-dim);font-size:1.1rem;font-weight:600;margin-bottom:.6rem;}
.service-block h2{font-family:var(--serif);font-weight:700;font-size:clamp(1.7rem,3.2vw,2.3rem);margin-bottom:1.1rem;line-height:1.15;}
.service-block > div > p.lead-text{color:var(--cream-dim);line-height:1.7;margin-bottom:1.5rem;}
.service-list{list-style:none;display:flex;flex-direction:column;gap:.85rem;margin-bottom:1.8rem;}
.service-list li{display:flex;gap:.7rem;color:var(--cream-dim);font-size:.95rem;line-height:1.5;}
.service-list svg{flex-shrink:0;width:18px;height:18px;color:var(--gold);margin-top:.15rem;}
.service-media{border-radius:14px;overflow:hidden;aspect-ratio:4/5;}
.service-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(.1) contrast(1.05);}
.pillars-plain{padding:5rem clamp(1.5rem,6vw,5rem);max-width:760px;margin:0 auto;}
@media (max-width:800px){
  .service-block, .service-block.reverse{grid-template-columns:1fr;direction:ltr;padding:3.5rem 1.5rem;}
}

/* ABOUT PAGE */
.about-grid{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:.9fr 1.1fr;gap:4rem;align-items:center;
  padding:10rem clamp(1.5rem,6vw,5rem) 6rem;
}
.about-media-wrap{position:relative;z-index:1;}
.about-media{border-radius:14px;overflow:hidden;aspect-ratio:4/5;position:relative;z-index:1;}
.about-media img{width:100%;height:100%;object-fit:cover;object-position:50% 4%;filter:grayscale(.15) contrast(1.05);}
.about-content{position:relative;z-index:1;}
.about-content p{color:var(--cream-dim);line-height:1.75;margin-bottom:1.2rem;}
.about-values{list-style:none;display:flex;flex-direction:column;gap:1rem;margin-top:2rem;}
.about-values li{display:flex;gap:.8rem;}
.about-values svg{flex-shrink:0;width:20px;height:20px;color:var(--gold);margin-top:.2rem;}
@media (max-width:800px){.about-grid{grid-template-columns:1fr;padding:7.5rem 1.5rem 3rem;}}

/* CONTACT PAGE */
.contact-wrap{
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;
  padding:2rem clamp(1.5rem,6vw,5rem) 8rem;
}
.contact-list{list-style:none;display:flex;flex-direction:column;gap:1.7rem;}
.contact-list a,.contact-list .static-item{display:flex;gap:1rem;align-items:flex-start;color:inherit;transition:color .25s;}
.contact-list a:hover{color:var(--gold);}
.contact-list svg{flex-shrink:0;width:22px;height:22px;color:var(--gold);margin-top:.15rem;}
.contact-list strong{display:block;font-family:var(--serif);font-size:1.02rem;margin-bottom:.15rem;}
.contact-list span{color:var(--cream-dim);font-size:.92rem;}
.map-link{margin-top:.3rem;font-size:.85rem;text-decoration:underline;color:var(--gold-dim);display:inline-block;}

.contact-form{display:flex;flex-direction:column;gap:1.2rem;}
.form-field{display:flex;flex-direction:column;gap:.5rem;}
.form-field label{font-size:.85rem;color:var(--cream-dim);}
.form-field input,.form-field textarea{
  background:var(--ink-2);border:1px solid rgba(243,237,226,.15);border-radius:8px;
  padding:.85rem 1rem;color:var(--cream);font-family:var(--sans);font-size:.95rem;
}
.form-field input:focus,.form-field textarea:focus{outline:none;border-color:var(--gold);}
.form-field textarea{min-height:120px;resize:vertical;}
.req{color:var(--gold);}
.form-status{font-size:.85rem;min-height:1.2em;color:#e2a5a5;display:none;}
.form-status.is-visible{display:block;}
@media (max-width:800px){.contact-wrap{grid-template-columns:1fr;padding-bottom:5rem;}}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-fab{
  position:fixed;bottom:1.6rem;right:1.6rem;z-index:90;
  width:54px;height:54px;border-radius:50%;background:var(--gold);color:var(--ink);
  display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.4);
  transition:transform .3s ease;
}
.whatsapp-fab:hover{transform:translateY(-4px);}
.whatsapp-fab svg{width:24px;height:24px;}
