/* Shared brand, header overlay, footer, readable type, motion */

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:76px;
}
.brand-mark{
  width:42px;
  height:42px;
  object-fit:contain;
  flex:0 0 42px;
  display:block;
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
  gap:2px;
}
.brand-text strong{
  font:600 15px/1.15 "Playfair Display", Georgia, serif;
  letter-spacing:.01em;
  color:var(--ink);
}
.brand-text em{
  font:600 10px/1 Inter, Arial, sans-serif;
  font-style:normal;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold);
}

body > .site-header,
.site-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  z-index:9999 !important;
  height:88px;
  overflow:visible;
  margin:0;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(169,140,38,.16);
  transform:none !important;
  transition:background .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.nav-wrap,
.brand{
  height:88px;
  min-height:88px;
}
.site-header.transparent{
  background:transparent !important;
  border-bottom-color:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
.site-header.transparent::before,
.site-header.transparent::after{
  opacity:0;
}
.site-header.has-overlay{
  background:rgba(10,8,6,.92) !important;
  backdrop-filter:blur(20px) saturate(1.2);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);
  border-bottom:1px solid rgba(169,140,38,.4);
  box-shadow:0 12px 32px rgba(0,0,0,.28);
}
.site-header.has-overlay::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg, var(--gold), transparent 75%);
  pointer-events:none;
}
.site-header.transparent .brand-text strong,
.site-header.has-overlay .brand-text strong{
  color:#fff;
}
.site-header.transparent .site-nav a:not(.nav-cta),
.site-header.has-overlay .site-nav a:not(.nav-cta){
  color:rgba(255,255,255,.92) !important;
}
.site-header.menu-open .site-nav a:not(.nav-cta),
.site-header.transparent.menu-open .site-nav a:not(.nav-cta),
.site-header.has-overlay.menu-open .site-nav a:not(.nav-cta){
  color:#111 !important;
}
.site-header.menu-open .site-nav a.active:not(.nav-cta),
.site-header.transparent.menu-open .site-nav a.active:not(.nav-cta),
.site-header.has-overlay.menu-open .site-nav a.active:not(.nav-cta){
  color:var(--gold) !important;
}
.site-header.menu-open .site-nav a.nav-cta{
  color:#fff !important;
}
.site-header.transparent .site-nav a:not(.nav-cta):hover,
.site-header.transparent .site-nav a:not(.nav-cta).active,
.site-header.has-overlay .site-nav a:not(.nav-cta):hover,
.site-header.has-overlay .site-nav a:not(.nav-cta).active{
  color:var(--gold) !important;
  border-color:var(--gold);
}
.site-header.transparent .menu-toggle i,
.site-header.has-overlay .menu-toggle i{
  background:#fff;
}

/* Readable type scale — stop oversized wrapping titles */
.hero h1{
  font-size:clamp(42px,5.6vw,66px)!important;
  line-height:1.08!important;
  max-width:13ch;
  letter-spacing:-.03em;
}
.hero p{
  font-size:16px!important;
  line-height:1.7!important;
  color:rgba(255,255,255,.82)!important;
  max-width:46ch!important;
}
.hero .hero-inner,
.home .hero .hero-inner,
.services-hero .hero-inner{
  padding-top:148px !important;
}
.about-hero{
  padding-top:180px !important;
}
.about-hero h1{
  font-size:clamp(52px,6.8vw,82px)!important;
  line-height:.95!important;
  max-width:10ch;
  letter-spacing:-.04em;
}
.intro h2,
.feature-copy h2,
.section-heading h2,
.contact h2,
.about-intro h2,
.mission-section h2,
.about-contact h2{
  font-size:clamp(30px,4vw,46px)!important;
  line-height:1.12!important;
  max-width:16ch;
}
.section-heading{
  align-items:flex-end;
  gap:24px;
}
.section-heading>p{
  max-width:38ch!important;
  color:#5d5850;
  font-size:15px!important;
  line-height:1.7!important;
}
.services .section-heading>p,
.section-heading.light>p{
  color:rgba(255,255,255,.7)!important;
}

/* Inner page content cards */
.page-content{
  background:#f7f4ee;
}
.info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.info-card{
  background:#fff;
  border-radius:20px;
  padding:28px 26px;
  border:1px solid rgba(169,140,38,.14);
  box-shadow:0 10px 28px rgba(20,16,12,.04);
  transition:transform .25s ease, box-shadow .25s ease;
}
.info-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(20,16,12,.08);
}
.info-card h3{
  font:600 22px/1.2 "Playfair Display", Georgia, serif;
  margin:0 0 12px;
}
.info-card p,
.info-card li{
  font:400 15px/1.7 Inter, Arial, sans-serif;
  color:#524e48;
  margin:0 0 10px;
}
.info-card ul{
  margin:0;
  padding-left:18px;
}
.info-card h4{
  margin:16px 0 6px;
  font:600 13px/1.4 Inter, Arial, sans-serif;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--gold);
}
.cta-band{
  background:#111;
  color:#fff;
  padding:72px 0;
}
.cta-band h2{
  font:600 clamp(28px,4vw,42px)/1.15 "Playfair Display", Georgia, serif;
  margin:10px 0 14px;
  max-width:16ch;
}
.statement-inner blockquote{
  font-size:clamp(22px,3vw,34px)!important;
  line-height:1.25!important;
  max-width:28ch;
}

/* Footer */
.site-footer .brand{
  min-height:0;
}
.site-footer .footer-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr 1fr 1.1fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-footer .brand-text strong{color:#fff}
.site-footer .footer-brand>p{
  max-width:300px;
  color:rgba(255,255,255,.62);
  font-size:14px;
  line-height:1.75;
  margin:16px 0 22px;
}
.site-footer h4{
  color:var(--gold);
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin:8px 0 16px;
}
.site-footer a,
.site-footer p{
  display:block;
  color:rgba(255,255,255,.7);
  font-size:13px;
  line-height:1.75;
  margin:0 0 8px;
}
.site-footer a:hover{color:#e4c56a}
.site-footer .button{width:max-content;margin-top:4px}
.site-footer .footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:20px 0 28px;
  color:rgba(255,255,255,.42);
  font-size:12px;
}

/* Motion */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.visible{
  opacity:1;
  transform:none;
}
.hero-copy{
  animation:rise .9s ease both;
}
.hero-stat{
  animation:rise .9s .15s ease both;
}
@keyframes rise{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:none}
}
.service-card,
.info-card,
.chip,
.contact-panel{
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.locations>div{
  transition:transform .25s ease, color .25s ease;
}
.locations>div:hover{
  transform:translateY(-4px);
}
.locations>div:hover h3{color:var(--gold)}

/* Pinned page banner (hero), not the navbar */
.hero.is-pinned{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  height:100vh !important;
  min-height:100vh !important;
  z-index:1 !important;
  margin:0;
}
.page-stack{
  position:relative;
  z-index:6;
  margin-top:100vh;
  background:#f7f4ee;
}
.site-footer{
  position:relative;
  z-index:6;
}

@media (max-width:900px){
  .info-grid,
  .site-footer .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .site-header,
  .nav-wrap,
  .brand{
    height:72px;
    min-height:72px;
  }
  .hero .hero-inner,
  .home .hero .hero-inner,
  .services-hero .hero-inner{
    padding-top:120px !important;
  }
  .about-hero{
    padding-top:140px !important;
  }
  .brand{min-height:72px;gap:10px}
  .brand-text strong{font-size:13px}
  .info-grid,
  .site-footer .footer-grid{grid-template-columns:1fr}
  .hero h1{max-width:none}
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  z-index:10001;
}
.menu-toggle i{
  display:block;
  width:22px;
  height:2px;
  background:var(--ink);
  transition:transform .2s ease, opacity .2s ease;
}
.site-header.menu-open .menu-toggle i:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}
.site-header.menu-open .menu-toggle i:nth-child(2){
  opacity:0;
}
.site-header.menu-open .menu-toggle i:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

@media (max-width:980px){
  .menu-toggle{
    display:flex !important;
  }
  .site-nav{
    display:none !important;
    position:absolute !important;
    top:100%;
    left:0;
    right:0;
    height:auto !important;
    min-height:0 !important;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px 20px 22px;
    background:#fff !important;
    border-bottom:1px solid rgba(169,140,38,.2);
    box-shadow:0 18px 40px rgba(0,0,0,.16);
    z-index:10000;
  }
  .site-nav.open{
    display:flex !important;
  }
  .site-nav > a{
    height:auto !important;
    min-height:48px;
    display:flex !important;
    align-items:center;
    color:#111 !important;
    border-bottom:1px solid rgba(0,0,0,.06) !important;
    padding:12px 0 !important;
  }
  .site-header.menu-open .site-nav a:not(.nav-cta),
  .site-header.transparent.menu-open .site-nav a:not(.nav-cta),
  .site-header.has-overlay.menu-open .site-nav a:not(.nav-cta){
    color:#111 !important;
  }
  .site-nav > a.active,
  .site-header.menu-open .site-nav a.active:not(.nav-cta){
    color:var(--gold) !important;
    border-bottom-color:rgba(169,140,38,.25) !important;
  }
  .site-nav > a.nav-cta{
    justify-content:center;
    margin-top:14px;
    color:#fff !important;
    border-bottom:0 !important;
  }
  .site-header.menu-open{
    background:#fff !important;
    border-bottom:1px solid rgba(169,140,38,.2);
  }
  .site-header.menu-open .brand-text strong{
    color:var(--ink) !important;
  }
  .site-header.menu-open .menu-toggle i{
    background:var(--ink) !important;
  }
  .hero .hero-inner .hero-copy{
    max-width:100%;
  }
  .hero-stat{
    display:none;
  }
  .intro-grid,
  .feature-grid,
  .contact-box,
  .about-hero-grid,
  .about-intro-grid,
  .mission-grid,
  .about-contact-box,
  .contact-stage-inner,
  .contact-map-grid{
    grid-template-columns:1fr !important;
    gap:28px;
  }
  .service-grid{
    grid-template-columns:1fr !important;
  }
  .locations{
    grid-template-columns:1fr 1fr !important;
  }
}

@media (max-width:640px){
  .shell{
    width:calc(100% - 32px);
  }
  .brand-text strong{
    font-size:13px;
  }
  .brand-text em{
    font-size:9px;
  }
  .hero h1,
  .contact-welcome h1,
  .about-hero h1{
    font-size:clamp(32px,10vw,44px) !important;
    max-width:none;
  }
  .actions{
    width:100%;
  }
  .hero .actions .button,
  .cta-band .button{
    width:100%;
    justify-content:center;
  }
  .locations{
    grid-template-columns:1fr !important;
  }
  .locations > div,
  .locations > div:not(:first-child){
    padding:18px 0;
    border-right:0;
  }
  .footer-grid,
  .site-footer .footer-grid{
    grid-template-columns:1fr !important;
    gap:28px;
  }
  .contact-panel .form-row{
    grid-template-columns:1fr;
  }
  .job-card,
  .quote-form,
  .contact-panel{
    padding-left:16px;
    padding-right:16px;
  }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
  background-color: #20ba5a;
}
.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}
.floating-whatsapp svg path {
  fill: currentColor;
}

