@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* Tiaytu General Trading Co. Ltd. — Premium Brand Design */
:root {
  --white: #FFFFFF;
  --gray-50: #F4F7FB;
  --gray-100: #E6EDF5;
  --gray-200: #D0DCEB;
  --text: #111827;
  --muted: #4B5563;
  --accent: #FFB800; /* Vibrant Gold */
  --accent-dark: #E6A600;
  --accent-light: #FFDF80;
  --primary: #0A192F; /* Deep Navy */
  --primary-light: #112240;
  --charcoal: #060D18;
  --border: rgba(10, 25, 47, 0.1);
  --max: 1200px;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(10, 25, 47, 0.05), 0 2px 4px -2px rgba(10, 25, 47, 0.05);
  --shadow: 0 10px 25px -3px rgba(10, 25, 47, 0.08), 0 4px 6px -4px rgba(10, 25, 47, 0.04);
  --shadow-lg: 0 20px 40px -5px rgba(10, 25, 47, 0.12), 0 8px 10px -6px rgba(10, 25, 47, 0.08);
  --shadow-glow: 0 0 20px rgba(255, 184, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --vh: 1vh;
  --nav-height: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

h3 { font-size: 1.5rem; }
p { margin: 0 0 1.2em; color: var(--muted); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.section { padding: 110px 0; position: relative; z-index: 1; }
.section--alt { background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%); }
.section--soft { background: var(--gray-50); }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: auto;
  max-width: none;
  white-space: nowrap;
  padding: 6px 16px;
  background: rgba(255, 184, 0, 0.15);
  border-radius: 30px;
}
.lead { font-size: 1.25rem; color: var(--muted); max-width: 720px; line-height: 1.8; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%); transition: transform 0.5s ease; z-index: -1;
}
.btn:hover::before { transform: translateX(100%); }

.btn--primary,
.btn--light,
.btn--white {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.btn--primary:hover,
.btn--light:hover,
.btn--white:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0f2e58, #08151c);
  color: var(--white);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--nav-height);
  background: transparent;
  transition: all 0.3s ease;
}
.nav.is-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.95);
}
.nav.is-scrolled .nav__links a {
  color: var(--primary);
}
.nav.is-scrolled .nav__links a:hover,
.nav.is-scrolled .nav__links a.active {
  color: var(--accent-dark);
}
.nav.is-scrolled .nav__brand-text .company-name {
  color: var(--primary);
}
.nav.is-scrolled .nav__brand-text .company-tagline {
  color: rgba(10,25,47,0.85);
}
.nav.is-scrolled .nav__toggle span {
  background: var(--primary);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 16px; text-decoration: none; transition: opacity 0.2s ease; }
.nav__brand:hover { opacity: 0.9; }
.nav__logo { height: 60px; width: auto; display: block; border-radius: 12px; overflow: hidden; background: #fff; padding: 4px; }
.nav__brand-text { display: flex; flex-direction: column; gap: 2px; }
.nav__brand-text .company-name { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; margin: 0; line-height: 1.1; }
.nav__brand-text .company-tagline { font-family: 'Outfit', sans-serif; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; margin: 0; }

/* Brand text override when nav is transparent */
.nav .nav__brand-text .company-name { color: #ffffff; }
.nav .nav__brand-text .company-tagline { color: rgba(255,255,255,0.9); }
.nav__links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: #ffffff; font-weight: 600; font-size: 1rem; padding: 8px 0; position: relative; transition: color 0.3s ease; }
.nav__links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.3s ease; border-radius: 2px;
}
.nav__links a:hover { color: var(--accent-dark); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--accent-dark); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; border-radius: 50%; background: var(--gray-50); transition: background 0.3s; }
.nav__toggle:hover { background: var(--gray-100); }
.nav__toggle span { width: 24px; height: 2px; background: var(--primary); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media(max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    flex-direction: column; gap: 0; padding: 16px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-20px); opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom-left-radius: 24px; border-bottom-right-radius: 24px;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links.open a { color: var(--primary); }
  .nav__links.open a:hover, .nav__links.open a.active { color: var(--accent-dark); }
  .nav__links li { border-bottom: 1px solid var(--gray-100); }
  .nav__links li:last-child { border: none; }
  .nav__links a { display: block; padding: 20px 32px; border: 0; font-size: 1.1rem; }
  .nav__links a::after { display: none; }
}

/* Mobile navbar — always solid background, logo sized for touch */
@media(max-width: 430px) {
  .nav {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
  }
  .nav .nav__brand-text .company-name { color: var(--primary); }
  .nav .nav__brand-text .company-tagline { color: var(--accent-dark); }
  .nav .nav__links a { color: var(--primary); }
  .nav .nav__toggle span { background: var(--primary); }
  .nav__logo { height: 48px; max-height: 48px; }
  .nav__brand { gap: 10px; }
  .nav__brand-text .company-name { font-size: 1.15rem; }
  .nav__brand-text .company-tagline { font-size: 0.65rem; }
  .nav__toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}

/* Hero */
.hero, .page-header {
  position: relative;
  background-image: url('../assets/images/hero/heros1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--nav-height) + 24px) 0 80px;
  color: var(--white);
}
.hero::before,
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(8,28,56,0.55) 0%, rgba(0,0,0,0.72) 100%);
}
.hero__inner, .page-header .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px 0;
}
.hero h1, .page-header h1 {
  margin-bottom: 24px;
  color: var(--white);
  text-shadow: 0 8px 24px rgba(0,0,0,0.24);
}
.hero h1 span, .page-header h1 span {
  color: var(--accent);
  background: linear-gradient(to right, var(--accent), #FFEA9F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p:not(.eyebrow), .page-header p:not(.eyebrow) {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-top: auto;
}
.page-header .eyebrow {
  background: rgba(255, 184, 0, 0.2);
  color: var(--accent-light);
}

/* Scoped eyebrow style for hero */
.hero .eyebrow {
  background: rgba(180,160,60,0.45);
  color: #ffffff;
}

@media(max-width: 720px) {
  .hero, .page-header {
    min-height: auto;
    padding: calc(var(--nav-height) + 24px) 0 60px;
  }
  .hero h1, .page-header h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 1.15;
  }
  .hero p:not(.eyebrow), .page-header p:not(.eyebrow) {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    max-width: 100%;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Mobile: 375px–430px targeted fixes ─────────────────────────── */
@media(max-width: 430px) {
  /* Hero headline */
  .hero h1, .page-header h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1.15;
    max-width: 100%;
  }

  /* Hero subtext */
  .hero p:not(.eyebrow), .page-header p:not(.eyebrow) {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    max-width: 100%;
    line-height: 1.6;
  }

  /* Hero inner — no side overflow */
  .hero__inner, .page-header .container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Eyebrow badge — full width, centered */
  .eyebrow {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: normal;
    padding: 6px 12px;
    box-sizing: border-box;
    align-self: stretch;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
  }

  /* CTA buttons — full width, stacked */
  .hero__cta {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    width: 100%;
  }
  .hero__cta .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    border-radius: 50px;
    box-sizing: border-box;
  }

  /* Section headings below hero */
  h2 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  /* Container safety */
  .container {
    padding-inline: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Grids */
.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* Gallery */
.gallery-grid { column-count: 3; column-gap: 24px; width: 100%; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  min-height: 240px;
  border: 1px solid var(--border);
}
.gallery-item:has(img.loaded) { min-height: auto; }
.gallery-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--gray-50) 25%, var(--gray-100) 50%, var(--gray-50) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; z-index: 1;
}
.gallery-item img {
  width: 100%; height: auto; display: block; max-width: 100%;
  position: relative; z-index: 2; opacity: 0; transition: opacity 0.5s ease, transform 0.6s ease;
}
.gallery-item img.loaded { opacity: 1; }
.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 184, 0, 0.1);
  z-index: 10;
}
.gallery-item:hover img.loaded { transform: scale(1.05); }
.gallery-item.broken-image { display: none; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media(max-width: 900px) {
  .gallery-grid { column-count: 2; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
  .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
}
@media(max-width: 600px) {
  .gallery-grid { column-count: 1; }
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(255,184,0,0.3); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,184,0,0.1), rgba(255,184,0,0.2));
  color: var(--accent-dark); border-radius: 16px; margin-bottom: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,184,0,0.2);
  transition: transform 0.3s ease;
}
.card:hover .card__icon { transform: scale(1.1) rotate(5deg); background: var(--accent); color: var(--white); }
.card__icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: 16px; font-size: 1.5rem; }
.card p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Service detail rows */
.section.service-list { padding: 30px 0; }
.section.service-list + .section.service-list { padding-top: 0; }
.service-row { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: flex-start; padding: 60px 0; border-bottom: 1px solid var(--gray-100); }
.service-row:last-child { border-bottom: 0; }
.service-row .num { font-family: 'Outfit', sans-serif; font-size: 4rem; font-weight: 800; color: var(--accent); -webkit-text-stroke: 0; opacity: 1; line-height: 1; transition: 0.3s; }
.service-row:hover .num { transform: scale(1.05); }
.service-row h2 { margin-bottom: 20px; font-size: 2.2rem; }
@media(max-width: 860px) { .service-row { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; } }

/* Past Projects */
.past-projects { background: linear-gradient(to bottom, var(--gray-50), var(--white)); padding: 120px 0; }
.past-projects .container { max-width: var(--max); padding: 0 24px; margin: 0 auto; }
.past-projects .eyebrow { text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); font-weight: 700; }
.past-projects .project-intro h2 { font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--primary); margin: 20px 0 24px; font-size: clamp(2.4rem, 4vw, 3.2rem); }
.past-projects .project-lead { color: var(--muted); max-width: 760px; line-height: 1.8; margin: 0; font-size: 1.15rem; }

.project-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-areas: 'details slideshow';
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--glass-bg); box-shadow: var(--shadow); margin-bottom: 64px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-card--reverse { grid-template-areas: 'slideshow details'; grid-template-columns: 0.9fr 1.1fr; }
.project-card__details { grid-area: details; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.project-card__slideshow { grid-area: slideshow; background: var(--gray-100); position: relative; min-height: 480px; overflow: hidden; }
.project-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white); border-radius: 30px; font-size: 0.85rem; font-weight: 600;
  padding: 6px 16px; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.1em;
  box-shadow: var(--shadow-glow); align-self: flex-start;
}
.project-card__details h3 { font-size: 2.2rem; font-weight: 800; margin: 0 0 20px; }
.project-card__details p { font-size: 1.1rem; color: var(--muted); line-height: 1.8; margin: 0 0 40px; }
.project-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--border); padding-top: 32px; margin-top: auto; }
.project-stat { display: flex; flex-direction: column; gap: 8px; }
.project-stat__value { font-family: 'Outfit', sans-serif; color: var(--primary); font-size: 2.2rem; margin: 0; font-weight: 800; line-height: 1; }
.project-stat__label { font-family: 'Outfit', sans-serif; color: var(--accent-dark); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin: 0; letter-spacing: 0.05em; }
.project-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.project-tag { display: inline-flex; align-items: center; background: rgba(10,25,47,0.04); color: var(--primary); border-radius: 20px; font-size: 0.85rem; font-weight: 500; padding: 6px 14px; }

.slideshow { position: relative; height: 100%; min-height: 480px; background: var(--gray-100); }
.slideshow .slide { display: none; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.slideshow .slide.active { display: block; animation: fadeZoom 0.8s ease-out forwards; }
@keyframes fadeZoom { 0% { opacity: 0; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
.slideshow__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border-radius: 50%; border: none; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 10;
}
.slideshow__arrow:hover { background: var(--accent); color: var(--white); transform: translateY(-50%) scale(1.1); }
.slideshow__arrow--prev { left: 24px; }
.slideshow__arrow--next { right: 24px; }
.slideshow__counter { position: absolute; top: 24px; right: 24px; background: rgba(10,25,47,0.7); backdrop-filter: blur(8px); color: #fff; font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; z-index: 10; }
.slideshow__dots { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; background: rgba(10,25,47,0.4); padding: 8px 16px; border-radius: 30px; backdrop-filter: blur(8px); }
.slideshow__dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; transition: 0.3s; }
.slideshow__dot.active, .slideshow__dot:hover { background: var(--accent); transform: scale(1.2); }

@media(max-width: 900px) {
  .project-card, .project-card--reverse { grid-template-columns: 1fr; grid-template-areas: 'slideshow' 'details'; }
  .project-card__details { padding: 40px 32px; }
  .project-card__slideshow { min-height: 300px; }
  .slideshow { min-height: 300px; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; }
.stat {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white); border: 1px solid rgba(255,255,255,0.1); padding: 48px 40px;
  border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,184,0,0.1) 0%, rgba(0,0,0,0) 70%);
  opacity: 0; transition: opacity 0.5s ease;
}
.stat:hover::before { opacity: 1; }
.stat__num { font-family: 'Outfit', sans-serif; font-size: 3.5rem; color: var(--accent); font-weight: 800; line-height: 1; margin-bottom: 12px; position: relative; z-index: 1; }
.stat__label { color: rgba(255,255,255,0.8); font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; position: relative; z-index: 1; }
@media(max-width: 800px) { .stats { grid-template-columns: 1fr; gap: 20px; } }

/* Client ticker */
.ticker { position: relative; overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: flex; gap: 40px; width: max-content; animation: tickerScroll 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-box { flex: 0 0 auto; width: 220px; height: 110px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; padding: 0 24px; box-shadow: var(--shadow-sm); transition: 0.3s; }
.client-box:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--accent); }
.client-box img { max-height: 70px; max-width: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.7); transition: 0.4s ease; }
.client-box:hover img { filter: grayscale(0%) opacity(1); }

/* Client grid */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.client-grid .client-box { width: 100%; height: 140px; }
@media(max-width: 900px) { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media(max-width: 520px) { .client-grid { grid-template-columns: 1fr; } }

/* Team */
.team-card { background: var(--glass-bg); border: 1px solid var(--border); padding: 48px 32px; text-align: center; border-radius: var(--radius-lg); transition: all 0.4s ease; box-shadow: var(--shadow-sm); }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: rgba(255,184,0,0.4); }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; color: var(--primary); font-size: 2.5rem; font-weight: 800; border: 4px solid var(--white); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.avatar::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; transition: 0.4s; }
.team-card:hover .avatar::after { opacity: 1; transform: scale(0.9); }
.team-card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.team-card p { margin: 0; color: var(--accent-dark); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Leader feature */
.leader-feature { padding: 80px 0; position: relative; }
.leader-inner { display: flex; gap: 80px; align-items: center; }
.leader-feature--reverse .leader-inner { flex-direction: row-reverse; }
.leader-photo { flex: 0 0 45%; position: relative; }
.leader-photo::before { content: ''; position: absolute; inset: -20px -20px 20px 20px; border: 2px solid var(--accent); border-radius: var(--radius-lg); z-index: 0; }
.leader-content { flex: 1; }
.photo-box { background: var(--primary); aspect-ratio: 3/4; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-box--image { padding: 0; }
.photo-box img, .leader-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.6s ease; }
.photo-box:hover img { transform: scale(1.05); }
.initials { width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--accent); border: 3px solid var(--accent); background: rgba(255,184,0,0.1); }
.photo-label { margin-top: 16px; font-size: 1.1rem; color: rgba(255,255,255,0.8); font-weight: 300; }
.eyebrow--gold { background: rgba(255,184,0,0.15); color: var(--accent-dark); }
.gold-rule { width: 60px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); margin: 24px 0; border-radius: 4px; }
.testimonial { display: flex; gap: 20px; align-items: flex-start; font-family: 'Outfit', sans-serif; font-style: italic; font-size: 1.6rem; font-weight: 500; color: var(--primary); line-height: 1.4; margin-top: 12px; }
.quote-mark { color: var(--accent); font-size: 5rem; line-height: 0.5; font-weight: 700; display: block; opacity: 0.3; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 80px 0; border: none; }

@media(max-width: 900px) {
  .leader-inner, .leader-feature--reverse .leader-inner { flex-direction: column; gap: 48px; }
  .leader-photo { flex-basis: auto; width: 100%; max-width: 500px; margin: 0 auto; }
  .testimonial { font-size: 1.3rem; }
}

/* CTA banner */
.cta-banner {
  background: var(--white);
  color: var(--primary);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 47, 80, 0.05) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--primary); margin-bottom: 24px; font-size: clamp(2.2rem, 4vw, 3rem); }
.cta-banner p { color: var(--muted); max-width: 600px; margin: 0 auto 40px; font-size: 1.2rem; font-weight: 300; line-height: 1.8; }
.cta-banner .btn { animation: none; }

/* Footer */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 80px 0 32px; border-top: none; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,184,0,0.05) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 64px; position: relative; z-index: 1; }
.footer h4 { color: var(--white); font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.9rem; margin: 0 0 24px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--accent); }
.footer p, .footer li { font-size: 1rem; line-height: 1.8; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a { color: rgba(255,255,255,0.7); transition: 0.3s; display: inline-block; }
.footer a:hover { color: var(--accent); transform: translateX(4px); }
.footer__brand { font-family: 'Outfit', sans-serif; font-size: 1.8rem; color: var(--white); margin-bottom: 20px; font-weight: 800; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; color: rgba(255,255,255,0.5); position: relative; z-index: 1; }
@media(max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 600px) { .footer__grid { grid-template-columns: 1fr; gap: 40px; } .footer__bottom { flex-direction: column; text-align: center; justify-content: center; } }

/* Forms */
.form { display: grid; gap: 24px; max-width: 600px; }
.form label { font-size: 0.95rem; font-weight: 600; color: var(--primary); display: block; margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%; padding: 16px 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 1.05rem; background: var(--gray-50); color: var(--text);
  transition: all 0.3s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(255,184,0,0.1); }
.form textarea { min-height: 160px; resize: vertical; }
.form .error { color: #DC2626; font-size: 0.9rem; margin-top: 6px; display: none; font-weight: 500; }
.form .error.show { display: block; animation: shake 0.4s ease-in-out; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
@media(max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
.contact-info p { margin: 0 0 8px; color: var(--text); font-size: 1.1rem; }
.contact-info .label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-dark); font-weight: 700; margin-top: 32px; display: block; }
.map-wrap { margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.map-wrap iframe { display: block; width: 100%; height: 480px; border: 0; filter: contrast(1.1) saturate(1.2); }

/* About content */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
@media(max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media(max-width: 768px) {
  .container { padding: 0 16px; padding-inline: 16px; max-width: 100%; box-sizing: border-box; }
  .section { padding: 70px 0; }
  .hero, .page-header { padding: calc(var(--nav-height) + 18px) 0 60px; }
  .hero__inner, .page-header .container { padding: 18px 16px; }
  .hero__cta { gap: 12px; padding-bottom: 12px; flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: 14px 24px; font-size: 0.95rem; letter-spacing: 0.08em; border-radius: 50px; box-sizing: border-box; }
  .nav__links a { padding: 12px 0; }
  .nav__toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .card { padding: 32px 24px; }
  .card__icon { width: 56px; height: 56px; margin-bottom: 24px; }
  .project-card__details { padding: 32px 24px; }
  .project-card__slideshow { min-height: 240px; }
  .stats { gap: 24px; }
  .stat { padding: 32px 24px; }
  .client-box { width: 100%; height: auto; padding: 20px; }
  .team-card { padding: 32px 24px; }
  .leader-feature { padding: 56px 0; }
  .leader-inner { gap: 32px; }
  .testimonial { font-size: 1.2rem; }
  .cta-banner { padding: 70px 0; }
  .footer { padding: 60px 0 24px; }
  .footer__grid { gap: 32px; }
  .form { gap: 20px; }
  .map-wrap { margin-top: 40px; }
  .contact-info .label { margin-top: 24px; }
}
.callout { background: linear-gradient(135deg, rgba(255,184,0,0.05), rgba(255,184,0,0.15)); padding: 48px 40px; border-left: 4px solid var(--accent); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.callout h3 { margin-top: 0; font-size: 1.3rem; color: var(--primary); font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
ul.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
ul.checks li { padding: 0 0 0 36px; position: relative; color: var(--text); font-size: 1.1rem; font-weight: 500; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-dark); font-weight: 900; font-size: 1.2rem; }
