/* ============================================================
   Abdulla & Associate (AAA Dubai) — shared stylesheet
   Palette keyed to brand logo: ink-navy + warm clay on concrete.
   Tokens per CLAUDE-DESIGN.md
   ============================================================ */

:root{
  --bg:        #F6F5F2;
  --surface:   #FFFFFF;
  --text:      #1A2230;
  --muted:     #5C6675;
  --primary:   #16263F;
  --secondary: #2E4A6B;
  --accent:    #C25A30;
  --accent-soft:#E9D6CC;
  --border:    #E1DED7;
  --focus:     #C25A30;
  --ink-90:    #12203a;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --r: 5px;
  --shadow-sm: 0 1px 2px rgba(22,38,63,.06), 0 2px 8px rgba(22,38,63,.05);
  --shadow-md: 0 8px 30px rgba(22,38,63,.10), 0 2px 8px rgba(22,38,63,.06);
  --shadow-lg: 0 24px 60px rgba(22,38,63,.16);
  --ff-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --t: 320ms cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--ff-body); font-size:18px; line-height:1.62;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }
::selection{ background:var(--accent); color:#fff; }

h1,h2,h3,h4{ font-family:var(--ff-head); font-weight:600; line-height:1.08;
  letter-spacing:-.02em; margin:0; color:var(--primary); text-wrap:balance; }
p{ margin:0; text-wrap:pretty; }

:focus-visible{ outline:3px solid var(--focus); outline-offset:2px; border-radius:3px; }

/* ---------- layout helpers ---------- */
.wrap{ max-width:var(--maxw); margin:0 auto; padding-inline:var(--gutter); }
.section{ padding-block:clamp(64px,9vw,128px); }
.eyebrow{ font-family:var(--ff-head); font-size:.78rem; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--accent);
  display:inline-flex; align-items:center; gap:.7em; margin:0 0 18px; }
.eyebrow::before{ content:""; width:30px; height:2px; background:var(--accent); display:inline-block; }
.section-head{ max-width:760px; margin-bottom:clamp(36px,5vw,60px); }
.section-head h2{ font-size:clamp(2rem,4.2vw,3.1rem); }
.section-head p{ color:var(--muted); font-size:1.16rem; margin-top:18px; }
.lead{ font-size:1.22rem; color:var(--muted); }
.center{ text-align:center; margin-inline:auto; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family:var(--ff-head); font-weight:600; font-size:1rem; letter-spacing:-.01em;
  padding:15px 28px; border-radius:var(--r); border:1.5px solid transparent;
  min-height:52px; transition:transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  white-space:nowrap; line-height:1; }
.btn svg{ width:19px; height:19px; flex:none; }
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn-accent{ background:var(--accent); color:#fff; box-shadow:0 8px 22px rgba(194,90,48,.28); }
.btn-accent:hover{ background:#a94c27; box-shadow:0 12px 30px rgba(194,90,48,.34); }
.btn-primary{ background:var(--primary); color:#fff; }
.btn-primary:hover{ background:#0e1a2e; }
.btn-ghost{ background:transparent; color:var(--primary); border-color:var(--border); }
.btn-ghost:hover{ border-color:var(--primary); background:#fff; }
.btn-wa{ background:#1f8a4c; color:#fff; }
.btn-wa:hover{ background:#197540; }
.btn-light{ background:#fff; color:var(--primary); }
.btn-outline-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.btn-outline-light:hover{ border-color:#fff; background:rgba(255,255,255,.08); }

.textlink{ font-family:var(--ff-head); font-weight:600; color:var(--secondary);
  display:inline-flex; align-items:center; gap:.5em; }
.textlink svg{ width:18px; height:18px; transition:transform var(--t); }
.textlink:hover svg{ transform:translateX(4px); }
.textlink:hover{ color:var(--accent); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{ position:sticky; top:0; z-index:90; background:rgba(246,245,242,.86);
  backdrop-filter:saturate(160%) blur(14px); border-bottom:1px solid var(--border);
  transition:box-shadow var(--t), background var(--t); }
.site-header.scrolled{ box-shadow:var(--shadow-sm); background:rgba(255,255,255,.92); }
.header-inner{ display:flex; align-items:center; gap:24px; height:84px; }
.brand{ display:flex; align-items:center; flex:none; }
.brand img{ height:48px; width:auto; }
.nav{ display:flex; align-items:center; gap:4px; margin-left:18px; }
.nav a{ font-family:var(--ff-head); font-weight:500; font-size:1rem; color:var(--text);
  padding:10px 16px; border-radius:var(--r); position:relative; transition:color var(--t); }
.nav a::after{ content:""; position:absolute; left:16px; right:16px; bottom:4px; height:2px;
  background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform var(--t); }
.nav a:hover{ color:var(--primary); }
.nav a:hover::after, .nav a[aria-current="page"]::after{ transform:scaleX(1); }
.nav a[aria-current="page"]{ color:var(--primary); }
.header-actions{ display:flex; align-items:center; gap:12px; margin-left:auto; }
.header-actions .btn{ padding:12px 20px; min-height:46px; font-size:.95rem; }
.icon-call{ display:none; }
.menu-toggle{ display:none; width:46px; height:46px; border:1.5px solid var(--border);
  background:#fff; border-radius:var(--r); align-items:center; justify-content:center; margin-left:auto; }
.menu-toggle svg{ width:22px; height:22px; }

/* mobile drawer */
.drawer{ position:fixed; inset:0; z-index:120; visibility:hidden; }
.drawer-scrim{ position:absolute; inset:0; background:rgba(16,26,46,.5); opacity:0; transition:opacity var(--t); }
.drawer-panel{ position:absolute; top:0; right:0; height:100%; width:min(86vw,360px);
  background:var(--surface); box-shadow:var(--shadow-lg); transform:translateX(100%);
  transition:transform var(--t); display:flex; flex-direction:column; padding:24px; }
.drawer.open{ visibility:visible; }
.drawer.open .drawer-scrim{ opacity:1; }
.drawer.open .drawer-panel{ transform:translateX(0); }
.drawer-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.drawer-top img{ height:42px; }
.drawer-close{ width:44px; height:44px; border:1.5px solid var(--border); background:#fff;
  border-radius:var(--r); display:flex; align-items:center; justify-content:center; }
.drawer-close svg{ width:20px; height:20px; }
.drawer-nav{ display:flex; flex-direction:column; }
.drawer-nav a{ font-family:var(--ff-head); font-weight:500; font-size:1.25rem; padding:16px 6px;
  border-bottom:1px solid var(--border); color:var(--text); display:flex; justify-content:space-between; align-items:center; }
.drawer-nav a[aria-current="page"]{ color:var(--accent); }
.drawer-nav a span{ color:var(--accent); }
.drawer-cta{ margin-top:auto; display:grid; gap:12px; padding-top:24px; }
.drawer-cta .btn{ width:100%; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero{ position:relative; min-height:clamp(560px,88vh,860px); display:flex; align-items:flex-end;
  overflow:hidden; background:var(--primary); }
.hero-slides{ position:absolute; inset:0; }
.hero-slide{ position:absolute; inset:0; opacity:0; transform:scale(1.06);
  background-size:cover; background-position:center; transition:opacity 1.4s ease, transform 7s linear; }
.hero-slide.active{ opacity:1; transform:scale(1); }
.hero-scrim{ position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(16,26,46,.34) 0%, rgba(16,26,46,.12) 32%, rgba(16,26,46,.62) 78%, rgba(16,26,46,.9) 100%); }
.hero-scrim::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(95deg, rgba(16,26,46,.78) 0%, rgba(16,26,46,.32) 46%, rgba(16,26,46,0) 72%); }
.hero-inner{ position:relative; z-index:2; padding-block:clamp(48px,9vw,96px); width:100%; }
.hero-content{ max-width:760px; color:#fff; }
.hero h1{ color:#fff; font-size:clamp(2.4rem,6.2vw,4.6rem); line-height:1.02; letter-spacing:-.03em; }
.hero h1 em{ font-style:normal; color:#fff; position:relative; white-space:nowrap; }
.hero h1 .clay{ color:#E9B89F; }
.hero p.hero-sub{ color:rgba(255,255,255,.9); font-size:clamp(1.05rem,2vw,1.35rem); margin-top:22px; max-width:620px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-meta{ display:flex; flex-wrap:wrap; gap:8px 30px; margin-top:40px;
  padding-top:26px; border-top:1px solid rgba(255,255,255,.18); }
.hero-meta div{ color:#fff; }
.hero-meta .n{ font-family:var(--ff-head); font-weight:600; font-size:1.5rem; display:block; line-height:1; }
.hero-meta .l{ color:rgba(255,255,255,.72); font-size:.92rem; letter-spacing:.02em; }
.hero-dots{ position:absolute; z-index:3; right:var(--gutter); bottom:clamp(20px,4vw,40px);
  display:flex; gap:10px; }
.hero-dots button{ width:34px; height:4px; border:none; background:rgba(255,255,255,.35); border-radius:2px; padding:0;
  transition:background var(--t); }
.hero-dots button.active{ background:var(--accent); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust{ background:var(--primary); color:#fff; }
.trust-inner{ display:grid; grid-template-columns:repeat(3,1fr); }
.trust-item{ padding:30px var(--gutter); display:flex; align-items:center; gap:16px;
  border-left:1px solid rgba(255,255,255,.12); }
.trust-item:first-child{ border-left:none; }
.trust-item .ico{ width:42px; height:42px; flex:none; color:var(--accent); }
.trust-item .ico svg{ width:100%; height:100%; }
.trust-item b{ font-family:var(--ff-head); font-size:1.18rem; display:block; line-height:1.15; }
.trust-item span{ color:rgba(255,255,255,.72); font-size:.92rem; }

/* ============================================================
   SERVICES SNAPSHOT GRID
   ============================================================ */
.svc-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border:1px solid var(--border); border-radius:var(--r); overflow:hidden; background:var(--border); }
.svc-cell{ background:var(--surface); padding:34px 30px; min-height:188px;
  display:flex; flex-direction:column; gap:14px; transition:background var(--t); position:relative; }
.svc-cell:hover{ background:#fff; }
.svc-cell .num{ font-family:var(--ff-head); font-size:.8rem; color:var(--muted); letter-spacing:.04em; }
.svc-cell .ico{ width:30px; height:30px; color:var(--accent); }
.svc-cell .ico svg{ width:100%; height:100%; }
.svc-cell h3{ font-size:1.16rem; letter-spacing:-.01em; }
.svc-cell p{ color:var(--muted); font-size:.96rem; line-height:1.5; }
.svc-cell::after{ content:""; position:absolute; left:0; bottom:0; height:3px; width:0; background:var(--accent); transition:width var(--t); }
.svc-cell:hover::after{ width:100%; }

/* ============================================================
   FEATURED PROJECTS
   ============================================================ */
.proj-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.proj-card{ position:relative; overflow:hidden; border-radius:var(--r); background:var(--primary);
  aspect-ratio:4/3; box-shadow:var(--shadow-sm); transition:box-shadow var(--t); }
.proj-card img{ width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.7,.2,1); }
.proj-card:hover{ box-shadow:var(--shadow-md); }
.proj-card:hover img{ transform:scale(1.06); }
.proj-card .ov{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding:22px; background:linear-gradient(180deg, rgba(16,26,46,0) 40%, rgba(16,26,46,.82) 100%); }
.proj-card .cat{ font-family:var(--ff-head); font-size:.74rem; letter-spacing:.16em; text-transform:uppercase;
  color:#E9B89F; }
.proj-card .ttl{ font-family:var(--ff-head); font-weight:600; font-size:1.18rem; color:#fff; margin-top:4px; }
.proj-card .tag{ position:absolute; top:16px; left:16px; background:rgba(255,255,255,.92); color:var(--primary);
  font-family:var(--ff-head); font-size:.72rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  padding:6px 11px; border-radius:3px; }

/* ============================================================
   WHY AAA — split feature
   ============================================================ */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,72px); align-items:center; }
.split.reverse .split-media{ order:2; }
.split-media{ position:relative; }
.split-media img{ width:100%; border-radius:var(--r); box-shadow:var(--shadow-md); aspect-ratio:4/3; object-fit:cover; }
.split-media .badge{ position:absolute; bottom:-26px; left:-26px; background:var(--accent); color:#fff;
  padding:22px 26px; border-radius:var(--r); box-shadow:var(--shadow-md); max-width:230px; }
.split-media .badge b{ font-family:var(--ff-head); font-size:2.4rem; display:block; line-height:1; }
.split-media .badge span{ font-size:.92rem; opacity:.92; }
.feature-list{ display:grid; gap:22px; margin-top:30px; }
.feature-list li{ list-style:none; display:flex; gap:16px; }
.feature-list .fi{ width:44px; height:44px; flex:none; border-radius:var(--r); background:#fff;
  border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--accent); }
.feature-list .fi svg{ width:22px; height:22px; }
.feature-list h4{ font-size:1.12rem; margin-bottom:3px; }
.feature-list p{ color:var(--muted); font-size:1rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes{ background:var(--primary); color:#fff; position:relative; overflow:hidden; }
.quotes .section-head h2{ color:#fff; }
.quotes .section-head p{ color:rgba(255,255,255,.7); }
.quotes .eyebrow{ color:#E9B89F; }
.quotes .eyebrow::before{ background:#E9B89F; }
.qmark{ font-family:var(--ff-head); position:absolute; top:-30px; right:4%; font-size:24rem; line-height:1;
  color:rgba(255,255,255,.05); pointer-events:none; }
.quote-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; position:relative; z-index:1; }
.quote-card{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:var(--r);
  padding:32px 30px; display:flex; flex-direction:column; }
.quote-card .stars{ color:var(--accent); letter-spacing:3px; margin-bottom:16px; font-size:1.05rem; }
.quote-card blockquote{ margin:0; font-size:1.18rem; line-height:1.5; color:#fff; flex:1; }
.quote-card .who{ margin-top:24px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14);
  font-family:var(--ff-head); font-weight:600; }
.quote-card .who span{ display:block; font-family:var(--ff-body); font-weight:400; color:rgba(255,255,255,.6); font-size:.9rem; }
.quotes-note{ margin-top:26px; color:rgba(255,255,255,.5); font-size:.85rem; position:relative; z-index:1; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{ background:var(--accent); color:#fff; position:relative; overflow:hidden; }
.cta-band::before{ content:""; position:absolute; inset:0;
  background:radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.14), transparent 55%); }
.cta-inner{ position:relative; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:30px; }
.cta-inner h2{ color:#fff; font-size:clamp(1.8rem,3.6vw,2.8rem); max-width:680px; }
.cta-inner p{ color:rgba(255,255,255,.9); margin-top:12px; max-width:560px; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:14px; }

/* ============================================================
   PAGE BANNER (interior pages)
   ============================================================ */
.banner{ position:relative; background:var(--primary); color:#fff; overflow:hidden; }
.banner-bg{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:.46; transform:scale(1.03); }
.banner-scrim{ position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(16,26,46,.92) 0%, rgba(16,26,46,.6) 55%, rgba(16,26,46,.4) 100%); }
.banner-inner{ position:relative; z-index:2; padding-block:clamp(72px,11vw,140px); }
.banner h1{ color:#fff; font-size:clamp(2.4rem,5.4vw,4rem); }
.banner p{ color:rgba(255,255,255,.85); font-size:1.2rem; margin-top:18px; max-width:620px; }
.crumbs{ font-family:var(--ff-head); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase;
  color:rgba(255,255,255,.65); margin-bottom:20px; display:flex; gap:10px; align-items:center; }
.crumbs a:hover{ color:#fff; }
.crumbs span{ color:var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.pre-footer{ background:var(--primary); color:#fff; }
.foot{ background:var(--surface); border-top:3px solid var(--accent); }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; padding-block:clamp(56px,7vw,80px); }
.foot-brand img{ height:52px; margin-bottom:22px; }
.foot-brand p{ color:var(--muted); max-width:320px; font-size:1rem; }
.foot-soc{ display:flex; gap:10px; margin-top:22px; }
.foot-soc a{ width:42px; height:42px; border:1px solid var(--border); border-radius:var(--r);
  display:flex; align-items:center; justify-content:center; color:var(--primary); transition:all var(--t); }
.foot-soc a:hover{ background:var(--primary); color:#fff; border-color:var(--primary); }
.foot-soc svg{ width:19px; height:19px; }
.foot h4{ font-size:.84rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-bottom:20px; font-weight:600; }
.foot-links{ display:grid; gap:12px; list-style:none; padding:0; margin:0; }
.foot-links a{ color:var(--text); font-size:1rem; transition:color var(--t); }
.foot-links a:hover{ color:var(--accent); }
.foot-contact{ display:grid; gap:14px; }
.foot-contact a, .foot-contact div{ display:flex; gap:12px; align-items:flex-start; color:var(--text); font-size:1rem; }
.foot-contact svg{ width:19px; height:19px; color:var(--accent); flex:none; margin-top:3px; }
.foot-bottom{ border-top:1px solid var(--border); padding-block:24px; display:flex; flex-wrap:wrap;
  justify-content:space-between; gap:12px; color:var(--muted); font-size:.9rem; }
.foot-bottom .flag{ color:var(--muted); }

/* ============================================================
   STICKY MOBILE ACTION BAR
   ============================================================ */
.mobile-bar{ position:fixed; left:0; right:0; bottom:0; z-index:80; display:none;
  grid-template-columns:1fr 1fr 1fr; background:var(--surface);
  border-top:1px solid var(--border); box-shadow:0 -6px 22px rgba(16,26,46,.10); }
.mobile-bar a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  padding:11px 6px 13px; font-family:var(--ff-head); font-size:.78rem; font-weight:600; color:var(--primary);
  min-height:60px; border-left:1px solid var(--border); }
.mobile-bar a:first-child{ border-left:none; }
.mobile-bar a svg{ width:22px; height:22px; }
.mobile-bar a.wa{ color:#1f8a4c; }
.mobile-bar a.enq{ background:var(--accent); color:#fff; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; }
  .hero-slide{ transition:opacity .4s ease; transform:none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .svc-grid{ grid-template-columns:repeat(2,1fr); }
  .trust-inner{ grid-template-columns:1fr; }
  .trust-item{ border-left:none; border-top:1px solid rgba(255,255,255,.12); }
  .trust-item:first-child{ border-top:none; }
  .foot-grid{ grid-template-columns:1fr 1fr; gap:36px 30px; }
}
@media (max-width: 920px){
  .nav, .header-actions .btn span.lbl{ display:none; }
  .header-actions{ display:none; }
  .menu-toggle{ display:flex; }
  .proj-grid{ grid-template-columns:repeat(2,1fr); }
  .quote-grid{ grid-template-columns:1fr; }
  .split{ grid-template-columns:1fr; gap:40px; }
  .split.reverse .split-media{ order:0; }
  .split-media .badge{ left:auto; right:0; bottom:-20px; }
}
@media (max-width: 640px){
  body{ font-size:17px; padding-bottom:60px; }
  .header-inner{ height:72px; }
  .brand img{ height:40px; }
  .svc-grid{ grid-template-columns:1fr; }
  .proj-grid{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr; gap:34px; }
  .mobile-bar{ display:grid; }
  .hero-dots{ left:var(--gutter); right:auto; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
  .cta-actions .btn{ width:100%; }
  .cta-actions{ width:100%; }
}
