/* =============================================
   AVON REMEDIES — COMPONENTS CSS
   Navbar, Hero, Sections, Modal, WhatsApp
   ============================================= */

/* ── NAVBAR ───────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 10px 40px rgba(26, 78, 196, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.navbar-logo span {
  color: var(--clr-primary-dark);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text-muted);
  position: relative;
  transition: color var(--transition-fast);
  padding: var(--space-2) 0;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

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

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

/* ── Nav Dropdown ─────────────────────────── */
.nav-dropdown {
  position: relative;
}

/* Invisible hover bridge — fills the gap so cursor never leaves nav-dropdown */
.nav-dropdown:hover::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 14px; /* must match the gap */
  background: transparent;
  z-index: 1999;
}

/* Pointer arrow — now visible because there IS a gap below the toggle */
.nav-dropdown:hover::after {
  content: '';
  position: absolute;
  bottom: -10px; /* floats in the 14px gap */
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-radius: 2px 0 0 0;
  box-shadow: -2px -2px 5px rgba(26, 78, 196, 0.1);
  z-index: 2001;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-bottom: 0.4rem; /* Keeps hover zone connected */
}

.nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 14px); /* Restored gap — bridge fills it invisibly */
  left: 50%;
  transform: translateX(-50%) translateY(8px);

  /* Crisp premium card */
  background: #FFFFFF !important;
  border-radius: 14px !important;
  border: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 16px 40px -4px rgba(26, 78, 196, 0.14) !important;

  padding: 0.5rem !important;
  min-width: 200px !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s 0.05s;
  pointer-events: none;
  z-index: 2000;
  margin: 0 !important;
}


.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; /* No delay on show */
}

/* Scrollbar — ultra thin and barely visible */
.nav-dropdown-menu::-webkit-scrollbar { width: 3px; }
.nav-dropdown-menu::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.nav-dropdown-menu::-webkit-scrollbar-thumb { background: rgba(203, 213, 225, 0.7); border-radius: 8px; }
.nav-dropdown-menu::-webkit-scrollbar-thumb:hover { background: var(--clr-primary); }

/* Dropdown Links */
.nav-dropdown-menu a {
  display: block !important;
  padding: 9px 14px !important;
  margin: 0 0 2px 0 !important;
  color: var(--clr-text-muted) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: var(--text-sm) !important;
  line-height: 1 !important;
  white-space: nowrap;
  border-radius: 8px !important;
  transition: color 0.18s ease, background 0.18s ease !important;
}

.nav-dropdown-menu a:last-child {
  margin-bottom: 0 !important;
}

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

.nav-dropdown-menu a:first-child {
  color: var(--clr-primary) !important;
  background: linear-gradient(135deg, #EEF2FF, #E8F0FE) !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  border-bottom: 1px solid #E2E8F0 !important;
  border-radius: 8px 8px 0 0 !important;
  padding-bottom: 11px !important;
  letter-spacing: 0.02em !important;
}

.nav-dropdown-menu a:hover {
  color: var(--clr-primary) !important;
  background: #EEF2FF !important;
  transform: none !important;
}

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

.btn-nav-download {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-primary);
  background: rgba(26, 78, 196, 0.08);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.btn-nav-download:hover {
  background: rgba(26, 78, 196, 0.15);
  transform: translateY(-1px);
}

.btn-nav-download svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

/* Protect the brochure button from .mobile-menu a overrides, make it an outline button on mobile */
.mobile-menu .btn-nav-download {
  justify-content: center !important;
  text-align: center !important;
  padding: 0.6rem 1.1rem !important;
  background: transparent !important;
  border: 1.5px solid var(--clr-primary) !important;
  border-radius: var(--radius-full) !important;
}

.mobile-menu .btn-nav-download:hover {
  background: var(--clr-primary) !important;
  color: #FFFFFF !important;
}

.btn-nav-download:hover svg {
  transform: translateY(2px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-6);
  z-index: 999;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain; /* Prevents background from scrolling */
  touch-action: pan-y; /* Forces vertical scroll only, disables browser gestures */
  padding-bottom: calc(var(--space-6) + 60px); /* Safe space for iOS/Android bottom bars */
}

/* Mobile Menu Scrollbar */
.mobile-menu::-webkit-scrollbar { width: 4px; }
.mobile-menu::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.mobile-menu::-webkit-scrollbar-thumb { background: rgba(203, 213, 225, 0.7); border-radius: 8px; }
.mobile-menu::-webkit-scrollbar-thumb:hover { background: var(--clr-primary); }

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--clr-text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--transition-fast);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--clr-primary);
}

/* Mobile Products Section */
.mob-products-section {
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--space-2);
}

.mob-products-section > a {
  border-bottom: none !important;
  padding-bottom: var(--space-2) !important;
}

.mob-product-types {
  padding-left: var(--space-4);
  padding-bottom: var(--space-2);
  max-height: 200px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}

/* Sub-list scrollbar aesthetics */
.mob-product-types::-webkit-scrollbar { width: 3px; }
.mob-product-types::-webkit-scrollbar-track { background: transparent; }
.mob-product-types::-webkit-scrollbar-thumb { background: rgba(203, 213, 225, 0.5); border-radius: 4px; }

.mob-product-types a {
  border-bottom: none !important;
  padding: 5px 0 !important;
  font-size: 0.85rem !important;
  color: var(--clr-text-light) !important;
}

.mob-product-types a:hover {
  color: var(--clr-primary) !important;
}

/* ── HERO SECTION ─────────────────────────── */
#home.new-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--clr-bg-alt);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(26, 78, 196, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  padding-top: calc(var(--nav-height) + var(--space-4));
  padding-bottom: var(--space-6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-welcome {
  color: var(--clr-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  font-style: normal;
}

.hero-title {
  color: var(--clr-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-4);
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--space-3);
}

.check-icon {
  width: 28px;
  height: 28px;
  color: var(--clr-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-6);
  font-weight: 500;
  max-width: 90%;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.badge-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: 0 10px 30px rgba(26, 78, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

/* Right Side Images with Animations */
.hero-right {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image-gallery {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 40px; /* Safe space to prevent bottom clipping of inset image */
}

/* ── PREMIUM HERO STYLING ─────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.4);
  top: -100px;
  left: -100px;
  animation: pulse-orb 8s infinite alternate;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(147, 197, 253, 0.5);
  bottom: 10%;
  right: -50px;
  animation: pulse-orb 10s infinite alternate-reverse;
}

@keyframes pulse-orb {
  0% { transform: scale(1) translate(0, 0); opacity: 0.4; }
  100% { transform: scale(1.2) translate(30px, 30px); opacity: 0.7; }
}

.medical-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.med-cross {
  position: absolute;
  bottom: -150px;
  color: rgba(26, 78, 196, 0.06);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 3rem;
  line-height: 1;
  animation: float-up-med 25s linear infinite;
}

@keyframes float-up-med {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) rotate(180deg); opacity: 0; }
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.check-icon-wrapper {
  background: rgba(26, 78, 196, 0.1);
  border-radius: 50%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
}

.main-img-wrapper {
  width: 100%;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transform-style: preserve-3d;
  box-shadow: 0 30px 60px rgba(26, 78, 196, 0.1);
  animation: float 8s ease-in-out infinite;
}

.inset-img-wrapper {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 60%;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  box-shadow: -15px 25px 40px rgba(0, 0, 0, 0.12);
  animation: float-inset 6s ease-in-out infinite reverse;
}

.img-main {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px); /* Adjust for wrapper padding */
  display: block;
}

.img-inset {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

.overlay-gradient {
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius-lg) - 4px);
  background: linear-gradient(0deg, rgba(26,78,196,0.1) 0%, transparent 50%);
  pointer-events: none;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-checklist li {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-image-gallery {
    margin: var(--space-12) auto 0;
  }
  
  .img-inset {
    left: -20px;
  }
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--clr-border);
}

/* ── ABOUT US ────────────────────────────── */
#about-us {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-image-block {
  background: linear-gradient(135deg, var(--clr-bg) 0%, #dbeafe 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.story-image-block::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(26,78,196,0.06);
}

.story-icon {
  font-size: 5rem;
  margin-bottom: var(--space-4);
}

.story-image-caption {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--clr-primary);
  font-weight: 700;
}

.story-content .label-tag {
  margin-bottom: var(--space-3);
  display: block;
}

.story-content .heading-section {
  margin-bottom: var(--space-6);
}

.story-content p {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.story-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,78,196,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--space-1);
}

.pillar-text p {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-bottom: 0 !important;
  line-height: 1.6;
}

/* ── PRODUCTS TEASER ──────────────────────── */
#products {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.products-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.category-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.category-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--space-2);
}

.category-card p {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.5;
}

.products-cta-center {
  text-align: center;
}

/* ── QUALITY SECTION ──────────────────────── */
#quality {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.quality-card {
  background: linear-gradient(135deg, var(--clr-bg) 0%, #F0F6FF 100%);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  border: 1px solid rgba(26,78,196,0.08);
  transition: all var(--transition-base);
}

.quality-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,78,196,0.2);
}

.quality-card-icon {
  width: 56px;
  height: 56px;
  background: var(--clr-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 14px rgba(26,78,196,0.30);
}

.quality-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--space-3);
}

.quality-card p {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.quality-badge-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
}

.quality-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.quality-badge-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.quality-badge span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-primary);
  letter-spacing: 0.05em;
}

/* ── CONTACT SECTION ──────────────────────── */
#contact {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #1340A8 100%);
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

#contact::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.contact-info .heading-section {
  color: var(--clr-white);
  margin-bottom: var(--space-4);
}

.contact-tagline {
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-10);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.contact-item-text h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-1);
}

.contact-item-text p,
.contact-item-text a {
  font-size: var(--text-base);
  color: var(--clr-white);
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.contact-item-text a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

.contact-cta-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--space-2);
}

.contact-form-card .form-sub {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-6);
}

/* ── FOOTER ───────────────────────────────── */
.footer {
  background: var(--clr-white);
  color: var(--clr-text-muted);
  padding: var(--space-12) 0 var(--space-6);
  border-top: 1px solid var(--clr-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--clr-border);
}

.footer-brand .navbar-logo {
  display: block;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--space-5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--clr-primary);
}

.footer-bottom {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}

/* ── FLOATING WHATSAPP BUTTON ─────────────── */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  width: 58px;
  height: 58px;
  background: var(--clr-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.50);
  transition: all var(--transition-base);
  text-decoration: none;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* Pulse ring animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid rgba(37,211,102,0.4);
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #0F172A;
  color: var(--clr-white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ── ENQUIRY MODAL ────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-shadow: var(--shadow-xl);
  transform: scale(0.94) translateY(20px);
  transition: transform var(--transition-base);
}
.modal-box::-webkit-scrollbar {
  display: none;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: var(--space-8) var(--space-8) var(--space-4);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--clr-primary);
}

.modal-header p {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-top: var(--space-1);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clr-text-muted);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--clr-border);
  color: var(--clr-text);
}

.modal-body {
  padding: var(--space-6) var(--space-8) var(--space-8);
}

.modal-product-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(26,78,196,0.08);
  border: 1px solid rgba(26,78,196,0.15);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: var(--space-5);
}

.form-success {
  text-align: center;
  padding: var(--space-8) 0;
}

.form-success-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-4);
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--clr-primary);
  margin-bottom: var(--space-3);
}

.form-success p {
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
}

/* ── SCROLL TO TOP ────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--clr-primary);
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  border: 1.5px solid var(--clr-border);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* ── RESPONSIVE ───────────────────────────── */

/* ── 1280px: Large tablets / small laptops ── */
@media (max-width: 1280px) {
  .navbar-inner {
    padding: 0 var(--space-6);
  }
  .navbar-nav {
    gap: var(--space-6);
  }
  /* 4-col products grid → 2 on small laptops */
  .products-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 1024px: Tablets landscape ── */
@media (max-width: 1024px) {
  /* Navbar */
  .navbar-nav,
  .navbar-actions {
    display: none;
  }
  .nav-toggle { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-subtitle { max-width: 100%; }
  .hero-checklist {
    text-align: left;
    display: inline-block;
  }
  .hero-cta-group, .hero-badges { justify-content: center; }
  .hero-image-gallery {
    margin-top: var(--space-8);
    margin-bottom: 40px; /* Safe space */
    margin-left: auto;
    margin-right: auto;
    max-width: 75%;
  }

  /* Products teaser: 2 columns on tablet landscape */
  .products-teaser-grid { grid-template-columns: repeat(2, 1fr); }

  /* Quality grid: 2 cols on tablet landscape */
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px: Tablets portrait ── */
@media (max-width: 768px) {
  /* Hero */
  .hero-title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .hero-image-gallery { max-width: 85%; margin-bottom: 50px; }
  .inset-img-wrapper { left: -15px; bottom: -20px; width: 65%; }
  .badge-card img { width: 90px; height: 90px; }
  .hero-stats { gap: var(--space-6); }
  .stat-divider { display: none; }

  /* Layouts */
  .story-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  /* Quality grid goes to 1 col on portrait tablets */
  .quality-grid { grid-template-columns: 1fr; }

  /* Products teaser: 2 cols still looks good on portrait tablets */
  .products-teaser-grid { grid-template-columns: repeat(2, 1fr); }

  /* Badge cards: slightly smaller */
  .badge-card img { width: 80px; height: 80px; }

  /* Category cards: reduce padding for tablet */
  .category-card { padding: var(--space-6) var(--space-4); }

  /* Contact */
  .contact-cta-buttons { flex-direction: column; }
  .contact-form-card { padding: var(--space-6); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }

  /* Modal */
  .modal-header,
  .modal-body {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
  .modal-box {
    width: calc(100% - var(--space-8));
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Dropdown — hidden on mobile (uses mobile menu instead) */
  .navbar .nav-dropdown-menu { display: none !important; }
  .navbar .nav-dropdown:hover::before,
  .navbar .nav-dropdown:hover::after { display: none; }
}

/* ── 640px: Large phones ── */
@media (max-width: 640px) {
  .navbar-inner {
    padding: 0 var(--space-4);
  }
  .mobile-menu {
    padding: var(--space-4);
    gap: var(--space-3);
  }
  .mobile-menu a {
    font-size: var(--text-sm);
    padding: var(--space-3) 0;
  }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-cta-group .btn { width: 100%; text-align: center; }
  .hero-badges { justify-content: center; gap: var(--space-3); }

  /* Sections */
  .section-header { margin-bottom: var(--space-8); }
  .story-highlights { flex-direction: column; gap: var(--space-4); }

  /* Products teaser: keep 2 cols on large phones, not 1 */
  .products-teaser-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero badges: shrink badge images for cleaner fit */
  .badge-card img { width: 70px; height: 70px; }
  .badge-card { padding: var(--space-2); }

  /* Category cards: compact on phones */
  .category-card { padding: var(--space-5) var(--space-3); }
  .category-card-icon { font-size: 2rem; margin-bottom: var(--space-3); }

  /* Contact CTA buttons: stack on small screens */
  .contact-cta-buttons { flex-direction: column; align-items: flex-start; }

  /* Quality cards */
  .quality-card { padding: var(--space-5); }

  /* Footer */
  .footer-brand p { font-size: var(--text-sm); }

  /* Scroll to top — move away from edge */
  .scroll-top { left: var(--space-4); bottom: var(--space-4); }
}

/* ── 480px: Small phones ── */
@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }

  .navbar-inner {
    padding: 0 var(--space-3);
  }

  /* Logo scales down */
  .navbar-logo img {
    height: 38px !important;
    width: auto;
  }

  /* Mobile menu full-width and readable */
  .mobile-menu {
    top: 64px;
    padding: var(--space-4) var(--space-3);
  }
  .mobile-menu a { font-size: var(--text-sm); }

  /* Hero */
  .hero-title { font-size: clamp(1.8rem, 11vw, 2.4rem); }
  .hero-checklist li { font-size: var(--text-base); }
  .hero-subtitle { font-size: var(--text-base); }

  /* Section headings */
  .heading-section { font-size: var(--text-2xl); }

  /* Products modal */
  .modal-box { border-radius: var(--radius-md); }
  .modal-body { padding: var(--space-5) var(--space-4); }
  .modal-header { padding: var(--space-4); }

  /* Story stats */
  .story-stat { flex-direction: column; text-align: center; }

  /* Products teaser: 2 cols on 480px, still readable */
  .products-teaser-grid { grid-template-columns: repeat(2, 1fr); }

  /* Badge cards scale down */
  .badge-card img { width: 58px; height: 58px; }
  .hero-badges { gap: var(--space-2); }
}

/* ── 360px: Smallest phones ── */
@media (max-width: 360px) {
  :root {
    --nav-height: 60px;
    --container: calc(100% - var(--space-4));
  }

  .navbar-logo img { height: 34px !important; }

  .mobile-menu { top: 60px; padding: var(--space-3); }

  .hero-title { font-size: 1.75rem; }

  .btn { padding: 0.65rem 1.2rem; font-size: var(--text-sm); }

  .scroll-top { width: 38px; height: 38px; font-size: 1rem; }

  /* Products teaser: 1 col on truly tiny screens */
  .products-teaser-grid { grid-template-columns: 1fr; }

  /* Badge cards: tiny screens */
  .badge-card img { width: 48px; height: 48px; }
  .hero-badges { gap: var(--space-2); }
}
