:root {
  --off-white: #f5f1e9;
  --warm-white: #fbf9f5;
  --paper: #ece6dc;
  --charcoal: #1b1a18;
  --charcoal-soft: #25231f;
  --ink: #24221f;
  --muted: #716b63;
  --line: #d8d0c4;
  --terracotta: #b85b39;
  --terracotta-deep: #98462c;
  --sage: #7d8277;
  --white: #fff;
  --font: "IBM Plex Sans Arabic", "Tajawal", Arial, sans-serif;
  --shell: min(90vw, 1320px);
  --header-height: 78px;
  --section-space: clamp(5.5rem, 12vw, 10rem);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--ink); background: var(--warm-white); font-family: var(--font); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1, h2 { letter-spacing: -.045em; }
em { color: var(--terracotta); font-style: normal; font-weight: 500; }
::selection { color: var(--white); background: var(--terracotta); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link { position: fixed; z-index: 1000; top: 12px; right: 12px; padding: 10px 18px; color: var(--white); background: var(--charcoal); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.kicker { margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem; color: var(--terracotta); font-size: .73rem; font-weight: 600; letter-spacing: .08em; }
.kicker > span { width: 32px; height: 1px; background: currentColor; }
.kicker-light { color: #db9b7e; }
.section-head { max-width: 780px; margin-bottom: clamp(2.8rem, 7vw, 5rem); }
.section-head h2, .section-intro h2, .contact-copy h2 { font-size: clamp(2.6rem, 8vw, 6.6rem); font-weight: 500; }
.section-head > p:last-child { max-width: 560px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.section-head.light h2 { color: var(--white); }
.section-head.light > p:last-child { color: #bcb5ac; }
.button { min-height: 50px; padding: .75rem 1.45rem; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; border: 1px solid transparent; font-weight: 600; line-height: 1.3; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.button:hover { transform: translateY(-2px); }
.button-accent { color: var(--white); background: var(--terracotta); }
.button-accent:hover { background: var(--terracotta-deep); }
.button-dark { color: var(--white); background: var(--charcoal); }
.button-dark:hover { background: var(--terracotta-deep); }
.button-outline-light { color: var(--white); border-color: #716b63; }
.button-outline-light:hover { border-color: var(--terracotta); background: var(--terracotta); }

/* Header */
.site-header { height: var(--header-height); position: fixed; z-index: 100; top: 0; inset-inline: 0; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.16); transition: background .3s, color .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.menu-active { color: var(--ink); background: rgba(251,249,245,.96); box-shadow: 0 8px 28px rgba(35,31,26,.08); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; position: relative; z-index: 102; }
.brand img { width: 34px; height: 51px; object-fit: contain; filter: brightness(0) invert(1); transition: filter .3s; }
.site-header.scrolled .brand img, .site-header.menu-active .brand img { filter: none; }
.brand > span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 1.18rem; }
.brand small { margin-top: .28rem; font-size: .64rem; font-weight: 500; }
.menu-toggle { width: 44px; height: 44px; padding: 11px 8px; position: relative; z-index: 102; display: grid; align-content: center; gap: 6px; color: inherit; background: transparent; border: 0; }
.menu-toggle span { width: 27px; height: 1px; display: block; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { height: 100dvh; padding: calc(var(--header-height) + 2rem) 5vw 2rem; position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; color: var(--ink); background: var(--warm-white); opacity: 0; visibility: hidden; transform: translateY(-16px); transition: opacity .3s, visibility .3s, transform .3s; overflow-y: auto; }
.main-nav.open { opacity: 1; visibility: visible; transform: none; }
.main-nav > a:not(.button) { padding: .66rem 0; font-size: clamp(1.25rem, 7vw, 2rem); border-bottom: 1px solid var(--line); }
.main-nav .nav-cta { margin-top: 1.5rem; }

/* Hero */
.hero { min-height: 100svh; position: relative; display: grid; align-items: end; color: var(--white); background: var(--charcoal); overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; animation: hero-scale 1.4s var(--ease) both; }
.hero-shade { background: linear-gradient(90deg, rgba(19,18,16,.15), rgba(19,18,16,.58) 52%, rgba(19,18,16,.93)), linear-gradient(0deg, rgba(18,17,15,.7), transparent 52%); }
.hero-inner { min-height: 100svh; padding-block: calc(var(--header-height) + 5rem) 6rem; position: relative; z-index: 2; display: flex; align-items: flex-end; }
.hero-copy { max-width: 800px; }
.hero h1 { font-size: clamp(4rem, 17vw, 9.5rem); font-weight: 500; line-height: .94; }
.hero h1 em { color: #dc8766; }
.hero-lead { max-width: 700px; margin: 1.75rem 0 0; font-size: clamp(1.05rem, 3vw, 1.4rem); font-weight: 500; line-height: 1.75; }
.hero-detail { max-width: 650px; margin: .75rem 0 0; color: #d0cbc3; font-size: .92rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; }
.text-link { padding: .5rem 0; display: inline-flex; gap: .75rem; border-bottom: 1px solid rgba(255,255,255,.5); font-size: .9rem; }
.microcopy { margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: #c8c2b9; font-size: .74rem; }
.microcopy i { width: 3px; height: 3px; border-radius: 50%; background: var(--terracotta); }
.hero-mark { display: none; }
.scroll-cue { padding: 1rem; position: absolute; z-index: 3; bottom: 1.3rem; left: 5vw; display: none; align-items: center; gap: .75rem; color: #d2ccc3; font-size: .68rem; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 42px; background: #b7afa5; }

/* Trust */
.trust-strip { padding: 1.15rem 0; color: #d8d1c8; background: var(--charcoal); border-top: 1px solid #3b3833; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-list > span { min-height: 74px; padding: .75rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; border: 1px solid #3a3732; font-size: .72rem; }
.trust-list > span:last-child { grid-column: 1 / -1; }
.trust-list svg { width: 23px; color: #cc7959; }

/* About */
.about { background: var(--warm-white); }
.about-grid { display: grid; gap: 2.5rem; }
.section-intro h2 { max-width: 760px; }
.about-copy { max-width: 650px; }
.about-copy > p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); }
.design-equation { margin-top: 3rem; padding-block: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-block: 1px solid var(--line); }
.design-equation > div { display: flex; flex-direction: column; gap: .15rem; }
.design-equation small { color: var(--terracotta); font-size: .65rem; }
.design-equation b { font-size: clamp(.9rem, 3.5vw, 1.15rem); }
.design-equation > i { color: #a19a91; font-style: normal; }
.philosophy { margin-top: 5rem; padding: 2.5rem 0; display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--ink); border-block: 1px solid var(--line); }
.philosophy span { font-size: clamp(1.5rem, 6vw, 3.3rem); font-weight: 500; }
.philosophy i { height: 1px; flex: 1; background: var(--line); }
.philosophy b { color: var(--terracotta); font-size: 1.6rem; font-weight: 400; }

/* Services */
.services { color: var(--white); background: var(--charcoal); }
.services-list { border-top: 1px solid #49453f; }
.service { min-height: 170px; padding: 1.65rem 0; position: relative; display: grid; grid-template-columns: 38px 1fr; gap: .75rem 1rem; border-bottom: 1px solid #49453f; }
.service > span { color: #d67c59; font-size: .7rem; }
.service h3 { padding-inline-end: 3.5rem; color: #f7f3ec; font-size: clamp(1.15rem, 4vw, 1.55rem); font-weight: 500; }
.service p { grid-column: 2; margin: 0; color: #aca69e; font-size: .88rem; }
.service svg { width: 31px; position: absolute; top: 1.45rem; left: 0; color: #ca7656; }
.section-cta { margin-top: 3.5rem; padding-top: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; border-top: 1px solid #49453f; }
.section-cta p { max-width: 620px; margin: 0; color: #bdb6ad; }

/* Sectors */
.sectors { background: var(--off-white); }
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.sector-grid > span { min-height: 105px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: .7rem; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 1rem; transition: color .25s, background .25s; }
.sector-grid b { align-self: flex-end; color: var(--terracotta); font-size: .63rem; font-weight: 500; }
.sector-grid > span:hover { color: var(--white); background: var(--charcoal-soft); }

/* Why */
.why { color: var(--white); background: var(--charcoal-soft); }
.why-grid { display: grid; gap: 3rem; }
.why-image { min-height: 440px; position: relative; overflow: hidden; }
.why-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,15,13,.8), transparent 60%); }
.why-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: transform .7s var(--ease); }
.why-image:hover img { transform: scale(1.025); }
.why-image span { position: absolute; z-index: 1; right: 1.4rem; bottom: 1.4rem; font-size: clamp(1.35rem, 5vw, 2.2rem); font-weight: 500; line-height: 1.4; }
.why-list { border-top: 1px solid #4c4842; }
.why-list article { padding: 1.7rem 0; display: grid; grid-template-columns: 42px 1fr; gap: 1rem; border-bottom: 1px solid #4c4842; }
.why-list article > span { color: #d67c59; font-size: .7rem; }
.why-list h3 { color: #f7f3ec; font-size: clamp(1.25rem, 4vw, 1.65rem); font-weight: 500; }
.why-list p { margin: .7rem 0 0; color: #aaa49c; font-size: .9rem; }
.section-cta.dark { border-color: #4c4842; }

/* Process */
.process { background: var(--warm-white); }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { min-height: 105px; padding: 1.5rem 0; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); }
.timeline b { color: var(--terracotta); font-size: .72rem; font-weight: 500; }
.timeline span { font-size: clamp(1.1rem, 4vw, 1.4rem); font-weight: 500; }

/* Projects */
.projects { background: var(--paper); }
.section-head.split { max-width: none; }
.project-grid { display: grid; gap: 3.5rem 1.5rem; }
.project-media { aspect-ratio: 4 / 3; overflow: hidden; background: #d4cdc3; }
.project-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); transition: transform .65s var(--ease), filter .4s; }
.project:hover .project-media img { transform: scale(1.025); filter: saturate(1); }
.project-meta { padding-top: 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-top: 1px solid #bdb5aa; }
.project-meta h3 { font-size: 1.25rem; font-weight: 500; }
.project-meta p, .project-meta > span { margin: .25rem 0 0; color: var(--muted); font-size: .74rem; }
.project-meta > span { max-width: 45%; text-align: left; }

/* Stats */
.stats { padding-block: 2rem; color: var(--white); background: var(--terracotta); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-grid > div { min-height: 145px; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(255,255,255,.25); }
.stats strong { direction: ltr; font-size: clamp(2.6rem, 10vw, 5.5rem); font-weight: 500; line-height: 1; }
.stats span { margin-top: .7rem; font-size: .78rem; }

/* Testimonials */
.testimonials { background: var(--warm-white); }
.quote-grid { display: grid; border-top: 1px solid var(--line); }
.quote-grid figure { min-height: 300px; margin: 0; padding: 2rem 0; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 1px solid var(--line); }
.quote-grid blockquote { margin: 0; font-size: clamp(1.25rem, 4vw, 1.6rem); line-height: 1.8; }
.quote-grid figcaption { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .82rem; }
.quote-grid figcaption span { color: var(--terracotta); }

/* FAQ */
.faq { background: var(--off-white); }
.faq-grid { display: grid; gap: 2rem; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 82px; padding: 1.2rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { width: 17px; height: 17px; position: relative; flex: 0 0 17px; }
.accordion summary span::before, .accordion summary span::after { content: ""; width: 100%; height: 1px; position: absolute; top: 50%; background: var(--terracotta); transition: transform .25s; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { margin: -.2rem 0 1.6rem; padding-inline-end: 0; color: var(--muted); font-size: .92rem; }

/* Final CTA */
.final-cta { min-height: 680px; position: relative; display: grid; align-items: center; color: var(--white); overflow: hidden; background: var(--charcoal); }
.final-cta-image, .final-cta-shade { position: absolute; inset: 0; }
.final-cta-image img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-shade { background: linear-gradient(90deg, rgba(20,19,17,.18), rgba(20,19,17,.92)); }
.final-cta-inner { padding-block: 6rem; position: relative; z-index: 1; }
.final-cta h2 { max-width: 820px; font-size: clamp(3.5rem, 12vw, 8rem); font-weight: 500; }
.final-cta p:not(.kicker) { max-width: 570px; margin: 1.5rem 0 2rem; color: #d0c9c0; font-size: 1.05rem; }

/* Contact */
.contact { background: var(--warm-white); }
.contact-grid { display: grid; gap: 4rem; }
.contact-copy > p:not(.kicker) { max-width: 540px; margin: 1.5rem 0 0; color: var(--muted); }
.contact-lines { margin-top: 3rem; border-top: 1px solid var(--line); }
.contact-lines > a, .contact-lines > span { padding: 1.1rem 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.contact-lines small { color: var(--muted); font-size: .7rem; }
.contact-lines b { margin-top: .15rem; font-size: .95rem; font-weight: 500; }
.contact-form { padding: 1.5rem; display: grid; gap: 1.25rem; background: var(--off-white); border: 1px solid var(--line); }
.field { min-width: 0; }
.field label { margin-bottom: .45rem; display: block; font-size: .76rem; font-weight: 600; }
.field label b { color: var(--terracotta); }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #bfb7ab; border-radius: 0; outline: 0; background: transparent; }
.field input, .field select { height: 52px; }
.field textarea { padding-block: .7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); box-shadow: 0 1px var(--terracotta); }
.field input:user-invalid, .field select:user-invalid { border-color: #9d3527; }
.form-footer { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.form-footer p { min-height: 1.5rem; margin: 0; color: #9d3527; font-size: .78rem; }
.form-footer p.success { color: #38633e; }

/* Footer */
.site-footer { padding: 4rem 0 1.5rem; color: #d0cac2; background: var(--charcoal); }
.footer-top { display: grid; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 42px; height: 64px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--white); font-size: 1.4rem; }
.footer-brand span { font-size: .7rem; }
.footer-top > p { max-width: 440px; margin: 0; color: #9f9991; }
.footer-top nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; }
.footer-top nav a { padding-block: .35rem; font-size: .86rem; }
.footer-top nav a:hover, .footer-meta a:hover { color: #dc8766; }
.footer-meta { margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-direction: column; gap: .8rem; border-top: 1px solid #3d3934; color: #8f8981; font-size: .7rem; }
.footer-meta div { display: flex; gap: 1.3rem; }
.footer-meta b { font-weight: inherit; }

.floating-whatsapp { height: 50px; padding: 0 1rem; position: fixed; z-index: 90; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .55rem; color: var(--white); background: #276e50; box-shadow: 0 10px 28px rgba(17,41,30,.25); font-size: .8rem; font-weight: 600; transition: transform .25s, background .25s; }
.floating-whatsapp:hover { background: #1f5c42; transform: translateY(-3px); }
.floating-whatsapp svg { width: 24px; }
.floating-whatsapp.is-hidden { opacity: 0; visibility: hidden; transform: translateY(18px); pointer-events: none; }

.error-page { min-height: 100svh; display: grid; place-items: center; background: var(--off-white); }
.error-shell { width: min(90vw, 680px); padding: 5rem 1rem; text-align: center; }
.error-logo { width: 55px; height: 84px; margin: 0 auto 2rem; object-fit: contain; }
.error-shell > span { color: var(--terracotta); font-size: .75rem; letter-spacing: .15em; }
.error-shell h1 { margin: .75rem 0 1rem; font-size: clamp(2.7rem, 10vw, 5.5rem); font-weight: 500; }
.error-shell p { margin: 0 0 2rem; color: var(--muted); }

/* Motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-scale { from { opacity: .35; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }

@media (min-width: 600px) {
  .trust-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .trust-list > span:last-child { grid-column: auto; }
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-form { padding: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-full { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .trust-list > span { min-height: 90px; }
  .about-grid { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 5rem; }
  .section-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .sector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sector-grid > span { min-height: 145px; }
  .why-image { min-height: 620px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .project-wide { grid-column: 1 / -1; }
  .project-wide .project-media { aspect-ratio: 16 / 8; }
  .project-tall .project-media { aspect-ratio: 4 / 5; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-grid > div { min-height: 210px; }
  .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 1px solid var(--line); }
  .quote-grid figure { min-height: 390px; padding: 2rem; border-left: 1px solid var(--line); }
  .faq-grid { grid-template-columns: .75fr 1.25fr; gap: 6rem; }
  .footer-top { grid-template-columns: 1.2fr 1fr .8fr; align-items: start; }
  .footer-meta { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  :root { --header-height: 88px; }
  .hero-shade { background: linear-gradient(90deg, rgba(19,18,16,.08), rgba(19,18,16,.35) 50%, rgba(19,18,16,.92)); }
  .hero-copy { padding-inline-start: 5vw; }
  .hero-mark { position: absolute; bottom: 5.5rem; left: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; color: rgba(255,255,255,.6); font-size: .66rem; letter-spacing: .28em; }
  .hero-mark b { color: #dc8766; font-weight: 500; }
  .scroll-cue { display: flex; }
  .services-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 1px solid #49453f; }
  .service { padding: 2.2rem 2rem; border-left: 1px solid #49453f; }
  .service svg { top: 2rem; left: 2rem; }
  .why-grid { grid-template-columns: 1.05fr .95fr; gap: 6rem; align-items: center; }
  .timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-right: 1px solid var(--line); }
  .timeline li { min-height: 230px; padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border-left: 1px solid var(--line); }
  .timeline span { font-size: 1.05rem; }
  .section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
  .section-head.split > p { max-width: 390px; margin-bottom: .75rem; }
  .project-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .project { grid-column: span 5; }
  .project-wide { grid-column: span 7; }
  .project:nth-child(3) { margin-top: 8rem; grid-column: 2 / span 5; }
  .project:nth-child(4) { grid-column: 7 / span 6; }
  .project:nth-child(5) { grid-column: 3 / span 7; }
  .project-wide .project-media { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 7rem; align-items: start; }
}

@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .main-nav { width: auto; height: auto; padding: 0; position: static; display: flex; flex-direction: row; align-items: center; gap: clamp(.7rem, 1.25vw, 1.25rem); color: inherit; background: transparent; opacity: 1; visibility: visible; transform: none; overflow: visible; }
  .main-nav > a:not(.button) { padding: .4rem 0; position: relative; font-size: .72rem; border: 0; white-space: nowrap; }
  .main-nav > a:not(.button)::after { content: ""; height: 1px; position: absolute; right: 0; bottom: 0; left: 100%; background: var(--terracotta); transition: left .25s; }
  .main-nav > a:not(.button):hover::after, .main-nav > a.active:not(.button)::after { left: 0; }
  .main-nav .nav-cta { min-height: 43px; margin: 0 .4rem 0 0; padding-inline: 1rem; font-size: .75rem; }
}

@media (min-width: 1440px) {
  .hero-copy { padding-inline-start: 7vw; }
  .hero-lead { font-size: 1.35rem; }
}

@media (max-width: 374px) {
  :root { --shell: 92vw; }
  .hero h1 { font-size: 3.65rem; }
  .hero-inner { padding-bottom: 4.5rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list > span { padding-inline: .35rem; font-size: .66rem; }
  .sector-grid > span { padding: .85rem; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 50px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
