/* SAF CONSULTING — V12: focused visual art direction and responsive polish.
   Layered after original styles. No modification of content, CTA destinations or form logic. */

/* HERO: preserve the two-line composition on desktop, make the architectural
   photo recede behind the lettering rather than squeezing the H1. */
.hero{overflow:clip}
.hero-wash{
  background:
    linear-gradient(180deg,rgba(3,18,30,.48) 0%,rgba(3,18,30,0) 29%),
    linear-gradient(90deg,rgba(2,16,28,.98) 0%,rgba(3,20,33,.94) 22%,rgba(4,23,36,.76) 42%,rgba(5,25,38,.41) 57%,rgba(5,25,38,.11) 76%,transparent 92%),
    linear-gradient(0deg,rgba(3,19,32,.34),transparent 24%);
}
.hero-copy{position:relative;isolation:isolate;width:min(910px,72%)}
.hero-copy::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  top:clamp(132px,10vw,168px);left:-46px;right:-24px;height:330px;
  background:linear-gradient(90deg,rgba(3,19,32,.54),rgba(3,19,32,.37) 54%,rgba(3,19,32,0));
  filter:blur(24px);
}
.hero h1{font-size:clamp(58px,4.95vw,78px);line-height:1.08;letter-spacing:-.018em;max-width:none;text-shadow:0 3px 16px rgba(3,19,32,.3)}
.hero h1 span,.hero h1 em{display:block}
.hero-desc{text-shadow:0 1px 12px rgba(3,19,32,.35)}
@media(min-width:1100px){
  .hero h1 span,.hero h1 em{white-space:nowrap}
}
@media(min-width:1680px){
  .hero-copy{width:min(940px,72%)}
  .hero h1{font-size:clamp(72px,4.05vw,80px)}
}

/* Point of departure: editorial architectural panel, not a generic card. */
.sit2{background:linear-gradient(145deg,#efe9df 0%,#f3eee5 54%,#f7f4ed 100%)}
.sit2::before{content:"";position:absolute;right:-10%;top:-14%;width:min(45vw,610px);aspect-ratio:1;background:url('./assets/process-wireframe.svg') center/contain no-repeat;opacity:.075;pointer-events:none;z-index:-1}
.sit2-card{position:relative;background:linear-gradient(140deg,#faf7f0,#f3ede1);border:1px solid #d8cbb8;border-radius:0;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}
.sit2-card::after{content:"";position:absolute;right:0;top:0;width:31px;height:31px;clip-path:polygon(0 0,100% 100%,97% 100%,0 3%);background:#b9955d;pointer-events:none}
.sit2 .s-h{position:relative}
.sit2-row b{background:#f4e8d6;border-color:#bb9865;color:#885c2f}
.sit2-card>p{color:#42535d}

/* Service panels: preserve expressive rooflines on mobile and tablet.
   Increase numeral contrast by bringing the light gradient up subtly. */
.service-panel:nth-child(n+2)::after{background:linear-gradient(180deg,#faf7f100 8%,#faf7f10e 24%,#faf7f1b8 47%,#faf7f1f0 65%,#faf7f1 82%)}
.service-panel:nth-child(n+2) .service-id{color:#875926;text-shadow:0 1px 0 #fff5e6}
.service-panel[open] summary{filter:saturate(.94)}
.service-panel[open] .service-expanded{border-bottom:2px solid #c9a36c;box-shadow:inset 0 -18px 22px rgba(214,175,115,.08)}
@media(max-width:1099px){
  .service-panel{clip-path:polygon(0 0,100% 16px,100% 100%,0 100%)}
  .service-panel:nth-child(2n){clip-path:polygon(0 16px,100% 0,100% 100%,0 100%)}
  .service-panel:nth-child(3),.service-panel:nth-child(5){clip-path:polygon(0 0,100% 16px,100% 100%,0 100%)}
  .service-panel:first-child{clip-path:polygon(0 16px,100% 0,100% 100%,0 100%)}
  .service-panel[open] .service-expanded{max-width:100%}
}

/* Process: the upper cut edge now has a deliberate fine outline. */
.pr2-steps li::after{content:"";position:absolute;top:0;right:0;width:34px;height:34px;clip-path:polygon(0 0,6% 0,100% 94%,100% 100%);background:rgba(214,175,115,.56);pointer-events:none}
@media(hover:hover) and (pointer:fine){.pr2-steps li:hover::after{background:rgba(214,175,115,.9)}}

/* About: cleaned source asset removes the embedded second gold frame. */
.ab2-photo img{object-fit:cover}

/* FAQ: improve visual pacing and introduce restrained architectural grammar. */
.faq{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#f8f4ed 0%,#eee8de 100%)}
.faq::before{content:"";position:absolute;inset:auto -110px -210px auto;width:500px;height:500px;border:1px solid rgba(174,139,83,.17);transform:rotate(-15deg);pointer-events:none;z-index:-1}
.faq-layout{gap:clamp(44px,6vw,100px)}
.faq-layout>.reveal{position:relative;padding-top:34px}
.faq-layout>.reveal::before{content:"";position:absolute;top:0;left:0;width:76px;height:1px;background:#b38752}
.faq-items{border-top:1px solid #c9b99d}
.faq-items details{border-bottom-color:#d5c6b3;transition:background-color .2s}
.faq-items summary{padding-inline:18px;gap:18px}
.faq-items details[open]{background:rgba(250,247,239,.67)}
.faq-items details>p{padding-right:20px}
.faq-items summary>span{color:#9a6d36}

/* Contact: soften image join rather than redesign the existing photo composition. */
.contact-photo{left:44%;opacity:.82;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 21%,#000 44%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 21%,#000 44%)}
.contact-geometry{width:35%;height:21%;opacity:.45}
.contact-form{box-shadow:0 28px 65px rgba(2,14,24,.28);border-color:rgba(214,175,115,.37)}

/* Footer: richer conclusion, restored visible type, no changes to business facts. */
.footer{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#051723,#081f2e)}
.footer::before{content:"";position:absolute;z-index:-1;right:-80px;bottom:-170px;width:min(580px,55vw);aspect-ratio:1;background:url('./assets/process-wireframe.svg') center/contain no-repeat;opacity:.095;pointer-events:none}
.footer-top{padding-top:56px;padding-bottom:40px}
.footer-ident{gap:12px}
.footer-ident>div>span{letter-spacing:.12em;font-size:10px;margin-top:10px}
.company-record{gap:14px 30px;padding-top:30px;padding-bottom:26px}
.footer-legal{padding-top:23px;padding-bottom:23px}
.footer-bottom{padding-top:24px}

/* Tablet: maintain the desktop story, but leave the building visible. */
@media(max-width:1099px){
  .hero-copy{width:min(850px,92%)}
  .hero h1{font-size:clamp(54px,6.2vw,72px);text-wrap:balance}
  .hero-wash{background:linear-gradient(90deg,#031320f5 0%,#051826db 32%,#051826a0 57%,#05182624 92%),linear-gradient(180deg,#0313204d 0%,transparent 24%)}
  .hero-copy::before{top:112px;left:-28px;right:-22px;height:365px;filter:blur(19px)}
}

/* Mobile: a distinct composition with the same text/image separation. */
@media(max-width:600px){
  .hero{height:820px;min-height:820px}
  .hero-wash{background:linear-gradient(180deg,rgba(3,19,32,.89) 0%,rgba(3,19,32,.78) 38%,rgba(3,19,32,.52) 65%,rgba(3,19,32,.23) 83%,rgba(3,19,32,.64) 100%),linear-gradient(90deg,#0313209e,#03132024 90%)}
  .hero-copy{width:100%;padding-top:120px}
  .hero-copy::before{top:96px;left:-23px;right:-18px;height:460px;background:linear-gradient(90deg,rgba(3,19,32,.42),rgba(3,19,32,.1));filter:blur(15px)}
  .hero h1{font-size:clamp(39px,10.9vw,46px);letter-spacing:-.012em;line-height:1.07;max-width:100%;text-shadow:0 2px 15px rgba(2,14,25,.38)}
  .hero h1 span,.hero h1 em{white-space:normal}
  .sit2{padding:72px 0}
  .sit2-card{padding-top:31px}
  .sit2-card::after{width:24px;height:24px}
  .sit2::before{right:-44%;top:4%;width:90vw;opacity:.08}
  .service-panel,.service-panel:first-child{height:310px}
  .service-panel:nth-child(n+2)::after{background:linear-gradient(180deg,#faf7f100 6%,#faf7f110 25%,#faf7f1c8 45%,#faf7f1f3 63%,#faf7f1 80%)}
  .service-id{font-size:25px}
  .pr2-steps li::after{width:24px;height:24px}
  .faq{padding:75px 0}
  .faq-layout{gap:32px}
  .faq-layout>.reveal{padding-top:20px}
  .faq-items summary{padding:19px 12px;min-height:82px}
  .faq-items details>p{padding:0 15px 23px 36px}
  .contact-grid{gap:30px;padding:68px 0 72px}
  .contact-photo{left:8%;opacity:.5;mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.65) 35%,#000 70%);-webkit-mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.65) 35%,#000 70%)}
  .contact-geometry{display:none}
  .contact-form{padding:24px 21px;border-radius:8px}
  .contact-form h3{font-size:29px;margin-bottom:24px}
  .footer::before{width:100vw;right:-35vw;bottom:-140px;opacity:.085}
  .footer-ident>div>span{font-size:11px;letter-spacing:.06em}
  .footer-top{padding-top:46px}
  .company-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
  .company-record span:first-child{grid-column:1/-1}
  .company-record span,.company-record a{font-size:12px;overflow-wrap:anywhere}
  .footer-legal a,.footer-legal button{font-size:12px}
  .floating-cta{bottom:14px;width:auto}
  .cookie-banner{left:12px;right:12px;bottom:10px;width:auto;max-width:none;padding:14px;gap:10px}
  .cookie-body strong{font-size:21px}
  .cookie-body p{font-size:11px;line-height:1.52;margin-top:7px}
  .cookie-actions{gap:8px}
  .cookie-actions button{min-height:41px;padding:9px 7px;font-size:10px}
  .nav.is-open{background:#061b2b;border-bottom-color:#d6af7370;box-shadow:0 18px 42px #0008}
  .header:has(.nav.is-open)::before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(2,13,24,.73);pointer-events:auto}
}
@media(max-width:370px){
  .hero h1{font-size:40px}
  .hero-copy{padding-top:112px}
  .footer-ident>div>span{font-size:11px}
  .company-record{grid-template-columns:1fr 1fr;gap:11px 12px}
  .cookie-body strong{font-size:19px}
}

/* Finale: use a tighter architectural detail instead of repeating the entire facade. */
.contact-photo{background-image:url('./assets/architecture-1.webp');background-position:57% 48%;filter:saturate(.77) sepia(.06) brightness(.74)}

@media(min-width:1100px){
  /* Soft top vignette keeps blueprint strokes from competing with navigation. */
  .header::before{content:"";position:absolute;inset:0 0 auto;height:115px;background:linear-gradient(180deg,rgba(2,16,29,.48),rgba(2,16,29,0));pointer-events:none;z-index:-1}
}
