/* =========================================================
   AREOT CONSTRUCTIONS — style.css
   Light Corporate Theme | #F26522 Orange | #0F172A Navy
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
  --orange:   #F26522;
  --orange-d: #D4541A;
  --orange-l: #FFF0E8;
  --navy:     #0F172A;
  --navy-m:   #1E293B;
  --navy-l:   #334155;
  --slate:    #64748B;
  --muted:    #94A3B8;
  --border:   #E2E8F0;
  --bg:       #F8FAFC;
  --white:    #FFFFFF;
  --success:  #22C55E;
  --yellow:   #F59E0B;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);

  --radius:   8px;
  --radius-lg:16px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--navy-m);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Google Translate Bar ---------- */
#google_translate_element {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  box-shadow: var(--shadow-md);
}

.goog-te-gadget { font-family: var(--font-body) !important; font-size: 13px !important; color: var(--slate) !important; }
.goog-te-gadget .goog-te-gadget-simple { border: none !important; background: transparent !important; }
.goog-te-gadget img { display: none; }
.goog-logo-link { display: none !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
.goog-te-menu-value { display: none !important; }
#google_translate_element { display: none !important; }
body { top: 0 !important; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.125rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.section-head { margin-bottom: 48px; }
.section-head p { color: var(--slate); max-width: 600px; margin-top: 12px; font-size: 1.0625rem; }
.section-head.center { text-align: center; }
.section-head.center p { margin: 12px auto 0; }

/* ---------- Utilities ---------- */
.container { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9375rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(242,101,34,.35);
}
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242,101,34,.45); }

.btn-outline {
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

.btn-ghost {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-m); transform: translateY(-2px); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tag-orange { background: var(--orange-l); color: var(--orange); }
.tag-navy   { background: var(--navy); color: var(--white); }
.tag-green  { background: #DCFCE7; color: #15803D; }
.tag-blue   { background: #DBEAFE; color: #1D4ED8; }

/* ---------- Safety Stripe ---------- */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0px, var(--orange) 8px,
    var(--navy)   8px, var(--navy)   16px
  );
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 32px;
  transition: var(--transition);
}

.navbar.transparent .navbar-inner { background: transparent; }
.navbar.scrolled .navbar-inner {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo svg { width: 44px; height: 44px; }
.logo-text { font-family: var(--font-head); }
.logo-text .logo-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--navy);
  transition: var(--transition);
}
.navbar.transparent .logo-name { color: var(--white); }
.navbar.scrolled .logo-name { color: var(--navy); }
.logo-text .logo-sub {
  display: block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  transition: var(--transition);
  color: var(--navy-l);
  position: relative;
}
.navbar.transparent .nav-links a { color: rgba(255,255,255,.85); }
.navbar.scrolled .nav-links a   { color: var(--navy-l); }
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }
.navbar.transparent .nav-links a:hover,
.navbar.transparent .nav-links a.active { color: var(--white); background: rgba(255,255,255,.12); }

.nav-links a.nav-portal {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(242,101,34,.4);
}
.nav-links a.nav-portal:hover { background: var(--orange-d); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.transparent .nav-hamburger span { background: var(--white); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-mobile a:last-child { border: none; }
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile a.nav-portal { color: var(--orange); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=90&auto=format');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,.92) 0%,
    rgba(15,23,42,.75) 50%,
    rgba(242,101,34,.3) 100%
  );
}

.hero .container { position: relative; z-index: 1; }

.hero-content { max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(242,101,34,.2);
  border: 1px solid rgba(242,101,34,.5);
  border-radius: 100px;
  padding: 8px 20px;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(242,101,34,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(242,101,34,0); }
}

.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--orange); }
.hero p { color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 600px; margin-bottom: 40px; }

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat {}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat .num span { color: var(--orange); }
.hero-stat .lbl {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

/* Hero scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-family: var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}
.hero-scroll i { font-size: 1.25rem; color: var(--orange); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- TICKER ---------- */
.ticker {
  background: var(--navy);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-item i { color: var(--orange); font-size: .875rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- ABOUT SPLIT ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-imgs {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.about-img-accent {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 48%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}
.about-badge {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about-badge .big { font-family: var(--font-head); font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.about-badge .small { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-top: 4px; }

.about-content .section-head { margin-bottom: 24px; }
.about-content p { color: var(--slate); margin-bottom: 16px; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.pillar:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--orange-l);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.pillar-text h5 { font-size: .9375rem; margin-bottom: 4px; }
.pillar-text p  { font-size: .8125rem; color: var(--slate); margin: 0; }

/* ---------- SERVICES ---------- */
.services { background: var(--bg); position: relative; overflow: hidden; }
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.svc-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-card:hover .svc-img { transform: scale(1.06); }
.svc-body { padding: 28px; }
.svc-icon {
  width: 52px; height: 52px;
  background: var(--orange-l);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.375rem;
  margin-bottom: 16px;
}
.svc-body h3 { font-size: 1.125rem; margin-bottom: 10px; }
.svc-body p  { color: var(--slate); font-size: .9375rem; margin-bottom: 20px; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 700;
  transition: var(--transition);
}
.svc-link:hover { gap: 10px; }

/* ---------- DIRECTORS ---------- */
.directors { background: var(--white); }
.directors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.director-card {
  text-align: center;
  transition: var(--transition);
}
.director-card:hover { transform: translateY(-6px); }
.director-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 20px;
}
.director-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.director-initials {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 40px; height: 40px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.director-card h4 { font-size: 1rem; margin-bottom: 4px; }
.director-card .role {
  display: block;
  font-size: .8125rem;
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.director-card p  { font-size: .8125rem; color: var(--slate); line-height: 1.5; }

/* ---------- HEAVY EQUIPMENT ---------- */
.equipment { background: var(--navy); }
.equipment .section-head h2 { color: var(--white); }
.equipment .section-head p  { color: rgba(255,255,255,.6); }
.equipment .section-label   { color: var(--orange); }

.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 12px;
}
.equip-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.equip-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.equip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.equip-item:hover img { transform: scale(1.08); }
.equip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.equip-item:hover .equip-overlay { opacity: 1; }
.equip-overlay span {
  color: var(--white);
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 700;
}

/* ---------- PORTFOLIO PREVIEW ---------- */
.portfolio-preview { background: var(--bg); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.port-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.port-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.port-card:hover img { transform: scale(1.08); }
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition);
}
.port-overlay h4 { color: var(--white); font-size: 1.125rem; margin-bottom: 6px; }
.port-overlay p  { color: rgba(255,255,255,.7); font-size: .875rem; margin-bottom: 12px; }
.port-overlay .tag { opacity: 0; transform: translateY(8px); transition: var(--transition); }
.port-card:hover .port-overlay .tag { opacity: 1; transform: translateY(0); }
.portfolio-grid-center { text-align: center; }

/* ---------- TRUST INDICATORS ---------- */
.trust { background: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item:nth-child(4),
.trust-item:nth-child(8) { border-right: none; }
.trust-icon {
  width: 64px; height: 64px;
  background: var(--orange-l);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.625rem;
  margin: 0 auto 20px;
}
.trust-item h3 {
  font-size: 2.25rem;
  color: var(--orange);
  margin-bottom: 6px;
}
.trust-item p { color: var(--slate); font-size: .9375rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--navy); overflow: hidden; position: relative; }
.testimonials::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(242,101,34,.08);
  border-radius: 50%;
  pointer-events: none;
}
.testimonials .section-head h2 { color: var(--white); }
.testimonials .section-label   { color: var(--orange); }
.testi-track-wrap { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.testi-card {
  min-width: calc(33.333% - 16px);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  flex-shrink: 0;
}
.testi-quote {
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.testi-text { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.testi-author { display: flex; align-items: center; gap: 16px; }
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.testi-name { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; }
.testi-company { color: rgba(255,255,255,.5); font-size: .8125rem; margin-top: 2px; }
.testi-stars { color: var(--yellow); font-size: .875rem; margin-bottom: 16px; }

.testi-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.testi-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.testi-btn:hover { background: var(--orange); border-color: var(--orange); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.2);
  transition: var(--transition);
  cursor: pointer;
}
.testi-dot.active { background: var(--orange); width: 24px; }

/* ---------- PARTNERS BAR ---------- */
.partners-bar { background: var(--bg); padding: 48px 0; }
.partners-bar p {
  text-align: center;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cert-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .55;
  transition: var(--transition);
}
.cert-logo:hover { opacity: 1; }
.cert-icon { font-size: 2rem; color: var(--navy-l); }
.cert-label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--orange);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'BUILD';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255,255,255,.07);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.cta-band p  { color: rgba(255,255,255,.85); margin-top: 8px; font-size: 1.0625rem; }
.cta-btns { display: flex; gap: 16px; flex-shrink: 0; }

/* ---------- BLOG PREVIEW ---------- */
.blog-preview { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--white);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.blog-img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-body { padding: 28px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.blog-date { font-size: .8125rem; color: var(--muted); }
.blog-body h4 { margin-bottom: 10px; font-size: 1.0625rem; }
.blog-body p  { color: var(--slate); font-size: .9375rem; margin-bottom: 16px; }
.blog-read {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-read:hover { gap: 10px; }
.blog-center { text-align: center; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 0 60px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand .logo-name { color: var(--white) !important; }
.footer-brand p { font-size: .9375rem; line-height: 1.7; max-width: 340px; }
.footer-newsletter { margin-top: 24px; }
.footer-newsletter p { font-size: .875rem; margin-bottom: 12px; color: rgba(255,255,255,.6); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9375rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input:focus { border-color: var(--orange); background: rgba(255,255,255,.12); }
.newsletter-form button {
  padding: 11px 20px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .875rem;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--orange-d); }

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .9375rem; transition: var(--transition); color: rgba(255,255,255,.6); }
.footer-col a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact i  { color: var(--orange); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .875rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ---------- BACK TO TOP ---------- */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(242,101,34,.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 990;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

/* Stagger */
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ---------- PAGE HERO ---------- */
.page-hero {
  height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,.9) 0%, rgba(15,23,42,.6) 100%);
}
.page-hero .container { position: relative; z-index: 1; padding-bottom: 64px; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: .875rem; }
.page-breadcrumb a { color: var(--orange); }
.page-breadcrumb i { font-size: .625rem; }

/* ---------- PARTNERS PORTAL ---------- */
.portal-section { background: var(--bg); min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }

.portal-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Login Panel */
.portal-login { max-width: 520px; margin: 0 auto; }
.portal-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.portal-login-head {
  background: var(--navy);
  padding: 36px 40px;
  text-align: center;
}
.portal-login-head .portal-icon {
  width: 72px; height: 72px;
  background: rgba(242,101,34,.15);
  border: 2px solid rgba(242,101,34,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  color: var(--orange);
  margin: 0 auto 20px;
}
.portal-login-head h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.portal-login-head p  { color: rgba(255,255,255,.6); font-size: .9375rem; }

.portal-login-body { padding: 40px; }
.portal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.pstat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}
.pstat .pstat-num { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; color: var(--orange); line-height: 1; }
.pstat .pstat-lbl { font-size: .6875rem; color: var(--slate); margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

.portal-form-group { margin-bottom: 20px; }
.portal-form-group label { display: block; font-family: var(--font-head); font-size: .8125rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: .04em; }
.portal-input-wrap { position: relative; }
.portal-input-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate); font-size: .9375rem; }
.portal-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--navy);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
}
.portal-input:focus { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(242,101,34,.12); }
.portal-input-hint { font-size: .8125rem; color: var(--slate); margin-top: 6px; }
.portal-btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(242,101,34,.35);
}
.portal-btn-submit:hover { background: var(--orange-d); transform: translateY(-2px); }
.portal-error {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 12px 16px;
  color: #DC2626;
  font-size: .875rem;
  margin-top: 12px;
  display: none;
  align-items: center;
  gap: 10px;
}
.portal-error.show { display: flex; }
.portal-demo-codes {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.portal-demo-codes p { font-size: .8125rem; color: var(--slate); margin-bottom: 8px; font-weight: 600; }
.portal-demo-codes span { display: inline-block; background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 3px 10px; font-family: monospace; font-size: .8125rem; color: var(--navy); margin: 3px 4px 3px 0; cursor: pointer; transition: var(--transition); }
.portal-demo-codes span:hover { border-color: var(--orange); color: var(--orange); }

/* Dashboard */
.portal-dash { display: none; }
.portal-dash.active { display: block; }

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}
.dash-topbar-left { display: flex; align-items: center; gap: 20px; }
.dash-verified {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(242,101,34,.15);
  border: 1px solid rgba(242,101,34,.4);
  border-radius: var(--radius);
  padding: 10px 18px;
}
.dash-verified i { color: var(--orange); font-size: 1.125rem; }
.dash-verified span { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; }
.dash-project-name { color: var(--white); font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; }
.dash-project-type { color: rgba(255,255,255,.5); font-size: .875rem; }
.dash-logout {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.dash-logout:hover { border-color: var(--orange); color: var(--orange); }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 20px;
  align-items: start;
}

/* ---- New dashboard main grid ---- */
.dash-main-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
}
.dash-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-l);
  border: 1px solid rgba(242,101,34,.35);
  color: var(--orange);
  padding: 6px 18px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.dash-doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.dash-doc-card h2 { font-size: 1.375rem; margin-bottom: 8px; }
.dash-welcome { color: var(--slate); font-size: .9375rem; margin-bottom: 20px; line-height: 1.6; }
.dash-welcome strong { color: var(--navy); }
.dash-warning {
  display: flex;
  gap: 14px;
  background: #FFFBEB;
  border: 1px solid #FED7AA;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 24px;
}
.dash-warning > i { color: var(--orange); font-size: 1.125rem; flex-shrink: 0; margin-top: 2px; }
.dash-warning strong { display: block; font-size: .875rem; color: var(--navy-m); margin-bottom: 4px; }
.dash-warning p { font-size: .8125rem; color: var(--slate); margin: 0; line-height: 1.5; }
.dash-panels-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; margin-bottom: 24px; }
.dash-panel { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.dash-panel h5 { font-size: .875rem; margin-bottom: 6px; color: var(--navy); }
.dash-panel-label { font-size: .8125rem; color: var(--slate); margin-bottom: 10px; }
.dash-email-display {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .8125rem;
  color: var(--navy);
  font-weight: 600;
  word-break: break-all;
}
.dash-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  background: transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
  transition: var(--transition);
}
.dash-open-btn:hover { background: var(--navy); color: var(--white); }
.dash-progress-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}
.dash-progress-section h4 { font-size: 1rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.dash-progress-section h4 i { color: var(--orange); }
.dash-session-sidebar { display: flex; flex-direction: column; gap: 16px; }
.dash-clock-val {
  font-family: 'Montserrat', monospace;
  font-weight: 700;
  letter-spacing: .04em;
}
.dash-project-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---- Supplier Portal Dashboard v3 ---- */
.dash-welcome-banner {
  background: linear-gradient(130deg, var(--navy) 0%, #1a3352 60%, #243b55 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dash-welcome-left .dash-verified-pill { margin-bottom: 12px; }
.dash-welcome-banner h3 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 6px;
}
.dash-welcome-banner h3 span { color: var(--orange); }
.dash-welcome-banner > .dash-welcome-left > p { color: rgba(255,255,255,.55); font-size: .875rem; margin: 0; }
.dash-meta-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.meta-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  padding: 8px 16px;
  color: rgba(255,255,255,.9);
  font-size: .8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.meta-chip i { opacity: .7; font-size: .8125rem; }
.meta-chip .dash-clock-val { font-size: .8125rem; font-weight: 700; color: rgba(255,255,255,.9); }

.dash-docs-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.dash-docs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.dash-docs-header h4 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.dash-docs-header h4 i { color: var(--orange); }
.dash-email-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .8125rem;
  color: var(--slate);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-email-tag i { color: var(--orange); flex-shrink: 0; }
.dash-info-notice {
  display: flex;
  gap: 14px;
  background: #fff7ed;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.dash-info-notice > i { color: var(--orange); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.dash-info-notice strong { display: block; font-size: .875rem; color: var(--navy); margin-bottom: 3px; }
.dash-info-notice p { font-size: .8125rem; color: var(--slate); margin: 0; line-height: 1.5; }
.dash-info-positive {
  display: flex;
  gap: 14px;
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.dash-info-positive > i { color: #16a34a; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.dash-info-positive strong { display: block; font-size: .875rem; color: var(--navy); margin-bottom: 3px; }
.dash-info-positive p { font-size: .8125rem; color: var(--slate); margin: 0; line-height: 1.5; }

.dash-ref-panel { display: flex; flex-direction: column; gap: 14px; }
.dash-ref-card, .dash-contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.dash-ref-card h5, .dash-contact-card h5 {
  font-family: var(--font-head);
  font-size: .875rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dash-ref-card h5 i, .dash-contact-card h5 i { color: var(--orange); }
.ref-rows { display: flex; flex-direction: column; gap: 0; }
.ref-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: .8125rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.ref-row:last-child { border-bottom: none; padding-bottom: 0; }
.ref-row:first-child { padding-top: 0; }
.r-key { color: var(--muted); flex-shrink: 0; }
.r-val { color: var(--navy); font-weight: 700; text-align: right; word-break: break-word; }
@media (max-width: 900px) {
  .dash-main-grid { grid-template-columns: 1fr; }
  .dash-panels-row { grid-template-columns: 1fr; }
  .dash-welcome-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dash-meta-chips { gap: 8px; }
}

.dash-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dash-card-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-card-head h4 {
  font-size: .9375rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-card-head h4 i { color: var(--orange); }
.dash-card-body { padding: 20px 24px; }

/* Progress */
.progress-item { margin-bottom: 20px; }
.progress-item:last-child { margin-bottom: 0; }
.progress-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.progress-top span:first-child { font-size: .875rem; font-weight: 600; color: var(--navy); }
.progress-top span:last-child  { font-size: .875rem; font-weight: 800; color: var(--orange); }
.progress-bar-bg { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange) 0%, #FF8A50 100%); border-radius: 4px; width: 0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }

/* Milestones */
.milestone-list { display: flex; flex-direction: column; gap: 12px; }
.milestone-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.milestone-item:last-child { border-bottom: none; }
.milestone-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
}
.milestone-icon.done { background: #DCFCE7; color: #16A34A; }
.milestone-icon.active { background: #FFF7ED; color: var(--orange); }
.milestone-icon.pending { background: var(--bg); color: var(--muted); }
.milestone-info flex-1 {}
.milestone-label { font-size: .875rem; font-weight: 600; color: var(--navy); }
.milestone-date  { font-size: .75rem; color: var(--slate); margin-top: 2px; }

/* Documents */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.doc-item:hover { border-color: var(--orange); background: var(--orange-l); }
.doc-icon { width: 36px; height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .875rem; flex-shrink: 0; }
.doc-icon.pdf  { background: #FEE2E2; color: #DC2626; }
.doc-icon.dwg  { background: #DBEAFE; color: #2563EB; }
.doc-icon.xlsx { background: #DCFCE7; color: #16A34A; }
.doc-icon.zip  { background: #FEF9C3; color: #CA8A04; }
.doc-info { flex: 1; min-width: 0; }
.doc-name { font-size: .875rem; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-size { font-size: .75rem; color: var(--slate); }
.doc-download { color: var(--orange); font-size: .875rem; flex-shrink: 0; }

/* Session Sidebar */
.dash-sidebar { display: flex; flex-direction: column; gap: 16px; }

.session-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
}
.session-card h4 { color: var(--white); font-size: .9375rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.session-card h4 i { color: var(--orange); }

.session-rows { display: flex; flex-direction: column; gap: 10px; }
.session-row { display: flex; justify-content: space-between; align-items: center; }
.session-row .s-key { font-size: .8125rem; color: rgba(255,255,255,.5); }
.session-row .s-val { font-size: .875rem; font-weight: 700; color: var(--white); }
.session-status { display: inline-flex; align-items: center; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.status-dot.green { background: var(--success); box-shadow: 0 0 6px rgba(34,197,94,.5); }

.recipients-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.recipients-card .rc-head { padding: 16px 20px; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-weight: 700; font-size: .9375rem; display: flex; align-items: center; gap: 8px; }
.recipients-card .rc-head i { color: var(--orange); }
.recipient-list { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.recipient-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.recipient-item:hover,
.recipient-item.selected { border-color: var(--orange); background: var(--orange-l); }
.recipient-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .6875rem;
  font-weight: 700;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.recipient-name { font-size: .875rem; font-weight: 600; flex: 1; }
.recipient-role { font-size: .75rem; color: var(--slate); }
.recipient-check { color: var(--orange); font-size: .875rem; opacity: 0; transition: var(--transition); }
.recipient-item.selected .recipient-check { opacity: 1; }

.rc-send {
  padding: 12px;
  border-top: 1px solid var(--border);
}
.rc-send-btn {
  width: 100%;
  padding: 11px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}
.rc-send-btn:hover { background: var(--orange); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-story-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.mvv-card:hover { box-shadow: var(--shadow-lg); border-color: var(--orange); transform: translateY(-4px); }
.mvv-icon {
  width: 64px; height: 64px;
  background: var(--orange-l);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.mvv-card h3 { margin-bottom: 12px; }
.mvv-card p  { color: var(--slate); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.team-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.95) 0%, rgba(15,23,42,.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.team-overlay h4 { color: var(--white); font-size: 1rem; }
.team-overlay span { color: var(--orange); font-size: .8125rem; font-weight: 600; font-family: var(--font-head); }
.team-social { display: flex; gap: 10px; margin-top: 12px; opacity: 0; transform: translateY(8px); transition: var(--transition); }
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.team-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .8125rem;
  transition: var(--transition);
}
.team-social a:hover { background: var(--orange); border-color: var(--orange); }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}
.cert-item:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.cert-item i { font-size: 2rem; color: var(--orange); }
.cert-item h5 { font-size: .9375rem; }
.cert-item p  { font-size: .8125rem; color: var(--slate); }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); }
.svc-detail:last-child { border-bottom: none; }
.svc-detail.flip { }
.svc-detail.flip .svc-detail-img { order: -1; }
.svc-detail-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.svc-detail-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.svc-detail-list li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--navy-m); }
.svc-detail-list li i { color: var(--orange); flex-shrink: 0; }

/* =========================================================
   PORTFOLIO PAGE
   ========================================================= */
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pill {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  transition: var(--transition);
}
.filter-pill:hover, .filter-pill.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.port-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.port-full-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.port-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.port-full-img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s ease; }
.port-full-card:hover .port-full-img { transform: scale(1.05); }
.port-full-body { padding: 24px; }
.port-full-body .tag { margin-bottom: 12px; }
.port-full-body h3 { font-size: 1.125rem; margin-bottom: 8px; }
.port-full-body p  { color: var(--slate); font-size: .9375rem; margin-bottom: 16px; }
.port-meta { display: flex; gap: 16px; font-size: .8125rem; color: var(--slate); flex-wrap: wrap; }
.port-meta span { display: flex; align-items: center; gap: 5px; }
.port-meta i { color: var(--orange); }

/* Case study */
.case-study {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  box-shadow: var(--shadow-xl);
}
.case-study-img { object-fit: cover; width: 100%; height: 100%; min-height: 400px; }
.case-study-body { padding: 48px; }
.case-study-body .section-label { color: var(--orange); }
.case-study-body h2 { color: var(--white); margin-bottom: 16px; }
.case-study-body p  { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 16px; }
.c-stat .num { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--orange); }
.c-stat .lbl { font-size: .8125rem; color: rgba(255,255,255,.5); margin-top: 4px; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--orange-l);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-card h5 { font-size: .9375rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: .9375rem; color: var(--slate); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-head); font-size: .8125rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--navy);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(242,101,34,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #166534;
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.form-success.show { display: flex; }

.map-wrap { margin-top: 60px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); height: 400px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* =========================================================
   BLOG PAGE
   ========================================================= */
.blog-featured {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
  box-shadow: var(--shadow-xl);
}
.blog-featured-img { object-fit: cover; width: 100%; min-height: 380px; }
.blog-featured-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body .tag { margin-bottom: 16px; }
.blog-featured-body h2 { color: var(--white); margin-bottom: 16px; }
.blog-featured-body p  { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.blog-featured-meta { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.4); font-size: .875rem; }

/* =========================================================
   PAGE LOADER
   ========================================================= */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), visibility .7s;
  overflow: hidden;
}
.page-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(242,101,34,.04) 0px, rgba(242,101,34,.04) 2px,
    transparent 2px, transparent 14px
  );
  pointer-events: none;
}
.page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Building SVG */
.loader-building { width: 110px; height: 140px; margin-bottom: 24px; overflow: visible; }

.loader-floor {
  fill: #F26522;
  opacity: 0;
  animation: floorRise .4s cubic-bezier(.34,1.2,.64,1) both;
}
.loader-floor-alt { fill: #1E3A5F; opacity: 0; animation: floorRise .4s cubic-bezier(.34,1.2,.64,1) both; }

.loader-floor:nth-child(1),.loader-floor-alt:nth-child(1) { animation-delay: .10s; }
.loader-floor:nth-child(2),.loader-floor-alt:nth-child(2) { animation-delay: .22s; }
.loader-floor:nth-child(3),.loader-floor-alt:nth-child(3) { animation-delay: .34s; }
.loader-floor:nth-child(4),.loader-floor-alt:nth-child(4) { animation-delay: .46s; }
.loader-floor:nth-child(5),.loader-floor-alt:nth-child(5) { animation-delay: .58s; }
.loader-floor:nth-child(6),.loader-floor-alt:nth-child(6) { animation-delay: .70s; }
.loader-floor:nth-child(7),.loader-floor-alt:nth-child(7) { animation-delay: .82s; }

@keyframes floorRise {
  0%   { opacity: 0; transform: translateY(18px); }
  60%  { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}

.loader-window { opacity: 0; animation: winIn .35s ease 1.0s both; }
@keyframes winIn { from { opacity: 0; } to { opacity: 1; } }

.loader-crane {
  opacity: 0;
  animation: craneIn .5s cubic-bezier(.34,1.2,.64,1) .88s forwards;
}
@keyframes craneIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Glow beneath building */
.loader-glow {
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 60px;
  background: radial-gradient(ellipse at center, rgba(242,101,34,.28) 0%, transparent 70%);
  animation: glowPulse 2s ease 1.2s infinite alternate;
}
@keyframes glowPulse { from { opacity: .5; } to { opacity: 1; } }

/* Brand */
.loader-brand { margin-bottom: 28px; }
.loader-name {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem; font-weight: 900;
  letter-spacing: .16em;
  color: #fff;
  opacity: 0;
  animation: fadeUpIn .6s ease .92s forwards;
}
.loader-sub-text {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #F26522;
  margin-top: 5px;
  opacity: 0;
  animation: fadeUpIn .6s ease 1.08s forwards;
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.loader-progress { width: 200px; margin-bottom: 14px; }
.loader-track { height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, #F26522, #FF9055);
  border-radius: 2px;
  width: 0;
  animation: loadFill 2.2s cubic-bezier(.4,0,.2,1) .2s forwards;
}
@keyframes loadFill {
  0%  { width: 0%; }
  30% { width: 38%; }
  65% { width: 68%; }
  88% { width: 88%; }
  100%{ width: 100%; }
}

.loader-tagline {
  font-family: 'Inter', sans-serif;
  font-size: .6875rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUpIn .6s ease 1.28s forwards;
}
.loader-corner {
  position: fixed;
  bottom: 24px; right: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.18);
  opacity: 0;
  animation: fadeUpIn .5s ease 1.5s forwards;
}

/* =========================================================
   TESTIMONIALS — Edge Fade Fix
   ========================================================= */
.testi-track-wrap { position: relative; }
.testi-track-wrap::before,
.testi-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.testi-track-wrap::before { left: 0; background: linear-gradient(to right, #0F172A 0%, transparent 100%); }
.testi-track-wrap::after  { right: 0; background: linear-gradient(to left,  #0F172A 0%, transparent 100%); }

/* =========================================================
   WORLDWIDE OFFICES STRIP (Footer)
   ========================================================= */
.offices-strip {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0 28px;
}
.offices-strip-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .625rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 14px;
}
.offices-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.office-pin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  transition: color .3s;
  cursor: default;
}
.office-pin:hover { color: #F26522; }
.office-pin i { color: #F26522; font-size: .625rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .directors-grid { grid-template-columns: repeat(3, 1fr); }
  .equip-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .equip-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .section { padding: 64px 0; }
  .about-split, .about-story { grid-template-columns: 1fr; }
  .about-imgs { max-width: 500px; margin: 0 auto; }
  .about-img-badge { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .directors-grid { grid-template-columns: repeat(3, 1fr); }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .port-full-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card { min-width: calc(50% - 12px); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .case-study, .blog-featured { grid-template-columns: 1fr; }
  .case-study-img, .blog-featured-img { height: 280px; min-height: unset; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-detail, .svc-detail.flip { grid-template-columns: 1fr; }
  .svc-detail.flip .svc-detail-img { order: 0; }
  .mvv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .directors-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .port-full-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testi-card { min-width: 100%; }
  .hero-stats { gap: 28px; }
  .partners-logos { gap: 28px; }
  .about-pillars { grid-template-columns: 1fr; }
  .portal-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .directors-grid { grid-template-columns: 1fr 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   AGREEMENT PAGE
   ========================================================= */
.agreement-section {
  background: var(--bg);
  min-height: calc(100vh - 72px);
  padding: 48px 0 80px;
}
.agreement-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.agr-intro {
  margin-bottom: 32px;
}
.agr-intro h1 {
  font-family: var(--font-head);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.agr-intro p { color: var(--slate); font-size: .9375rem; }

/* Document card */
.agr-doc {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Document header band */
.agr-doc-header {
  background: var(--navy);
  padding: 36px 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.agr-header-brand { display: flex; align-items: center; gap: 14px; }
.agr-header-brand .logo-name { font-family: var(--font-head); font-size: 1.25rem; font-weight: 900; color: var(--white); letter-spacing: .06em; }
.agr-header-brand .logo-sub { font-family: var(--font-head); font-size: .625rem; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .2em; text-transform: uppercase; display: block; margin-top: 2px; }
.agr-doc-title { text-align: right; }
.agr-doc-title h2 { font-family: var(--font-head); font-size: 1.125rem; font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: .04em; }
.agr-doc-meta { display: flex; flex-direction: column; gap: 3px; }
.agr-doc-meta span { font-size: .75rem; color: rgba(255,255,255,.5); }
.agr-doc-meta strong { color: rgba(255,255,255,.85); }

/* Body */
.agr-body { padding: 48px 56px; }

/* Sections */
.agr-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.agr-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.agr-section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .625rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-l);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 20px;
}
.agr-section p { font-size: .9375rem; color: var(--slate); line-height: 1.75; }

/* Parties grid */
.agr-parties-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 4px; }
.agr-party-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.agr-party-box h5 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.agr-party-detail { display: flex; flex-direction: column; gap: 6px; }
.agr-party-detail span { font-size: .875rem; color: var(--slate); line-height: 1.5; }
.agr-party-detail strong { color: var(--navy); font-weight: 600; }
.agr-party-note { font-size: .75rem; color: var(--muted); font-style: italic; margin-top: 6px; }

/* Terms list */
.agr-terms-list { list-style: none; padding: 0; margin: 0; counter-reset: clause; }
.agr-terms-list > li {
  counter-increment: clause;
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg);
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.7;
}
.agr-terms-list > li:last-child { border-bottom: none; }
.agr-clause-num {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 800;
  color: var(--navy);
  min-width: 28px;
  padding-top: 2px;
  flex-shrink: 0;
}
.agr-clause-body strong { color: var(--navy); font-weight: 700; display: block; margin-bottom: 4px; font-size: .9375rem; }

/* Form fields */
.agr-fields { display: flex; flex-direction: column; gap: 0; }
.agr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.agr-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.agr-field:last-child { margin-bottom: 0; }
.agr-field label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.agr-field label span { color: var(--orange); }
.agr-field input, .agr-field select, .agr-field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.agr-field input:focus, .agr-field select:focus, .agr-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,101,34,.1);
}
.agr-field input::placeholder, .agr-field textarea::placeholder { color: var(--muted); }
.agr-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.agr-field textarea { resize: vertical; min-height: 80px; }

/* Signature execution grid */
.agr-exec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 4px; }
.agr-sig-block { display: flex; flex-direction: column; }
.agr-sig-label {
  font-family: var(--font-head);
  font-size: .6875rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

/* AREOT pre-signed block */
.agr-signed-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
}
.areot-cursive-sig {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 2.75rem;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
  user-select: none;
}
.agr-sig-line { border-top: 1.5px solid var(--navy-l); margin: 12px 0 10px; }
.agr-sig-meta { font-size: .75rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.agr-sig-meta strong { color: var(--navy); font-size: .8125rem; }

/* Supplier sig tabs */
.sig-tabs {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 12px;
}
.sig-tab-btn {
  padding: 6px 18px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .04em;
}
.sig-tab-btn.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

.sig-canvas-wrap {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: #fafbfc;
  cursor: crosshair;
  overflow: hidden;
  touch-action: none;
}
.sig-canvas-wrap canvas { display: block; width: 100%; height: 130px; }
.sig-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: .875rem;
  pointer-events: none;
  transition: opacity .2s;
}
.sig-placeholder.gone { opacity: 0; }
.sig-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: .8rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.sig-clear-btn:hover { color: #dc2626; }

.sig-type-wrap { position: relative; }
.sig-typed-input {
  width: 100%;
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 2.25rem;
  color: var(--navy);
  border: none;
  border-bottom: 2px solid var(--navy-l);
  border-radius: 0;
  padding: 8px 4px 4px;
  background: transparent;
  line-height: 1.2;
  transition: border-color .2s;
}
.sig-typed-input::placeholder { color: var(--border); font-size: 1.5rem; font-family: var(--font-body); }
.sig-typed-input:focus { outline: none; border-color: var(--orange); }

/* Agree checkbox */
.agr-agree-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.agr-agree-row input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--orange); cursor: pointer; }
.agr-agree-row label { font-size: .875rem; color: var(--slate); line-height: 1.55; cursor: pointer; }
.agr-agree-row label strong { color: var(--navy); }

/* Submit button */
.agr-submit-btn {
  width: 100%;
  padding: 17px 24px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background .2s, transform .1s;
}
.agr-submit-btn:hover { background: var(--orange-d); }
.agr-submit-btn:active { transform: scale(.99); }
.agr-submit-btn:disabled { opacity: .55; cursor: not-allowed; }
.agr-form-error { color: #dc2626; font-size: .8125rem; margin-top: 10px; display: none; }
.agr-form-error.show { display: block; }

/* Success screen */
.agr-success {
  padding: 80px 56px;
  text-align: center;
}
.agr-success-icon {
  width: 80px; height: 80px;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-size: 2.25rem;
  color: #16a34a;
}
.agr-success h2 { font-family: var(--font-head); font-size: 1.75rem; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.agr-success > p { color: var(--slate); font-size: 1rem; max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }
.agr-success-ref {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-head);
  font-size: .875rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 32px;
}
.agr-success-ref i { color: var(--orange); }
.agr-success-steps {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.agr-success-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  max-width: 200px;
  text-align: left;
}
.agr-success-step i { color: var(--orange); font-size: 1.125rem; flex-shrink: 0; margin-top: 2px; }
.agr-success-step strong { font-family: var(--font-head); font-size: .8125rem; color: var(--navy); display: block; margin-bottom: 3px; }
.agr-success-step span { font-size: .75rem; color: var(--muted); line-height: 1.4; }

/* Responsive */
@media (max-width: 720px) {
  .agr-doc-header { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .agr-doc-title { text-align: left; }
  .agr-body { padding: 32px 24px; }
  .agr-parties-grid { grid-template-columns: 1fr; }
  .agr-field-row { grid-template-columns: 1fr; }
  .agr-exec-grid { grid-template-columns: 1fr; }
  .agr-success { padding: 48px 24px; }
}
