/* ========================================
   CoolTec — HVAC Website Styles
   Color Palette: Cool Blue / Navy / White
======================================== */

:root {
  --primary: #0077B6;
  --secondary: #1B2A4A;
  --accent: #00B4D8;
  --dark: #0D1B2A;
  --light: #F0F7FC;
  --text: #2D3748;
  --text-light: #718096;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--secondary);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

/* ========== FOCUS & ACCESSIBILITY ========== */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--white);
  z-index: 10000;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  top: 8px;
}

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(0, 119, 182, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
  background: #005f8f;
  border-color: #005f8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.3);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

/* ========== PAGE LOADER ========== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-icon {
  color: var(--accent);
  animation: loaderSpin 1.5s linear infinite;
}

.loader-text {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* ========== NAVIGATION ========== */
nav#nav_1 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

nav#nav_1.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color var(--transition);
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

nav#nav_1.scrolled .logo {
  color: var(--primary);
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

#nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

#nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

nav#nav_1.scrolled #nav-links a {
  color: var(--text);
}

nav#nav_1.scrolled #nav-links a:hover {
  color: var(--primary);
  background: rgba(0, 119, 182, 0.06);
}

/* Keep mobile drawer link colors unaffected by scrolled nav state */
@media (max-width: 768px) {
  nav#nav_1.scrolled #nav-links a {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
  }

  nav#nav_1.scrolled #nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: #005f8f;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

nav#nav_1.scrolled .hamburger span {
  background: var(--secondary);
}

/* Hamburger stays as 3 bars — close button is inside the drawer */
@media (min-width: 769px) {
  .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);
  }
}

/* ========== WHATSAPP BUTTON ========== */
.btn-whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  gap: 10px;
}

.btn-whatsapp:hover {
  background: #1ebe5a !important;
  border-color: #1ebe5a !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35) !important;
  transform: translateY(-2px);
}

.nav-cta.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ========== FLOATING WHATSAPP ========== */
.floating-whatsapp {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  font-weight: 600;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.floating-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ========== NO-HERO SUBPAGES ========== */
main.no-hero > section:first-child {
  padding-top: 140px;
}

/* ========== HERO ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    #0a1628 0%,
    #0d2040 40%,
    #0a1a38 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-particles canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 180, 216, 0.2);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-section h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-brands-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.hero-brands-strip span {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ========== ABOUT ========== */
.about-section {
  padding: 100px 0;
  background: var(--white);
  overflow-x: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.about-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 12px;
}

.about-subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.about-ico {
  display: inline-block;
  font-size: 13px;
  color: var(--text-light);
  background: var(--light);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ========== SERVICES — Expanding Horizontal Stack ========== */
.services-section {
  padding: 100px 0;
  background: var(--light);
  overflow-x: hidden;
}

.services-grid {
  display: flex;
  gap: 10px;
  height: 480px;
  align-items: stretch;
}

.service-card {
  flex: 1 1 0;
  min-width: 64px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

/* Sibling cards compress when grid is hovered */
.services-grid:hover .service-card {
  flex: 0.4 1 0;
}

/* Hovered card expands */
.services-grid .service-card:hover {
  flex: 3.5 1 0;
  box-shadow: var(--shadow-lg);
}

/* Full-bleed background image */
.service-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-card:hover .service-card-image {
  transform: scale(1.06);
}

/* Dark gradient overlay */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.95) 0%,
    rgba(13, 27, 42, 0.55) 45%,
    rgba(13, 27, 42, 0.2) 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
}

.service-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.97) 0%,
    rgba(0, 119, 182, 0.38) 52%,
    rgba(13, 27, 42, 0.1) 100%
  );
}

/* Content anchored to bottom */
.service-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Icon */
.service-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(0, 119, 182, 0.28);
  border: 1px solid rgba(0, 180, 216, 0.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  margin-bottom: 0;
  opacity: 0.65;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease, margin-bottom 0.35s ease;
}

.service-card:hover .service-card-icon {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 16px;
}

/* Title — hidden until expanded */
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.35s ease, max-height 0s 0.35s, margin-bottom 0.3s ease;
}

.service-card:hover h3 {
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 10px;
  transition: opacity 0.3s ease 0.1s, transform 0.35s ease 0.1s, max-height 0s, margin-bottom 0.3s ease 0.1s;
}

/* Description — hidden until expanded */
.service-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s ease, max-height 0s 0.35s;
}

.service-card:hover p {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease 0.2s, transform 0.35s ease 0.2s, max-height 0s;
}

/* Mobile: vertical stack, always-visible text */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  .service-card {
    flex: none;
    min-height: 220px;
    min-width: auto;
  }

  .services-grid:hover .service-card,
  .services-grid .service-card:hover {
    flex: none;
    box-shadow: var(--shadow);
  }

  .service-card h3,
  .service-card p {
    max-height: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-card-icon {
    opacity: 1;
    transform: none;
    margin-bottom: 14px;
    transition: none;
  }
}

/* ========== BRANDS ========== */
.brands-section {
  padding: 80px 0;
  background: var(--white);
}

.brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.brand-card--clickable {
  cursor: pointer !important;
}

.brand-card--clickable:hover {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 40px;
  background: var(--light);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: default;
  position: relative;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.brand-card img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition);
}

.brand-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-card-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
}

.brand-card-placeholder {
  width: 80px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.brand-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== BESTSELLERS ========== */
.bestsellers-section {
  padding: 100px 0;
  background: var(--light);
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding-bottom: 8px;
}

.bestseller-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.bestseller-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bestseller-image-wrap {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #f8fafc, #e8f4f8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bestseller-image-wrap img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.bestseller-card:hover .bestseller-image-wrap img {
  transform: scale(1.05);
}

.bestseller-image-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(0, 180, 216, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.bestseller-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.bestseller-brand-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bestseller-body {
  padding: 24px;
}

.bestseller-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.bestseller-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== FEATURES / WHY US ========== */
.features-section {
  padding: 100px 0;
  background: var(--secondary);
  color: var(--white);
  overflow-x: hidden;
}

.features-section .section-tag {
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent);
}

.features-section .section-header h2 {
  color: var(--white);
}

.features-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
}

.feature-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== PHOTO GALLERY ========== */
.photos-section {
  padding: 100px 0;
  background: var(--light);
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}

.photos-grid .photo-item:nth-child(1),
.photos-grid .photo-item:nth-child(4) {
  grid-column: span 2;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  margin: 0;
  background: #d0dde8;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-item-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .photos-grid .photo-item:nth-child(1),
  .photos-grid .photo-item:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .photos-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
}

/* Image Lightbox */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-lightbox[hidden] {
  display: none;
}

.img-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.92);
}

.img-lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 48px;
  box-sizing: border-box;
}

.img-lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.img-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.img-lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

.img-lightbox-prev,
.img-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.img-lightbox-prev { left: 16px; }
.img-lightbox-next { right: 16px; }

.img-lightbox-prev:hover,
.img-lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}

.img-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* ========== CERTIFICATES ========== */
.certificates-section {
  padding: 100px 0;
  background: var(--white);
}

/* ========== BESTSELLERS CTA ========== */
.bestsellers-cta {
  text-align: center;
  margin-top: 48px;
}

/* ========== PRODUCTS PAGE ========== */
.products-section {
  padding: 100px 0;
  background: var(--white);
}

.products-section .bestsellers-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.brand-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}

.brand-group-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

.brand-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ========== GALLERY CTA ========== */
.gallery-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light) 0%, #dceefb 100%);
}

.gallery-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.gallery-cta-text {
  max-width: 600px;
}

.gallery-cta-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 12px;
}

.gallery-cta-text p {
  color: var(--text-light);
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .gallery-cta-content {
    flex-direction: column;
    text-align: center;
  }
}

.certificates-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.certificates-featured-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.certificates-regular-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.certificate-card--featured {
  background: linear-gradient(135deg, #f0f7fc, #e3f2fb);
  border: 2px solid rgba(0, 119, 182, 0.15);
  border-radius: var(--radius-lg);
  padding: 0;
  min-height: 220px;
}

.cert-pdf-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #f5f7fa;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}

.cert-pdf-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  border: none;
  pointer-events: none;
}

.certificate-card--featured .certificate-body {
  padding: 24px 28px;
}

.certificate-card--featured .certificate-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.certificate-card--featured .certificate-body p {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .certificates-featured-row {
    grid-template-columns: 1fr;
  }
}

.certificate-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.certificate-image-wrap {
  height: 200px;
  background: linear-gradient(135deg, #e8f4f8, #f0f7fc);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.certificate-image-wrap img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.certificate-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(0, 119, 182, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.certificate-body {
  padding: 20px;
}

.certificate-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.certificate-body p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.certificate-card--clickable {
  cursor: pointer;
}

.certificate-card--clickable:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 119, 182, 0.18);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.certificate-view-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 5px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ========== PDF MODAL ========== */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-modal[hidden] {
  display: none;
}

.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(4px);
}

.pdf-modal-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  width: min(900px, 95vw);
  height: min(85vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8edf2;
  flex-shrink: 0;
}

.pdf-modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.pdf-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--light);
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}

.pdf-modal-close:hover {
  background: #dde6ee;
}

.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}

.pdf-modal-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  padding: 100px 0;
  background: var(--light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-star {
  color: #f59e0b;
  font-size: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

.testimonial-name {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== FAQ ========== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

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

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Poppins', sans-serif;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--light);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========== CTA BANNER ========== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 100px 0;
  background: var(--light);
  overflow-x: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item i,
.contact-item svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item span {
  font-weight: 500;
  color: var(--secondary);
}

.contact-map {
  flex: 1;
  min-height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: none;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--secondary);
}

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

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  background: var(--light);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-consent {
  margin-top: 4px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.consent-label a {
  color: var(--primary);
  text-decoration: underline;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Poppins', sans-serif;
}

.contact-form button[type="submit"]:hover {
  background: #005f8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.3);
}

.form-success {
  margin-top: 16px;
  padding: 14px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.form-error {
  margin-top: 16px;
  padding: 14px;
  background: #fef2f2;
  color: #991b1b;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

/* ========== PRIVACY ========== */
.privacy-section {
  padding: 80px 0;
  background: var(--white);
}

.privacy-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.privacy-intro {
  color: var(--text-light);
  margin-bottom: 32px;
}

.privacy-block {
  margin-bottom: 24px;
}

.privacy-block h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.privacy-block p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-ico {
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer-nav h4,
.footer-legal h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.9rem;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dark);
  color: var(--white);
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cookie-content h3 {
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  margin: 0;
  color: var(--white);
}

.cookie-content p {
  flex: 1;
  font-size: 14px;
  margin: 0;
  opacity: 0.85;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn-accept {
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition);
}

.cookie-btn-accept:hover {
  background: #005f8f;
}

.cookie-btn-decline {
  padding: 10px 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  transition: all var(--transition);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-decoration: underline;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 100;
}

.scroll-top-btn:hover {
  background: #005f8f;
  transform: translateY(-2px);
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide from left for about image */
.about-image-wrap.animate-on-scroll {
  transform: translateX(-40px);
}
.about-image-wrap.animate-on-scroll.revealed {
  transform: translateX(0);
}

/* Slide from right for about text */
.about-text.animate-on-scroll {
  transform: translateX(40px);
}
.about-text.animate-on-scroll.revealed {
  transform: translateX(0);
}

/* Scale up for brand cards */
.brand-card.animate-on-scroll {
  transform: scale(0.85);
}
.brand-card.animate-on-scroll.revealed {
  transform: scale(1);
}

/* Slide from left for contact info */
.contact-info.animate-on-scroll {
  transform: translateX(-30px);
}
.contact-info.animate-on-scroll.revealed {
  transform: translateX(0);
}

/* Slide from right for contact form */
.contact-form-wrap.animate-on-scroll {
  transform: translateX(30px);
}
.contact-form-wrap.animate-on-scroll.revealed {
  transform: translateX(0);
}

/* Hero entrance animations */
.hero-animate {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-animated {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Hide mobile-only drawer elements on desktop */
.nav-mobile-header-li,
.nav-mobile-footer-li,
.nav-drawer-close {
  display: none;
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  transition: opacity 0.3s ease;
}

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 100vw);
    height: 100vh;
    background: linear-gradient(160deg, #0D1B2A 0%, #1B2A4A 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.35);
    transition: right var(--transition);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
  }

  #nav-links.active {
    right: 0;
  }

  /* Show mobile-only elements inside the drawer */
  .nav-mobile-header-li,
  .nav-mobile-footer-li {
    display: flex;
  }

  .nav-drawer-close {
    display: flex;
  }

  /* Mobile drawer header row */
  .nav-mobile-header-li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
  }

  .nav-mobile-header-li img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
  }

  .nav-mobile-header-li span {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.3px;
    flex: 1;
  }

  /* Close button inside the drawer header */
  .nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.2s ease;
  }

  .nav-drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
  }

  /* Nav link items */
  #nav-links li {
    width: 100%;
  }

  #nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
  }

  #nav-links a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
  }

  #nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--accent);
  }

  #nav-links a:hover::before {
    opacity: 1;
  }

  /* Mobile drawer footer with CTA */
  .nav-mobile-footer-li {
    list-style: none;
    margin-top: auto;
    flex-shrink: 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav-mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent;
    border-left: none !important;
    transition: all 0.2s ease;
  }

  .nav-mobile-contact-btn:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.06);
    border-left: none !important;
  }

  .nav-mobile-contact-btn::before {
    display: none !important;
  }

  .nav-mobile-footer-li .nav-mobile-tagline {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .nav-cta {
    display: none;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .brands-grid {
    gap: 16px;
  }

  .brand-card {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

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

/* ========== SMALL PHONES ≤ 480px ========== */
@media (max-width: 480px) {
  .hero-content {
    padding: 100px 12px 60px;
  }

  .hero-section h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .service-card-body {
    padding: 16px 12px;
  }

  .contact-item {
    word-break: break-all;
  }

  .floating-whatsapp {
    bottom: 80px;
    right: 12px;
    padding: 10px 14px 10px 12px;
    font-size: 13px;
  }

  .scroll-top-btn {
    bottom: 16px;
    right: 12px;
  }
}

/* ========== VERY SMALL SCREENS < 350px ========== */
@media (max-width: 349px) {
  .container {
    padding: 0 0.75rem;
  }

  nav#nav_1 .nav-container {
    padding: 0 0.75rem;
  }

  .logo {
    font-size: 17px;
  }

  nav#nav_1 {
    padding: 10px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-image-wrap img,
  #about-img {
    max-height: 240px;
    object-fit: cover;
  }

  .contact-item span {
    word-break: break-all;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .floating-whatsapp {
    right: 8px;
    bottom: 76px;
  }

  .scroll-top-btn {
    right: 8px;
    bottom: 12px;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== PRINT ========== */
@media print {
  nav, footer, .whatsapp-float, .scroll-top-btn, #page-loader, .cookie-banner, .hero-scroll-indicator {
    display: none !important;
  }

  section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  * {
    color: #000 !important;
    background: #fff !important;
  }
}