/* ============================================================
   ALLIED ENTERPRISES — Dark Cinema Theme
   Deep navy / charcoal base · Allied Red CTAs · Gold accents
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  /* Background layers */
  --bg:        #080d18;
  --bg-card:   #0f1729;
  --bg-surface:#1a2540;
  --bg-lift:   rgba(255,255,255,0.04);
  /* Borders */
  --line:      rgba(255,255,255,0.08);
  --line-gold: rgba(200,146,42,0.35);
  /* Brand */
  --red:       #e63329;
  --red-dark:  #b52820;
  --gold:      #c8922a;
  --gold-light:#f0c060;
  --cyan:      #38bdf8;
  /* Text */
  --ink:       #e2e8f0;
  --ink-soft:  #94a3b8;
  --ink-muted: #475569;
  /* Legacy compat aliases */
  --paper:     #080d18;
  --mist:      #0f1729;
  --primary:   #e63329;
  --primary-dark:#b52820;
  --sun:       #c8922a;
  --aqua:      rgba(56,189,248,0.15);
  --aqua-dark: #38bdf8;
  --violet:    #7c3aed;
  --night:     #080d18;
  --shadow:    0 20px 60px rgba(0,0,0,0.55);
  --shadow-glow:0 0 40px rgba(230,51,41,0.15);
  --radius:    10px;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--ink-soft); }
h1,h2,h3 { font-family: 'Outfit', ui-sans-serif, sans-serif; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 12px clamp(18px,4vw,54px);
  background: rgba(8,13,24,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  transition: background 200ms;
}
.brand:hover { background: rgba(255,255,255,0.10); }
.brand img { width: 150px; height: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.site-nav a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.93rem;
  transition: color 160ms, background 160ms;
}
.site-nav a:hover,
.site-nav a.active {
  background: rgba(230,51,41,0.12);
  color: #fff;
}
.site-nav a.active { color: var(--red); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none !important; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red) 0%, #c42b21 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 160ms;
  box-shadow: 0 4px 20px rgba(230,51,41,0.30);
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,51,41,0.45);
  background: linear-gradient(135deg, #f03d33 0%, #d4302a 100%);
}
.button.ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
  box-shadow: none;
}
.button.ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
  transform: translateY(-1px);
}
.button.secondary {
  background: linear-gradient(135deg, var(--gold) 0%, #a87522 100%);
  box-shadow: 0 4px 20px rgba(200,146,42,0.30);
}
.button.secondary:hover {
  background: linear-gradient(135deg, #d9a030 0%, #b8821e 100%);
  box-shadow: 0 8px 30px rgba(200,146,42,0.45);
}
.button.small { min-height: 38px; padding: 8px 14px; font-size: 0.88rem; }
.button.full { width: 100%; }
.icon-button {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 160ms, color 160ms;
}
.icon-button:hover { background: rgba(255,255,255,0.12); color: var(--ink); }
.button svg, .icon-button svg, .contact-details svg, .location svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: min(780px, 80vh);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(100px,12vw,170px) clamp(20px,6vw,80px) clamp(50px,8vw,90px);
  color: #fff;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,13,24,0.85) 0%,
    rgba(8,13,24,0.60) 50%,
    rgba(200,146,42,0.08) 100%
  );
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

/* carousel layout */
.project-carousel {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(260px,350px);
  gap: clamp(22px,4vw,48px);
  align-items: end;
  background-image: none !important;
}
.hero-track, .hero-slide { position: absolute; inset: 0; }
.hero-track { z-index: 0; }
.hero-slide {
  background-position: center; background-size: cover;
  opacity: 0; transform: scale(1.03);
  transition: opacity 800ms ease, transform 1400ms ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }

.project-carousel-card {
  position: relative; z-index: 2;
  max-width: 520px; margin-top: 24px; padding: 20px;
  border: 1px solid rgba(200,146,42,0.30);
  border-radius: 12px;
  background: rgba(8,13,24,0.78);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.project-carousel-card .eyebrow { color: var(--gold); margin-bottom: 8px; }
.project-carousel-card h2 { margin: 0; font-size: clamp(1.3rem,2.4vw,2rem); line-height: 1.1; color: #fff; }
.project-carousel-card p:not(.eyebrow) { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.project-carousel-controls { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.carousel-control { width: 38px; height: 38px; background: rgba(255,255,255,0.10); border-color: var(--line); }
.project-dots { display: flex; align-items: center; gap: 7px; min-height: 38px; }
.project-dots button {
  width: 10px; height: 10px; padding: 0;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; background: rgba(255,255,255,0.15); cursor: pointer;
}
.project-dots button.is-active { width: 26px; border-radius: 999px; background: var(--red); border-color: var(--red); }
.project-dots span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* EYEBROW */
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero h1 {
  margin: 0; max-width: 1000px;
  font-size: clamp(2.8rem,7vw,6.5rem);
  line-height: 0.98; letter-spacing: -0.01em; color: #fff;
}
.hero p { max-width: 720px; margin: 20px 0 0; color: rgba(255,255,255,0.82); font-size: clamp(1.05rem,2vw,1.28rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ── STATS BAND ──────────────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: var(--bg-card);
  color: var(--ink);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--line);
}
.stats-band div { padding: 30px clamp(18px,4vw,44px); border-right: 1px solid var(--line); }
.stats-band strong {
  display: block;
  font-size: clamp(2rem,4vw,3.2rem);
  line-height: 1;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-band span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 0.92rem; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section, .intro-split, .detail-layout, .contact-page, .lead-band {
  padding: clamp(56px,8vw,96px) clamp(20px,6vw,80px);
}
.section.contrast { background: var(--bg-card); }
.intro-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,0.8fr);
  gap: clamp(28px,6vw,76px);
  align-items: center;
}
.intro-split img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 14px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
h2 { margin: 0 0 16px; font-size: clamp(1.8rem,3.3vw,3rem); line-height: 1.06; color: var(--ink); }
h3 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.2; color: var(--ink); }
.section-heading {
  display: flex; align-items: end; justify-content: space-between;
  gap: 26px; margin-bottom: 32px;
}
.section-heading h2 { max-width: 850px; }
.section-heading a { color: var(--gold); font-weight: 700; white-space: nowrap; transition: color 160ms; }
.section-heading a:hover { color: var(--gold-light); }
.section-heading.wide { display: block; max-width: 980px; }

/* ── CARDS ───────────────────────────────────────────────── */
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.feature-card, .project-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.feature-card:hover, .project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-color: rgba(200,146,42,0.30);
}
.feature-card a { display: grid; min-height: 100%; }
.feature-card img, .project-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.card-body { padding: 20px; }
.card-body p { margin: 0 0 14px; }
.card-kicker {
  color: var(--gold);
  font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.tag-row, .link-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span, .link-cloud a, .link-cloud span {
  display: inline-flex; align-items: center; min-height: 28px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(230,51,41,0.10);
  border: 1px solid rgba(230,51,41,0.18);
  color: #f87171; font-size: 0.80rem; font-weight: 600;
}
.link-cloud a { background: rgba(200,146,42,0.10); border-color: rgba(200,146,42,0.22); color: var(--gold-light); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}
.location { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 0.88rem; margin: 6px 0 10px; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line-gold);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.testimonial-card blockquote {
  margin: 0 0 18px; font-size: 1.02rem; line-height: 1.7;
  color: var(--ink); font-style: italic;
}
.testimonial-card blockquote::before {
  content: '\201C';
  display: block; font-size: 3.5rem; line-height: 0.8; margin-bottom: 12px;
  color: var(--gold); font-family: 'Outfit', serif; font-style: normal;
}
.testimonial-card cite { color: var(--ink-soft); font-size: 0.86rem; font-style: normal; font-weight: 600; }

/* ── DETAIL LAYOUT ───────────────────────────────────────── */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(310px,390px);
  gap: clamp(28px,5vw,64px);
  align-items: start;
}
.detail-main { max-width: 900px; }
.detail-main h2 { margin-top: 38px; font-size: clamp(1.5rem,2.8vw,2.3rem); }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-lift);
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
}
.process-list { display: grid; gap: 12px; padding-left: 22px; }
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; background: var(--bg-lift);
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq details[open] summary { color: var(--gold); }
.source-note { margin-top: 28px; font-size: 0.92rem; }
.source-note a { color: var(--gold); font-weight: 700; overflow-wrap: anywhere; }

/* ── CONTACT PANEL ───────────────────────────────────────── */
.contact-panel {
  position: sticky; top: 96px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(200,146,42,0.08), rgba(230,51,41,0.05));
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.contact-panel h2 { font-size: 1.5rem; color: var(--ink); }
.contact-panel p { color: var(--ink-soft); }
form { display: grid; gap: 14px; }
label span { display: block; margin-bottom: 6px; font-weight: 600; color: var(--ink); font-size: 0.90rem; }
input, textarea, select {
  width: 100%; min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px; padding: 11px 14px; font: inherit;
  background: rgba(255,255,255,0.04); color: var(--ink);
  transition: border-color 160ms, box-shadow 160ms;
}
input::placeholder, textarea::placeholder { color: var(--ink-muted); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,42,0.15);
}
textarea { resize: vertical; }

/* ── LEAD BAND ───────────────────────────────────────────── */
.lead-band {
  display: grid;
  grid-template-columns: minmax(0,0.85fr) minmax(320px,1fr);
  gap: clamp(24px,5vw,56px);
  align-items: start;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(200,146,42,0.06) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lead-band h2 { color: var(--ink); }
.lead-band p { color: var(--ink-soft); }
.quick-form {
  padding: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.inline-actions, .contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.contact-links .button { background: linear-gradient(135deg, var(--red), #c42b21); }
.contact-links .button.secondary { background: linear-gradient(135deg, var(--gold), #a87522); }

.contact-page {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(320px,1fr);
  gap: clamp(28px,6vw,72px);
  align-items: start;
}
.contact-details p { display: flex; align-items: flex-start; gap: 10px; }
.contact-details a { color: var(--gold); font-weight: 700; }
.form-status {
  min-height: 1.3em; margin: 10px 0 0;
  color: #86efac; font-size: 0.9rem; line-height: 1.5;
}
.form-status:empty { margin-top: 0; }
.form-status a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  padding: 54px clamp(20px,6vw,80px) 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-logo {
  width: 155px; margin-bottom: 16px; padding: 8px 10px;
  border-radius: 8px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}
.site-footer h3 { font-size: 0.88rem; margin: 0 0 14px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.site-footer a { display: block; color: var(--ink-soft); margin: 9px 0; font-size: 0.92rem; transition: color 160ms; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { color: var(--ink-soft); font-size: 0.90rem; }
.fineprint { font-size: 0.78rem; color: var(--ink-muted) !important; margin-top: 12px; }
.footer-cta { display: inline-flex !important; margin-top: 14px !important; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 0.82rem; color: var(--ink-muted); }

/* Social icons in footer */
.footer-social { display: flex; gap: 12px; margin: 18px 0 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: background 160ms, color 160ms, border-color 160ms;
  margin: 0;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* ── FLOATING WHATSAPP ───────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4e);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 30px rgba(37,211,102,0.45);
  transition: transform 200ms ease, box-shadow 200ms ease;
  animation: waFloat 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.10);
  box-shadow: 0 10px 40px rgba(37,211,102,0.65);
}
.whatsapp-float svg { width: 32px; height: 32px; }
@keyframes waFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.whatsapp-float:hover { animation-play-state: paused; transform: scale(1.10); }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 100px; right: 30px; z-index: 998;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(200,146,42,0.15);
  border: 1px solid var(--line-gold);
  color: var(--gold); font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 250ms, transform 200ms, background 160ms;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 550ms ease, transform 550ms ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up:nth-child(4) { transition-delay: 240ms; }
.fade-up:nth-child(5) { transition-delay: 320ms; }
.fade-up:nth-child(6) { transition-delay: 400ms; }

/* ── GUIDE CARDS ON HOMEPAGE ─────────────────────────────── */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease;
}
.guide-card:hover { transform: translateY(-4px); border-color: var(--line-gold); }
.guide-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.guide-card .card-body h3 { color: var(--ink); margin-bottom: 8px; }
.guide-card .card-body a { color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.guide-card .card-body a:hover { color: var(--gold-light); }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(56px,8vw,96px) clamp(20px,6vw,80px);
}
.about-split img { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; text-align: center;
}
.value-card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

/* ── THANK YOU PAGE ──────────────────────────────────────── */
.thank-you-section {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  padding: clamp(56px,8vw,96px) clamp(20px,6vw,80px);
  text-align: center; flex-direction: column;
}
.thank-you-icon { font-size: 4rem; margin-bottom: 24px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1040px) {
  .card-grid.three, .project-grid, .testimonial-grid, .values-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .detail-layout, .lead-band, .intro-split, .contact-page, .footer-grid, .project-carousel, .about-split {
    grid-template-columns: 1fr;
  }
  .contact-panel { position: static; }
  .project-carousel-card { max-width: 420px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; }
  .brand img { width: 120px; }
  .nav-toggle { display: inline-flex !important; margin-left: auto; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 66px;
    display: none; flex-direction: column; align-items: stretch;
    padding: 10px 20px 20px;
    background: rgba(8,13,24,0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .site-nav.open { display: flex; }
  /* Keep WhatsApp visible on mobile! */
  .header-actions { display: flex; }
  .header-actions .icon-button { display: none; }
  .hero { min-height: 76vh; padding-top: 92px; }
  .project-carousel { min-height: 86vh; gap: 22px; }
  .project-carousel-card { max-width: none; padding: 16px; }
  .project-carousel-controls { justify-content: space-between; }
  .project-dots { flex: 1; justify-content: center; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .stats-band div { padding: 22px 18px; }
  .section-heading { display: block; }
  .card-grid.three, .project-grid, .testimonial-grid, .values-grid { grid-template-columns: 1fr; }
  .hero-actions .button, .inline-actions .button, .contact-links .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .back-to-top { bottom: 84px; right: 22px; }
}

/* ── EXTRA MOBILE (< 480px) ──────────────────────────── */
@media (max-width: 480px) {
  .hero { min-height: 88vh; }
  .hero h1 { font-size: clamp(1.7rem,7vw,2.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band strong { font-size: clamp(1.8rem,7vw,2.4rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .lead-band { flex-direction: column; }
  .quick-form label span { font-size: 0.82rem; }
  .section { padding: 44px 18px; }
  .tag-row { gap: 8px; }
  .tag-row span { font-size: 0.8rem; padding: 5px 12px; }
}

/* ── PRINT ───────────────────────────────────────────── */
@media print {
  .site-header, .whatsapp-float, .back-to-top, .lead-band, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* ── REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .whatsapp-float { animation: none; }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ── FORM SUCCESS/ERROR STATES ───────────────────────── */
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 20px;
}
.form-status a { color: var(--gold-light); text-decoration: underline; }

/* ── NETLIFY HONEYPOT ────────────────────────────────── */
form [hidden] { display: none !important; }
form p:has([name="bot-field"]) { display: none !important; }

/* ── FOCUS STYLES (a11y) ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── TAG ROW (about page brand tags) ────────────────── */
.tag-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.tag-row span {
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ── INTRO SPLIT (about page) ────────────────────────── */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(56px,8vw,96px) clamp(20px,6vw,80px);
}
.intro-split h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.5rem,3vw,2.4rem); }
.intro-split p { margin-bottom: 16px; }
.intro-split img { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); width: 100%; }
.inline-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 760px) {
  .intro-split { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .inline-actions { flex-direction: column; }
  .inline-actions .button { width: 100%; justify-content: center; }
}

/* ── CONTACT PAGE LAYOUT ────────────────────────────── */
.contact-page {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 440px);
  gap: 48px;
  padding: clamp(48px,8vw,96px) clamp(20px,6vw,80px);
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-links   { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-links .button { width: 100%; }
.contact-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px,4vw,40px);
  position: sticky; top: 90px;
}
.contact-panel h2 { font-family: 'Outfit', sans-serif; margin-bottom: 8px; }
@media (max-width: 1040px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
}

