/* ===================== Design Tokens ===================== */
:root {
  --navy: #132347;
  --navy-dark: #0a1730;
  --copper-light: #F7C948;
  --copper-mid: #E08A2C;
  --copper-dark: #B4521A;
  --copper-gradient: linear-gradient(135deg, var(--copper-light) 0%, var(--copper-mid) 45%, var(--copper-dark) 100%);
  --ink: #1a2233;
  --ink-soft: #5b6579;
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --bg-navy-soft: #eef1f8;
  --border: #e6e9f2;
  --shadow-sm: 0 2px 10px rgba(19, 35, 71, 0.06);
  --shadow-md: 0 12px 30px rgba(19, 35, 71, 0.12);
  --shadow-lg: 0 24px 60px rgba(19, 35, 71, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }

.text-gradient {
  background: var(--copper-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Page Loader ===================== */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-coil {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(247, 201, 72, 0.2);
  border-top-color: var(--copper-light);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--copper-gradient);
  color: #1a1206;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-small { padding: 10px 20px; font-size: 0.85rem; background: var(--navy); color: #fff; }
.btn-small:hover { background: var(--copper-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===================== Header ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { position: relative; display: inline-flex; align-items: center; }
.brand-logo { height: 44px; width: auto; transition: height 0.35s var(--ease), opacity 0.3s var(--ease); }
.site-header.scrolled .brand-logo { height: 38px; }
.brand-logo-dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header.scrolled .brand-logo-light { opacity: 0; }
.site-header.scrolled .brand-logo-dark { opacity: 1; }

.main-nav ul { display: flex; gap: 30px; }
.nav-link {
  font-weight: 600; font-size: 0.92rem; color: #fff;
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.site-header.scrolled .nav-link { color: var(--ink); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--copper-mid);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--copper-mid); }
.site-header.scrolled .nav-link.active { color: var(--copper-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-action-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  color: #fff; border: 1.5px solid rgba(255,255,255,0.5);
  transition: all 0.3s var(--ease);
}
.site-header.scrolled .header-action-btn { color: var(--navy); border-color: var(--border); }
.header-action-btn.whatsapp-btn { background: #25D366; border-color: #25D366; color: #fff; }
.header-action-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  z-index: 1100;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: all 0.3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.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); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10,23,48,0.94) 20%, rgba(10,23,48,0.75) 55%, rgba(19,35,71,0.55) 100%);
}
.hero-coil-decor {
  position: absolute; top: -60px; right: -60px; width: 340px; height: 340px;
  opacity: 0.5; animation: rotateSlow 40s linear infinite;
  z-index: 1;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 780px; min-width: 0; }
.eyebrow {
  color: var(--copper-light); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); color: #fff; font-weight: 800;
  margin-bottom: 22px;
}
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 620px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm); padding: 12px 18px;
  backdrop-filter: blur(6px);
}
.hero-badge strong { color: var(--copper-light); font-size: 1rem; }
.hero-badge span { color: rgba(255,255,255,0.75); font-size: 0.78rem; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--copper-light); border-radius: 2px;
  animation: scrollCue 1.6s ease infinite;
}
@keyframes scrollCue { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* ===================== Section generic ===================== */
section { padding: 110px 0; }
.section-eyebrow {
  color: var(--copper-dark); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.section-sub { color: var(--ink-soft); max-width: 620px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===================== About ===================== */
.about { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.about-grid > * { min-width: 0; }
.about-media { position: relative; }
.about-media-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.about-media-frame img { transition: transform 0.6s var(--ease); }
.about-media-frame:hover img { transform: scale(1.06); }
.about-media-badge {
  position: absolute; bottom: -26px; left: -26px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.about-media-badge svg { color: var(--copper-mid); flex-shrink: 0; }
.about-media-badge strong { display: block; font-size: 0.95rem; color: var(--navy); }
.about-media-badge span { font-size: 0.75rem; color: var(--ink-soft); }

.about-text { color: var(--ink-soft); margin-bottom: 22px; }
.about-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.about-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.about-list svg { color: var(--copper-mid); flex-shrink: 0; margin-top: 2px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: left; min-width: 0; }
.stat-number { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.stat-label { font-size: 0.78rem; color: var(--ink-soft); }

/* ===================== Products ===================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
  min-width: 0;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-image { position: relative; height: 230px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.12); }
.product-image-icon { display: flex; align-items: center; justify-content: center; background: var(--bg-navy-soft); }
.icon-tile { color: var(--copper-dark); }
.product-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--copper-gradient); color: #1a1206;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 999px; text-transform: uppercase;
}
.product-tag-alt { background: var(--navy); color: #fff; }
.product-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.product-body p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.product-specs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.product-specs li { font-size: 0.82rem; color: var(--ink); position: relative; padding-left: 16px; }
.product-specs li::before { content: '\2022'; position: absolute; left: 0; color: var(--copper-mid); font-weight: 700; }

/* ===================== Why Us ===================== */
.why-us { background: var(--navy); position: relative; overflow: hidden; }
.why-us::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,201,72,0.12), transparent 70%);
  top: -200px; right: -200px;
}
.why-us .section-eyebrow { color: var(--copper-light); }
.why-us .section-title { color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; position: relative; z-index: 1; }
.feature-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 32px 26px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  min-width: 0;
}
.feature-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.09); border-color: rgba(247,201,72,0.4); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--copper-gradient); color: #1a1206;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; }

/* ===================== Quality ===================== */
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.quality-grid > * { min-width: 0; }
.quality-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.quality-media img { transition: transform 0.6s var(--ease); }
.quality-media:hover img { transform: scale(1.05); }
.quality-badges { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.quality-badge {
  background: var(--bg-navy-soft); border-radius: var(--radius-sm);
  padding: 14px 20px; display: flex; flex-direction: column; gap: 2px;
}
.quality-badge strong { color: var(--navy); font-size: 1rem; }
.quality-badge span { color: var(--ink-soft); font-size: 0.78rem; }

/* ===================== Gallery ===================== */
.gallery { background: var(--bg-alt); }
.gallery-grid {
  margin-top: 50px;
  columns: 3 220px;
  column-gap: 22px;
}
.gallery-grid img {
  width: 100%; margin-bottom: 22px; border-radius: var(--radius-sm);
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  break-inside: avoid;
}
.gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }

.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(10,23,48,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 30px; background: none; border: none;
  color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ===================== Contact ===================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
.contact-grid > * { min-width: 0; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 30px; }
.contact-detail {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--bg-alt); border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; transition: all 0.3s var(--ease);
}
.contact-detail svg { color: var(--copper-mid); flex-shrink: 0; }
.contact-detail:hover { background: var(--bg-navy-soft); transform: translateX(4px); }
.contact-detail em { font-style: normal; color: var(--ink-soft); font-weight: 400; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 260px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-md);
}
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 18px; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 0.95rem; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.3s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--copper-mid); }
.form-hint { text-align: center; font-size: 0.78rem; color: var(--ink-soft); margin-top: 12px; }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding-top: 80px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center; font-size: 0.8rem; }

/* ===================== Floating WhatsApp ===================== */
.floating-whatsapp {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  animation: pulseWa 2.4s ease-in-out infinite;
}
.floating-whatsapp:hover { transform: scale(1.08); }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 10px 26px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ===================== Scroll Reveal ===================== */
[data-reveal] { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal="fade-up"] { transform: translateY(36px); }
[data-reveal="fade-right"] { transform: translateX(-40px); }
[data-reveal="fade-left"] { transform: translateX(40px); }
[data-reveal="zoom-in"] { transform: scale(0.92); }
[data-reveal].in-view { opacity: 1; transform: translate(0) scale(1); }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .about-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .quality-content { order: 2; }
  .quality-media { order: 1; }
}

@media (max-width: 760px) {
  section { padding: 80px 0; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 320px);
    background: #fff; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    padding: 100px 32px 32px; z-index: 1050;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .nav-link { color: var(--navy) !important; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-actions { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 150px; }
  .contact-form { padding: 26px; }
  .hero-badges { gap: 10px; }
  .hero-badge { padding: 10px 14px; }
}
