/* ==========================================================================
   DUTEKS Tekstil — Next-Gen Responsive CSS v3.1
   100% Mobile Optimized • Touch-Friendly • Ultra-Smooth
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ─── CSS Design Tokens ─────────────────────────────────────────────────── */
:root {
  /* Colors */
  --c-navy:      #0B192C;
  --c-navy-mid:  #1E3E62;
  --c-navy-deep: #060E1A;
  --c-gold:      #C5A880;
  --c-gold-dark: #A8905A;
  --c-gold-light:#D4BC98;
  --c-white:     #FFFFFF;
  --c-body:      #374151;
  --c-muted:     #6B7280;
  --c-border:    #E5E7EB;
  --c-bg-soft:   #F9FAFB;
  --c-bg-alt:    #F3F4F6;
  --c-green:     #059669;

  /* Legacy aliases */
  --color-primary:       var(--c-navy);
  --color-primary-light: var(--c-navy-mid);
  --color-secondary:     var(--c-gold);
  --color-secondary-hover: var(--c-gold-dark);
  --color-accent:        var(--c-green);
  --color-dark:          var(--c-navy-deep);
  --color-body:          var(--c-body);
  --color-light-bg:      var(--c-bg-soft);
  --color-border:        var(--c-border);
  --color-white:         var(--c-white);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(11,25,44,.06);
  --shadow-sm:  0 4px 12px rgba(11,25,44,.07);
  --shadow-md:  0 8px 28px rgba(11,25,44,.10);
  --shadow-lg:  0 20px 50px rgba(11,25,44,.14);
  --shadow-xl:  0 32px 80px rgba(11,25,44,.18);
  --shadow-gold:0 8px 32px rgba(197,168,128,.35);

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --t-fast:     0.15s var(--ease);
  --t-base:     0.3s  var(--ease);
  --t-slow:     0.5s  var(--ease);
  --t-spring:   0.4s  var(--ease-spring);

  /* Z-index layers */
  --z-base:    1;
  --z-card:    10;
  --z-sticky:  100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;
  --z-cursor:  9999;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

body {
  font-family: var(--font-body);
  color: var(--c-body);
  background: var(--c-white);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--c-navy);
  line-height: 1.2;
  font-weight: 700;
}
a { text-decoration: none; color: inherit; transition: var(--t-base); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Prevent iOS input zoom bug (font-size < 16px causes forced safari zoom) */
input, select, textarea {
  font-size: 16px !important;
}

/* ─── Custom Cursor ──────────────────────────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none;
  z-index: var(--z-cursor); border-radius: 50%;
  transform: translate(-50%, -50%); transition: opacity 0.2s;
}
.cursor-dot {
  width: 8px; height: 8px; background: var(--c-gold);
  top: 0; left: 0; transition: transform 0.1s;
}
.cursor-ring {
  width: 36px; height: 36px; border: 2px solid rgba(197,168,128,.5);
  top: 0; left: 0; transition: all 0.15s var(--ease-out);
}
.cursor-ring.hovered { width: 54px; height: 54px; border-color: var(--c-gold); background: rgba(197,168,128,.07); }
@media (max-width: 992px), (hover: none) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ─── Page Loader ────────────────────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; background: var(--c-navy-deep);
  z-index: var(--z-modal); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.25rem;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900;
  color: var(--c-white); letter-spacing: 4px; animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-logo span { color: var(--c-gold); }
.loader-bar-wrap { width: 180px; height: 3px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.loader-bar { height: 100%; background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light)); border-radius: 99px; animation: loaderBar 1.2s ease-in-out; }
@keyframes loaderPulse { 0%,100%{opacity:.7} 50%{opacity:1} }
@keyframes loaderBar { from{width:0} to{width:100%} }

/* ─── Scroll Animations ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94);       transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

@media (max-width: 768px) {
  /* Reduce motion on mobile for better FPS */
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    transition-duration: 0.4s !important;
  }
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.12s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.20s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.24s; }

/* ─── Container & Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
.section-padding { padding: 5rem 0; }
.bg-light { background: var(--c-bg-soft); }
.bg-dark  { background: var(--c-navy); color: var(--c-white); }
.bg-alt   { background: var(--c-bg-alt); }

/* ─── Section Headers ────────────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 740px; margin: 0 auto 3rem; }
.section-subtitle {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--c-gold); background: rgba(197,168,128,.1);
  border: 1px solid rgba(197,168,128,.25); padding: .3rem .9rem; border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.section-subtitle::before { content: ''; width: 6px; height: 6px; background: var(--c-gold); border-radius: 50%; }

.section-title {
  font-size: clamp(1.65rem, 4.5vw, 2.4rem); line-height: 1.2; margin-bottom: .85rem;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title .gold { background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bg-dark .section-title { background: linear-gradient(135deg, #fff, #CBD5E1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.section-desc { font-size: clamp(.92rem, 2vw, 1.05rem); color: var(--c-muted); line-height: 1.7; }
.bg-dark .section-desc { color: #94A3B8; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.85rem; min-height: 46px;
  font-family: var(--font-heading); font-weight: 600; font-size: .92rem;
  border-radius: var(--r-sm); border: 2px solid transparent;
  transition: var(--t-spring); cursor: pointer; position: relative; overflow: hidden;
  touch-action: manipulation;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.12); opacity: 0; transition: opacity .2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  color: var(--c-navy); box-shadow: 0 4px 16px rgba(197,168,128,.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }

.btn-outline { border-color: var(--c-gold); color: var(--c-gold); }
.btn-outline:hover { background: var(--c-gold); color: var(--c-navy); transform: translateY(-3px); }

.btn-navy { background: var(--c-navy); color: var(--c-white); box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--c-navy-mid); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ─── Top Bar ────────────────────────────────────────────────────────────── */
.top-bar {
  background: linear-gradient(90deg, var(--c-navy-deep) 0%, #0D1F36 100%);
  color: #94A3B8; font-size: .82rem; padding: .45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-info { display: flex; gap: 1.5rem; }
.top-info-item { display: flex; align-items: center; gap: .45rem; transition: color .2s; }
.top-info-item:hover { color: var(--c-gold); }
.top-info-item i { color: var(--c-gold); font-size: .82rem; }
.top-right { display: flex; align-items: center; gap: 1.25rem; }
.social-links { display: flex; gap: .6rem; }
.social-links a {
  color: #64748B; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; transition: var(--t-fast); border: 1px solid rgba(255,255,255,.08);
}
.social-links a:hover { color: var(--c-gold); border-color: var(--c-gold); transform: translateY(-1px); }
.lang-switch span { cursor: pointer; padding: .15rem .45rem; border-radius: 3px; font-weight: 600; }
.lang-switch .active { background: var(--c-gold); color: var(--c-navy); }

/* ─── Main Header ────────────────────────────────────────────────────────── */
.main-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229,231,235,.8);
  transition: all .35s var(--ease);
}
.main-header.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 32px rgba(11,25,44,.08);
}

.navbar {
  display: flex; justify-content: space-between; align-items: center;
  height: 80px; transition: height .35s var(--ease);
}
.main-header.scrolled .navbar { height: 68px; }

.logo-brand { display: flex; align-items: center; gap: .75rem; }
.site-logo { width: auto; object-fit: contain; transition: var(--t-base); }
.header-logo { max-height: 56px !important; height: 56px !important; }

.nav-menu { display: flex; gap: .35rem; align-items: center; }
.nav-link {
  font-family: var(--font-heading); font-weight: 600; font-size: .92rem;
  color: var(--c-navy); padding: .55rem 1rem; border-radius: var(--r-sm);
  position: relative; transition: all .2s var(--ease);
}
.nav-link:hover { color: var(--c-gold); background: rgba(197,168,128,.08); }
.nav-link.active { color: var(--c-navy); background: rgba(197,168,128,.12); border-bottom: 2px solid var(--c-gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  color: var(--c-navy) !important; padding: .6rem 1.25rem !important;
  border-radius: var(--r-sm); font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(197,168,128,.3);
  transition: var(--t-spring) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.mobile-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; color: var(--c-navy); cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  transition: var(--t-fast);
}
.mobile-toggle:hover { background: var(--c-bg-alt); }

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, #0D1F36 50%, var(--c-navy-mid) 100%);
  color: var(--c-white); padding: 5.5rem 0 7.5rem;
  overflow: hidden; min-height: 85vh; display: flex; align-items: center;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; pointer-events: none; }

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
.hero-orb-1 { width: 450px; height: 450px; background: rgba(197,168,128,.12); top: -80px; right: -60px; animation: orbFloat 8s ease-in-out infinite; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(30,62,98,.5); bottom: -40px; left: 5%; animation: orbFloat 11s ease-in-out infinite reverse; }
.hero-orb-3 { width: 180px; height: 180px; background: rgba(197,168,128,.08); top: 30%; left: 40%; animation: orbFloat 7s ease-in-out infinite 3s; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(25px,-15px) scale(1.04)} 66%{transform:translate(-12px,20px) scale(.98)} }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; position: relative; z-index: 2;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--c-gold); background: rgba(197,168,128,.1); border: 1px solid rgba(197,168,128,.3);
  padding: .35rem .9rem; border-radius: var(--r-full); margin-bottom: 1.25rem;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--c-gold); border-radius: 50%; animation: pulse 2s infinite; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); color: var(--c-white); line-height: 1.12; margin-bottom: 1.2rem;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-light) 50%, var(--c-gold) 100%);
  background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientFlow 4s linear infinite;
}
@keyframes gradientFlow { 0%{background-position:0%} 100%{background-position:200%} }

.typing-wrap { display: inline-block; position: relative; }
.typing-cursor { display: inline-block; width: 3px; background: var(--c-gold); margin-left: 2px; animation: blink .8s infinite; border-radius: 2px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-description { font-size: clamp(1rem, 2vw, 1.12rem); color: #94A3B8; margin-bottom: 2rem; max-width: 90%; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-main-card {
  background: rgba(255,255,255,.05); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-xl); padding: 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: cardHover 5s ease-in-out infinite;
}
@keyframes cardHover { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.hero-banner-img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--r-md); display: block; }
.hero-banner-placeholder {
  width: 100%; height: 260px;
  background: linear-gradient(135deg, rgba(197,168,128,.15), rgba(30,62,98,.5));
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(197,168,128,.35); flex-direction: column; gap: 1rem; color: var(--c-gold);
}
.hero-banner-placeholder i { font-size: 3rem; opacity: .6; }

.hero-badge {
  position: absolute; background: var(--c-white); color: var(--c-navy);
  padding: .85rem 1.1rem; border-radius: var(--r-md);
  box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-heading); animation: badgeFloat 4s ease-in-out infinite;
}
.hero-badge-1 { bottom: -20px; left: -24px; animation-delay: 0s; }
.hero-badge-2 { top: -16px; right: -16px; animation-delay: 1.5s; }
.hero-badge i { font-size: 1.5rem; color: var(--c-gold); }
.hero-badge strong { display: block; font-size: 1.05rem; }
.hero-badge span { font-size: .75rem; color: var(--c-muted); }
@keyframes badgeFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ─── Stats Bar ──────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--c-white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl); padding: 1.75rem 2.5rem;
  margin-top: -3.2rem; position: relative; z-index: 20;
  border: 1px solid rgba(229,231,235,.6);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat-item { position: relative; padding: .5rem; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 50%; background: var(--c-border);
}
.stat-number {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900;
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-mid));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.stat-label { font-size: .85rem; color: var(--c-muted); font-weight: 600; margin-top: .35rem; }
.stat-icon { color: var(--c-gold); font-size: 1rem; margin-bottom: .3rem; }

/* ─── Feature Cards ──────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.feature-card {
  background: var(--c-white); border-radius: var(--r-md);
  padding: 2rem; border: 1px solid var(--c-border);
  transition: var(--t-spring); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(197,168,128,.15), rgba(197,168,128,.05));
  color: var(--c-navy); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.25rem; transition: var(--t-spring);
  border: 1px solid rgba(197,168,128,.2);
}
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark)); color: var(--c-white); transform: scale(1.08); }
.feature-title { font-size: 1.15rem; margin-bottom: .55rem; }
.feature-desc { font-size: .9rem; color: var(--c-muted); line-height: 1.65; }

/* ─── Catalog Filters (Mobile Touch Swipe) ───────────────────────────────── */
.catalog-filters {
  display: flex; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.filter-btn {
  padding: .55rem 1.25rem; font-family: var(--font-heading); font-weight: 600; font-size: .88rem;
  border-radius: var(--r-full); border: 1.5px solid var(--c-border);
  background: var(--c-white); color: var(--c-body); cursor: pointer; transition: var(--t-fast);
  touch-action: manipulation; min-height: 42px;
}
.filter-btn:hover { border-color: var(--c-navy); color: var(--c-navy); background: var(--c-bg-alt); }
.filter-btn.active { background: var(--c-navy); color: var(--c-white); border-color: var(--c-navy); box-shadow: var(--shadow-sm); }

/* Horizontal scrolling pills on mobile */
@media (max-width: 992px) {
  .catalog-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .75rem;
    margin-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .catalog-filters::-webkit-scrollbar { display: none; }
  .catalog-filters .filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}

/* ─── Product Cards ──────────────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.product-card {
  background: var(--c-white); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--c-border); transition: var(--t-spring);
  display: flex; flex-direction: column; position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product-thumb {
  position: relative; height: 220px;
  background: linear-gradient(135deg, #1E3E62, #0B192C);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gold); overflow: hidden;
}
.product-thumb img { transition: transform .4s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.05); }

.product-thumb-overlay {
  position: absolute; inset: 0; background: rgba(11,25,44,.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s var(--ease); gap: .75rem;
}
.product-card:hover .product-thumb-overlay { opacity: 1; }
.product-thumb-overlay .overlay-btn {
  background: var(--c-gold); color: var(--c-navy);
  padding: .55rem 1rem; border-radius: var(--r-sm);
  font-family: var(--font-heading); font-size: .82rem; font-weight: 700;
  transform: translateY(10px); transition: var(--t-spring);
}
.product-card:hover .overlay-btn { transform: none; }

.product-badge {
  position: absolute; top: .85rem; left: .85rem; z-index: 5;
  background: rgba(197,168,128,.92); color: var(--c-navy);
  font-size: .7rem; font-weight: 700; padding: .25rem .75rem;
  border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 1px;
  backdrop-filter: blur(4px);
}
.product-info { padding: 1.35rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-title { font-size: 1.1rem; margin-bottom: .45rem; }
.product-specs {
  display: flex; flex-wrap: wrap; gap: .35rem .85rem; margin: .75rem 0;
  font-size: .8rem; color: var(--c-muted);
  background: var(--c-bg-soft); padding: .65rem; border-radius: var(--r-sm);
}
.product-specs span { display: flex; align-items: center; gap: .3rem; }
.product-specs i { color: var(--c-gold); }

/* ─── Product Detail Page Layout ─────────────────────────────────────────── */
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start;
}
@media (max-width: 992px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── Reference Cards ────────────────────────────────────────────────────── */
.references-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.25rem; margin-top: 1.75rem; }
.reference-card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 1.5rem 1rem; text-align: center; transition: var(--t-spring);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.reference-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(197,168,128,.3); }
.reference-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(197,168,128,.1); color: var(--c-navy);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  margin-bottom: .85rem; transition: var(--t-spring);
}
.reference-card:hover .reference-icon { background: var(--c-navy); color: var(--c-gold); }
.reference-name { font-family: var(--font-heading); font-size: .98rem; font-weight: 700; color: var(--c-navy); margin-bottom: .2rem; }
.reference-type { font-size: .76rem; color: var(--c-muted); }

/* ─── Certificate Grid ───────────────────────────────────────────────────── */
.cert-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.25rem; }
.cert-card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 1.35rem 1rem; text-align: center; transition: var(--t-spring);
}
.cert-card:hover { border-color: var(--c-gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.cert-icon { font-size: 1.8rem; color: var(--c-gold); margin-bottom: .6rem; }
.cert-name { font-size: .88rem; font-weight: 700; color: var(--c-navy); }

/* ─── Timeline ───────────────────────────────────────────────────────────── */
.timeline-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.25rem; position: relative; }
.timeline-step {
  background: var(--c-white); padding: 1.5rem 1rem; border-radius: var(--r-md);
  border: 1px solid var(--c-border); text-align: center; transition: var(--t-spring); position: relative; z-index: 2;
}
.timeline-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-gold); }
.timeline-number {
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--c-navy), var(--c-navy-mid));
  color: var(--c-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin: 0 auto .85rem; font-family: var(--font-heading);
}

/* ─── Contact Form ───────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; }
.contact-info-box {
  background: linear-gradient(145deg, var(--c-navy), #152840);
  color: var(--c-white); padding: 2.5rem; border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.info-item { display: flex; gap: 1.1rem; margin-bottom: 1.5rem; }
.info-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  color: var(--c-gold); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

.form-box {
  background: var(--c-white); padding: 2.5rem; border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl); border: 1px solid var(--c-border);
}
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .4rem; color: var(--c-navy); }
.form-control {
  width: 100%; padding: .8rem 1rem; min-height: 46px;
  font-family: var(--font-body); font-size: 16px !important; /* Prevents Safari iOS auto-zoom */
  border: 1.5px solid var(--c-border); border-radius: var(--r-sm);
  background: var(--c-bg-soft); color: var(--c-navy);
  transition: all .25s var(--ease); outline: none;
}
.form-control:focus { border-color: var(--c-gold); background: var(--c-white); box-shadow: 0 0 0 4px rgba(197,168,128,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ─── Notice Banner ──────────────────────────────────────────────────────── */
.notice-banner {
  background: rgba(197,168,128,.1); border: 1px solid rgba(197,168,128,.3);
  color: var(--c-navy); padding: .75rem 1.25rem; border-radius: var(--r-sm);
  font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #07101C 0%, #040C18 100%);
  color: #94A3B8; padding: 5rem 0 2rem; position: relative; overflow: hidden;
}
.footer-wave { position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.footer-wave svg { display: block; width: 100%; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 3.5rem; }
.footer-brand p { margin-top: 1rem; font-size: .88rem; line-height: 1.7; color: #64748B; }

.footer-title {
  color: var(--c-white); font-size: 1rem; margin-bottom: 1.25rem;
  position: relative; padding-bottom: .5rem; font-weight: 700;
}
.footer-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: linear-gradient(90deg, var(--c-gold), transparent); border-radius: 2px;
}
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #64748B; font-size: .88rem; display: flex; align-items: center; gap: .4rem; transition: var(--t-fast); }
.footer-links a:hover { color: var(--c-gold); padding-left: 4px; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.08); color: #64748B;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  transition: var(--t-spring);
}
.footer-social a:hover { background: var(--c-gold); color: var(--c-navy); border-color: var(--c-gold); transform: translateY(-3px); }

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

/* ─── WhatsApp Float ─────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--z-toast);
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem; box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: var(--t-spring); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,.55); }
.whatsapp-float::before {
  content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%;
  background: rgba(37,211,102,.4); animation: waRing 2s ease-out infinite;
}
@keyframes waRing { from{transform:scale(1);opacity:.7} to{transform:scale(1.9);opacity:0} }

/* ─── Comprehensive Mobile Responsive Media Queries ──────────────────────── */
@media (max-width: 1100px) {
  .hero-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 992px) {
  .section-padding { padding: 4rem 0; }
  .hero-grid, .grid-3, .products-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-section { min-height: auto; padding: 4.5rem 0 6rem; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
  .stat-item:not(:last-child)::after { display: none; }
  
  .cert-grid, .timeline-grid { grid-template-columns: repeat(2,1fr); }
  .timeline-grid::before { display: none; }
  .references-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  /* Mobile Navbar Drawer */
  .nav-menu {
    position: fixed; top: 70px; left: -100%; width: 100%;
    height: calc(100vh - 70px); background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; padding: 1.75rem 1.5rem; align-items: flex-start;
    gap: .5rem; transition: left .35s var(--ease); overflow-y: auto;
    box-shadow: var(--shadow-xl); z-index: 99;
  }
  .nav-menu.active { left: 0; }
  .nav-link {
    width: 100%; padding: .9rem 1.2rem; font-size: 1.05rem;
    border-radius: var(--r-sm); border-bottom: 1px solid var(--c-border);
  }
  .nav-cta { width: 100%; text-align: center; justify-content: center; margin-top: .75rem; }
  .mobile-toggle { display: flex; }

  /* Top Bar Mobile */
  .top-info .top-info-item:not(:first-child) { display: none; }
}

@media (max-width: 768px) {
  .section-padding { padding: 3.5rem 0; }
  .navbar { height: 70px; }
  .header-logo { max-height: 48px !important; height: 48px !important; }

  .stats-bar { padding: 1.25rem 1.5rem; margin-top: -2rem; border-radius: var(--r-md); }
  .stat-number { font-size: 2rem; }

  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .form-box, .contact-info-box { padding: 1.75rem 1.25rem; border-radius: var(--r-md); }

  .references-grid { grid-template-columns: repeat(2,1fr); }
  .hero-buttons .btn { width: 100%; }

  /* Floating WhatsApp on mobile */
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.4rem; }
  #back-to-top { bottom: 80px; right: 20px; width: 40px; height: 40px; }
}

@media (max-width: 576px) {
  .container { padding: 0 1rem; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid, .timeline-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .top-bar-content { flex-direction: column; gap: .3rem; text-align: center; }
  .top-info { justify-content: center; }
  .top-right { justify-content: center; }

  .product-thumb-overlay { display: none; } /* Disable overlay on touch, rely on direct link taps */
}
