/* =============================================================
   MAIN STYLESHEET — THE EDGE CONSTRUCTION CO.
   Components, Layout, Sections | 2026
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;0,800;1,700&display=swap');

/* =============================================================
   NAVIGATION
   ============================================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-5) 0;
  transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.site-nav.scrolled {
  background: var(--color-dark-900);
  padding: var(--space-3) 0;
  box-shadow: 0 2px 24px rgba(6, 13, 26, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: height var(--transition-base);
}

.site-nav.scrolled .nav-logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-dark-900);
  background: var(--color-gold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 2px solid var(--color-gold);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-gold-300);
  border-color: var(--color-gold-300);
  color: var(--color-dark-900);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark-950);
  z-index: calc(var(--z-sticky) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  transition: color var(--transition-base);
}

.nav-mobile a:hover {
  color: var(--color-gold);
}

.nav-mobile .nav-mobile-cta {
  margin-top: var(--space-4);
  font-size: var(--fs-xl);
  color: var(--color-dark-900);
  background: var(--color-gold);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-sm);
}

/* =============================================================
   HERO SECTION
   ============================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background: var(--color-dark-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Layered gradient overlay — dark at bottom for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(6, 13, 26, 0.55) 0%,
      rgba(6, 13, 26, 0.30) 35%,
      rgba(6, 13, 26, 0.60) 65%,
      rgba(6, 13, 26, 0.92) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--color-white);
  max-width: 900px;
  margin-bottom: var(--space-6);
}

.hero-headline em {
  font-style: normal;
  color: var(--color-gold);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--fs-xl);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(168,152,92,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* =============================================================
   STATS BAR
   ============================================================= */

.stats-bar {
  background: var(--color-dark-800);
  border-top: 1px solid rgba(168, 152, 92, 0.2);
  border-bottom: 1px solid rgba(168, 152, 92, 0.2);
  padding: var(--space-10) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-item {
  text-align: center;
  padding: var(--space-4) var(--space-4);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(168, 152, 92, 0.25);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: block;
}

/* =============================================================
   SECTION COMMONS
   ============================================================= */

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--color-dark-900);
}

.section--dark-alt {
  background: var(--color-dark-800);
}

.section--light {
  background: var(--color-neutral-50);
}

.section--alt {
  background: var(--color-neutral-100);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.section-header--center .eyebrow {
  justify-content: center;
}

.section-header--center .section-body {
  margin-inline: auto;
}

.section-header--center .eyebrow::before {
  display: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--text-primary);
}

.section-title--light {
  color: var(--color-white);
}

.section-title em {
  font-style: normal;
  color: var(--color-gold);
}

.section-body {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-4);
  max-width: 560px;
}

.section-body--light {
  color: rgba(255, 255, 255, 0.65);
}

/* =============================================================
   BUTTONS
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.btn-primary:hover {
  background: var(--color-blue-300);
  border-color: var(--color-blue-300);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-dark-900);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background: var(--color-gold-300);
  border-color: var(--color-gold-300);
  color: var(--color-dark-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-dark-900);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark-900);
  transform: translateY(-1px);
}

.btn svg,
.btn-arrow::after {
  transition: transform var(--transition-base);
}

.btn-arrow::after {
  content: '→';
  margin-left: var(--space-2);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* =============================================================
   SERVICES SECTION
   ============================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-dark-800);
  cursor: pointer;
  group: true;
}

.service-card-link {
  display: block;
  text-decoration: none;
}

.service-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 22, 40, 0.85) 100%
  );
  transition: opacity var(--transition-base);
}

.service-card:hover .service-card-img::after {
  opacity: 0.7;
}

.service-card-body {
  padding: var(--space-6) var(--space-6) var(--space-7);
  border: 1px solid rgba(168, 152, 92, 0.12);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--color-dark-800);
  transition: border-color var(--transition-base);
}

.service-card:hover .service-card-body {
  border-color: rgba(168, 152, 92, 0.40);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--color-white);
  margin-bottom: var(--space-3);
  transition: color var(--transition-base);
}

.service-card:hover .service-card-title {
  color: var(--color-gold);
}

.service-card-desc {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}

.service-card-link-text {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  transition: gap var(--transition-base);
}

.service-card:hover .service-card-link-text {
  gap: var(--space-4);
}

/* =============================================================
   WHY EDGE / DIFFERENTIATOR SECTION
   ============================================================= */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.why-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
}

.why-image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--color-gold);
  color: var(--color-dark-900);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
}

.why-image-badge-num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  line-height: 1;
  display: block;
}

.why-image-badge-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.why-feature {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.why-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(17, 100, 194, 0.15);
  border: 1px solid rgba(17, 100, 194, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-blue-300);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-feature-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.why-feature-desc {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--lh-relaxed);
}

/* =============================================================
   PROJECTS TEASER
   ============================================================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.project-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-neutral-200);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card-img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 13, 26, 0.95) 0%,
    rgba(6, 13, 26, 0.30) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--transition-base);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(
    to top,
    rgba(6, 13, 26, 0.97) 0%,
    rgba(6, 13, 26, 0.50) 60%,
    rgba(6, 13, 26, 0.10) 100%
  );
}

.project-card-tag {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.project-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--color-white);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-2);
}

.project-card-location {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}

.project-card-arrow {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 36px;
  height: 36px;
  background: rgba(168, 152, 92, 0);
  border: 1px solid rgba(168, 152, 92, 0);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-base);
  opacity: 0;
  transform: scale(0.8);
}

.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: scale(1);
  background: rgba(168, 152, 92, 0.2);
  border-color: rgba(168, 152, 92, 0.6);
}

/* Project placeholder for missing images */
.project-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-dark-700) 0%, var(--color-dark-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-placeholder span {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* =============================================================
   CTA BANNER
   ============================================================= */

.cta-banner {
  background: var(--color-dark-900);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-banner-text h2 em {
  font-style: normal;
  color: var(--color-gold);
}

.cta-banner-text p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.60);
  max-width: 480px;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-4);
  flex-shrink: 0;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: var(--ls-tight);
  transition: color var(--transition-base);
}

.cta-phone:hover {
  color: var(--color-gold);
}

.cta-phone-icon {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

/* =============================================================
   AFFILIATIONS BAR
   ============================================================= */

.affiliations {
  background: var(--color-dark-950);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-8) 0;
}

.affiliations-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.affiliation-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.affiliation-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold-700);
}

/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
  background: var(--color-dark-950);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  border-top: 1px solid rgba(168, 152, 92, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.50);
  line-height: var(--lh-normal);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-contact-item a:hover {
  color: var(--color-gold);
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-legal {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer-bottom-links a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.60);
}

/* =============================================================
   SCROLL ANIMATIONS
   ============================================================= */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* Author byline on service pages */
.service-author {
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .why-image {
    display: none;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-actions {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-headline {
    font-size: var(--fs-5xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =============================================================
   TESTIMONIALS CAROUSEL
   ============================================================= */

.testimonials-carousel {
  position: relative;
  margin-top: var(--space-12);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Track — stacks all slides on top of each other */
.tc-track {
  position: relative;
  min-height: 320px;
}

/* Individual slide */
.tc-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
  padding: 0 var(--space-16);
}

.tc-slide.tc-active {
  opacity: 1;
  pointer-events: auto;
  position: relative; /* takes up space when active */
}

/* Decorative open-quote */
.tc-slide::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.6;
  color: var(--color-gold);
  opacity: 0.4;
  display: block;
  margin-bottom: var(--space-4);
}

/* Quote text — big */
.tc-quote {
  font-family: var(--font-body);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-regular);
  line-height: var(--lh-snug);
  color: var(--color-white);
  margin: 0 0 var(--space-10);
  font-style: italic;
}

/* Author row */
.tc-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-content: center;
}

.tc-avatar {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-gold);
  background: var(--color-dark-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-avatar--logo {
  border-radius: var(--radius-md);
  padding: var(--space-2);
  background: var(--color-white);
  border-color: transparent;
}

.tc-avatar--logo img {
  object-fit: contain;
}

.tc-avatar--none {
  background: var(--color-dark-700);
}

.tc-avatar--none svg {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
}

.tc-meta {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  letter-spacing: var(--ls-wide);
  color: var(--color-white);
  text-transform: uppercase;
  font-style: normal;
}

.tc-role {
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
}

/* Nav buttons */
.tc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(168, 152, 92, 0.4);
  background: rgba(21, 40, 71, 0.6);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base);
  backdrop-filter: blur(4px);
}

.tc-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark-900);
}

.tc-btn svg {
  width: 20px;
  height: 20px;
}

.tc-btn--prev { left: -56px; }
.tc-btn--next { right: -56px; }

/* Dots */
.tc-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.tc-dot.tc-active {
  background: var(--color-gold);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .tc-slide {
    padding: 0 var(--space-4);
  }

  .tc-quote {
    font-size: var(--fs-xl);
  }

  .tc-btn--prev { left: 0; }
  .tc-btn--next { right: 0; }
}

@media (max-width: 480px) {
  .tc-quote {
    font-size: var(--fs-lg);
  }

  .tc-btn {
    top: auto;
    bottom: -60px;
    transform: none;
  }

  .tc-btn--prev { left: calc(50% - 52px); }
  .tc-btn--next { right: calc(50% - 52px); }

  .tc-dots {
    margin-top: var(--space-20);
  }
}


/* =============================================================
   VIDEO REEL CAROUSEL
   ============================================================= */

.vr-outer {
  position: relative;
  margin-top: var(--space-10);
}

/* Scrollable track */
.vr-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: var(--space-2) var(--section-px) var(--space-8);
}
.vr-track::-webkit-scrollbar { display: none; }

/* Wrapper: card + description below */
.vr-card-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: clamp(175px, 18vw, 215px);
  flex-shrink: 0;
  scroll-snap-align: start;
}

.vr-card-desc {
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
  line-height: var(--lh-snug);
  text-align: center;
  padding: 0 var(--space-1);
}

/* Individual 9:16 card */
.vr-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-dark-700);
  border: 1px solid rgba(168, 152, 92, 0.18);
  transition: border-color var(--transition-base), transform 300ms cubic-bezier(0.34, 1.3, 0.64, 1);
}

.vr-card:hover {
  border-color: rgba(168, 152, 92, 0.65);
  transform: scale(1.03);
  z-index: 1;
}

/* Inline preview video */
.vr-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlay */
.vr-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 13, 26, 0.92) 0%,
    rgba(6, 13, 26, 0.35) 45%,
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-5);
  transition: background var(--transition-base);
}

.vr-card:hover .vr-card-overlay {
  background: linear-gradient(
    to top,
    rgba(6, 13, 26, 0.82) 0%,
    rgba(6, 13, 26, 0.1) 50%,
    transparent 75%
  );
}

/* Play button */
.vr-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(168, 152, 92, 0.75);
  border: 1.5px solid rgba(168, 152, 92, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-900);
  opacity: 0.7;
  transition: transform var(--transition-bounce), background var(--transition-base), opacity var(--transition-base);
}
.vr-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 3px; /* optical play icon centering */
}
.vr-card:hover .vr-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* Card title */
.vr-card-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  line-height: var(--lh-snug);
  color: var(--color-white);
  text-align: center;
  position: relative;
  z-index: 1;
  letter-spacing: var(--ls-normal);
}

/* Thumbnail image — mobile only */
.vr-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* show upper portion of landscape frame */
  display: none; /* hidden on hover-capable (desktop) devices */
}

/* On touch/mobile: show JPEG thumb, hide video */
@media (hover: none) {
  .vr-thumb { display: block; }
  .vr-video  { display: none; }
}

/* Prev / Next nav buttons */
.vr-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%); /* account for title height below midpoint */
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(168, 152, 92, 0.4);
  background: rgba(10, 22, 40, 0.75);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}
.vr-nav:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark-900);
}
.vr-nav svg { width: 20px; height: 20px; }
.vr-nav--prev { left: var(--space-3); }
.vr-nav--next { right: var(--space-3); }

/* =============================================================
   VIDEO MODAL
   ============================================================= */

.vr-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.vr-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.vr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 26, 0.93);
  backdrop-filter: blur(8px);
}

.vr-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vr-modal-video-wrap {
  aspect-ratio: 9 / 16;
  height: min(100dvh, calc(100vw * 16 / 9));
  width: auto;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.vr-modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Close button */
.vr-modal-close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 22, 40, 0.7);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition-base), border-color var(--transition-base);
}
.vr-modal-close:hover {
  background: var(--color-error);
  border-color: var(--color-error);
}
.vr-modal-close svg { width: 20px; height: 20px; }

@media (max-width: 480px) {
  .vr-modal-close {
    top: var(--space-3);
    right: var(--space-3);
  }
}
