:root {
  --primary-red: #E31B23;
  --primary-red-hover: #C5141B;
  --primary-blue: #1E6FC4;
  --primary-blue-hover: #15579C;
  --dark-bg: #0D0F12;
  --dark-card: #15181E;
  --light-bg: #FFFFFF;
  --light-secondary: #F8F9FA;
  --light-border: #E2E8F0;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --gold-accent: #FFC72C;
  
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 3px solid var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 80px;
  transition: background 0.3s, box-shadow 0.3s;
}

nav.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--dark-bg);
  text-transform: uppercase;
}

.brand-logo-text span.red { color: var(--primary-red); }
.brand-logo-text span.blue { color: var(--primary-blue); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-red);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--dark-bg);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.mobile-toggle:hover {
  color: var(--primary-red);
  background: var(--light-secondary);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 27, 35, 0.15);
  border: 1px solid var(--primary-red);
  color: #FF5A60;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: var(--primary-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 27, 35, 0.3);
}

.btn-secondary {
  background: var(--primary-blue);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 111, 196, 0.3);
}

.btn-outline {
  border: 2px solid var(--dark-bg);
  background: transparent;
  color: var(--dark-bg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: var(--dark-bg);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ── HERO & FULL-WIDTH BANNER SECTIONS ── */
#hero.hero-fullwidth, 
section.hero-fullwidth {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  padding: 4rem 6rem;
  width: 100%;
}

#hero.hero-fullwidth {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

.hero-video-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-still-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  z-index: 1;
}

#heroVideo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.hero-video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(13, 15, 18, 0.85) 0%, 
    rgba(13, 15, 18, 0.52) 45%, 
    rgba(13, 15, 18, 0.15) 100%
  );
  z-index: 3;
}

.hero-fullwidth .hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  padding: 2rem 0;
}

.hero-fullwidth .hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(60px, 7vw, 110px);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.hero-fullwidth .hero-title span.red { color: #FF2E36; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0,0,0,0.9); }
.hero-fullwidth .hero-title span.blue { color: #388BFD; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0,0,0,0.9); }
.hero-fullwidth .hero-title span.white { color: #FFFFFF; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0,0,0,0.9); }
.hero-fullwidth .hero-title span.dot { color: var(--gold-accent); text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8); }

.hero-fullwidth .hero-desc {
  border-left: 4px solid var(--primary-red);
  padding-left: 24px;
  color: #E2E8F0;
  font-size: 20px;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 3rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 27, 35, 0.15);
  border: 1px solid var(--primary-red);
  color: #FF5A60;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 15, 18, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 50px;
  color: #E2E8F0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-live-pill .dot-live {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulse 2s infinite;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 580px;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary-red) 0%, #C5141B 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(227, 27, 35, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #FF2E36 0%, var(--primary-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227, 27, 35, 0.5);
}

.hero-secondary-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-hero-action {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-hero-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid #25D366;
  color: #FFFFFF;
  backdrop-filter: blur(6px);
}

.btn-hero-whatsapp:hover {
  background: #25D366;
  color: #0D0F12;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-hero-whatsapp i {
  color: #25D366;
  font-size: 18px;
  transition: color 0.2s;
}

.btn-hero-whatsapp:hover i {
  color: #0D0F12;
}

.btn-hero-instagram {
  background: rgba(225, 48, 108, 0.12);
  border: 1.5px solid #E1306C;
  color: #FFFFFF;
  backdrop-filter: blur(6px);
}

.btn-hero-instagram:hover {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.btn-hero-instagram i {
  color: #E1306C;
  font-size: 18px;
  transition: color 0.2s;
}

.btn-hero-instagram:hover i {
  color: #FFFFFF;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: 0.5px;
}

.trust-chip i {
  color: var(--primary-red);
}

.hero-video-badge {
  position: absolute;
  bottom: 30px;
  right: 60px;
  z-index: 10;
  background: rgba(13, 15, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-video-badge .dot-live {
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

#heroCanvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── MARQUEE TICKER ── */
.ticker-bar {
  background: var(--primary-red);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}

.ticker-item {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticker-item span.star {
  color: var(--gold-accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION COMMON ── */
section {
  padding: 7rem 6rem;
}

.section-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(45px, 5vw, 76px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  letter-spacing: -0.5px;
}

.section-title span.blue { color: var(--primary-blue); }
.section-title span.red { color: var(--primary-red); }

/* ── ABOUT SECTION ── */
#about {
  background: var(--light-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 3px solid var(--light-border);
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.about-quote-box p {
  font-style: italic;
  color: var(--text-main);
  font-weight: 500;
  font-size: 18px;
}

/* ── CUSTOMER LOGO CARDS ── */
.customer-card {
  transition: transform 0.2s ease;
}

.customer-card:hover {
  transform: translateY(-6px);
}

.customer-card:hover .customer-logo-wrap {
  box-shadow: 0 8px 30px rgba(227, 27, 35, 0.15);
  border-color: var(--primary-red) !important;
}



/* ── SERVICES GRID ── */
#services {
  background: var(--light-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(227, 27, 35, 0.08);
  color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 2rem;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ── PORTAL TEASER CARD ── */
#portal-teaser {
  background: var(--dark-bg);
  color: #FFF;
}

.portal-teaser-wrapper {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.portal-feature-list {
  list-style: none;
  margin: 2rem 0;
}

.portal-feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  margin-bottom: 1.2rem;
  color: #E2E8F0;
}

.portal-feature-list li svg {
  color: #10B981;
  flex-shrink: 0;
}

.portal-preview-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.portal-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.portal-mock-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* ── FAQ SECTION ── */
#faq {
  background: var(--light-bg);
  max-width: 1000px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  border: 1px solid var(--light-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: var(--primary-red);
}

.faq-question {
  width: 100%;
  background: var(--light-bg);
  border: none;
  padding: 1.8rem 2rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary-red);
}

.faq-icon-toggle {
  font-size: 24px;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2rem;
  background: var(--light-secondary);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1rem 2rem 1.8rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-bg);
  color: #94A3B8;
  padding: 6rem 6rem 3rem;
  border-top: 4px solid var(--primary-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.8rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

/* ── CONTACT & FORM STYLES ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-card {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-box {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background: var(--light-secondary);
  border: 1.5px solid var(--light-border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-main);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.15);
  background: var(--light-bg);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-alert-banner {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-in-out;
}

.form-alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10B981;
  color: #065F46;
}

.form-alert-error {
  background: rgba(227, 27, 35, 0.12);
  border: 1.5px solid var(--primary-red);
  color: #991B1B;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE DESIGN ── */

/* Overlay for Mobile Menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 15, 18, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  nav.navbar { 
    padding: 0 2rem; 
    height: 75px;
  }
  
  #hero.hero-fullwidth,
  section.hero-fullwidth {
    padding: 4rem 3rem;
  }
  
  #about { 
    grid-template-columns: 1fr; 
    gap: 3.5rem; 
  }
  
  section { 
    padding: 5rem 3rem; 
  }
  
  .portal-teaser-wrapper { 
    grid-template-columns: 1fr; 
    padding: 2.5rem; 
  }
  
  .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 2.5rem; 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem;
  }
}

/* Tablets & Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  /* ── 1. NAVBAR & MOBILE DRAWER ── */
  nav.navbar {
    padding: 0 1.25rem;
    height: 70px;
  }
  
  .brand-logo img {
    height: 38px !important;
  }

  .mobile-toggle {
    display: flex;
    order: 3;
    margin-left: 0.5rem;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .btn-primary {
    padding: 9px 16px;
    font-size: 13px;
    letter-spacing: 1px;
    gap: 6px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 3px solid var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    padding: 1.75rem 1.5rem 2rem;
    gap: 1.25rem;
    align-items: stretch;
    z-index: 999;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--light-border);
    padding-bottom: 0.85rem;
  }

  .nav-menu li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-menu a {
    font-size: 18px;
    display: block;
    width: 100%;
    color: var(--text-main);
  }

  .nav-menu a:hover,
  .nav-menu a:active {
    color: var(--primary-red);
  }

  .nav-menu a::after {
    display: none;
  }

  /* ── 2. HERO SECTION STILL IMAGE & VIDEO HIDING (MOBILE) ── */
  #heroVideo {
    display: none !important;
  }

  .hero-still-bg {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    z-index: 1;
  }

  .hero-video-bg-wrap {
    background: transparent !important;
  }

  .hero-video-bg-wrap::before {
    display: none !important;
  }

  .hero-video-overlay-gradient {
    background: linear-gradient(
      180deg, 
      rgba(13, 15, 18, 0.78) 0%, 
      rgba(13, 15, 18, 0.42) 45%, 
      rgba(13, 15, 18, 0.88) 100%
    );
    z-index: 2;
  }

  #hero.hero-fullwidth {
    margin-top: 70px;
    min-height: auto;
    padding: 2.75rem 1.25rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-fullwidth .hero-content {
    max-width: 100%;
    padding: 0;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    width: 100%;
  }

  .hero-badge-tag {
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 1px;
    gap: 6px;
    margin-bottom: 0;
  }

  .hero-live-pill {
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 1px;
    gap: 6px;
  }

  .hero-fullwidth .hero-title {
    font-size: clamp(40px, 11.5vw, 54px);
    line-height: 0.94;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-align: center;
    width: 100%;
  }

  .hero-fullwidth .hero-desc {
    font-size: 15px;
    line-height: 1.6;
    padding-left: 0;
    border-left: none;
    margin: 0 auto 1.5rem;
    max-width: 480px;
    text-align: center;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 1.5rem;
    align-items: center;
  }

  .btn-hero-primary {
    width: 100%;
    justify-content: center;
    padding: 15px 16px;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .hero-secondary-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .btn-hero-action {
    width: 100%;
    justify-content: center;
    padding: 12px 10px;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .btn-hero-action i {
    font-size: 16px;
  }

  .hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
  }

  .trust-chip {
    font-size: 11px;
    padding: 5px 10px;
    gap: 5px;
  }

  .hero-fullwidth .hero-video-badge {
    display: none;
  }

  /* ── 3. MARQUEE TICKER ── */
  .ticker-bar {
    padding: 12px 0;
  }

  .ticker-item {
    font-size: 15px;
    letter-spacing: 2px;
    padding: 0 20px;
    gap: 12px;
  }

  /* ── 4. COMMON SECTION PADDING & TITLES ── */
  section {
    padding: 3.5rem 1.25rem;
  }

  .section-label {
    font-size: 14px;
    letter-spacing: 2.5px;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1;
    margin-bottom: 1.75rem;
  }

  /* ── 5. ABOUT SECTION ── */
  #about {
    padding: 3.5rem 1.25rem;
    gap: 2.25rem;
  }

  .about-text-content p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin-bottom: 1.25rem !important;
  }

  .about-quote-box {
    padding: 1.25rem;
    border-left-width: 3px;
  }

  .about-quote-box p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ── 6. TERMINAL BANNER SECTION ── */
  #terminal-banner {
    padding: 3.5rem 1.25rem !important;
    min-height: auto !important;
  }

  #terminal-banner .section-title {
    font-size: clamp(30px, 8vw, 44px) !important;
    margin-bottom: 1.25rem !important;
  }

  #terminal-banner p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 1.75rem !important;
  }

  #terminal-banner .hero-content div[style*="display: flex"] {
    flex-direction: column;
    gap: 0.85rem !important;
    width: 100%;
  }

  #terminal-banner .btn-primary,
  #terminal-banner .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* ── 7. SERVICES GRID ── */
  #services {
    padding: 3.5rem 1.25rem;
  }

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

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 1.25rem;
  }

  .service-title {
    font-size: 22px;
  }

  .service-desc {
    font-size: 15px;
  }

  /* ── 8. CUSTOMERS SECTION ── */
  #customers {
    padding: 3.5rem 1.25rem !important;
  }

  #customers p[style*="font-size: 20px"] {
    font-size: 16px !important;
    margin-bottom: 2.5rem !important;
  }

  .customers-grid,
  #customers > div[style*="display: flex"] {
    gap: 1.25rem !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    width: 100%;
  }

  .customer-card {
    width: 100%;
  }

  .customer-logo-wrap,
  .customer-card .customer-logo-wrap {
    width: 100% !important;
    height: 95px !important;
    padding: 12px !important;
  }

  .customer-card div[style*="font-size: 16px"] {
    font-size: 13px !important;
    letter-spacing: 1px !important;
  }

  /* ── 9. FAQ SECTION ── */
  #faq {
    padding: 3.5rem 1.25rem;
  }

  .faq-question {
    padding: 1.2rem 1.25rem;
    font-size: 16px;
    letter-spacing: 0.5px;
    gap: 12px;
  }

  .faq-icon-toggle {
    font-size: 18px;
    flex-shrink: 0;
  }

  .faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0.8rem 1.25rem 1.5rem;
  }

  .faq-answer p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ── 10. CONTACT SECTION & FORM ── */
  #contact {
    padding: 3.5rem 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-card {
    padding: 1.25rem;
    gap: 14px;
  }

  .contact-card > div:first-child {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
  }

  .contact-card div[style*="font-size: 20px"] {
    font-size: 17px !important;
  }

  .contact-card a {
    font-size: 15px !important;
  }

  .contact-form-box {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .contact-form-box h3 {
    font-size: 22px !important;
    margin-bottom: 1.25rem !important;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-control {
    font-size: 16px; /* Prevents iOS auto-zoom */
    padding: 12px 14px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* ── 11. FOOTER ── */
  footer {
    padding: 3.5rem 1.25rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 13px;
  }

  /* ── 12. PORTAL PAGE RESPONSIVENESS ── */
  .portal-nav {
    padding: 1rem 1.25rem !important;
  }

  .portal-grid {
    grid-template-columns: 1fr !important;
  }

  .portal-sidebar {
    padding: 0.75rem 1rem !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    gap: 0.5rem !important;
  }

  .sidebar-item {
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
  }

  .portal-main {
    padding: 1.5rem 1rem !important;
  }

  .dashboard-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  .stat-card {
    padding: 1.25rem !important;
  }

  .stat-value {
    font-size: 26px !important;
  }

  .portal-card-box {
    padding: 1.5rem 1.25rem !important;
  }

  .table-custom {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Extra Small Phones (<= 400px) */
@media (max-width: 400px) {
  .nav-actions .btn-primary span {
    display: none;
  }

  .hero-fullwidth .hero-title {
    font-size: 34px;
  }

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