:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(20, 20, 20, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.06);
  --red-accent: #c41e3a;
  --red-bright: #e63946;
  --red-dark: #8b1525;
  --red-glow: rgba(196, 30, 58, 0.3);
  --text-primary: #f5f5f5;
  --text-secondary: #c8c8c8;
  --text-muted: #9a9a9a;
  /* WCAG AA on dark overlays (~#121212) */
  --text-on-hero: #f5f5f5;
  --text-on-hero-muted: #e0e0e0;
  --accent-on-hero: #e8c070;
  --transition-smooth: cubic-bezier(0.645, 0.045, 0.355, 1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --header-height: 90px;
  --header-height-mobile: 64px;
}

/* Prevent widows; balance multi-line headings */
.hero-desc,
.section-desc,
.trust-bar__services,
.trust-bar__grid li,
.service-card p,
.feature-item p,
.offer-badge__text,
.glass-card p,
.split-section p,
.page-header .section-desc,
.contact-hero .section-desc {
  text-wrap: pretty;
}

.hero-title,
.section-title,
.special-offers-title,
.service-card h3,
.feature-item h4 {
  text-wrap: balance;
}

/* Page Transition */
.page-loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 100vh;
  pointer-events: none;
  transition: width 0s 1.4s ease;
}

.page-loader__tile {
  position: absolute;
  left: 0;
  width: 0;
  height: 20%;
  background-color: rgba(196, 30, 58, 0.4);
  transition: width .7s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.page-loader__tile:nth-child(1) {
  top: 0;
  transition-delay: 0s;
}
.page-loader__tile:nth-child(2) {
  top: 20%;
  transition-delay: 0.1s;
}
.page-loader__tile:nth-child(3) {
  top: 40%;
  transition-delay: 0.2s;
}
.page-loader__tile:nth-child(4) {
  top: 60%;
  transition-delay: 0.3s;
}
.page-loader__tile:nth-child(5) {
  top: 80%;
  transition-delay: 0.4s;
}

.page-loader--active {
  width: 100%;
  transition-delay: 0s;
  pointer-events: all;
}

.page-loader--active .page-loader__tile {
  width: 100%;
}

.page-loader--active .page-loader__tile:nth-child(1) {
  transition-delay: 0s;
}
.page-loader--active .page-loader__tile:nth-child(2) {
  transition-delay: 0.1s;
}
.page-loader--active .page-loader__tile:nth-child(3) {
  transition-delay: 0.2s;
}
.page-loader--active .page-loader__tile:nth-child(4) {
  transition-delay: 0.3s;
}
.page-loader--active .page-loader__tile:nth-child(5) {
  transition-delay: 0.4s;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn-cta:focus-visible,
.hero-progress-dot:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #fff;
  outline-offset: 3px;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--red-accent);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   NAVIGATION
============================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.4s ease, padding 0.3s ease;
}

.nav-header.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 40px;
  border-bottom: 1px solid var(--border-glass);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-accent);
  transition: width 0.3s var(--transition-smooth);
}

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

.nav-links a.active {
  color: var(--red-accent);
}

/* Hamburger Menu (SVG Animated) */
.hamburger-wrap {
  display: none;
  position: relative;
  z-index: 1100;
}

.hamburger-wrap input {
  display: none;
}

.hamburger-wrap label {
  display: block;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.hamburger-wrap svg {
  width: 50px;
  height: 50px;
}

.hamburger-wrap circle {
  fill: rgba(196, 30, 58, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hamburger-wrap label:hover circle {
  opacity: 1;
}

.hamburger-wrap path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  --length: 24;
  --offset: -38;
  stroke-dasharray: var(--length) var(--total-length);
  stroke-dashoffset: var(--offset);
  transition: all 0.8s var(--transition-smooth);
}

.hamburger-wrap .line--1,
.hamburger-wrap .line--3 {
  --total-length: 126.64183044433594;
}

.hamburger-wrap .line--2 {
  --total-length: 70;
}

.hamburger-wrap input:checked + svg .line--1,
.hamburger-wrap input:checked + svg .line--3 {
  --length: 22.627416998;
  --offset: -94.1149185097;
}

.hamburger-wrap input:checked + svg .line--2 {
  --length: 0;
  --offset: -50;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: right 0.5s var(--transition-smooth);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.4s ease;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.5s; }

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #000;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Left-weighted contrast for F-pattern reading (top-left scan) */
  background:
    linear-gradient(
      to right,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.78) 38%,
      rgba(10, 10, 10, 0.45) 62%,
      rgba(10, 10, 10, 0.25) 100%
    ),
    linear-gradient(
      to top,
      rgba(10, 10, 10, 0.55) 0%,
      transparent 45%
    );
  z-index: 1;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 108px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

/* F-pattern: headline → subcopy → CTA, all left-aligned */
.hero-content {
  max-width: min(42rem, 94vw);
  text-align: left;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.875rem;
  color: var(--text-on-hero);
  letter-spacing: -0.02em;
}

.hero-title__set {
  display: flex;
  flex-direction: column;
}

.hero-title__set--desktop {
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  text-wrap: balance;
}

.hero-title__set--mobile {
  display: none;
}

@media (min-width: 769px) {
  .hero-title__set--desktop .hero-title__line:first-child {
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .hero-title {
    font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  }
}

.hero-title__line {
  display: block;
  margin: 0;
  max-width: 100%;
}

.hero-title__accent {
  color: var(--accent-on-hero);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  color: var(--text-on-hero-muted);
  margin: 0 0 1.5rem;
  max-width: 32rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Trust bar — credentials strip below hero */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 28px 0 30px;
}

.trust-bar__inner {
  max-width: 1100px;
  text-align: center;
}

.trust-bar__services {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
  margin: 0 auto 18px;
  max-width: 52rem;
  line-height: 1.55;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-glass);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
}

.trust-bar__grid li {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 16px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  line-height: 1.35;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.trust-bar__grid li:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

/* Video progress — 44px touch targets (WCAG 2.5.5) */
.hero-progress {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-progress-dot {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.hero-progress-dot:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-progress-dot__bar {
  display: block;
  width: 32px;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.hero-progress-dot .fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--accent-on-hero);
  border-radius: 4px;
}

.hero-progress-dot.active .hero-progress-dot__bar {
  background: rgba(255, 255, 255, 0.55);
}

.hero-progress-dot.active .fill {
  width: 100%;
  animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
  from { width: 0; }
  to { width: 100%; }
}

/* ============================================
   LIQUID ANIMATED BUTTON (CTA)
============================================ */
.btn-cta {
  position: relative;
  padding: 16px 44px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border-radius: 50px;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(
    125deg,
    rgba(196, 30, 58, 0.52) 0%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(37, 99, 235, 0.5) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 24px rgba(196, 30, 58, 0.22),
    0 4px 20px rgba(37, 99, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.btn-cta:hover {
  transform: scale(1.03);
  background: linear-gradient(
    125deg,
    rgba(196, 30, 58, 0.65) 0%,
    rgba(255, 255, 255, 0.22) 45%,
    rgba(37, 99, 235, 0.62) 100%
  );
  box-shadow:
    0 6px 28px rgba(196, 30, 58, 0.3),
    0 6px 24px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta::before,
  .btn-cta::after,
  .btn-cta .shine {
    animation: none;
    display: none;
  }
  .btn-cta:hover {
    transform: none;
  }
  .hero-progress-dot.active .fill {
    animation: none;
    width: 100%;
  }
}

.btn-cta::before,
.btn-cta::after {
  content: '';
  position: absolute;
  left: -50%;
  width: 200%;
  height: 300%;
  animation: liquidWave 6s linear infinite;
  border-radius: 40%;
  z-index: -1;
}

.btn-cta::before {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 15%,
    rgba(196, 30, 58, 0.14) 40%,
    transparent 70%
  );
}

.btn-cta::after {
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.22) 20%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 70%
  );
  animation-duration: 8s;
  opacity: 0.65;
}

.btn-cta .shine {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(59, 130, 246, 0.12) 40%,
    transparent 65%
  );
  transform: skewX(-25deg);
  animation: shineMove 4s infinite;
  z-index: 2;
  pointer-events: none;
}

.btn-cta span {
  position: relative;
  z-index: 3;
}

.btn-cta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 3;
}

@keyframes liquidWave {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10%) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

@keyframes shineMove {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* Secondary/Outline button */
.btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--red-accent);
  color: var(--red-accent);
  box-shadow: 0 0 20px var(--red-glow);
}

/* ============================================
   SECTION STYLES
============================================ */
section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 15px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================
   GLASS CARDS
============================================ */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(196, 30, 58, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

/* ============================================
   SERVICES SECTION
============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  text-align: center;
  padding: 50px 30px;
}

.service-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 30, 58, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(196, 30, 58, 0.15);
}

.service-card .icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   PROJECTS / PORTFOLIO
============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.project-card:hover .overlay {
  opacity: 1;
}

.project-card .overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ============================================
   STATS / COUNTER SECTION
============================================ */
.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--red-accent);
  margin-bottom: 8px;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PARTNERS
============================================ */
.partners-section {
  background: transparent;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px 60px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.partners-grid img {
  height: 50px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partners-grid img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

/* ============================================
   WHY CHOOSE US
============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 30px;
}

.feature-item .icon-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 30, 58, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(196, 30, 58, 0.12);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   ABOUT / WHY US SPLIT
============================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

#why-us .split-section {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 56rem;
  margin: 0 auto;
}

.split-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

/* ============================================
   CONTACT / FORM
============================================ */
/* Thank-you page confetti (canvas behind content) */
.thank-you-confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.thank-you-page,
.page-thank-you .site-footer {
  position: relative;
  z-index: 2;
}

.contact-section {
  background: var(--bg-secondary);
}

.form-container {
  max-width: 600px;
  margin: 50px auto 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-color: #141414;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f5f5f5' d='M1.4.4 6 5l4.6-4.6L12 2.2 6 8.2 0 2.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

/* Native menus often use a light panel — dark text keeps options readable */
.form-group select option {
  background-color: #fff;
  color: #1a1a1a;
}

.form-group select option:checked,
.form-group select option:hover {
  background-color: #f0f0f0;
  color: #1a1a1a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red-accent);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.form-status--pending {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
}

.form-status--error {
  color: #ffb4b4;
  background: rgba(196, 30, 58, 0.12);
  border: 1px solid rgba(196, 30, 58, 0.35);
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form Submit Button (Animated) */
.btn-submit {
  position: relative;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  height: 48px;
  outline: none;
  overflow: hidden;
  padding: 0 30px;
  width: 200px;
  z-index: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--red-dark);
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4) inset;
  transition: width 0.2s cubic-bezier(0.39, 1.86, 0.64, 1) 0.3s;
}

.btn-submit .message {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit .message svg {
  display: inline-block;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 14px;
}

.btn-submit.ready .submitMessage svg {
  opacity: 1;
  top: 0;
  position: relative;
}

.btn-submit.loading::before {
  width: 80%;
}

.btn-submit.complete .successMessage {
  opacity: 1;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-mascot {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 15px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--red-accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--red-accent);
  color: var(--red-accent);
  background: rgba(196, 30, 58, 0.08);
}

/* ============================================
   UTILITIES
============================================ */
.text-center { text-align: center; }

/* Inner page headers (below fixed nav) */
.page-header,
.contact-hero {
  position: relative;
  padding-top: max(140px, calc(72px + env(safe-area-inset-top, 0px) + 48px));
  padding-bottom: 40px;
  overflow: hidden;
}

.contact-hero #pulseContainer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

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

.contact-section {
  padding-top: 48px;
}

.page-header--tight {
  padding-bottom: 24px;
}

.contact-section .split-section {
  gap: 40px;
  align-items: start;
}

.contact-form-wrap {
  margin: 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .contact-hero {
    background: radial-gradient(ellipse at 50% 30%, rgba(100, 50, 140, 0.12) 0%, transparent 60%);
  }
}
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   ANIMATIONS
============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .award-card--military.visible .flag-anim .flag-stripe-anim,
  .award-card--military.visible .flag-anim .flag-star,
  .award-card--military.flag-animate .flag-anim .flag-stripe-anim,
  .award-card--military.flag-animate .flag-anim .flag-star,
  .award-card--military:hover .flag-anim .flag-stripe-anim,
  .award-card--military:hover .flag-anim .flag-star {
    animation: none !important;
  }

  .award-card--military .military-content > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .award-card--military.visible .offer-icon {
    animation: none;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger-wrap {
    display: block;
  }
  .nav-header,
  .nav-header.scrolled {
    padding: max(10px, env(safe-area-inset-top, 0px)) 16px 10px;
    backdrop-filter: none;
  }
  .nav-logo-img {
    height: 40px;
  }
  .mobile-menu a {
    font-size: 1.45rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: flex-start;
  }

  .hero-overlay {
    background:
      rgba(0, 0, 0, 0.5),
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.72) 100%
      );
  }

  .hero-overlay::before {
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  }

  .hero-video-container {
    inset: 0;
  }

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

  @media (orientation: portrait) {
    .hero-video {
      width: auto;
      height: 100%;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%) scale(1.06);
    }
  }

  @media (orientation: landscape) {
    .hero-video {
      width: 100%;
      height: auto;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%) scale(1.05);
    }
  }

  .hero-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: calc(var(--header-height-mobile) + env(safe-area-inset-top, 0px) + 16px) 16px
      max(100px, calc(84px + env(safe-area-inset-bottom, 0px)));
    box-sizing: border-box;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
    margin: 0 0 0.75rem;
    line-height: 1.06;
    letter-spacing: -0.025em;
    width: 100%;
  }

  .hero-title__set--desktop {
    display: none;
  }

  .hero-title__set--mobile {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    text-align: center;
    width: 100%;
  }

  .hero-title__set--mobile .hero-title__line {
    text-align: center;
    white-space: normal;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: clamp(0.9375rem, 3.6vw, 1.0625rem);
    line-height: 1.48;
    margin: 0 auto 1.125rem;
    max-width: 20rem;
    padding: 0 8px;
    text-align: center;
    text-wrap: pretty;
  }

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

  .hero-actions .btn-cta {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
    text-align: center;
  }
  .trust-bar {
    padding: 24px 0 22px;
  }
  .trust-bar__services {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    padding: 0 12px 14px;
    line-height: 1.5;
  }
  .trust-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 4px;
  }
  .trust-bar__grid li {
    font-size: 0.72rem;
    padding: 14px 10px;
    line-height: 1.3;
  }
  .hero-progress {
    display: none;
  }

  section {
    padding: 48px 0;
  }
  .page-header,
  .contact-hero {
    padding-top: max(108px, calc(56px + env(safe-area-inset-top, 0px) + 36px));
    padding-bottom: 28px;
  }
  .contact-section {
    padding-top: 32px;
  }
  .contact-section .split-section {
    gap: 28px;
  }
  .form-row--split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .container {
    padding: 0 16px;
  }
  .section-tag {
    font-size: 0.65rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
  .section-title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .section-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 0 2px;
  }
  .text-center .section-desc {
    margin-bottom: 8px;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 28px;
  }
  .service-card {
    padding: 28px 20px;
  }
  .service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .service-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .glass-card {
    padding: 24px 18px;
    backdrop-filter: none;
  }
  .glass-card:hover {
    transform: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
  .stat-item .number {
    font-size: 1.85rem;
  }
  .stat-item .label {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .stats-section {
    padding: 48px 0;
  }

  .split-section {
    gap: 24px;
  }
  .split-image img {
    height: 220px !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .filter-bar {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-mascot {
    max-width: 180px;
  }
  .footer-col h4 {
    margin-bottom: 12px;
  }

  .award-card--trophy {
    padding: 28px 20px;
  }
  .award-img {
    max-height: 180px;
  }
  .cert-list li {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    min-height: 48px;
    padding: 12px 14px;
  }
  .form-group textarea {
    min-height: 120px;
  }
  .form-container {
    margin-top: 24px;
  }

  .fade-in {
    transform: translateY(16px);
    transition-duration: 0.45s;
  }

  .page-loader__tile {
    transition: width .45s cubic-bezier(0.645, 0.045, 0.355, 1);
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: max(96px, calc(80px + env(safe-area-inset-bottom, 0px)));
  }

  .hero-title {
    font-size: clamp(2.15rem, 9.5vw, 3rem);
  }

  .trust-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-bar__grid li {
    font-size: 0.68rem;
    padding: 12px 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stat-item .number {
    font-size: 1.65rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .btn-cta {
    max-width: none;
    font-size: 11px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .partners-marquee-section .section-title {
    font-size: 1.35rem;
  }
}

/* ===== Partner Marquee ===== */
.partners-marquee-section {
  --marquee-gap: 1.5rem;
  --marquee-duration: 50s;
  --marquee-logo-w: 168px;
  --marquee-logo-h: 48px;
  padding: 60px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  max-width: 100vw;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0;
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--marquee-gap);
  min-width: max-content;
  /* Seam spacing before duplicate set (marquee itself has gap: 0) */
  padding-right: var(--marquee-gap);
  animation: scroll-x var(--marquee-duration) linear infinite;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--marquee-gap)));
  }
}

/* Uniform logo cells — white SVG partner marks */
.marquee__logo,
.marquee__logo--wide {
  flex-shrink: 0;
  width: 240px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.marquee__logo img {
  display: block;
  flex-shrink: 0;
  width: var(--marquee-logo-w);
  height: var(--marquee-logo-h);
  max-width: var(--marquee-logo-w);
  max-height: var(--marquee-logo-h);
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee__logo:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: scale(1.03);
}

.marquee__logo:hover img {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
  .page-loader__tile {
    transition: none;
  }
}

@media (max-width: 768px) {
  .partners-marquee-section {
    --marquee-gap: 1rem;
    --marquee-duration: 30s;
    padding: 40px 0 30px;
  }
  .marquee__logo,
  .marquee__logo--wide {
    width: 180px;
    height: 80px;
    padding: 10px 12px;
  }
  .partners-marquee-section {
    --marquee-logo-w: 140px;
    --marquee-logo-h: 40px;
  }
}

@media (max-width: 480px) {
  .marquee__logo,
  .marquee__logo--wide {
    width: 160px;
    height: 72px;
    padding: 8px 10px;
  }
  .partners-marquee-section {
    --marquee-logo-w: 124px;
    --marquee-logo-h: 36px;
  }
}

/* ===== Awards & Certifications ===== */
.awards-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10,10,10,1) 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(196,30,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  margin-top: 50px;
}

.award-card {
  padding: 35px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
  transform: translateY(-4px);
}

.award-card--trophy {
  background: linear-gradient(160deg, rgba(196,155,59,0.12) 0%, rgba(10,10,10,0.95) 40%, rgba(196,155,59,0.08) 100%);
  border: 2px solid rgba(196,155,59,0.35);
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(196,155,59,0.15);
  padding: 40px 30px;
}

.award-card--trophy::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(196,155,59,0.5), transparent 30%, transparent 70%, rgba(196,155,59,0.3));
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.award-card--trophy:hover::before {
  opacity: 1;
}

.award-card--trophy:hover {
  box-shadow: 0 25px 70px rgba(196,155,59,0.25), 0 0 60px rgba(196,155,59,0.1);
  border-color: rgba(196,155,59,0.6);
  transform: translateY(-6px);
}

.award-badge-wrap {
  position: relative;
  margin-bottom: 24px;
}

.award-badge-wrap::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(196,155,59,0.3) 0%, transparent 70%);
  filter: blur(8px);
}

.award-img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(196,155,59,0.35)) drop-shadow(0 4px 12px rgba(0,0,0,0.6));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.award-card--trophy:hover .award-img {
  transform: scale(1.05);
  filter: drop-shadow(0 15px 50px rgba(196,155,59,0.45)) drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

/* --- Military Card with Flag Animation --- */
.award-card--military {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(191,10,48,0.3);
  background: #BF0A30;
  padding: 0;
  min-height: 320px;
}

.award-card--military.visible,
.award-card--military:hover,
.award-card--military.flag-animate {
  border-color: rgba(191,10,48,0.6);
  box-shadow: 0 20px 60px rgba(191,10,48,0.2);
}

.award-card--military.visible .flag-anim,
.award-card--military.flag-animate .flag-anim,
.award-card--military:hover .flag-anim {
  opacity: 0.72;
  transition: opacity 0.4s ease;
}

.flag-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}

.flag-anim .america {
  width: 100%;
  height: 100%;
  background: #BF0A30;
  position: relative;
}

.flag-anim .america-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: calc((100% / 13) * 7);
  background-color: #002868;
  z-index: 1;
  padding: 10px 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.flag-anim .flag-stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flag-anim .flag-stripe-anim {
  background-color: white;
  width: 100%;
  height: calc(100% / 13);
  animation: none;
}

.award-card--military.visible .flag-anim .flag-stripe-anim:nth-child(1),
.award-card--military.flag-animate .flag-anim .flag-stripe-anim:nth-child(1),
.award-card--military:hover .flag-anim .flag-stripe-anim:nth-child(1) { animation: flagAnimDown 1000ms ease forwards; }
.award-card--military.visible .flag-anim .flag-stripe-anim:nth-child(2),
.award-card--military.flag-animate .flag-anim .flag-stripe-anim:nth-child(2),
.award-card--military:hover .flag-anim .flag-stripe-anim:nth-child(2) { animation: flagAnimDown 1200ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .flag-stripe-anim:nth-child(3),
.award-card--military.flag-animate .flag-anim .flag-stripe-anim:nth-child(3),
.award-card--military:hover .flag-anim .flag-stripe-anim:nth-child(3) { animation: flagAnimDown 1400ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .flag-stripe-anim:nth-child(4),
.award-card--military.flag-animate .flag-anim .flag-stripe-anim:nth-child(4),
.award-card--military:hover .flag-anim .flag-stripe-anim:nth-child(4) { animation: flagAnimDown 1600ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .flag-stripe-anim:nth-child(5),
.award-card--military.flag-animate .flag-anim .flag-stripe-anim:nth-child(5),
.award-card--military:hover .flag-anim .flag-stripe-anim:nth-child(5) { animation: flagAnimDown 1800ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .flag-stripe-anim:nth-child(6),
.award-card--military.flag-animate .flag-anim .flag-stripe-anim:nth-child(6),
.award-card--military:hover .flag-anim .flag-stripe-anim:nth-child(6) { animation: flagAnimDown 2000ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .flag-stripe-anim:nth-child(7),
.award-card--military.flag-animate .flag-anim .flag-stripe-anim:nth-child(7),
.award-card--military:hover .flag-anim .flag-stripe-anim:nth-child(7) { animation: flagAnimDown 2200ms ease-in-out forwards; }

@keyframes flagAnimDown {
  0% { margin-top: 0; }
  100% { margin-top: calc(100% / 13); }
}

.flag-anim .flag-star {
  height: 18px;
  width: 18px;
  fill: white;
  display: block;
}

.flag-anim .star-row {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.flag-anim .star-row-5 {
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
}

.flag-anim .flag-star {
  animation: none;
}

.award-card--military.visible .flag-anim .star-row:nth-child(1) .flag-star,
.award-card--military.flag-animate .flag-anim .star-row:nth-child(1) .flag-star,
.award-card--military:hover .flag-anim .star-row:nth-child(1) .flag-star { animation: flagStarSpin 1000ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .star-row-5:nth-child(2) .flag-star,
.award-card--military.flag-animate .flag-anim .star-row-5:nth-child(2) .flag-star,
.award-card--military:hover .flag-anim .star-row-5:nth-child(2) .flag-star { animation: flagStarSpin 1200ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .star-row:nth-child(3) .flag-star,
.award-card--military.flag-animate .flag-anim .star-row:nth-child(3) .flag-star,
.award-card--military:hover .flag-anim .star-row:nth-child(3) .flag-star { animation: flagStarSpin 1400ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .star-row-5:nth-child(4) .flag-star,
.award-card--military.flag-animate .flag-anim .star-row-5:nth-child(4) .flag-star,
.award-card--military:hover .flag-anim .star-row-5:nth-child(4) .flag-star { animation: flagStarSpin 1600ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .star-row:nth-child(5) .flag-star,
.award-card--military.flag-animate .flag-anim .star-row:nth-child(5) .flag-star,
.award-card--military:hover .flag-anim .star-row:nth-child(5) .flag-star { animation: flagStarSpin 1800ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .star-row-5:nth-child(6) .flag-star,
.award-card--military.flag-animate .flag-anim .star-row-5:nth-child(6) .flag-star,
.award-card--military:hover .flag-anim .star-row-5:nth-child(6) .flag-star { animation: flagStarSpin 2000ms ease-in-out forwards; }
.award-card--military.visible .flag-anim .star-row:nth-child(7) .flag-star,
.award-card--military.flag-animate .flag-anim .star-row:nth-child(7) .flag-star,
.award-card--military:hover .flag-anim .star-row:nth-child(7) .flag-star { animation: flagStarSpin 2200ms ease-in-out forwards; }

@keyframes flagStarSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.award-card--military::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.military-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.125rem;
  padding: 2rem 1.5rem;
  min-height: 300px;
  box-sizing: border-box;
}

.award-card--military .military-content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.award-card--military.visible .military-content > * {
  opacity: 1;
  transform: translateY(0);
}

.award-card--military.visible .special-offers-title {
  transition-delay: 0.12s;
}

.award-card--military.visible .offer-badge {
  transition-delay: 0.28s;
}

.award-card--military.visible .btn-outline {
  transition-delay: 0.44s;
}

.award-card--military.visible .offer-icon {
  animation: offerStarPulse 1.2s ease 0.35s both;
}

@keyframes offerStarPulse {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.special-offers-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.offer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 20rem;
  text-align: center;
  padding: 1.25rem 1.125rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.offer-icon {
  font-size: 2rem;
  line-height: 1;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
}

.offer-badge__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.offer-badge__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.45;
  max-width: 16rem;
}

.award-card--military .btn-outline {
  margin-top: 0;
  min-height: 48px;
  padding: 14px 28px;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline--light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.award-card--military .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* --- Certifications Card --- */
.award-card--certs {
  background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 35px 30px;
}

.award-card--certs:hover {
  box-shadow: 0 20px 60px rgba(196,30,58,0.12), 0 0 30px rgba(255,255,255,0.03);
  border-color: rgba(196,30,58,0.3);
  transform: translateY(-4px);
}

.award-card--certs h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--red-primary);
  width: 100%;
  position: relative;
}

.award-card--certs h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--red-accent);
  box-shadow: 0 0 8px var(--red-primary);
}

.cert-list {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.cert-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.25s ease, background 0.25s ease;
}

.cert-list li:hover {
  color: #fff;
  background: rgba(255,255,255,0.02);
}

.cert-list li::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(196,30,58,0.15);
  border: 1px solid rgba(196,30,58,0.4);
  color: var(--red-accent);
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1;
}

.cert-list li::after {
  content: none;
  display: none;
}

.cert-list li:last-child {
  border-bottom: none;
}

@media (max-width: 992px) {
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .award-card--military::before {
    width: 35%;
    height: 40%;
  }

  .awards-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .awards-grid {
    gap: 16px;
  }
  .award-card--trophy {
    padding: 25px 20px;
  }
  .cert-list li {
    font-size: 0.85rem;
    padding: 10px 0;
    gap: 10px;
  }

  .cert-list li::before {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }
}

/* ===== Room Visualizer ===== */
.visualizer-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.visualizer-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.visualizer-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1a1a1a;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 16px 24px 16px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.visualizer-btn:hover {
  background: #222;
  border-color: var(--red-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,30,58,0.2);
}

.visualizer-btn-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-align: left;
}

.visualizer-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--red-primary);
  flex-shrink: 0;
}
