/* =========================================================
   LAR 360° IMOBILIÁRIA — Design system
   Blueprint-technical meets warm home: hairline rules, drafting
   corner ticks and a compass motif, paired with real project
   photography. Blue + gold carry the palette; red is a spark.
   ========================================================= */

:root{
  --blue-900:#101E3A;
  --blue-700:#1F4B94;
  --blue-600:#2A5DAF;
  --red-600:#E21E24;
  --gold-500:#CE9A33;
  --gold-300:#E4C077;
  --ink:#12181F;
  --ink-soft:#4B5563;
  --surface:#F3F5F8;
  --surface-2:#E9ECF1;
  --line:#D8DCE3;
  --white:#FFFFFF;

  --font-display:'Archivo', 'Arial Narrow', sans-serif;
  --font-serif:'Fraunces', 'Georgia', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max:1180px;
  --gap:24px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{
  font-family:var(--font-serif);
  color:var(--blue-900);
  line-height:1.14;
  margin:0 0 .5em;
  font-weight:600;
  letter-spacing:-0.01em;
}
p{margin:0 0 1em;}
:focus-visible{outline:3px solid var(--gold-500);outline-offset:2px;}

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

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;scroll-behavior:auto !important;}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.6em;
  font-family:var(--font-display);font-weight:700;font-size:.82rem;
  letter-spacing:.05em;text-transform:uppercase;
  padding:1em 1.9em;border-radius:0;border:1.5px solid transparent;
  cursor:pointer;transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--blue-900);color:var(--white);border-color:var(--blue-900);}
.btn-primary:hover{background:var(--white);color:var(--blue-900);}
.btn-outline{background:transparent;color:var(--white);border-color:rgba(255,255,255,.6);}
.btn-outline:hover{border-color:var(--gold-300);color:var(--gold-300);}
.btn-line{background:transparent;color:var(--blue-900);border-color:var(--blue-900);}
.btn-line:hover{background:var(--blue-900);color:var(--white);}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s ease, height .25s ease;
}
/* The frosted background lives on a pseudo-element (not on .site-header
   itself) so that backdrop-filter never establishes a containing block
   on the header — that would otherwise trap the mobile nav's
   position:fixed panel inside the header's own small box. */
.site-header::before{
  content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;
  background:rgba(255,255,255,.97);
  backdrop-filter:saturate(180%) blur(6px);
}
.site-header.is-scrolled{box-shadow:0 6px 24px rgba(16,30,58,.09);}
.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  height:78px;transition:height .25s ease;
}
.site-header.is-scrolled .wrap{height:64px;}
.brand{display:flex;align-items:center;gap:.6em;}
.brand img{height:42px;width:auto;transition:height .25s ease;}
.site-header.is-scrolled .brand img{height:36px;}
.brand-name{font-family:var(--font-display);font-weight:800;color:var(--blue-900);font-size:1.05rem;display:none;}

.main-nav{display:flex;align-items:center;gap:2px;}
.main-nav a{
  font-family:var(--font-display);font-weight:600;font-size:.86rem;letter-spacing:.02em;
  color:var(--ink);padding:.6em .9em;position:relative;
}
.main-nav a::before{
  content:"";position:absolute;left:.9em;right:.9em;bottom:.4em;height:1px;background:var(--blue-900);
  transform:scaleX(0);transform-origin:center;transition:transform .25s ease;
}
.main-nav a:hover::before{transform:scaleX(1);}
.main-nav a:hover{color:var(--blue-700);}
.main-nav a[aria-current="page"]{color:var(--blue-700);}
.main-nav a[aria-current="page"]::after{
  content:"";position:absolute;left:.9em;right:.9em;bottom:.35em;height:2px;background:var(--red-600);
}
.main-nav-head,.main-nav-footer,.nav-close{display:none;}

.header-actions{display:flex;align-items:center;gap:14px;}
.lang-switch{
  display:flex;border:1.5px solid var(--blue-900);border-radius:2px;overflow:hidden;font-family:var(--font-display);font-weight:700;font-size:.78rem;
}
.lang-switch button{
  background:var(--white);color:var(--blue-900);border:0;padding:.45em .7em;cursor:pointer;transition:background .15s ease,color .15s ease;
}
.lang-switch button.active{background:var(--blue-900);color:var(--white);}

.nav-toggle{
  display:none;background:none;border:0;cursor:pointer;
  width:44px;height:44px;padding:0;flex-direction:column;align-items:center;justify-content:center;
  position:relative;z-index:70;
}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--blue-900);border-radius:1px;transition:transform .25s ease,opacity .2s ease,background .2s ease;}
.nav-toggle span+span{margin-top:5px;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav-scrim{
  display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(16,30,58,.45);z-index:55;
  opacity:0;transition:opacity .25s ease;
}
.nav-scrim.open{display:block;opacity:1;}

@media (max-width:960px){
  .brand-name{display:none;}
  .nav-toggle{display:flex;}
  .main-nav{
    position:fixed;top:0;right:0;bottom:0;
    width:380px;max-width:86vw;
    background:var(--white);
    flex-direction:column;align-items:stretch;
    padding:0;
    transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y:auto;z-index:65;box-shadow:-16px 0 40px rgba(16,30,58,.18);
  }
  .main-nav.open{transform:translateX(0);}
  .main-nav-head{
    display:flex;align-items:center;justify-content:space-between;
    padding:0 20px;height:78px;border-bottom:1px solid var(--line);flex:none;
  }
  .main-nav-head img{height:36px;}
  .nav-close{
    display:flex;align-items:center;justify-content:center;
    width:38px;height:38px;background:var(--surface);border:0;border-radius:50%;
    color:var(--blue-900);font-size:1.1rem;cursor:pointer;
  }
  .main-nav a{padding:1.05em 20px;border-bottom:1px solid var(--line);font-size:1.02rem;}
  .main-nav a[aria-current="page"]::after{left:20px;right:auto;width:22px;bottom:.9em;}
  .main-nav-footer{
    display:flex;flex-direction:column;gap:14px;padding:22px 20px 32px;margin-top:auto;
    background:var(--surface);
  }
  .main-nav-footer .nav-contact-link{
    display:flex;align-items:center;gap:10px;font-family:var(--font-body);font-weight:600;color:var(--blue-900);font-size:.95rem;
  }
  .main-nav-footer .nav-contact-link svg{width:18px;height:18px;color:var(--gold-500);flex:none;}
}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:var(--white);
  min-height:640px;
  min-height:min(92vh,820px);
  display:flex;align-items:flex-end;
  overflow:hidden;
}
.hero-media{
  position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;
  animation:hero-kenburns 22s ease-in-out infinite alternate;
  filter:saturate(1.04) contrast(1.04) brightness(.97);
  z-index:0;
}
@keyframes hero-kenburns{
  0%{transform:scale(1);}
  100%{transform:scale(1.09);}
}
.hero::before{
  content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;
  background:linear-gradient(180deg, rgba(10,18,36,.62) 0%, rgba(10,18,36,.66) 45%, rgba(10,18,36,.96) 100%);
}
.hero-inner{position:relative;z-index:2;padding:64px 0 72px;width:100%;}
.hero-inner h1,.hero-inner p.lead,.hero-tag{text-shadow:0 2px 16px rgba(0,0,0,.45);}
.hero-tag{
  font-family:var(--font-display);font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--gold-300);display:flex;align-items:center;gap:.7em;margin-bottom:1.3em;
}
.hero-tag .tick{width:22px;height:1px;background:var(--gold-300);display:inline-block;}
.hero h1{color:var(--white);font-weight:500;font-size:clamp(2.6rem,5.4vw,4.4rem);max-width:17ch;line-height:1.06;}
.hero p.lead{font-size:1.2rem;max-width:50ch;color:#E7ECF5;font-weight:300;}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:1.8em;}

.page-hero{
  min-height:auto;padding:0;
}
.page-hero::before{
  background:linear-gradient(180deg, rgba(10,18,36,.8) 0%, rgba(10,18,36,.92) 100%);
}
.page-hero .hero-media{animation-duration:26s;}
.page-hero .hero-inner{padding:56px 0 52px;}
.page-hero h1{font-size:clamp(2.1rem,4.4vw,3.1rem);max-width:22ch;font-weight:500;}

@media (max-width:640px){
  .wrap{padding:0 18px;}
  .hero{min-height:auto;}
  .hero-inner{padding:40px 0 36px;}
  .hero h1{font-size:clamp(1.7rem,7vw,2.2rem);max-width:none;}
  .hero p.lead{font-size:1rem;max-width:none;}
  .page-hero .hero-inner{padding:36px 0 32px;}
  .hero-ctas{flex-direction:column;align-items:stretch;}
  .hero-ctas .btn{justify-content:center;width:100%;}
  section{padding:56px 0;}
  .cta-banner .wrap{padding:44px 18px;flex-direction:column;align-items:flex-start;}
  .cta-banner .ctas{width:100%;}
  .cta-banner .ctas .btn{flex:1;justify-content:center;}
}

/* corner ticks - blueprint registration marks */
.tick-corner{position:absolute;z-index:2;width:22px;height:22px;pointer-events:none;}
.tick-corner::before,.tick-corner::after{content:"";position:absolute;background:rgba(255,255,255,.55);}
.tick-corner::before{width:100%;height:1.5px;top:50%;transform:translateY(-50%);}
.tick-corner::after{height:100%;width:1.5px;left:50%;transform:translateX(-50%);}
.tick-tl{top:18px;left:18px;}
.tick-tr{top:18px;right:18px;}

/* ---------- Sections ---------- */
section{padding:104px 0;}
.section-alt{background:var(--surface);}
.eyebrow-line{display:flex;align-items:center;gap:.7em;margin-bottom:.9em;color:var(--gold-500);}
.eyebrow-line .tick{width:22px;height:2px;background:var(--red-600);display:inline-block;}
.eyebrow-line span{font-family:var(--font-display);font-weight:700;font-size:.82rem;color:var(--blue-700);}

.section-head{max-width:640px;margin-bottom:48px;}
.section-head h2{font-size:clamp(1.7rem,3.2vw,2.3rem);}
.section-head p{color:var(--ink-soft);font-size:1.05rem;}

/* ---------- Intro / stats split ---------- */
.intro-split{display:grid;grid-template-columns:1.2fr .8fr;gap:56px;align-items:start;}
.intro-split .stat-list{border-left:2px solid var(--line);padding-left:32px;display:flex;flex-direction:column;gap:26px;}
.stat-item .num{font-family:var(--font-serif);font-size:2.6rem;font-weight:500;color:var(--blue-900);}
.stat-item .label{color:var(--ink-soft);font-size:.92rem;}
@media (max-width:840px){.intro-split{grid-template-columns:1fr;} .intro-split .stat-list{border-left:0;border-top:2px solid var(--line);padding-left:0;padding-top:24px;flex-direction:row;flex-wrap:wrap;gap:32px;}}

/* ---------- Services (asymmetric, blueprint corner ticks, no shadow cards) ---------- */
.services-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1px 32px;
}
.service-block{
  background:var(--white);padding:0 0 8px;position:relative;
  display:flex;flex-direction:column;min-height:260px;
  border-top:1px solid var(--line);padding-top:28px;
}
.service-block:nth-child(2){background:var(--white);color:inherit;}
.service-block:nth-child(2) h3{color:var(--blue-900);}
.service-block:nth-child(2) p{color:var(--ink-soft);}
.service-block:nth-child(2) .service-icon{color:var(--blue-700);}
.service-icon{width:34px;height:34px;color:var(--blue-700);margin-bottom:22px;}
.service-block h3{font-size:1.2rem;margin-bottom:.5em;}
.service-block p{color:var(--ink-soft);font-size:.95rem;flex:1;}
.service-block .more{font-family:var(--font-display);font-weight:700;font-size:.8rem;letter-spacing:.04em;color:var(--gold-500);margin-top:14px;}
@media (max-width:960px){.services-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:600px){.services-grid{grid-template-columns:1fr;}}

/* ---------- Project grid ---------- */
.project-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:36px;}
.project-filters button{
  font-family:var(--font-display);font-weight:600;font-size:.85rem;
  padding:.55em 1.1em;border:1.5px solid var(--line);background:var(--white);border-radius:2px;cursor:pointer;color:var(--ink-soft);
}
.project-filters button.active,.project-filters button:hover{border-color:var(--blue-700);color:var(--blue-700);}

.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.project-card{position:relative;overflow:hidden;background:var(--blue-900);transition:opacity .7s cubic-bezier(.2,.6,.2,1), transform .3s ease, box-shadow .3s ease;}
.project-card figure{margin:0;aspect-ratio:4/3;overflow:hidden;}
.project-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.project-card:hover img{transform:scale(1.06);}
.project-card figcaption{
  position:absolute;left:0;right:0;bottom:0;padding:22px 20px 18px;
  background:linear-gradient(0deg, rgba(8,15,30,.96) 0%, rgba(8,15,30,.78) 55%, rgba(8,15,30,0) 100%);
  color:var(--white);
}
.project-card h3,.project-card .project-tag{text-shadow:0 1px 8px rgba(0,0,0,.35);}
.project-tag{font-family:var(--font-display);font-size:.75rem;font-weight:700;color:var(--gold-300);letter-spacing:.03em;}
.project-card h3{color:var(--white);font-size:1.05rem;margin:.15em 0 .25em;}
.project-card p{color:#D6DCE7;font-size:.86rem;margin:0;}
@media (max-width:900px){.project-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.project-grid{grid-template-columns:1fr;}}
.project-card[hidden]{display:none;}

.home-project-strip{
  display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:260px 260px;gap:20px;
}
.home-project-strip .project-card:nth-child(1){grid-column:1;grid-row:1 / 3;}
.home-project-strip .project-card:nth-child(2){grid-column:2;grid-row:1;}
.home-project-strip .project-card:nth-child(3){grid-column:3;grid-row:1;}
.home-project-strip .project-card:nth-child(4){grid-column:2 / 4;grid-row:2;}
.home-project-strip .project-card figure{aspect-ratio:auto;height:100%;}
@media (max-width:900px){
  .home-project-strip{grid-template-columns:1fr 1fr;grid-template-rows:220px 220px 220px;}
  .home-project-strip .project-card:nth-child(1){grid-column:1 / 3;grid-row:1;}
  .home-project-strip .project-card:nth-child(2){grid-column:1;grid-row:2;}
  .home-project-strip .project-card:nth-child(3){grid-column:2;grid-row:2;}
  .home-project-strip .project-card:nth-child(4){grid-column:1 / 3;grid-row:3;}
}
@media (max-width:560px){
  .home-project-strip{grid-template-columns:1fr;grid-template-rows:none;}
  .home-project-strip .project-card{grid-column:1 !important;grid-row:auto !important;height:240px;}
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--blue-900);color:var(--white);
  background-size:cover;background-position:center;position:relative;
}
.cta-banner::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(100deg, rgba(8,15,30,.96) 25%, rgba(8,15,30,.8) 100%);}
.cta-banner .wrap{position:relative;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;padding:64px 24px;}
.cta-banner h2{color:var(--white);max-width:18ch;margin:0;text-shadow:0 1px 10px rgba(0,0,0,.3);}
.cta-banner .ctas{display:flex;gap:14px;flex-wrap:wrap;}

/* ---------- Footer ---------- */
.site-footer{background:var(--blue-900);color:#C6CEDD;padding:64px 0 28px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;}
.footer-grid h4{color:var(--white);font-size:.95rem;margin-bottom:1.1em;}
.footer-grid a{color:#C6CEDD;font-size:.92rem;}
.footer-grid li{margin-bottom:.7em;}
.footer-grid a:hover{color:var(--gold-300);}
.footer-brand img{height:40px;margin-bottom:14px;filter:brightness(0) invert(1);}
.footer-brand p{font-size:.88rem;color:#9FADC4;max-width:32ch;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);margin-top:48px;padding-top:24px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:.82rem;color:#8493AF;
}
@media (max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:480px){.footer-grid{grid-template-columns:1fr;}}

/* ---------- Generic content blocks (about/services/faq/properties) ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.split img{width:100%;height:100%;object-fit:cover;}
@media (max-width:840px){.split{grid-template-columns:1fr;}}

.mission-list{display:grid;gap:22px;}
.mission-item{display:flex;gap:18px;padding:22px 0;border-top:1px solid var(--line);}
.mission-item:last-child{border-bottom:1px solid var(--line);}
.mission-item .mark{font-family:var(--font-serif);font-weight:400;color:var(--gold-500);opacity:.55;font-size:2rem;line-height:1;min-width:2.2ch;}
.mission-item h3{font-size:1.05rem;margin-bottom:.3em;}
.mission-item p{color:var(--ink-soft);margin:0;}

.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px 32px;}
@media (max-width:840px){.value-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.value-grid{grid-template-columns:1fr;}}
.value-card{border-top:1px solid var(--line);padding:26px 0 6px;position:relative;}
.value-card h3{font-size:1.1rem;}
.value-card p{color:var(--ink-soft);font-size:.94rem;margin:0;}

.detail-row{display:grid;grid-template-columns:.9fr 1.6fr;gap:40px;padding:44px 0;border-top:1px solid var(--line);}
.detail-row:last-child{border-bottom:1px solid var(--line);}
.detail-row .label{font-family:var(--font-display);font-weight:700;color:var(--blue-700);font-size:1.15rem;}
.detail-row ul{display:grid;gap:14px;}
.detail-row li{padding-left:22px;position:relative;color:var(--ink-soft);}
.detail-row li::before{content:"";position:absolute;left:0;top:.55em;width:10px;height:2px;background:var(--gold-500);}
@media (max-width:720px){.detail-row{grid-template-columns:1fr;gap:14px;}}

.property-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px 28px;}
.property-card{background:var(--white);padding:28px 0 8px;border-top:1px solid var(--line);}
.property-card .icon{width:32px;height:32px;color:var(--blue-700);margin-bottom:18px;}
.property-card h3{font-size:1.05rem;}
.property-card p{color:var(--ink-soft);font-size:.92rem;margin:0;}
@media (max-width:900px){.property-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.property-grid{grid-template-columns:1fr;}}

.steps{counter-reset:step;display:grid;gap:0;}
.step{display:grid;grid-template-columns:70px 1fr;gap:22px;padding:26px 0;border-top:1px solid var(--line);}
.step:last-child{border-bottom:1px solid var(--line);}
.step .step-num{font-family:var(--font-serif);font-weight:500;font-size:1.8rem;color:var(--gold-500);}
.step h3{font-size:1.05rem;margin-bottom:.25em;}
.step p{color:var(--ink-soft);margin:0;}

.faq-list{border-top:1px solid var(--line);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-item summary{
  cursor:pointer;padding:22px 4px;font-family:var(--font-display);font-weight:700;color:var(--blue-900);
  display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;font-size:1.02rem;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:1.6rem;color:var(--gold-500);font-weight:400;line-height:1;flex:none;}
.faq-item[open] summary::after{content:"–";}
.faq-item p{padding:0 4px 24px;color:var(--ink-soft);max-width:70ch;}

.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}
.contact-info-list{display:grid;gap:26px;margin-top:28px;}
.contact-info-item{display:flex;gap:16px;}
.contact-info-item .icon{width:22px;height:22px;color:var(--gold-500);flex:none;margin-top:3px;}
.contact-info-item .label{font-family:var(--font-display);font-weight:700;font-size:.85rem;color:var(--blue-700);}
.contact-info-item a,.contact-info-item span.value{color:var(--ink);font-size:.98rem;}

.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:20px;}
.form-field label{font-family:var(--font-display);font-weight:700;font-size:.82rem;color:var(--blue-900);}
.form-field input,.form-field select,.form-field textarea{
  border:1.5px solid var(--line);padding:.85em 1em;font-family:var(--font-body);font-size:.98rem;border-radius:2px;background:var(--white);color:var(--ink);
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--blue-700);}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
@media (max-width:560px){.form-row{grid-template-columns:1fr;}}
.form-note{font-size:.85rem;color:var(--ink-soft);margin-top:10px;}
.map-embed{border:1px solid var(--line);margin-top:32px;}
.map-embed iframe{width:100%;height:280px;border:0;display:block;}

.skip-link{position:absolute;left:-999px;top:0;background:var(--blue-900);color:#fff;padding:12px 18px;z-index:100;}
.skip-link:focus{left:12px;top:12px;}

/* =========================================================
   Interactivity & premium finish
   ========================================================= */

/* ---------- Scroll reveal ---------- */
/* Hidden state only applies once html.js-reveal is set by an early inline
   script. If JS fails to run for any reason, content stays visible —
   the animation is a progressive enhancement, never a requirement. */
html.js-reveal .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);}
html.js-reveal .reveal.in-view{opacity:1;transform:translateY(0);}
.reveal-group .reveal:nth-child(1){transition-delay:0s;}
.reveal-group .reveal:nth-child(2){transition-delay:.08s;}
.reveal-group .reveal:nth-child(3){transition-delay:.16s;}
.reveal-group .reveal:nth-child(4){transition-delay:.24s;}
.reveal-group .reveal:nth-child(5){transition-delay:.32s;}
.reveal-group .reveal:nth-child(6){transition-delay:.4s;}
@media (prefers-reduced-motion: reduce){
  html.js-reveal .reveal{opacity:1;transform:none;}
}

/* ---------- Button shine (primary CTA, premium feel) ---------- */
.btn-primary{position:relative;overflow:hidden;}
.btn-primary::after{
  content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;
  background:linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform:skewX(-20deg);transition:left .55s ease;
}
.btn-primary:hover::after{left:130%;}
.btn:hover{transform:translateY(-1px);}
.btn-line:hover,.btn-outline:hover{transform:translateY(-1px);}

/* ---------- Premium trust strip ---------- */
.trust-strip{
  background:var(--white);border-bottom:1px solid var(--line);padding:0;
}
.trust-strip .wrap{
  display:grid;grid-template-columns:repeat(4,1fr);
}
.trust-item{
  display:flex;align-items:flex-start;gap:16px;padding:34px 22px;
  border-left:1px solid var(--line);
}
.trust-item:first-child{border-left:0;}
.trust-item .icon{width:22px;height:22px;color:var(--gold-500);flex:none;margin-top:2px;}
.trust-item .t-title{font-family:var(--font-serif);font-weight:500;font-size:1.02rem;color:var(--blue-900);}
.trust-item .t-sub{font-size:.84rem;color:var(--ink-soft);margin-top:.2em;}
@media (max-width:900px){.trust-strip .wrap{grid-template-columns:1fr 1fr;}.trust-item:nth-child(3){border-left:0;}}
@media (max-width:560px){.trust-strip .wrap{grid-template-columns:1fr;}.trust-item{border-left:0;border-top:1px solid var(--line);}.trust-item:first-child{border-top:0;}}

/* ---------- Premium card lift (services / values / properties) ---------- */
.service-block,.value-card,.property-card{transition:opacity .7s cubic-bezier(.2,.6,.2,1), transform .3s ease, box-shadow .3s ease, background .3s ease;}
.service-block:hover,.value-card:hover,.property-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(16,30,58,.12);
  z-index:2;position:relative;
}
.project-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(16,30,58,.28);}
.service-block::before{
  content:"";position:absolute;left:0;top:0;width:0;height:3px;background:var(--gold-500);transition:width .3s ease;
}
.service-block:hover::before{width:100%;}
.value-card{overflow:hidden;}

/* ---------- Animated counters ---------- */
.stat-item .num{display:flex;align-items:baseline;gap:2px;}

/* ---------- Floating mobile call button ---------- */
.mobile-fab{
  display:none;position:fixed;right:18px;bottom:18px;z-index:56;
  width:58px;height:58px;border-radius:50%;
  background:var(--gold-500);color:var(--blue-900);
  align-items:center;justify-content:center;
  box-shadow:0 10px 26px rgba(206,154,51,.45);
}
.mobile-fab svg{width:26px;height:26px;}
.mobile-fab::before{
  content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:var(--gold-500);
  animation:fab-pulse 2.4s ease-out infinite;z-index:-1;
}
@keyframes fab-pulse{
  0%{transform:scale(1);opacity:.55;}
  100%{transform:scale(1.9);opacity:0;}
}
@media (max-width:820px){.mobile-fab{display:flex;}}
@media (prefers-reduced-motion: reduce){.mobile-fab::before{animation:none;}}

/* ---------- Misc mobile polish ---------- */
@media (max-width:640px){
  .section-head{margin-bottom:32px;}
  .eyebrow-line span{font-size:.78rem;}
  .intro-split .stat-list{gap:22px;}
  .detail-row{padding:32px 0;}
  .contact-info-list{gap:20px;}
  .faq-item summary{padding:18px 2px;font-size:.98rem;}
}
