/* ========================================
   EJECO Company Limited — style.css
   Premium Beverage Distribution Website
   ======================================== */

/* ---- CSS Variables (white, blue, orange only) ---- */
:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --accent: #f97316;
  --accent-light: #fb923c;
  --gold: #fb923c;
  --dark: #ffffff;
  --dark-2: #f0f7ff;
  --dark-3: #ffffff;
  --dark-4: #e8f2fc;
  --surface: #f8fbff;
  --border: rgba(29, 78, 216, 0.2);
  --text: #0f2744;
  --text-muted: #1e4976;
  --text-dim: rgba(15, 39, 68, 0.55);
  --heading: #0a1628;
  --white: #ffffff;
  --on-accent: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(29, 78, 216, 0.18);
  --shadow-brand: 0 0 40px rgba(29, 78, 216, 0.22);
  --shadow-card: 0 16px 48px rgba(29, 78, 216, 0.12);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --nav-h: 80px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  color-scheme: light;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img { display: block; max-width: 100%; }

ul { list-style: none; }

/* ---- Inline SVG icons (sprite <use>) ---- */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: block;
  flex-shrink: 0;
  color: inherit;
}

.icon use {
  pointer-events: none;
}

.logo-mark .icon {
  width: 22px;
  height: 22px;
  color: var(--on-accent);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(29,78,216,0.1);
  border: 1px solid rgba(29,78,216,0.3);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--heading);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.accent { color: var(--primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--on-accent);
  box-shadow: 0 8px 32px rgba(29,78,216,0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(29,78,216,0.35);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(29, 78, 216, 0.35);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(249,115,22,0.08);
  transform: translateY(-3px);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(29, 78, 216, 0.12);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(29,78,216,0.4);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--heading);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 99px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 24px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(29,78,216,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(249,115,22,0.14) 0%, transparent 50%),
              linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: rgba(29,78,216,0.12);
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -50px;
  background: rgba(249,115,22,0.1);
  animation-delay: 3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  background: rgba(249,115,22,0.1);
  animation-delay: 6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 78, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Floating cans */
.floating-cans {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.can {
  position: absolute;
  opacity: 0.22;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: canFloat var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
}

.can .icon {
  width: 100%;
  height: 100%;
}

.can-1 { top: 15%; left: 8%;  --dur: 7s; --del: 0s; width: 3rem; height: 3rem; }
.can-2 { top: 60%; left: 5%;  --dur: 5s; --del: 1s; width: 2rem; height: 2rem; }
.can-3 { top: 20%; right: 8%; --dur: 8s; --del: 2s; width: 3.5rem; height: 3.5rem; }
.can-4 { top: 70%; right: 6%; --dur: 6s; --del: 0.5s; width: 2.5rem; height: 2.5rem; }
.can-5 { top: 40%; right: 15%;--dur: 7s; --del: 3s; width: 2rem; height: 2rem; }

@keyframes canFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 78, 216, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--primary); }
  50% { box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(29,78,216,0.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--heading);
  margin-bottom: 24px;
}

.title-accent {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(29, 78, 216, 0.18);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px 40px;
  gap: 0;
}

.stat {
  text-align: center;
  padding: 0 32px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.02em;
  color: var(--heading);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(29, 78, 216, 0.2);
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==============================
   SCROLL REVEAL ANIMATIONS
   ============================== */
.scroll-reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==============================
   ABOUT
   ============================== */
.about { background: var(--dark-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-card {
  position: relative;
  height: 480px;
}

.img-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.main-img {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, rgba(29,78,216,0.12), rgba(249,115,22,0.1));
}

.placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.placeholder-illus {
  width: 4rem;
  height: 4rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.placeholder-content.small .placeholder-illus {
  width: 2rem;
  height: 2rem;
}

.placeholder-sub { font-size: 0.75rem; color: var(--text-dim); }

.placeholder-content.small { font-size: 0.8rem; }

.small-img {
  position: absolute;
  width: 160px;
  height: 140px;
  border: 3px solid var(--dark-2);
}

.small-img-1 {
  bottom: -20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(29,78,216,0.18), #ffffff);
}

.small-img-2 {
  bottom: -20px;
  left: 20px;
  background: linear-gradient(135deg, rgba(249,115,22,0.18), #ffffff);
}

.about-badge-float {
  position: absolute;
  top: -16px;
  left: -16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--on-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-brand);
}

.about-content { }

.about-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.about-card:hover {
  border-color: rgba(29,78,216,0.3);
  background: rgba(29,78,216,0.04);
  transform: translateX(4px);
}

.about-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(29,78,216,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.about-card-icon .icon {
  width: 26px;
  height: 26px;
}

.about-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.about-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================
   SERVICES
   ============================== */
.services {
  background: var(--dark);
}

.services-bg-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(29,78,216,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,78,216,0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(29,78,216,0.4);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(29,78,216,0.15), var(--shadow-card);
}

.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 3rem;
  height: 3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  filter: drop-shadow(0 4px 12px rgba(29,78,216,0.3));
  transition: transform var(--transition);
}

.service-icon-wrap .icon {
  width: 100%;
  height: 100%;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) translateY(-2px);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover .card-glow { opacity: 0.15; }

/* ==============================
   PRODUCTS
   ============================== */
.products { background: var(--dark-2); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(29,78,216,0.3);
}

.product-img-wrap {
  overflow: hidden;
  position: relative;
}

.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img { transform: scale(1.05); }

.product-img-1 { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.product-img-2 { background: linear-gradient(135deg, #e0f2fe, #f0f9ff); }
.product-img-3 { background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.product-img-4 { background: linear-gradient(135deg, #bfdbfe, #dbeafe); }
.product-img-5 { background: linear-gradient(135deg, #fed7aa, #ffedd5); }
.product-img-6 { background: linear-gradient(135deg, #dbeafe, #ffedd5); }
.product-img-7 { background: linear-gradient(135deg, #fef3c7, #fed7aa); }

.prod-icon {
  width: 5rem;
  height: 5rem;
  color: var(--primary);
  filter: drop-shadow(0 8px 24px rgba(29, 78, 216, 0.25));
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-icon .icon {
  width: 100%;
  height: 100%;
}

.product-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 50%);
}

.product-info {
  padding: 24px;
}

.product-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(29,78,216,0.1);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.product-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-link:hover {
  color: var(--accent);
  gap: 8px;
}

/* ==============================
   WHY US
   ============================== */
.why-us {
  background: var(--dark);
  position: relative;
}

.why-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.why-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.why-orb-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: rgba(29,78,216,0.07);
}

.why-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -80px;
  background: rgba(249,115,22,0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(29,78,216,0.4);
  transform: translateY(-6px);
  background: rgba(29,78,216,0.04);
}

.why-number {
  font-family: var(--font-display);
  font-size: 4rem;
  letter-spacing: -0.02em;
  color: rgba(29, 78, 216, 0.1);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  user-select: none;
}

.why-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.why-icon .icon {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==============================
   GALLERY
   ============================== */
.gallery { background: var(--dark-2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.g-large {
  grid-column: span 2;
}

.gallery-img {
  height: 240px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.g-large .gallery-img { height: 280px; }

.gallery-item:hover .gallery-img { transform: scale(1.05); }

.gi-1 { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.gi-2 { background: linear-gradient(135deg, #bfdbfe, #e0f2fe); }
.gi-3 { background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.gi-4 { background: linear-gradient(135deg, #fed7aa, #ffedd5); }
.gi-5 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.gi-6 { background: linear-gradient(135deg, #ffedd5, #dbeafe); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(30, 64, 175, 0.82) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--on-accent);
}

.gallery-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  opacity: 0.22;
  color: var(--primary);
  pointer-events: none;
  z-index: 0;
}

.gallery-watermark .icon {
  width: 100%;
  height: 100%;
}

/* ==============================
   CONTACT
   ============================== */
.contact { background: var(--dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(29,78,216,0.3);
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(29,78,216,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.info-icon .icon {
  width: 24px;
  height: 24px;
}

.info-content h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.info-content a,
.info-content p {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1.8;
}

.info-content a:hover { color: var(--primary); }

.map-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(29,78,216,0.05), rgba(249,115,22,0.04));
  cursor: pointer;
  transition: var(--transition);
}

.map-placeholder:hover {
  border-color: rgba(29,78,216,0.3);
}

.map-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-pin {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--primary);
  animation: mapPinBounce 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin .icon {
  width: 100%;
  height: 100%;
}

@keyframes mapPinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.map-inner span { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.map-inner small { font-size: 0.78rem; color: var(--text-dim); }

/* Contact Form */
.contact-form-wrap { }

.contact-form {
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(29, 78, 216, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.form-group select option {
  background: #ffffff;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.12);
}

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--primary-dark);
  margin-top: 16px;
}

.form-success-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-success-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #2563eb 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-top {
  padding: 80px 0 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 280px;
}

.footer-brand .nav-logo { margin-bottom: 0; }

.footer .logo-main {
  color: var(--white);
}

.footer .logo-sub {
  color: rgba(255, 255, 255, 0.78);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent-light); }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-list-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-list-icon .icon {
  width: 100%;
  height: 100%;
}

.contact-list li a,
.contact-list li span:last-child {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  display: block;
  line-height: 1.7;
  transition: color var(--transition);
}

.contact-list li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px 0;
  display: flex;
}

.footer-bottom .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ==============================
   BACK TO TOP
   ============================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--on-accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(29,78,216,0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(249,115,22,0.35);
}

/* ==============================
   RESPONSIVE — TABLET
   ============================== */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .about-img-card { height: 340px; }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: span 2; }
}

/* ==============================
   RESPONSIVE — MOBILE
   ============================== */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Navbar */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .nav-link::after { display: none; }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(29,78,216,0.08);
    color: var(--primary);
  }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 20px); }

  .hero-stats {
    padding: 20px 20px;
    gap: 0;
    flex-wrap: nowrap;
  }

  .stat { padding: 0 16px; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.65rem; }

  /* Grids */
  .services-grid,
  .products-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .g-large { grid-column: span 2; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand { grid-column: span 1; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* Contact */
  .contact-form { padding: 24px; }

  .hero-title { font-size: clamp(3.2rem, 12vw, 5rem); }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .g-large { grid-column: span 1; }

  .back-to-top { bottom: 20px; right: 20px; }
}