/* ============================================
   Simran Trading Co. Ltd — Brand Theme
   Colors from official logo (navy + gold)
   ============================================ */

:root {
  --brand-navy: #002b5c;
  --brand-navy-dark: #001a3a;
  --brand-navy-light: #003d7a;
  --brand-navy-soft: #e8eef5;
  --brand-gold: #c9972b;
  --brand-gold-light: #d4ad47;
  --brand-gold-dark: #a67d1c;
  --brand-navy-rgb: 0, 43, 92;

  --bg-primary: #ffffff;
  --bg-secondary: #f7f9fc;
  --bg-tertiary: #eef2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfc;
  --bg-dark: var(--brand-navy-dark);
  --bg-dark-secondary: var(--brand-navy);

  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-on-dark: #f7fafc;

  --accent-green: var(--brand-navy);
  --accent-green-dark: var(--brand-navy-dark);
  --accent-green-light: var(--brand-navy-light);
  --accent-green-soft: var(--brand-navy-soft);
  --accent-navy: var(--brand-navy);
  --accent-gold: var(--brand-gold);
  --accent-gold-light: var(--brand-gold-light);
  --accent-red: #c53030;

  --border: rgba(var(--brand-navy-rgb), 0.08);
  --border-hover: rgba(var(--brand-navy-rgb), 0.15);

  --gradient-green: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  --gradient-hero: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 40%, var(--brand-navy-dark) 100%);
  --gradient-gold: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));

  --font-sans: 'Libre Franklin', 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-padding: 96px;
  --topbar-height: 38px;
  --header-height: 92px;
  --site-offset: calc(var(--topbar-height) + var(--header-height));

  --shadow-sm: 0 1px 3px rgba(var(--brand-navy-rgb), 0.06);
  --shadow-md: 0 4px 20px rgba(var(--brand-navy-rgb), 0.08);
  --shadow-lg: 0 12px 40px rgba(var(--brand-navy-rgb), 0.12);
  --shadow-glow: 0 8px 32px rgba(var(--brand-navy-rgb), 0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--site-offset); }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-topbar { padding-top: 0; }

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-padding) 0; }
.section--alt { background: var(--bg-secondary); }
.section--soft { background: var(--bg-tertiary); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-green);
  margin-bottom: 14px;
}

.section--dark .section__tag { color: var(--accent-gold-light); }

.section__title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--accent-navy);
}

.section--dark .section__title { color: #fff; }

.section__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

.section--dark .section__desc { color: rgba(255,255,255,0.75); }

.section__header { text-align: center; margin-bottom: 56px; }
.section__header .section__desc { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: 0 2px 12px rgba(201, 151, 43, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 151, 43, 0.45);
  background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 50%, var(--brand-gold-dark) 100%);
}

.btn--outline {
  background: transparent;
  color: var(--accent-navy);
  border: 2px solid var(--accent-navy);
}

.btn--outline:hover {
  background: var(--accent-navy);
  color: #fff;
}

.hero .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.hero .btn--outline:hover {
  background: #fff;
  color: var(--accent-green-dark);
  border-color: #fff;
}

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--full { width: 100%; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 12px 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero .btn--ghost {
  min-height: 44px;
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge__dot {
  width: 8px; height: 8px;
  background: var(--accent-gold-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Top bar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  background: var(--accent-navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
}

.topbar .container {
  width: 100%;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 4px;
  line-height: 1.4;
}

.topbar strong { color: var(--accent-gold-light); }

/* Site header shell */
.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
}

body:not(.has-topbar) .site-header { top: 0; }

/* Header bar */
.header {
  position: relative;
  z-index: 1002;
  height: 100%;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

body:not(.has-topbar) .header { top: 0; }
body:not(.has-topbar) { --topbar-height: 0px; --site-offset: var(--header-height); }

.header.scrolled,
.site-header:has(.header.scrolled) {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-navy);
  flex-shrink: 0;
}

.logo-accent { color: var(--accent-gold); }

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo__img {
  display: block;
  height: 68px;
  width: auto;
  max-width: min(320px, 62vw);
  object-fit: contain;
}

.site-logo__img--footer {
  height: auto;
  max-height: 64px;
  max-width: 260px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.nav__logo.site-logo {
  gap: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
}

/* Desktop drawer — fixed overlay centered in header band */
.nav__drawer {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav__drawer .nav__menu {
  pointer-events: auto;
  max-width: min(720px, calc(100vw - 420px));
}

.nav__drawer-footer {
  display: none;
}

.nav__backdrop {
  display: none;
}

.nav__item {
  position: relative;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav__link:hover,
.nav__link.active,
.nav__item--dropdown:hover > .nav__link,
.nav__item--dropdown.is-open > .nav__link {
  color: var(--accent-green);
  background: transparent;
}

.nav__chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav__item--dropdown:hover > .nav__link .nav__chevron,
.nav__item--dropdown.is-open > .nav__link .nav__chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  list-style: none;
}

.nav__item--dropdown:hover > .nav__dropdown,
.nav__item--dropdown.is-open > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown .nav__item {
  width: 100%;
}

.nav__dropdown .nav__link {
  display: flex;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  white-space: normal;
}

.nav__dropdown .nav__link:hover {
  background: var(--accent-green-soft);
  color: var(--accent-green-dark);
}

.nav__dropdown .nav__chevron {
  margin-left: auto;
}

.nav__dropdown--nested {
  top: 0;
  left: calc(100% + 4px);
}

.nav__actions { display: flex; align-items: center; gap: 16px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px -6px -10px 0;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.nav__toggle:hover {
  background: var(--bg-secondary);
}

.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--accent-navy);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero Carousel Banner */
.hero {
  position: relative;
  margin-top: var(--site-offset);
  min-height: calc(100vh - var(--site-offset));
  min-height: calc(100dvh - var(--site-offset));
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero--carousel {
  background: var(--accent-navy);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(var(--brand-navy-rgb), 0.82) 0%, rgba(var(--brand-navy-rgb), 0.35) 38%, rgba(var(--brand-navy-rgb), 0.08) 100%);
}

.hero__bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 0 56px;
}

  .hero__caption {
    position: relative;
    flex: 1;
    min-height: 220px;
    max-width: 780px;
  }

.hero__caption-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero__caption-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__title {
  font-size: clamp(1.875rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
  max-width: 720px;
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
  padding-bottom: 8px;
}

.hero__progress {
  width: min(280px, 40vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  overflow: hidden;
}

.hero__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 2px;
}

.hero__nav {
  display: flex;
  gap: 10px;
}

.hero__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Legacy hero stats (stats-bar section) */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}

.hero__stats .stat {
  text-align: center;
  min-width: 100px;
}

.hero__stats .stat__number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
}

.hero__stats .stat__suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.hero__stats .stat__label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Legacy showcase (unused in carousel hero) */
.hero__showcase {
  background: rgba(255,255,255,0.98);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  align-self: center;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.hero__showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hero__showcase-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-navy);
}

.hero__showcase-header span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.showcase-grid { display: flex; flex-direction: column; gap: 12px; }

.showcase-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-green);
  transition: var(--transition);
}

.showcase-item:hover {
  background: var(--accent-green-soft);
  transform: translateX(4px);
}

.showcase-item__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-navy);
}

.showcase-item__value {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
}

/* Stats bar */
.stats-bar {
  background: var(--accent-navy);
  padding: 56px 0;
  color: #fff;
}

.stats-bar .hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}

.stats-bar .section__header { margin-bottom: 32px; }
.stats-bar .section__header .section__tag { color: var(--accent-gold-light); }

.stats-bar .stat { text-align: center; min-width: 120px; }
.stats-bar .stat__number { font-size: 2.75rem; color: #fff; }
.stats-bar .stat__suffix { font-size: 2rem; color: var(--accent-gold-light); }
.stats-bar .stat__label { color: rgba(255,255,255,0.7); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-top: 4px; }

.stat__number { font-size: 2rem; font-weight: 700; color: var(--accent-navy); }
.stat__suffix { font-size: 1.5rem; font-weight: 700; color: var(--accent-gold); }
.stat__label { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
  padding: 0 20px;
}

.about__image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gradient-green);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about__pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(201, 151, 43, 0.18) 0%, transparent 50%);
}

.about__floating-card {
  position: absolute;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.about__floating-card strong { display: block; font-size: 0.875rem; color: var(--accent-navy); }
.about__floating-card span { font-size: 0.8125rem; color: var(--accent-gold); font-weight: 600; }
.about__floating-card--1 { top: 18%; right: 0; animation-delay: 0s; }
.about__floating-card--2 { bottom: 18%; left: 0; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about__content,
.why__content,
.contact__info {
  text-align: left;
}

.why__content .section__desc {
  margin-left: 0;
}

.about__text { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; }

.about__features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent-green-soft);
  border-radius: var(--radius-sm);
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 0 0 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card--has-thumb {
  padding-top: 0;
}

.service-card__thumb {
  aspect-ratio: 3 / 2;
  margin: 0 0 20px;
  overflow: hidden;
  background: var(--accent-green-soft);
}

.service-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card--has-thumb:hover .service-card__thumb img {
  transform: scale(1.05);
}

.service-card--has-thumb .service-card__title,
.service-card--has-thumb .service-card__desc,
.service-card--has-thumb .service-card__link {
  padding-left: 28px;
  padding-right: 28px;
}

.service-card:not(.service-card--has-thumb) {
  padding: 32px 28px;
}

.service-card__image {
  height: 140px;
  margin: -32px -28px 20px;
  background-size: cover;
  background-position: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--accent-green-soft);
  border-radius: var(--radius-md);
  color: var(--accent-green);
  margin: 32px 28px 20px;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--gradient-green);
  color: #fff;
}

.service-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--accent-navy); margin-bottom: 10px; padding: 0 28px; }
.service-card:not(.service-card--has-thumb) .service-card__title { padding: 0; }
.service-card__desc { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; padding: 0 28px; flex: 1; }
.service-card:not(.service-card--has-thumb) .service-card__desc { padding: 0; }

.service-card__link {
  display: inline-block;
  padding: 0 28px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-green);
}

.service-card:not(.service-card--has-thumb) .service-card__link {
  padding: 0;
}

.service-card__link:hover { color: var(--accent-green-dark); }

/* Markets */
.markets__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.market-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-green);
}

.market-card__flag { font-size: 2.25rem; margin-bottom: 14px; line-height: 1; }

.market-card__map {
  width: 100%;
  max-width: 132px;
  margin: 0 auto 16px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 43, 92, 0.04) 0%, rgba(0, 43, 92, 0.08) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 8px;
}

.market-card__map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.market-card--has-map:hover .market-card__map img {
  transform: scale(1.04);
  transition: transform 0.35s ease;
}
.market-card h3 { font-size: 1rem; font-weight: 700; color: var(--accent-navy); margin-bottom: 8px; }
.market-card p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }

.market-card__stat {
  display: inline-block;
  padding: 5px 14px;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
}

.countries-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.country-tag {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.country-tag:hover {
  background: var(--accent-green-soft);
  border-color: var(--accent-green);
  color: var(--accent-green-dark);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  background: var(--gradient-green);
  border-radius: var(--radius-xl);
  color: #fff;
}

.cta-banner h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); }

.cta-banner .btn--primary {
  background: var(--gradient-gold);
  color: #fff;
  flex-shrink: 0;
}

.cta-banner .btn--primary:hover {
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold-dark));
  color: #fff;
}

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.why-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-card:hover { border-color: var(--accent-green); box-shadow: var(--shadow-sm); }

.why-card__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green-soft);
  margin-bottom: 10px;
  font-family: var(--font-serif);
}

.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--accent-navy); margin-bottom: 8px; }
.why-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* News / Insights */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial:hover { box-shadow: var(--shadow-md); border-color: var(--accent-green); }

.testimonial__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.testimonial__stars { color: var(--accent-gold); font-size: 0.875rem; margin-bottom: 12px; }

.testimonial p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  font-style: normal;
}

.testimonial footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.testimonial__avatar {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-green);
  border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.testimonial__avatar--photo {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.testimonial cite { display: block; font-style: normal; font-weight: 700; font-size: 0.9375rem; color: var(--accent-navy); }
.testimonial footer span { font-size: 0.8125rem; color: var(--text-muted); }

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact__details { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact__details li { display: flex; align-items: flex-start; gap: 16px; }

.contact__icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-green-soft);
  border-radius: var(--radius-sm);
  color: var(--accent-green);
  flex-shrink: 0;
}

.contact__details strong { display: block; font-size: 0.875rem; margin-bottom: 4px; color: var(--accent-navy); }
.contact__details span { font-size: 0.9375rem; color: var(--text-secondary); }

.contact__form {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0,103,71,0.1);
  background: #fff;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23718096' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--site-offset) + 48px) 0 48px;
  background: var(--accent-navy);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(var(--brand-navy-rgb), 0.85) 0%, rgba(var(--brand-navy-rgb), 0.92) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  opacity: 1;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8125rem;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.7);
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.page-hero__breadcrumb a:hover {
  color: #fff;
}

.page-hero__breadcrumb span:last-child {
  color: var(--accent-gold-light);
  font-weight: 600;
}

.page-hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold-light);
  margin-bottom: 12px;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
}

.page-hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section__title--center,
.section__desc--center { text-align: center; }
.section__desc--center { margin-left: auto; margin-right: auto; }

/* Contact Page */
.contact-page {
  background: var(--bg-primary);
}

/* Quick reach bar */
.contact-reach {
  margin-top: -32px;
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}

.contact-reach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-reach__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  color: inherit;
}

a.contact-reach__card:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-reach__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--brand-navy-rgb), 0.08);
  color: var(--accent-green);
  flex-shrink: 0;
}

.contact-reach__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-reach__value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-navy);
  line-height: 1.4;
}

/* Global offices */
.contact-offices {
  padding: 72px 0 64px;
}

.contact-offices__header {
  text-align: center;
  margin-bottom: 48px;
}

.office-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.office-card {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
}

.office-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.office-card:hover .office-card__bg {
  transform: scale(1.06);
}

.office-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--brand-navy-rgb), 0.97) 0%,
    rgba(var(--brand-navy-rgb), 0.7) 50%,
    rgba(var(--brand-navy-rgb), 0.25) 100%
  );
}

.office-card__region {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(var(--brand-navy-rgb), 0.9);
  border-radius: 100px;
}

.office-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 36px 28px 32px;
  text-align: center;
  color: #fff;
}

.office-card__city {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.office-card__divider {
  width: 40px;
  height: 2px;
  background: var(--accent-gold-light);
  margin: 16px auto 20px;
}

.office-card__address p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.office-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: 16px;
  color: rgba(255,255,255,0.95);
}

.office-card__directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  transition: var(--transition);
}

.office-card__directions:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
}

/* Inquiry form */
.contact-inquiry {
  padding: 0 0 96px;
}

.contact-inquiry__wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-inquiry__aside {
  padding: 48px 40px;
  background: linear-gradient(160deg, var(--accent-navy) 0%, var(--brand-navy-dark) 100%);
  color: #fff;
}

.contact-inquiry__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold-light);
  margin-bottom: 16px;
}

.contact-inquiry__aside h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.contact-inquiry__aside > p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-inquiry__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-inquiry__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.contact-inquiry__list li svg {
  color: var(--accent-gold-light);
  flex-shrink: 0;
}

.contact-inquiry__form {
  padding: 48px 40px;
  background: var(--bg-card);
}

.contact-inquiry__form h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 8px;
}

.contact-inquiry__form-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-inquiry__form .form-group input,
.contact-inquiry__form .form-group select,
.contact-inquiry__form .form-group textarea {
  background: #fff;
}

@media (max-width: 1024px) {
  .contact-reach__grid { grid-template-columns: 1fr; }
  .office-cards { grid-template-columns: 1fr; }
  .office-card { min-height: 400px; }
  .contact-inquiry__wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-reach { margin-top: -16px; }
  .contact-offices { padding: 48px 0 40px; }
  .contact-inquiry { padding-bottom: 64px; }
  .contact-inquiry__aside,
  .contact-inquiry__form { padding: 32px 24px; }
  .contact-reach__card { padding: 20px; }
}

/* Footer */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--brand-navy-dark) 0%, #000f22 100%);
  color: var(--text-on-dark);
  padding: 0 0 32px;
  overflow: hidden;
}

.footer__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold-dark) 0%, var(--brand-gold-light) 50%, var(--brand-gold-dark) 100%);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding: 56px 0 48px;
}

.footer__logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer__desc.rich-content {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 340px;
}

.footer__desc.rich-content a { color: var(--accent-gold-light); }

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold-light);
  color: var(--brand-navy-dark);
  transform: translateY(-2px);
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--accent-gold-light);
}

.footer__heading--sm {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-item {
  margin-bottom: 12px;
}

.footer__nav-item > a,
.footer__nav-label {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer__nav-item > a:hover { color: var(--accent-gold-light); }

.footer__nav-label { color: rgba(255, 255, 255, 0.55); font-weight: 500; }

.footer__nav-sub {
  list-style: none;
  padding: 8px 0 0 14px;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 8px;
  margin-left: 4px;
}

.footer__nav-sub li { margin-bottom: 8px; }

.footer__nav-sub a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  transition: var(--transition);
}

.footer__nav-sub a:hover { color: #fff; }

.footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(201, 151, 43, 0.14);
  color: var(--accent-gold-light);
}

.footer__contact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.footer__contact-list a,
.footer__contact-list address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.footer__contact-list a {
  transition: var(--transition);
  word-break: break-word;
}

.footer__contact-list a:hover { color: var(--accent-gold-light); }

.footer__cta-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 18px;
}

.footer__cta-btn {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer__whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #25d366;
  transition: var(--transition);
}

.footer__whatsapp-link:hover { color: #5dff92; }

.footer__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__legal-list li { margin-bottom: 8px; }

.footer__legal-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer__legal-list a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.footer__copy,
.footer__powered {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.5;
}

.footer__powered {
  text-align: right;
}

.footer__powered a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__powered a:hover {
  color: var(--accent-gold-light);
}

/* Sticky WhatsApp button */
.whatsapp-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.24);
  color: #fff;
}

.whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsapp-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab__pulse { animation: none; }
}

.whatsapp-fab__icon { position: relative; z-index: 1; }

/* Rich text content */
.rich-content p { margin-bottom: 0.85em; }
.rich-content p:last-child { margin-bottom: 0; }
.rich-content ul,
.rich-content ol { margin: 0.5em 0 0.85em 1.25em; }
.rich-content li { margin-bottom: 0.35em; }
.rich-content a {
  color: var(--brand-navy-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.rich-content a:hover { color: var(--accent-gold-dark); }

.section--dark .rich-content a,
.footer .rich-content a {
  color: var(--accent-gold-light);
}

.section--dark .rich-content a:hover,
.footer .rich-content a:hover {
  color: #fff;
}

.rich-content strong { font-weight: 600; }
.rich-content blockquote {
  margin: 0.75em 0;
  padding-left: 1em;
  border-left: 3px solid var(--accent-gold);
  color: var(--text-secondary);
}

.section--dark .rich-content blockquote {
  color: rgba(255, 255, 255, 0.78);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* About page & portfolio grids */
.about-gallery {
  display: grid;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-gallery--flush { gap: 0; }

.about-gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
.about-gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }
.about-gallery--cols-6 { grid-template-columns: repeat(6, 1fr); }

.about-gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--brand-navy-soft);
  border-radius: var(--radius-sm);
}

.about-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.about-gallery--flush .about-gallery__item { border-radius: 0; }
.about-gallery--flush .about-gallery__item img { aspect-ratio: 3 / 2; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.portfolio-item__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-item__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.portfolio-item__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-navy);
  line-height: 1.35;
}

.labeled-gallery {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 1100px;
  margin: 0 auto;
}

.labeled-gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }
.labeled-gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }

.labeled-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--brand-navy-soft);
  border-radius: var(--radius-md);
}

.labeled-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.labeled-gallery__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.labeled-gallery__label span {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  text-align: center;
  background: rgba(var(--brand-navy-rgb), 0.45);
}

.quote-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.quote-card--2 { margin-top: 28px; }

.quote-card__bubble {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  margin-bottom: 18px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.quote-card__bubble::after {
  content: '';
  position: absolute;
  left: 28px;
  bottom: -10px;
  border: 10px solid transparent;
  border-top-color: var(--bg-card);
  border-bottom: 0;
}

.quote-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
}

.quote-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.quote-card__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green-soft);
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1rem;
}

.quote-card__author cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-navy);
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --section-padding: 72px;
    --header-height: 80px;
  }

  .nav__drawer {
    top: var(--site-offset);
    right: 0;
    left: auto;
    bottom: 0;
    width: min(340px, 88vw);
    height: auto;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    box-shadow: -8px 0 32px rgba(var(--brand-navy-rgb), 0.15);
    z-index: 1003;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    pointer-events: auto;
  }

  .nav__drawer .nav__menu {
    max-width: none;
  }

  .nav__drawer.show {
    transform: translateX(0);
  }

  .nav__drawer .nav__menu {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    overflow-y: auto;
    padding: 12px 12px 8px;
    gap: 2px;
    pointer-events: auto;
  }

  .nav__drawer-footer {
    display: block;
    padding: 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    flex-shrink: 0;
  }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--site-offset);
    background: rgba(var(--brand-navy-rgb), 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1002;
    pointer-events: none;
  }

  .nav__backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__toggle { display: flex; }
  .nav__actions .nav__cta { display: none; }

  .nav__item { width: 100%; }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    white-space: normal;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    margin-top: 2px;
    display: none;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
  }

  .nav__item--dropdown.is-open > .nav__dropdown {
    display: block;
  }

  .nav__dropdown .nav__link {
    padding: 12px 14px;
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 500;
  }

  .nav__dropdown--nested {
    left: 0;
    padding-left: 12px;
  }

  .site-logo__img {
    height: 56px;
    max-width: min(260px, 58vw);
  }

  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 32px;
    gap: 20px;
  }

  .hero__caption {
    min-height: 0;
    max-width: 100%;
    order: 1;
  }

  .hero__controls {
    order: 2;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
  }

  .hero__caption-panel {
    position: static;
    display: none;
    opacity: 0;
    transform: none;
    pointer-events: none;
    transition: opacity 0.45s ease;
  }

  .hero__caption-panel.is-active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .hero__progress { flex: 1; max-width: none; margin-right: 16px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .markets__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__powered { text-align: left; max-width: none; }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px; }
  .about-gallery--cols-6 { grid-template-columns: repeat(3, 1fr); }
  .labeled-gallery--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .quote-testimonials { grid-template-columns: 1fr; }
  .quote-card--2 { margin-top: 0; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
    --header-height: 72px;
    --topbar-height: 48px;
  }

  .topbar {
    height: auto;
    min-height: 36px;
    padding: 6px 0;
  }

  .topbar .container {
    font-size: 0.75rem;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav {
    gap: 12px;
  }

  .site-logo__img {
    height: 48px;
    max-width: min(220px, 62vw);
  }

  .site-logo__img--footer {
    height: 50px;
    max-width: 240px;
  }

  .hero {
    min-height: max(480px, calc(100svh - var(--site-offset)));
    min-height: max(480px, calc(100dvh - var(--site-offset)));
  }

  .hero__overlay {
    background:
      linear-gradient(to top, rgba(var(--brand-navy-rgb), 0.94) 0%, rgba(var(--brand-navy-rgb), 0.62) 42%, rgba(var(--brand-navy-rgb), 0.2) 100%);
  }

  .hero__bottom {
    padding-bottom: 24px;
    gap: 16px;
  }

  .hero__title {
    font-size: clamp(1.375rem, 5.2vw, 1.875rem);
    line-height: 1.28;
    margin-bottom: 10px;
    max-width: 100%;
  }

  .hero__subtitle {
    font-size: 0.875rem;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .hero .btn--ghost {
    display: inline-flex;
    width: auto;
    min-width: 148px;
    padding: 11px 24px;
    font-size: 0.875rem;
  }

  .hero__caption { min-height: 0; }
  .hero__arrow { width: 40px; height: 40px; flex-shrink: 0; }
  .hero__nav { flex-shrink: 0; }

  .services__grid, .markets__grid, .why__cards { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
  .about__image-wrapper { padding: 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }
  .footer__main { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__powered { text-align: center; }
  .stats-bar .hero__stats { flex-direction: column; gap: 28px; }

  .page-hero {
    padding: calc(var(--site-offset) + 32px) 0 40px;
  }

  .page-hero__title {
    font-size: clamp(1.625rem, 5vw, 2.25rem);
  }

  .contact-reach { margin-top: -24px; }
  .contact-reach__grid { grid-template-columns: 1fr; }
  .office-cards { grid-template-columns: 1fr; }
  .contact-offices { padding: var(--section-padding) 0; }

  .about-gallery--cols-3,
  .about-gallery--cols-4,
  .about-gallery--cols-6,
  .labeled-gallery--cols-4,
  .labeled-gallery--cols-3 { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .quote-testimonials {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .quote-card { margin-top: 0 !important; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
