/* ============================================
   TESA ELEVATE GH — Premium Electrical Brand
   styles.css
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --red: #CC0000;
  --red-dark: #990000;
  --red-glow: rgba(204, 0, 0, 0.5);
  --white: #FFFFFF;
  --charcoal: #1A1A1A;
  --silver: #8A8A8A;
  --silver-light: #C0C0C0;
  --dark-bg: #0D0D0D;
  --dark-card: #151515;
  --text-light: #E0E0E0;
  --text-muted: #999999;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- CSS Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.section-title.light {
  color: var(--white);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 7rem 0;
}

/* --- Custom Cursor --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-smooth), opacity 0.3s;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
}

.custom-cursor.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.custom-cursor.hovering {
  transform: translate(-50%, -50%) scale(2);
  background: var(--white);
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor { display: none; }
}

/* --- Circuit-Board Background Texture --- */
.circuit-bg {
  position: relative;
}

.circuit-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23ffffff' stroke-width='0.5'%3E%3Cpath d='M30 0v60M0 30h60M15 0v30h30M15 30v30M0 15h30v30M30 15h30'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='30' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='30' cy='15' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='45' cy='30' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='30' cy='45' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  z-index: 0;
}

.circuit-bg > * {
  position: relative;
  z-index: 1;
}

/* --- Animation Utility Classes --- */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-up.visible,
.fade-in.visible,
.slide-left.visible,
.slide-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #e00000;
  box-shadow: 0 6px 30px rgba(204, 0, 0, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(204, 0, 0, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s var(--ease-smooth);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

.navbar-logo.logo-dark {
  display: block;
}

.navbar-logo.logo-light {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--red);
  color: var(--white) !important;
  border-radius: 3px;
  font-weight: 600 !important;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #e00000;
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 2px;
}

/* Navbar Scrolled State */
.navbar.scrolled {
  background: var(--white);
  padding: 0.8rem 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--red);
}

.navbar.scrolled .navbar-logo.logo-dark {
  display: none;
}

.navbar.scrolled .navbar-logo.logo-light {
  display: block;
}

.navbar.scrolled .nav-links a {
  color: var(--charcoal);
}

.navbar.scrolled .hamburger span {
  background: var(--charcoal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0000 40%, var(--red-dark) 70%, var(--red) 100%);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 5rem;
}

.hero-content {
  max-width: 700px;
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--red);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tagline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hero h1 .word.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.8s, transform 0.8s var(--ease-out) 0.8s;
}

.hero-subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 1s, transform 0.8s var(--ease-out) 1s;
}

.hero-ctas.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Animated Switch */
.hero-switch {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(180px, 22vw, 320px);
  z-index: 1;
  animation: switchFloat 6s ease-in-out infinite;
}

.switch-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.05));
}

/* Rocker tilt animation — toggles on/off */
.switch-rocker {
  transform-origin: 90px 150px;
  animation: rockerToggle 4s ease-in-out infinite;
}

@keyframes rockerToggle {
  0%, 45% { transform: perspective(200px) rotateX(6deg); }
  50%, 95% { transform: perspective(200px) rotateX(-6deg); }
  100% { transform: perspective(200px) rotateX(6deg); }
}

/* Indicator dot — red when on, dim when off */
.switch-indicator {
  animation: indicatorPulse 4s ease-in-out infinite;
}

@keyframes indicatorPulse {
  0%, 45% { fill: rgba(255, 255, 255, 0.15); filter: none; }
  50%, 95% { fill: #CC0000; filter: drop-shadow(0 0 8px rgba(204, 0, 0, 0.8)); }
  100% { fill: rgba(255, 255, 255, 0.15); filter: none; }
}

/* Light glow behind the switch — on/off */
.switch-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 160%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 200, 60, 0.12) 0%, rgba(255, 200, 60, 0.04) 40%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 45% { opacity: 0; transform: translateX(-50%) scale(0.9); }
  50%, 95% { opacity: 1; transform: translateX(-50%) scale(1.05); }
  100% { opacity: 0; transform: translateX(-50%) scale(0.9); }
}

@keyframes switchFloat {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 15px)) rotate(1.5deg); }
}

/* Hero bottom gradient fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  color: var(--charcoal);
}

.about-text p {
  font-size: 1.05rem;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text .highlight {
  color: var(--red);
  font-weight: 600;
}

.about-text .brand-mr {
  color: var(--white);
  font-weight: 600;
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: 4px;
  padding: 0px 4px;
  display: inline-block;
  line-height: 1.4;
  vertical-align: baseline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.about-text .brand-switch {
  color: #0A0A0A;
  font-weight: 600;
}

.about-text .brand-switch .highlight {
  display: inline-block;
  -webkit-transform: skewX(-10deg);
  transform: skewX(-10deg);
}

.about-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.about-media .about-logo {
  max-width: 320px;
  width: 100%;
  border-radius: 12px;
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  max-height: 480px;
  display: block;
  border-radius: 14px;
  object-fit: contain;
  background: #000;
}

/* Switch Play Button */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: background 0.4s var(--ease-smooth);
  border: none;
  z-index: 2;
}

.video-play-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

.video-play-btn svg {
  width: 70px;
  height: 105px;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s var(--ease-smooth);
}

.video-play-btn:hover svg {
  transform: scale(1.08);
}

.video-play-btn.playing {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

/* Tap to play label */
.video-play-btn .play-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  transition: opacity 0.4s var(--ease-smooth);
}

.video-play-btn.playing .play-label {
  opacity: 0;
}

/* Switch play btn active/playing rocker tilt */
.video-play-btn .play-rocker {
  transition: transform 0.3s var(--ease-smooth);
  transform-origin: 40px 60px;
}

.video-play-btn.playing .play-rocker {
  transform: perspective(100px) rotateX(-4deg);
}

/* Red accent line under video */
.video-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  z-index: 3;
}

/* Red decorative line */
.red-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin-bottom: 2rem;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  background: var(--dark-bg);
  color: var(--white);
}

.why-us .section-title {
  text-align: center;
}

.why-us .section-label {
  text-align: center;
  display: block;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.usp-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), border-color 0.4s;
}

.usp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(204, 0, 0, 0.15);
  border-color: var(--red);
}

.usp-icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.usp-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.usp-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PRODUCT CATEGORIES
   ============================================ */
.products {
  background: var(--white);
}

.products .section-title {
  text-align: center;
  color: var(--charcoal);
}

.products .section-label {
  text-align: center;
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-img-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0 1rem;
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.product-link:hover {
  gap: 0.8rem;
}

.product-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.product-link:hover svg {
  transform: translateX(3px);
}

/* ============================================
   STATS / HIGHLIGHT SECTION
   ============================================ */
.stats {
  background: var(--dark-bg);
  color: var(--white);
  text-align: center;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.stats-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.3;
}

.stats-statement span {
  color: var(--red);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: #F8F8F8;
}

.testimonials .section-title {
  text-align: center;
  color: var(--charcoal);
}

.testimonials .section-label {
  text-align: center;
  display: block;
}

.testimonial-wrapper {
  overflow: hidden;
  margin-top: 3rem;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease-smooth);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-content {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.testimonial-quote-mark {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.15;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-meta h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.3;
}

.testimonial-meta span {
  font-size: 0.85rem;
  color: var(--silver);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.testimonial-dot.active {
  background: var(--red);
  transform: scale(1.2);
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact {
  background: var(--dark-bg);
  color: var(--white);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  color: var(--white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 0.8rem;
  color: #ff4444;
  margin-top: 0.3rem;
  display: none;
}

.form-success {
  background: rgba(0, 180, 0, 0.1);
  border: 1px solid rgba(0, 180, 0, 0.3);
  color: #00cc66;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.4s var(--ease-out);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-right {
  padding-top: 0.5rem;
}

.contact-right h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-right p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #25D366;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-bottom: 2.5rem;
}

.whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
  width: 22px;
  height: 22px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.3s;
}

.social-link:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  border-top: 3px solid var(--red);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 350px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--red);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--dark-bg);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transition: right 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--red);
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Stagger Delay Utilities --- */
.delay-0 { transition-delay: 0s; }
.delay-1 { transition-delay: 0.1s; }
.delay-15 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --- Contact text helper --- */
.contact-intro {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* --- Follow Us heading in contact --- */
.follow-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about .container {
    gap: 3rem;
  }

  .contact .container {
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Mobile (768px and below) --- */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 1rem 0;
  }

  .navbar-logo {
    height: 38px;
  }

  .navbar.scrolled {
    padding: 0.6rem 0;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero .container {
    padding-top: 6rem;
    padding-bottom: 4rem;
    flex-direction: column;
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 4.5rem);
    text-align: left;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .hero-switch {
    opacity: 0.2;
    right: -10%;
    top: 55%;
    width: 200px;
  }

  .hero::after {
    height: 80px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* About */
  .about .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .about-media {
    order: -1;
  }

  .about-media .about-logo {
    max-width: 200px;
  }

  .video-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .video-play-btn svg {
    width: 56px;
    height: 84px;
  }

  .red-line {
    margin-left: auto;
    margin-right: auto;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .about-text .brand-mr {
    padding: 0px 3px;
    border-width: 1.5px;
    border-radius: 3px;
  }

  /* Why Us */
  .usp-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    gap: 1rem;
  }

  .usp-card {
    padding: 2rem 1.5rem;
    border-radius: 14px;
  }

  .usp-card h3 {
    font-size: 1.4rem;
  }

  .usp-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
  }

  /* Products */
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.25rem;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-img {
    aspect-ratio: 16 / 10;
  }

  .product-info {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .product-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
  }

  .product-info p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  /* Stats */
  .stats-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-number {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .stats-statement {
    font-size: clamp(1.3rem, 5vw, 2rem);
    padding: 0 1rem;
  }

  /* Testimonials */
  .testimonial-content {
    padding: 2rem 1.5rem;
    border-radius: 14px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }

  .testimonial-quote-mark {
    font-size: 3.5rem;
    top: 1rem;
    left: 1.25rem;
  }

  .testimonial-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .testimonial-meta h4 {
    font-size: 0.9rem;
  }

  .testimonial-meta span {
    font-size: 0.8rem;
  }

  /* Contact */
  .contact .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-right h3 {
    font-size: 1.5rem;
  }

  .whatsapp-btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .social-links {
    justify-content: center;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-logos {
    justify-content: center;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-bottom-links {
    gap: 1.5rem;
  }

  /* Mobile Menu polish */
  .mobile-menu {
    max-width: 85vw;
    padding: 5.5rem 1.75rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #111 100%);
  }

  .mobile-menu a {
    font-size: 1.6rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Section spacing */
  .section-padding {
    padding: 5rem 0;
  }

  .section-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}

/* --- Small phones / iPhone-Android sweet spot (480px and below) --- */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 6%;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .section-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    margin-bottom: 1.25rem;
  }

  /* Navbar */
  .navbar-logo {
    height: 34px;
  }

  .hamburger span {
    width: 24px;
  }

  /* Hero fine-tuning */
  .hero .container {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-tagline {
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .hero-tagline::before {
    width: 30px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 3.5rem);
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.65;
  }

  .hero-switch {
    width: 160px;
    right: -15%;
    opacity: 0.15;
  }

  /* Buttons */
  .btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .btn-primary {
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.25);
  }

  /* About */
  .about-text p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .video-wrapper {
    max-width: 280px;
    border-radius: 12px;
  }

  .video-play-btn svg {
    width: 48px;
    height: 72px;
  }

  .about-media .about-logo {
    max-width: 170px;
  }

  /* USP Cards */
  .usp-grid {
    max-width: 100%;
    gap: 0.75rem;
  }

  .usp-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }

  .usp-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .usp-card p {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  .usp-icon {
    width: 40px;
    height: 40px;
  }

  /* Products */
  .product-grid {
    max-width: 100%;
    gap: 1rem;
  }

  .product-card {
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  }

  .product-img {
    aspect-ratio: 16 / 9;
  }

  .product-info {
    padding: 1rem 1rem 1.25rem;
  }

  .product-info h3 {
    font-size: 1.2rem;
  }

  .product-info p {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
  }

  .product-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }

  /* Stats */
  .stats-grid {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .stat-number {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .stats-statement {
    font-size: clamp(1.2rem, 5.5vw, 1.8rem);
  }

  /* Testimonials */
  .testimonial-card {
    padding: 0 0.25rem;
  }

  .testimonial-content {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .testimonial-text {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .testimonial-quote-mark {
    font-size: 3rem;
    top: 0.75rem;
    left: 1rem;
    opacity: 0.12;
  }

  .testimonial-dots {
    margin-top: 1.75rem;
    gap: 0.6rem;
  }

  .testimonial-dot {
    width: 8px;
    height: 8px;
  }

  /* Contact */
  .contact .container {
    gap: 2.5rem;
  }

  .contact-intro {
    font-size: 0.9rem;
  }

  .contact-form .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .contact-right h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }

  .contact-right p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .follow-heading {
    text-align: center;
  }

  /* Footer */
  .footer-logos {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-logos img {
    height: 36px;
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.82rem;
  }

  .footer-col h4 {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .footer-col ul li a {
    font-size: 0.85rem;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  .footer-bottom-links a {
    font-size: 0.75rem;
  }
}

/* --- Safe area support for notched devices (iPhone X+) --- */
@supports (padding: env(safe-area-inset-bottom)) {
  .hero {
    padding-top: env(safe-area-inset-top);
  }

  .footer-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-menu {
    padding-top: calc(5.5rem + env(safe-area-inset-top));
    padding-bottom: env(safe-area-inset-bottom);
  }

  .navbar {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* --- Touch-friendly tap targets --- */
@media (pointer: coarse) {
  .testimonial-dot {
    width: 12px;
    height: 12px;
    padding: 6px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .product-link {
    padding: 0.5rem 0;
  }

  .footer-col ul li {
    margin-bottom: 0.85rem;
  }

  .footer-col ul li a {
    padding: 0.15rem 0;
  }
}

/* --- Keyboard Focus Styles --- */
a:focus-visible,
button:focus-visible,
.director-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.testimonial-dot:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  transform: scale(1.3);
}
