/* Smile Group — single stylesheet, v3.1. No duplicate override layers. */
:root {
  --ink:#111310; --paper:#f2f0ea; --white:#fbfaf6; --gold:#b39b57;
  --gray:#77766f; --sand:#dbd3c2; --line:rgba(17,19,16,.16);
  --header-height:72px;
  --font-ui:'Montserrat',Arial,sans-serif;
  --font-display:'Cormorant Garamond',Georgia,serif;
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:var(--header-height)}
body {margin:0;overflow-x:hidden;background:var(--paper);color:var(--ink);font-family:var(--font-ui);font-weight:400}
html[dir="rtl"] body {font-family:'Tajawal',Tahoma,Arial,sans-serif}
img {display:block;max-width:100%;height:auto}
a,button,summary {-webkit-tap-highlight-color:transparent}
button {font:inherit}
a:focus-visible,button:focus-visible,summary:focus-visible {outline:2px solid var(--gold);outline-offset:5px}

/* Navigation */
.site-header {position:sticky;top:0;z-index:100;height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 5.5vw;color:var(--ink);background:rgba(247,245,240,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}
.brand {width:62px;height:54px;flex:0 0 62px;display:grid;place-items:center;overflow:hidden}
.brand img {width:100%;height:100%;object-fit:contain;object-position:center}
.desktop-nav {display:flex;align-items:center;gap:clamp(14px,2vw,28px);margin-inline-start:auto}
.desktop-nav a,.lang {color:inherit;text-decoration:none;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap}
.desktop-nav a:hover,.contact-grid a:hover {color:var(--gold)}
.header-actions {display:flex;align-items:center;gap:16px}
.lang,.menu {background:none;border:0;color:inherit;cursor:pointer}
.lang {padding:9px 5px}.menu {display:none;width:36px;padding:7px}
.menu span {display:block;width:100%;height:1px;background:currentColor;margin:6px 0}
.menu-panel {position:fixed;z-index:90;top:var(--header-height);inset-inline:0;bottom:0;display:grid;grid-template-columns:1fr 260px;gap:30px;background:#111310;color:#fff;padding:38px 5.5vw 40px;overflow-y:auto;transform:translateY(calc(-100% - var(--header-height)));opacity:0;visibility:hidden;pointer-events:none;transition:transform .48s ease,opacity .3s,visibility .3s}
.menu-panel.open {transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto}
.menu-links a {display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;padding:12px 0;border-top:1px solid #333;text-decoration:none;color:#fff}
.menu-links a:last-child {border-bottom:1px solid #333}
.menu-links span {font-size:11px;color:#888}
.menu-links b {font-family:var(--font-display);font-size:clamp(34px,5vw,72px);line-height:1.1;font-weight:500}
.menu-meta {align-self:end;font-size:12px;line-height:1.9;color:#a7a7a0}
body.menu-open {overflow:hidden}

/* Shared type/layout */
.section {padding:96px 5.5vw}
.section-label,.eyebrow {font-size:10px;letter-spacing:.17em;line-height:1.5;text-transform:uppercase;font-weight:500}
.section-label {margin-bottom:50px;color:var(--gray)}
h1,h2,h3,.display {font-family:var(--font-display);font-weight:500}
.hero h1,.intro-copy h2,.section-head h2,.display,.delivery-copy h2,.contact h2 {letter-spacing:-.028em}
p {line-height:1.75}
.muted {color:#686760}
.dark {background:#111310;color:var(--paper)}
.dark .section-label {color:#aaa99f}

/* Hero */
.hero {min-height:min(780px,calc(100svh - var(--header-height)));height:calc(100svh - var(--header-height));position:relative;color:#fff;overflow:hidden}
.hero-media,.hero-media img,.hero-overlay {position:absolute;inset:0;width:100%;height:100%}
.hero-media img {object-fit:cover;object-position:center;animation:heroZoom 7s ease-out both}
.hero-overlay {background:linear-gradient(180deg,rgba(4,8,12,.16),rgba(4,8,12,.22) 43%,rgba(4,8,12,.8))}
@keyframes heroZoom {from{transform:scale(1.04)}to{transform:scale(1)}}
.hero-content {position:relative;z-index:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:110px 5.5vw 40px}
.hero h1 {font-size:clamp(65px,8.7vw,136px);line-height:.85;margin:18px 0 42px;max-width:1250px}
.hero-bottom {border-top:1px solid rgba(255,255,255,.4);padding-top:20px;display:flex;justify-content:space-between;align-items:end;gap:20px}
.hero-bottom p {max-width:690px;margin:0;font-size:13px}
.round-link {display:grid;place-items:center;width:52px;height:52px;border:1px solid #fff;border-radius:50%;color:#fff;text-decoration:none;font-size:22px;flex:0 0 52px}

/* Group */
.intro-grid {display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.45fr);gap:7vw;align-items:center}
.group-mark {width:min(350px,100%);max-height:400px;object-fit:contain;margin-inline:auto}
.intro-copy h2 {font-size:clamp(53px,6vw,105px);line-height:.92;margin:0 0 32px}
.intro-copy p {font-size:15px;margin:0 0 22px;max-width:800px}

/* Companies */
.company-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.company-card {display:flex;flex-direction:column;gap:0;min-width:0;border-top:1px solid rgba(255,255,255,.22);padding-top:20px}
.logo-box,.logo-box.dark-logo {height:158px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.035);border-radius:7px;display:flex;align-items:center;justify-content:center;padding:16px;margin-bottom:28px;overflow:hidden}
.logo-box img {display:block;width:auto;height:auto;max-width:92%;max-height:120px;object-fit:contain}
.company-card:nth-child(-n+2) .logo-box {background:#1b2430}
.company-card:nth-child(-n+2) .logo-box img {filter:brightness(1.42) saturate(1.1)}
.company-card>span {font-size:10px;color:#8f8f86}
.company-card h3 {font-size:clamp(30px,3vw,46px);line-height:1.02;margin:14px 0 22px;min-height:100px}
.company-card p {font-size:12px;color:#bcbcb5;line-height:1.8;margin:0;padding-bottom:8px}

/* Projects */
.section-head {display:grid;grid-template-columns:1fr 1.4fr;gap:30px;align-items:end;margin-bottom:48px}
.section-head .section-label {margin:0}
.section-head h2 {font-size:clamp(56px,6vw,96px);line-height:.92;margin:0}
.project-grid {max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 22px}
.project-card {min-width:0}
.project-card.wide {grid-column:1/-1}
.project-card img {display:block;width:100%;height:250px;object-fit:contain;background:#e7e4dc;border-radius:2px}
.project-card.wide img {height:330px}
.project-meta {border-top:1px solid var(--line);margin-top:12px;padding-top:14px;display:flex;justify-content:space-between;align-items:start;gap:16px}
.project-meta small,.mini-project small {font-size:9px;letter-spacing:.1em;color:#706e67}
.project-meta h3 {font-family:var(--font-ui);font-weight:500;font-size:16px;line-height:1.45;margin:7px 0 0}
.project-meta>span {max-width:180px;text-align:end;font-size:10px;color:#68665e;line-height:1.5}
.more-projects {max-width:1100px;margin:50px auto 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.more-projects summary {padding:18px 0;cursor:pointer;font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.project-archive {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px;padding:8px 0 28px}
.mini-project {min-width:0;background:transparent}
.mini-project img {width:100%;height:178px;object-fit:contain;background:#e7e4dc}
.mini-project>div {padding:12px 0 18px}
.mini-project small,.mini-project b,.mini-project span {display:block}
.mini-project b {font-size:13px;font-weight:600;margin:7px 0;line-height:1.45}
.mini-project span {font-size:11px;color:#777}

/* Capabilities */
.sand {background:var(--sand)}
.cap-layout {display:grid;grid-template-columns:1fr 1fr;gap:7vw}
.display {font-size:clamp(58px,6vw,104px);line-height:.93;margin:0}
.cap-list>div {display:grid;grid-template-columns:44px 1fr;gap:10px;border-top:1px solid rgba(0,0,0,.18);padding:19px 0}
.cap-list>div:last-child {border-bottom:1px solid rgba(0,0,0,.18)}
.cap-list span {font-size:10px}
.cap-list b {font-size:17px;font-weight:500}
.workshop-grid {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:66px}
.workshop-grid article {min-width:0;background:#f4f0e7;padding-bottom:24px}
.workshop-grid img {width:100%;height:270px;object-fit:contain;background:#e7e3da}
.workshop-grid h3 {font-size:30px;margin:22px 22px 10px}
.workshop-grid p {font-size:12px;color:#616059;line-height:1.75;margin:0 22px}

/* Delivery */
.delivery-grid {display:grid;grid-template-columns:1.07fr .93fr;gap:6vw;align-items:center;max-width:1250px;margin:auto}
.delivery-image img {width:100%;max-height:380px;object-fit:contain;background:#272926}
.delivery-copy h2 {font-size:clamp(47px,5vw,83px);line-height:.98;margin:18px 0 30px}
.delivery-copy>p:last-child {font-size:13px;color:#bfbeb7;max-width:600px}
.fleet {max-width:1150px;margin:50px auto 0;padding:10px;background:#262725}
.fleet img {width:100%;max-height:360px;object-fit:contain}

/* Credentials */
.credentials {background:var(--white)}
.stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}
.stats>div {padding:28px 16px;border-inline-end:1px solid var(--line);min-width:0}
.stats>div:last-child {border-inline-end:0}
.stats strong {display:block;font-size:clamp(30px,4vw,62px);font-weight:500;overflow-wrap:anywhere}
.stats span {color:#696863;font-size:11px}
.credential-copy {max-width:800px;margin-top:32px}
.credential-copy p {color:#696863;font-size:13px}
.certificate-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:42px;align-items:start}
.certificate-grid figure {margin:0;min-width:0;background:#fff;border:1px solid var(--line);padding:10px}
.certificate-grid img {width:100%;height:340px;object-fit:contain}
.certificate-grid figcaption {font-size:11px;padding:10px 2px 2px}
.certificate-grid .icv-card {grid-column:1/-1;max-width:920px;width:100%;justify-self:center}
.certificate-grid .icv-card img {height:auto;max-height:500px}

/* Clients: compact initial grid; 55 logos inside native disclosure. */
.client-wall {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-inline-start:1px solid var(--line);border-top:1px solid var(--line)}
.client-card {min-width:0;min-height:154px;margin:0;padding:19px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.48)}
.client-card img {width:100%;max-width:225px;height:80px;object-fit:contain}
.client-card figcaption {font-size:10px;text-align:center;color:#666;line-height:1.4}
.clients-expand {margin-top:24px}
.clients-expand:not([open]) > .client-wall-extra {display:none}
.clients-more-button {min-height:50px;display:flex;gap:18px;align-items:center;justify-content:center;max-width:420px;margin:0 auto;padding:13px 24px;border:1px solid var(--ink);border-radius:100px;cursor:pointer;list-style:none;font-size:11px;font-weight:600;letter-spacing:.04em;text-align:center;transition:background .2s,color .2s}
.clients-more-button::-webkit-details-marker {display:none}
.clients-more-button:hover {background:var(--ink);color:var(--white)}
.clients-summary-less,.clients-expand[open] .clients-summary-more {display:none}
.clients-expand[open] .clients-summary-less {display:inline}
.clients-summary-arrow {font-size:18px;line-height:1;transition:transform .2s}
.clients-expand[open] .clients-summary-arrow {transform:rotate(135deg)}
.client-wall-extra {margin-top:26px}
.client-note {font-size:11px;color:#777;margin-top:24px}

/* Contact & footer */
.contact h2 {font-size:clamp(68px,8vw,134px);line-height:.91;margin:18px 0 60px}
.contact-grid {display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px;padding-top:24px;border-top:1px solid rgba(255,255,255,.2)}
.contact-grid>div {display:flex;flex-direction:column;gap:10px}
.contact-grid a {color:#fff;text-decoration:none;font-size:15px}
.contact-grid p {margin:0 0 15px;color:#aaa99f;font-size:13px}
footer {display:flex;justify-content:space-between;gap:15px;padding:18px 5.5vw;background:#111310;border-top:1px solid #272926;color:#898a83;font-size:10px;letter-spacing:.08em}
.animate-ready .reveal {opacity:0;transform:translateY(20px);transition:opacity .65s ease,transform .65s ease}
.animate-ready .reveal.visible {opacity:1;transform:none}

/* Arabic type roles */
html[dir="rtl"] {--font-ui:'Tajawal',Tahoma,sans-serif;--font-display:'El Messiri',serif}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] .display,html[dir="rtl"] .menu-links b {letter-spacing:0;line-height:1.24}
html[dir="rtl"] .hero h1 {line-height:1.21}
html[dir="rtl"] .company-card h3 {line-height:1.3}
html[dir="rtl"] .desktop-nav a,html[dir="rtl"] .section-label,html[dir="rtl"] .eyebrow {letter-spacing:0}

@media(max-width:1000px) {
  :root {--header-height:66px}
  .site-header {padding-inline:20px}
  .brand {width:57px;height:48px;flex-basis:57px}
  .desktop-nav {display:none}
  .menu {display:block}
  .menu-panel {grid-template-columns:1fr}
  .menu-meta {display:none}
  .hero {min-height:620px}
  .hero-content {padding:102px 23px 32px}
  .hero h1 {font-size:clamp(52px,10vw,84px)}
  .section {padding:72px 23px}
  .section-head,.intro-grid,.cap-layout,.delivery-grid {grid-template-columns:1fr;gap:32px}
  .section-head {margin-bottom:34px}
  .section-head h2,.intro-copy h2 {font-size:clamp(48px,8vw,72px)}
  .group-mark {width:min(270px,60vw)}
  .company-cards {grid-template-columns:1fr;gap:38px}
  .company-card h3 {min-height:0}
  .company-card p {max-width:740px}
  .project-grid {gap:36px 18px}
  .project-card img {height:240px}
  .project-card.wide img {height:300px}
  .workshop-grid {gap:14px}
  .client-wall {grid-template-columns:repeat(3,minmax(0,1fr))}
  .certificate-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .certificate-grid .icv-card {grid-column:1/-1}
  .contact-grid {grid-template-columns:1fr 1fr}
}
@media(max-width:600px) {
  :root {--header-height:60px}
  .site-header {padding-inline:14px}
  .brand {width:48px;height:44px;flex-basis:48px}
  .section {padding:62px 18px}
  .section-label {margin-bottom:28px}
  .hero {height:calc(100svh - var(--header-height));min-height:570px}
  .hero-content {padding:80px 18px 26px}
  .hero h1 {font-size:clamp(49px,12vw,72px);line-height:.91;margin:12px 0 23px}
  .hero-bottom p {font-size:11px;line-height:1.6}
  .round-link {height:42px;width:42px;flex-basis:42px;font-size:18px}
  .intro-copy h2,.section-head h2,.display {font-size:clamp(46px,10vw,66px)}
  .intro-copy p {font-size:14px}
  .company-card .logo-box {height:130px}
  .logo-box img {max-height:90px}
  .company-card h3 {font-size:34px}
  .company-card p {font-size:12px}
  .project-grid {grid-template-columns:1fr;gap:30px}
  .project-card.wide {grid-column:auto}
  .project-card img,.project-card.wide img {height:215px}
  .project-meta {flex-direction:column;gap:6px}
  .project-meta h3 {font-size:15px}
  .project-meta>span {max-width:none;text-align:start}
  .project-archive {grid-template-columns:1fr 1fr;gap:18px 12px}
  .mini-project img {height:126px}
  .mini-project b {font-size:12px}
  .cap-list>div {grid-template-columns:38px 1fr;padding:16px 0}
  .cap-list b {font-size:15px}
  .workshop-grid {grid-template-columns:1fr;margin-top:42px}
  .workshop-grid img {height:210px}
  .workshop-grid h3 {font-size:25px}
  .delivery-copy h2 {font-size:clamp(42px,10vw,62px)}
  .delivery-image img {max-height:260px}
  .fleet img {max-height:240px}
  .stats {grid-template-columns:1fr}
  .stats>div {border-inline-end:0;border-bottom:1px solid var(--line);padding:18px 0}
  .stats>div:last-child {border-bottom:0}
  .certificate-grid {grid-template-columns:1fr 1fr;gap:10px}
  .certificate-grid img {height:220px}
  .certificate-grid .icv-card {grid-column:1/-1}
  .client-wall {grid-template-columns:repeat(2,minmax(0,1fr))}
  .client-card {padding:14px 8px;min-height:128px;gap:8px}
  .client-card img {height:64px}
  .client-card figcaption {font-size:9px}
  .clients-more-button {font-size:11px;max-width:100%}
  .contact h2 {font-size:clamp(52px,12vw,82px);margin-bottom:42px}
  .contact-grid {grid-template-columns:1fr;gap:23px}
  .contact-grid a {font-size:14px}
  footer {flex-direction:column;padding:18px;gap:9px}
  .menu-panel {padding:27px 18px}
  .menu-links a {grid-template-columns:36px minmax(0,1fr)}
  .menu-links b {font-size:clamp(33px,9vw,48px)}
}
@media(max-width:360px){
  .hero h1 {font-size:46px}
  .project-archive {grid-template-columns:1fr}
  .client-card {padding-inline:5px}
  .client-card img {height:57px}
}
@media(prefers-reduced-motion:reduce){
  html {scroll-behavior:auto}
  *,*::before,*::after {animation:none;transition:none}
  .animate-ready .reveal {opacity:1;transform:none}
}
