:root {
  --green-950: #071a12;
  --green-900: #0b2b1f;
  --green-800: #123c2c;
  --gold: #d5ad50;
  --gold-soft: #ead395;
  --ivory: #f7f4eb;
  --paper: #eee9dd;
  --ink: #14251d;
  --muted: #6e756f;
  --line: rgba(20, 37, 29, .16);
  --font-ar: "Tajawal", Tahoma, Arial, sans-serif;
  --font-en: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-ar); font-size: 17px; line-height: 1.7; overflow-x: hidden; }
html[data-lang="en"] body { font-family: var(--font-en); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.lang-en { display: none !important; }
html[data-lang="en"] .lang-ar { display: none !important; }
html[data-lang="en"] .lang-en { display: inline !important; }
html[data-lang="en"] p.lang-en, html[data-lang="en"] small.lang-en, html[data-lang="en"] strong.lang-en { display: block !important; }

.skip-link { position: fixed; inset-block-start: 0; inset-inline-start: 16px; z-index: 1000; padding: 10px 16px; color: var(--green-950); background: var(--gold); transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 84px; padding: 12px clamp(20px, 5vw, 76px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .3s, box-shadow .3s, min-height .3s; }
.site-header.scrolled { min-height: 70px; background: rgba(7, 26, 18, .96); box-shadow: 0 8px 30px rgba(0,0,0,.13); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.brand img { width: 165px; height: auto; object-fit: contain; }
.site-nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); font-size: .88rem; }
.site-nav a { position: relative; color: rgba(255,255,255,.84); transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -7px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-toggle { border: 0; background: transparent; color: var(--gold-soft); padding: 9px; cursor: pointer; font-size: .78rem; font-weight: 700; }
.header-cta { padding: 10px 17px; border: 1px solid rgba(213,173,80,.72); color: #fff; font-size: .82rem; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--gold); color: var(--green-950); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: #fff; transition: transform .25s, opacity .25s; }

.hero { min-height: 100svh; padding: 130px clamp(24px, 7vw, 110px) 70px; color: #fff; background: var(--green-950); display: grid; grid-template-columns: minmax(0, .9fr) minmax(400px, .72fr); align-items: center; gap: clamp(45px, 8vw, 130px); position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 58vw; height: 58vw; max-width: 850px; max-height: 850px; border: 1px solid rgba(213,173,80,.09); border-radius: 50%; inset-inline-start: -30vw; top: 6vh; z-index: -1; }
.hero::after { content: "MM FRATELLI"; position: absolute; inset-inline-start: 3vw; bottom: -2vw; color: rgba(255,255,255,.025); font: 700 clamp(5rem, 13vw, 12rem)/.8 var(--font-en); letter-spacing: .03em; z-index: -1; direction: ltr; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow > span:first-child { display: block; width: 42px; height: 1px; background: currentColor; flex: 0 0 auto; }
.hero h1, .section-heading h2, .process-intro h2, .about-copy h2, .warranty-title h2, .quote-copy h2, .collection-copy h3, .dialog-copy h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.8rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.hero h1 em { color: var(--gold-soft); font-style: normal; font-weight: 400; }
.hero-lead { max-width: 670px; margin: 28px 0 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.25vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 24px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); border-color: var(--gold); color: var(--green-950); font-weight: 700; }
.button-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.button-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.hero-signature { margin-top: clamp(50px, 8vh, 90px); padding-inline-start: 18px; border-inline-start: 1px solid var(--gold); color: rgba(255,255,255,.62); font-size: .86rem; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 520px); }
.hero-photo { margin: 0; aspect-ratio: .76; overflow: hidden; position: relative; background: var(--green-800); }
.hero-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); background: linear-gradient(180deg, transparent 64%, rgba(3,12,8,.38)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; filter: saturate(.9) contrast(1.03); }
.hero-outline { position: absolute; inset: 24px -24px -24px 24px; border: 1px solid rgba(213,173,80,.35); z-index: -1; }
.hero-project-tag { position: absolute; inset-inline-start: -58px; bottom: 56px; display: flex; align-items: center; gap: 15px; padding: 15px 20px; background: rgba(7,26,18,.93); border-inline-start: 2px solid var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.hero-project-tag .tag-number { font: 500 1.85rem/1 var(--font-en); color: var(--gold); }
.hero-project-tag > span:last-child { display: flex; flex-direction: column; }
.hero-project-tag b { font-size: .88rem; }
.hero-project-tag small { color: rgba(255,255,255,.57); font-size: .7rem; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); color: #fff; background: var(--green-800); border-top: 1px solid rgba(213,173,80,.16); }
.trust-strip > div { min-height: 125px; padding: 24px clamp(18px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; border-inline-end: 1px solid rgba(255,255,255,.1); }
.trust-strip strong { color: var(--gold-soft); font: 600 1.55rem/1 var(--font-en); }
.trust-strip span { margin-top: 11px; color: rgba(255,255,255,.67); font-size: .83rem; }

.section { padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 110px); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, .48fr); align-items: end; gap: 70px; margin-bottom: 60px; }
.section-heading h2, .process-intro h2, .about-copy h2, .warranty-title h2, .quote-copy h2 { font-size: clamp(2.35rem, 4.5vw, 4.8rem); }
.section-heading > p { margin: 0 0 10px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card { grid-column: span 4; min-height: 530px; padding: 0; border: 0; background: #12251c; position: relative; overflow: hidden; text-align: start; cursor: pointer; }
.project-card-featured { grid-column: span 7; min-height: 670px; }
.project-card-featured + .project-card { grid-column: span 5; min-height: 670px; }
.project-card-wide { grid-column: span 8; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .4s; }
.project-card[data-project="mashreq"] img { object-position: center 38%; }
.project-card[data-project="shorouk"] img { object-position: center 55%; }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,10,.05) 35%, rgba(5,15,10,.9) 100%); }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.035); filter: saturate(1.05); }
.project-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.project-index { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; font: 500 .75rem var(--font-en); }
.project-info { position: absolute; inset: auto 0 0; padding: 28px; display: grid; grid-template-columns: 1fr auto; align-items: end; color: #fff; }
.project-info small, .project-info strong { grid-column: 1; display: block; }
.project-info small { margin-bottom: 7px; color: var(--gold-soft); font-size: .76rem; }
.project-info strong { font-size: clamp(1.1rem, 1.55vw, 1.45rem); line-height: 1.35; }
.project-info i { grid-column: 2; grid-row: 1 / span 2; align-self: end; font: normal 1.7rem var(--font-en); color: var(--gold-soft); }

.collections-section { background: var(--paper); padding: 0 clamp(24px, 7vw, 110px) clamp(90px, 10vw, 150px); }
.collection-card { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); background: #fff; }
.collection-card + .collection-card { margin-top: 28px; }
.collection-card-reverse { grid-template-columns: minmax(340px, .85fr) minmax(0, 1.15fr); }
.collection-card-reverse img { grid-column: 2; grid-row: 1; }
.collection-card-reverse .collection-copy { grid-column: 1; grid-row: 1; }
.collection-card > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.collection-card:first-child > img { object-position: 62% center; }
.collection-copy { padding: clamp(42px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.collection-copy h3 { font-size: clamp(2.1rem, 3.7vw, 4.15rem); }
.collection-copy > p:not(.eyebrow) { margin: 25px 0 0; color: var(--muted); }
.text-link { width: fit-content; margin-top: 30px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--gold); background: none; cursor: pointer; font-weight: 700; }
.text-link b { margin-inline-start: 18px; color: var(--gold); }

.services-section { background: var(--green-900); color: #fff; }
.section-heading-light > p { color: rgba(255,255,255,.58); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.service-card { min-height: 310px; padding: 34px 28px; border-inline-end: 1px solid rgba(255,255,255,.13); }
.service-card > span { color: var(--gold); font: 500 .78rem var(--font-en); }
.service-card h3 { margin: 80px 0 14px; font-size: 1.28rem; }
.service-card p { margin: 0; color: rgba(255,255,255,.56); font-size: .92rem; }

.process-section { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(500px, 1.25fr); gap: clamp(55px, 10vw, 150px); background: var(--ivory); }
.process-intro { align-self: start; position: sticky; top: 120px; }
.process-intro > p:last-child { max-width: 500px; color: var(--muted); }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { min-height: 125px; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--gold); font: 500 .84rem var(--font-en); }
.process-list li div { display: flex; flex-direction: column; }
.process-list strong { font-size: 1.08rem; }
.process-list small { color: var(--muted); }

.about-section { min-height: 670px; display: grid; grid-template-columns: 1fr 1fr; background: var(--green-950); color: #fff; }
.about-mark { min-height: 670px; padding: 60px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 45%, #164b36 0, #0b2b1f 42%, #071a12 78%); }
.about-mark::before, .about-mark::after { content: ""; position: absolute; border: 1px solid rgba(213,173,80,.16); border-radius: 50%; }
.about-mark::before { width: 60%; aspect-ratio: 1; }
.about-mark::after { width: 82%; aspect-ratio: 1; }
.about-mark img { width: min(82%, 540px); position: relative; z-index: 1; filter: drop-shadow(0 18px 35px rgba(0,0,0,.22)); }
.about-copy { padding: clamp(60px, 8vw, 130px); display: flex; flex-direction: column; justify-content: center; }
.about-copy > p:not(.eyebrow) { max-width: 660px; color: rgba(255,255,255,.63); }
.about-location { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.about-location > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(213,173,80,.5); color: var(--gold); font-size: 1.5rem; }
.about-location div { display: flex; flex-direction: column; }
.about-location small { color: rgba(255,255,255,.5); }

.warranty-section { padding: clamp(80px, 9vw, 135px) clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: end; background: var(--paper); }
.warranty-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.warranty-grid article { min-height: 220px; padding: 28px 24px; display: flex; flex-direction: column; justify-content: end; border-inline-start: 1px solid var(--line); }
.warranty-grid strong { color: var(--green-800); font: 600 clamp(3.2rem, 5vw, 5rem)/1 var(--font-en); }
.warranty-grid span { margin-top: 18px; font-size: .88rem; }

.quote-section { padding: clamp(90px, 10vw, 150px) clamp(24px, 7vw, 110px); display: grid; grid-template-columns: minmax(300px, .8fr) minmax(500px, 1.2fr); gap: clamp(60px, 10vw, 150px); background: #fff; }
.quote-copy > p:not(.eyebrow) { color: var(--muted); }
.phone-link { display: inline-block; margin-top: 25px; color: var(--green-800); border-bottom: 1px solid var(--gold); font: 600 1.2rem var(--font-en); }
.contact-person { display: flex; flex-direction: column; align-items: flex-start; width: fit-content; }
.contact-owner { margin-top: 9px; color: var(--muted); font-size: .88rem; }
.contact-socials { display: flex; gap: 10px; margin-top: 20px; }
.contact-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 1px solid var(--line); color: var(--green-800); font: 600 .78rem var(--font-en); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.contact-socials a:hover { color: #fff; border-color: var(--green-800); background: var(--green-800); transform: translateY(-2px); }
.contact-socials svg, .footer-socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-socials .social-dot, .footer-socials .social-dot { fill: currentColor; stroke: none; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-self: center; }
.quote-form label { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: .82rem; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); padding: 10px 2px 12px; outline: 0; transition: border-color .2s; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: var(--gold); }
.quote-form textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.quote-form .button { margin-top: 6px; }

.site-footer { padding: 65px clamp(24px, 7vw, 110px) 25px; color: #fff; background: var(--green-950); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: min(280px, 72vw); }
.site-footer > p { grid-column: 1; margin: 0; color: rgba(255,255,255,.48); }
.footer-links { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; font-size: .86rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.footer-contact small { color: rgba(255,255,255,.48); font-size: .76rem; }
.footer-socials { display: flex; gap: 8px; margin: 6px 0 5px; }
.footer-socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: rgba(255,255,255,.72); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.footer-socials a:hover { color: var(--green-950); border-color: var(--gold-soft); background: var(--gold-soft); transform: translateY(-2px); }
.footer-bottom { grid-column: 1 / -1; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: rgba(255,255,255,.36); font-size: .73rem; }
.whatsapp-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 29px; fill: #fff; }

.project-dialog { width: min(1180px, calc(100% - 36px)); max-width: none; max-height: calc(100svh - 36px); padding: 0; border: 0; color: var(--ink); background: #fff; overflow: hidden; }
.project-dialog::backdrop { background: rgba(2,10,6,.84); backdrop-filter: blur(8px); }
.dialog-shell { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); position: relative; }
.dialog-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 4; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: rgba(5,15,10,.48); cursor: pointer; font-size: 1.65rem; line-height: 1; }
.dialog-visual { min-height: 680px; background: #111; position: relative; overflow: hidden; }
.dialog-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.dialog-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 52px; border: 0; color: #fff; background: rgba(5,15,10,.48); cursor: pointer; font-size: 2rem; }
.dialog-prev { left: 14px; }
.dialog-next { right: 14px; }
.dialog-counter { position: absolute; inset: auto auto 16px 18px; padding: 5px 10px; color: #fff; background: rgba(5,15,10,.6); font: 500 .72rem var(--font-en); }
.dialog-copy { padding: clamp(42px, 5vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.dialog-copy h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
.dialog-copy > p:not(.eyebrow) { color: var(--muted); }
.dialog-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 24px 0 32px; }
.dialog-thumbnails button { aspect-ratio: 1; padding: 0; border: 2px solid transparent; background: #eee; cursor: pointer; overflow: hidden; }
.dialog-thumbnails button.active { border-color: var(--gold); }
.dialog-thumbnails img { width: 100%; height: 100%; object-fit: cover; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-nav { gap: 17px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr minmax(330px, .75fr); gap: 55px; }
  .hero-project-tag { inset-inline-start: -25px; }
  .project-card { grid-column: span 6; }
  .project-card-featured, .project-card-featured + .project-card { grid-column: span 6; min-height: 610px; }
  .project-card-wide { grid-column: span 6; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { border-bottom: 1px solid rgba(255,255,255,.13); }
  .process-section, .quote-section { gap: 60px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 70px; padding: 10px 18px; grid-template-columns: auto 1fr auto; gap: 10px; background: rgba(7,26,18,.96); }
  .brand img { width: 145px; }
  .menu-toggle { display: block; justify-self: end; grid-column: 2; }
  .header-actions { grid-column: 3; }
  .site-nav { position: fixed; inset: 70px 0 auto; padding: 28px 24px 34px; display: flex; flex-direction: column; align-items: stretch; gap: 18px; background: rgba(7,26,18,.98); transform: translateY(-130%); transition: transform .3s; z-index: -1; }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { font-size: 1rem; }
  .menu-toggle.open span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:last-child { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; padding: 120px 24px 78px; grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: start; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 4.7rem); }
  .hero-signature { margin-top: 46px; }
  .hero-visual { width: calc(100% - 22px); }
  .hero-outline { inset: 15px -15px -15px 15px; }
  .hero-project-tag { inset-inline-start: -10px; bottom: 28px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div { min-height: 105px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card-featured, .project-card-featured + .project-card, .project-card-wide { grid-column: 1; min-height: 520px; }
  .collection-card, .collection-card-reverse { grid-template-columns: 1fr; }
  .collection-card > img, .collection-card-reverse img { grid-column: 1; grid-row: 1; min-height: 480px; max-height: 600px; }
  .collection-card .collection-copy, .collection-card-reverse .collection-copy { grid-column: 1; grid-row: 2; }
  .process-section, .about-section, .warranty-section, .quote-section { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .about-mark { min-height: 420px; }
  .warranty-section { gap: 45px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; align-items: flex-start; }
  .footer-contact { align-items: flex-start; }
  .contact-socials { flex-wrap: wrap; }
  .footer-bottom { flex-wrap: wrap; gap: 10px; }
  .dialog-shell { min-height: 0; max-height: calc(100svh - 36px); grid-template-columns: 1fr; overflow-y: auto; }
  .dialog-visual { min-height: 55svh; }
  .dialog-copy { padding: 36px 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding-inline: 18px; }
  .header-actions { gap: 0; }
  .language-toggle { padding-inline: 4px; }
  .hero { padding-inline: 18px; }
  .hero-actions .button { flex: 1 1 160px; }
  .hero-project-tag { padding: 11px 14px; }
  .hero-project-tag .tag-number { font-size: 1.4rem; }
  .trust-strip > div { padding: 20px 16px; }
  .project-card, .project-card-featured, .project-card-featured + .project-card, .project-card-wide { min-height: 455px; }
  .project-info { padding: 21px; }
  .collections-section { padding-inline: 18px; }
  .collection-card > img, .collection-card-reverse img { min-height: 410px; }
  .collection-copy { padding: 38px 24px 45px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .service-card h3 { margin-top: 48px; }
  .about-mark { min-height: 330px; }
  .about-copy { padding: 55px 24px; }
  .warranty-grid { grid-template-columns: 1fr; }
  .warranty-grid article { min-height: 140px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form label, .form-wide { grid-column: 1; }
  .footer-brand img { width: 230px; }
  .whatsapp-float { width: 50px; height: 50px; inset-inline-end: 16px; bottom: 16px; }
  .project-dialog { width: calc(100% - 16px); max-height: calc(100svh - 16px); }
  .dialog-shell { max-height: calc(100svh - 16px); }
  .dialog-visual { min-height: 48svh; }
}

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