:root {
  --paper: #f7f2e9;
  --paper-deep: #e7e0d4;
  --paper-card: #eee7dc;
  --ink: #24201d;
  --muted: #6d6258;
  --line: #d3c8b9;
  --red: #bf1e2e;
  --red-dark: #941827;
  --red-soft: #e7a99b;
  --sans: "Space Grotesk", "Noto Kufi Arabic", sans-serif;
  --arabic: "Noto Kufi Arabic", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shadow: 0 20px 50px rgba(36, 27, 20, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--arabic); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.mono { font-family: var(--mono); letter-spacing: .12em; }
.section-pad { padding: 7rem max(1.25rem, calc((100vw - 1380px) / 2)); }
.topbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; max-width: 1460px; margin: auto; padding: 1.65rem max(1.25rem, 3vw); }
.brand img { display: block; width: 122px; height: auto; }
.desktop-nav { display: flex; gap: 2.2rem; margin-right: auto; margin-left: 3rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.desktop-nav a, .admin-link { transition: color .2s ease; }
.desktop-nav a:hover, .admin-link:hover { color: var(--red); }
.top-actions { display: flex; align-items: center; gap: 1.2rem; font-size: .68rem; font-weight: 600; }
.admin-link { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid transparent; padding: 1rem 1.5rem; font-size: .72rem; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button span { font-family: var(--mono); direction: ltr; }
.button-small { padding: .85rem 1.1rem; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-red { background: var(--red); color: #fff8ef; }
.button-red:hover { background: var(--red-dark); }
.button-outline { border-color: var(--red-soft); color: var(--red-soft); }
.button-outline:hover { background: var(--red-soft); color: var(--ink); }
.mobile-menu-button { display: none; border: 1px solid var(--ink); background: transparent; padding: .5rem .7rem; }
.hero { position: relative; min-height: 780px; overflow: hidden; background: var(--paper-deep); padding-top: 13rem; }
.hero::before { position: absolute; inset: 0 0 0 58%; content: ""; background: #d9d0c2; }
.hero-copy { position: relative; z-index: 1; max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0; color: var(--red); font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.eyebrow span { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; direction: ltr; }
.eyebrow i { display: block; width: 2rem; height: 1px; background: currentColor; }
.eyebrow.light { color: #f0d7ce; }
.hero h1, .section-heading h2, .about h2, .quote-card h2 { margin: 1.8rem 0 0; font-family: var(--sans); font-size: clamp(3.3rem, 8vw, 8.2rem); line-height: .98; letter-spacing: -.07em; }
.hero-body { max-width: 500px; margin: 2rem 0 0; color: #61564d; font-size: .9rem; line-height: 2.2; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2.4rem; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; font-size: .75rem; font-weight: 800; }
.text-link:hover { color: var(--red); }
.hero-paper { position: absolute; z-index: 0; top: 18%; right: 11%; width: min(29vw, 390px); height: min(45vw, 520px); transform: rotate(7deg); border: 1px solid #b8ac9e; background: #f0e9de; box-shadow: 1.5rem 1.5rem 0 #c6baaa; }
.hero-paper::before { position: absolute; inset: 1.4rem; content: ""; border: 1px solid #c7bbae; }
.hero-paper::after { position: absolute; left: 2.5rem; right: 2.5rem; bottom: 5.5rem; height: 6rem; content: ""; border-top: 1px solid #b9ad9e; border-bottom: 1px solid #b9ad9e; }
.hero-paper span { position: absolute; right: 2rem; bottom: 4.4rem; z-index: 1; color: #8b7d6d; font: .52rem var(--mono); letter-spacing: .15em; direction: ltr; }
.hero-paper b { position: absolute; top: 2rem; right: 2rem; width: 4rem; height: 4rem; display: grid; place-items: center; border: 2px solid var(--red); color: var(--red); font: 1rem var(--mono); }
.hero-footer { position: absolute; right: max(1.25rem, calc((100vw - 1380px) / 2)); bottom: 2.2rem; left: max(1.25rem, calc((100vw - 1380px) / 2)); display: flex; align-items: end; justify-content: space-between; border-top: 1px solid #bbb0a2; padding-top: 1rem; color: #776b60; font-size: .6rem; line-height: 1.9; }
.hero-footer b { font-weight: 500; }
.hero-footer .scroll-note { display: flex; flex-direction: column; align-items: center; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.8rem max(1.25rem, calc((100vw - 1380px) / 2)); background: var(--ink); color: #f4ede1; }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .3rem 2rem; border-left: 1px solid #4c443f; }
.stat:first-child { padding-right: 0; }
.stat:last-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; color: var(--red-soft); font: 2.5rem var(--mono); letter-spacing: -.09em; }
.stat span { display: block; margin-top: .3rem; color: #e2d5c7; font-size: .67rem; }
.stat small { color: #9e9183; font: .55rem var(--mono); letter-spacing: .12em; direction: ltr; }
.services { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
.section-heading > p { max-width: 300px; margin: 0 0 .5rem; color: var(--muted); font-size: .78rem; line-height: 2.1; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 5rem; }
.service-card { position: relative; min-height: 300px; overflow: hidden; border: 1px solid var(--line); padding: 1.8rem; background: var(--paper-card); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.service-card-0 { transform: translateY(2rem); }
.service-card-2 { transform: translateY(-1.25rem); }
.service-card-0:hover { transform: translateY(1.5rem); }
.service-card-2:hover { transform: translateY(-1.75rem); }
.card-top { display: flex; justify-content: space-between; color: #9b8d7e; font-family: var(--mono); font-size: .7rem; direction: ltr; }
.card-top .vermillion { color: var(--red); }
.card-top .ochre { color: #967c37; }
.service-card h3 { position: relative; z-index: 1; margin: 5.5rem 0 0; font-size: 1.1rem; }
.service-card p { position: relative; z-index: 1; max-width: 90%; margin: .8rem 0 0; color: var(--muted); font-size: .75rem; line-height: 2; }
.card-orbit { position: absolute; bottom: -1.25rem; left: -1.25rem; width: 5rem; height: 5rem; border: 1px solid #c8bdae; border-radius: 50%; transition: transform .25s ease; }
.service-card:hover .card-orbit { transform: scale(1.6); }
.section-end { display: flex; align-items: center; justify-content: space-between; margin-top: 5rem; border-top: 1px solid var(--line); padding-top: 1rem; color: #85796d; font-size: .6rem; }
.red-link { color: var(--red); }
.red-link b { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid currentColor; font-family: var(--mono); }
.about { position: relative; overflow: hidden; background: var(--red); color: #f8f0e5; }
.about-orbit { position: absolute; top: -7rem; left: -5rem; width: 27rem; height: 27rem; border: 1px solid #d75a64; border-radius: 50%; box-shadow: 0 0 0 3rem rgba(255,255,255,.02), 0 0 0 6rem rgba(255,255,255,.02); }
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 7rem; margin-top: 4rem; }
.about h2 { margin: 0; font-size: clamp(3rem, 7vw, 7.3rem); }
.about-grid > div { padding-top: .5rem; }
.about-grid p { margin: 0; color: #f3d9d3; font-size: .9rem; line-height: 2.3; }
.about-rule { height: 1px; margin-top: 3rem; background: #d95761; }
.about-meta { display: flex; justify-content: space-between; margin-top: 1rem; color: #f0beb7; font: .55rem var(--mono); direction: ltr; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 7rem; }
.process-step { border-top: 1px solid #d95761; padding-top: 1rem; }
.process-step span { color: #efaaa2; font-size: .6rem; }
.process-step h3 { margin: 2rem 0 .7rem; font-size: 1rem; }
.process-step p { margin: 0; color: #f0cbc5; font-size: .7rem; line-height: 2; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.7rem max(1.25rem, calc((100vw - 1380px) / 2)); background: var(--ink); color: #f5ecdf; }
.cta-band p { margin: 0; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.8; }
.cta-band strong { color: #df9287; }
.footer { padding-top: 5rem; padding-bottom: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr .8fr .8fr; gap: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 4rem; }
.footer-logo { width: 150px; height: auto; }
.footer-grid p { max-width: 280px; margin: 1.5rem 0 0; color: var(--muted); font-size: .75rem; line-height: 2.1; }
.footer-grid small { display: block; font-size: .55rem; }
.footer-grid a { display: block; margin-top: 1.2rem; font-size: .75rem; }
.footer-grid a:hover { color: var(--red); }
.red-text { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; color: #897d70; font-size: .55rem; }
.quote-section { background: #e7e0d4; padding-top: 4rem; padding-bottom: 6rem; }
.quote-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; max-width: 1100px; margin: auto; border: 1px solid var(--line); background: var(--paper); padding: clamp(1.5rem, 5vw, 4rem); box-shadow: var(--shadow); }
.quote-card h2 { margin-top: 1.5rem; font-size: clamp(3rem, 5vw, 5rem); }
.quote-card > div > p:last-child { color: var(--muted); font-size: .78rem; line-height: 2; }
.quote-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-content: start; }
.quote-form label { display: grid; gap: .5rem; color: #423932; font-size: .65rem; font-weight: 700; }
.quote-form input, .quote-form textarea { width: 100%; border: 1px solid #d2c6b7; border-radius: 0; outline: 0; background: #fbf8f1; padding: .8rem; color: var(--ink); font-family: var(--arabic); font-size: .75rem; }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(191,30,46,.12); }
.quote-form .full, .form-submit { grid-column: 1 / -1; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.2rem; color: #84776a; font-size: .62rem; line-height: 1.8; }
.form-submit b { color: var(--ink); font-weight: 500; }
.notice { grid-column: 1 / -1; padding: .9rem 1rem; font-size: .72rem; }
.notice-success { border: 1px solid #b7cfb6; background: #e8f0e5; color: #426544; }
.notice-error { border: 1px solid #e7b0ad; background: #f8e7e4; color: #9c2833; }

@media (max-width: 800px) {
  .topbar { padding-top: 1.2rem; }
  .brand img { width: 155px; }
  .desktop-nav { position: absolute; top: 4.6rem; left: 1.25rem; right: 1.25rem; display: none; flex-direction: column; gap: 0; margin: 0; border: 1px solid var(--line); background: var(--paper); padding: .5rem 1rem; }
  .desktop-nav.mobile-open { display: flex; }
  .desktop-nav a { border-bottom: 1px solid var(--line); padding: .9rem 0; }
  .desktop-nav a:last-child { border: 0; }
  .top-actions { display: none; }
  .mobile-menu-button { display: block; }
  .hero { min-height: 830px; padding-top: 10rem; }
  .hero::before { inset: 52% 0 0; }
  .hero-paper { top: 55%; right: 9%; width: 65vw; height: 46vw; }
  .hero-paper::after { bottom: 2rem; height: 2rem; }
  .hero-paper span { bottom: 1.4rem; }
  .hero-paper b { top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; }
  .hero-footer { bottom: 1.2rem; }
  .hero-footer .mono, .scroll-note { display: none; }
  .trust-strip, .service-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat, .stat:first-child, .stat:last-child { border-left: 0; border-bottom: 1px solid #4c443f; padding: .9rem 0; }
  .stat:last-child { border-bottom: 0; }
  .section-heading, .cta-band { align-items: start; flex-direction: column; }
  .section-heading h2 { font-size: 3.5rem; }
  .service-card-0, .service-card-2, .service-card-0:hover, .service-card-2:hover { transform: none; }
  .about-grid, .quote-card { grid-template-columns: 1fr; gap: 2.5rem; }
  .about h2 { font-size: 4rem; }
  .process-grid { margin-top: 4rem; }
  .footer-grid { gap: 2.5rem; }
  .footer-bottom { flex-direction: column; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form .full, .form-submit { grid-column: auto; }
}