/* =============================================
   SAPNA ENTERPRISES – Public Site Styles v2
   Palette: Deep navy, Steel blue, Orange CTA
   Features: Animations, mobile menu, toast,
             skeleton loader, testimonials,
             features grid, floating WA, carousel
   ============================================= */

:root {
  --navy:        #0d1b2a;
  --navy-mid:    #1b2f45;
  --navy-light:  #243b55;
  --steel:       #2563eb;
  --steel-light: #3b82f6;
  --steel-dark:  #1d4ed8;
  --orange:      #f97316;
  --orange-dark: #ea6c0a;
  --green-wa:    #25d366;
  --green-wa-dk: #128c7e;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --bg-alt:      #f8fafc;
  --white:       #ffffff;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(13,27,42,0.09);
  --shadow-lg:   0 16px 48px rgba(13,27,42,0.16);
  --transition:  all .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── NAVBAR ──────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 2px solid rgba(37,99,235,0.5);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 20px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--steel), var(--steel-light));
  color: #fff; font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
  flex-shrink: 0;
}
.logo-name { color: #fff; font-weight: 700; font-size: 16px; }
.logo-sub  { color: #94a3b8; font-size: 11px; }
.nav-links {
  display: flex; gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: #cbd5e1; text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--steel-light);
  transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #cbd5e1; border-radius: 2px;
  transition: var(--transition); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE BACKDROP */
.mobile-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 300;
  backdrop-filter: blur(4px);
}
.mobile-backdrop.open { display: block; }

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed; top: 0; right: -320px;
  width: 300px; height: 100vh; z-index: 400;
  background: var(--navy); padding: 24px;
  display: flex; flex-direction: column; gap: 0;
  transition: right .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}
.mobile-drawer.open { right: 0; }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.drawer-close {
  background: rgba(255,255,255,0.1); border: none;
  color: #fff; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 14px; transition: var(--transition);
}
.drawer-close:hover { background: rgba(255,255,255,0.2); }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.drawer-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 10px;
  color: #94a3b8; font-size: 15px; font-weight: 500;
  text-decoration: none; transition: var(--transition);
}
.drawer-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.drawer-ctas { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: none; transition: var(--transition);
  white-space: nowrap; font-family: inherit;
}
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 10px; }
.btn-primary { background: var(--steel); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.35); }
.btn-primary:hover { background: var(--steel-dark); box-shadow: 0 6px 20px rgba(37,99,235,0.5); transform: translateY(-1px); }
.btn-call { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,0.3); }
.btn-call:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-wa { background: var(--green-wa); color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.3); }
.btn-wa:hover { background: var(--green-wa-dk); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--steel); color: var(--steel); }
.btn-admin { background: rgba(30, 41, 59, 0.05); color: var(--navy); border: 1.5px solid var(--border); }
.btn-admin:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative; min-height: 560px;
  background: var(--navy);
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(37,99,235,0.22) 0%, transparent 70%),
              radial-gradient(ellipse at 10% 80%, rgba(249,115,22,0.08) 0%, transparent 50%);
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.4;
}
.hero-shape.s1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.6), transparent);
  top: -80px; right: 10%;
  animation: float 8s ease-in-out infinite;
}
.hero-shape.s2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(249,115,22,0.5), transparent);
  bottom: 40px; right: 25%;
  animation: float 10s ease-in-out infinite reverse;
  animation-delay: -3s;
}
.hero-shape.s3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(37,211,102,0.3), transparent);
  top: 60%; left: 5%;
  animation: float 12s ease-in-out infinite;
  animation-delay: -6s;
}
.hero-shape.s4 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(124,58,237,0.4), transparent);
  top: 20%; right: 35%;
  animation: float 7s ease-in-out infinite reverse;
  animation-delay: -1s;
}
@keyframes float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33%      { transform: translateY(-18px) rotate(5deg); }
  66%      { transform: translateY(8px) rotate(-3deg); }
}

.hero-content { position: relative; z-index: 1; padding: 90px 20px; max-width: 680px; }
.hero-eyebrow {
  color: var(--steel-light); font-size: 13px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 18px;
}
.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 800; color: #fff; line-height: 1.03; margin-bottom: 22px;
}
.hero-headline .accent {
  color: var(--orange);
  text-shadow: 0 0 40px rgba(249,115,22,0.4);
}
.hero-desc { color: #94a3b8; font-size: 17px; line-height: 1.68; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 7px;
  color: #94a3b8; font-size: 13px; font-weight: 500;
}
.trust-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.trust-dot.green  { background: var(--green-wa); box-shadow: 0 0 8px rgba(37,211,102,0.6); }
.trust-dot.orange { background: var(--orange);   box-shadow: 0 0 8px rgba(249,115,22,0.6); }
.trust-dot.blue   { background: var(--steel-light); box-shadow: 0 0 8px rgba(59,130,246,0.6); }

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* ── STATS BAR ───────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, var(--steel-dark), var(--steel), var(--steel-light));
  padding: 22px 0;
}
.stats-inner {
  display: flex; align-items: center;
  justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 44px; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 800; color: #fff;
  letter-spacing: -0.5px;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 2px; }
.stat-div { width: 1px; height: 44px; background: rgba(255,255,255,0.25); }

/* ── SECTIONS ────────────────────────────────── */
.section { padding: 88px 0; }
.bg-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow {
  color: var(--steel); font-size: 11.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 4vw, 46px); font-weight: 800;
  color: var(--navy); margin-bottom: 14px; line-height: 1.1;
}
.section-desc { color: var(--text-muted); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ── FEATURES / WHY US ───────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.2);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.blue-icon   { background: rgba(37,99,235,0.1); }
.orange-icon { background: rgba(249,115,22,0.1); }
.green-icon  { background: rgba(22,163,74,0.1); }
.purple-icon { background: rgba(124,58,237,0.1); }
.feature-card h3 {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── FILTERS & SEARCH ────────────────────────── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-btn {
  padding: 8px 18px; border-radius: 20px; border: 2px solid var(--border);
  background: #fff; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition); color: var(--text-muted);
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--steel); border-color: var(--steel); color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.search-wrap {
  position: relative; margin-bottom: 36px; max-width: 440px;
}
.search-wrap svg {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); color: var(--text-muted); pointer-events: none;
}
.search-input {
  width: 100%; padding: 13px 42px;
  border: 2px solid var(--border); border-radius: 10px;
  font-size: 15px; outline: none; transition: var(--transition);
  font-family: inherit; background: #fff;
}
.search-input:focus { border-color: var(--steel); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 14px; padding: 4px;
  display: none; transition: color .2s;
}
.search-clear:hover { color: var(--text); }

/* ── PRODUCTS GRID ───────────────────────────── */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(284px, 1fr));
  gap: 24px;
}
.product-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,27,42,0.16);
  border-color: rgba(37,99,235,0.25);
}
.product-card:hover .product-img { transform: scale(1.04); }
.product-img-wrap { overflow: hidden; }
.product-img {
  width: 100%; height: 210px; object-fit: cover;
  background: var(--bg-alt);
  transition: transform .4s ease;
  display: block;
}
.product-img-placeholder {
  width: 100%; height: 210px;
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 52px;
}
.product-body { padding: 18px 18px 20px; }
.product-category {
  font-size: 10.5px; font-weight: 700; color: var(--steel);
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 7px;
}
.product-name {
  font-weight: 700; font-size: 17px; color: var(--navy);
  margin-bottom: 8px; line-height: 1.3;
}
.product-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--navy);
}
.product-price .unit { font-size: 12.5px; font-weight: 500; color: var(--text-muted); }
.product-wa-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--green-wa); color: #fff;
  border: none; border-radius: 7px; padding: 8px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  transition: var(--transition); text-decoration: none; font-family: inherit;
}
.product-wa-btn:hover { background: var(--green-wa-dk); transform: translateY(-1px); }
.badge-featured {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; margin-left: 8px; vertical-align: middle;
}
.badge-oos {
  display: inline-block; background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
}

/* ── SKELETON LOADER ─────────────────────────── */
.product-skeleton {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.product-skeleton::before {
  content: '';
  display: block;
  height: 210px;
  background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}
.product-skeleton::after {
  content: '';
  display: block; margin: 18px;
  height: 80px; border-radius: 8px;
  background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear .2s;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
  content: '"';
  position: absolute; top: 16px; right: 24px;
  font-size: 72px; font-family: Georgia, serif;
  color: rgba(37,99,235,0.08); line-height: 1;
}
.stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--steel), var(--steel-light));
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 14px; color: var(--navy); }
.author-biz { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

/* ── ABOUT ───────────────────────────────────── */
.about-inner {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 64px; align-items: start;
}
.about-text p { color: var(--text-muted); line-height: 1.78; margin-bottom: 14px; }
.about-list { list-style: none; margin-top: 18px; }
.about-list li {
  padding: 7px 0; color: var(--text); font-weight: 500;
  font-size: 15px; border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border: none; }
.about-cta-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-badge {
  display: inline-block; background: rgba(37,99,235,0.2);
  color: var(--steel-light); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  margin-bottom: 16px; border: 1px solid rgba(37,99,235,0.3);
}
.about-cta-card h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.about-cta-card p { color: #94a3b8; font-size: 14px; line-height: 1.65; margin-bottom: 22px; }

/* ── CONTACT ─────────────────────────────────── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 52px; max-width: 920px; margin: 0 auto;
}
.inquiry-form {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group textarea {
  padding: 12px 15px; border: 2px solid var(--border); border-radius: 9px;
  font-size: 15px; font-family: inherit;
  outline: none; transition: var(--transition); resize: vertical;
  background: #fafbfc;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: #fff;
}
.form-feedback { margin-top: 14px; font-size: 14px; font-weight: 600; }
.form-feedback.success { color: #16a34a; }
.form-feedback.error   { color: #dc2626; }

.contact-info { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(37,99,235,0.08); color: var(--steel);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.contact-item p { color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.contact-item a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.contact-item a:hover { color: var(--steel); }

.quick-wa-card {
  display: flex; align-items: center; gap: 14px;
  background: #f0fdf4; border: 1.5px solid #bbf7d0;
  border-radius: 12px; padding: 16px;
  text-decoration: none; transition: var(--transition);
  margin-top: 4px; color: inherit;
}
.quick-wa-card:hover {
  background: #dcfce7; border-color: var(--green-wa);
  transform: translateY(-2px);
}
.quick-wa-card svg { color: var(--green-wa); flex-shrink: 0; }
.quick-wa-card strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.quick-wa-card span { font-size: 13px; color: var(--green-wa-dk); font-weight: 500; }

/* ── MODAL ───────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); z-index: 500;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 800px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 32px 100px rgba(0,0,0,0.4);
  position: relative; animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(13,27,42,0.8); color: #fff; border: none;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 14px; transition: var(--transition);
}
.modal-close:hover { background: var(--navy); transform: scale(1.1); }

/* CAROUSEL */
.modal-images {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  min-height: 80px; background: var(--bg-alt);
}
.carousel-btn {
  position: absolute; top: 50%; z-index: 5;
  transform: translateY(-50%);
  background: rgba(13,27,42,0.65); color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: rgba(13,27,42,0.9); transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px; z-index: 5;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.5); transition: var(--transition);
  cursor: pointer;
}
.carousel-dot.active { background: #fff; transform: scale(1.3); }
.modal-images img {
  width: 100%; max-height: 340px; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-img-placeholder {
  width: 100%; height: 260px;
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 68px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-body { padding: 28px 32px 32px; }
.modal-top-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.modal-category {
  color: var(--steel); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.share-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: 7px; padding: 6px 12px; color: var(--text-muted);
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: inherit;
}
.share-btn:hover { border-color: var(--steel); color: var(--steel); }
.modal-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 8px;
}
.modal-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 800; color: var(--steel); margin-bottom: 16px;
}
.modal-desc { color: var(--text-muted); line-height: 1.72; margin-bottom: 22px; }
.modal-specs {
  background: var(--bg-alt); border-radius: 10px;
  padding: 18px; margin-bottom: 24px;
}
.modal-specs h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px;
}
.spec-row {
  display: flex; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.spec-row:last-child { border: none; }
.spec-key { color: var(--text-muted); font-weight: 500; }
.spec-val { font-weight: 600; color: var(--navy); }
.modal-actions { display: flex; gap: 10px; }

/* ── FOOTER ──────────────────────────────────── */
.footer { background: var(--navy); padding: 56px 0 0; }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 300px; }
.footer-tagline { color: #64748b; margin-top: 14px; font-size: 14px; line-height: 1.5; }
.footer-contact-row { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  color: #94a3b8; font-size: 13px; text-decoration: none;
  transition: color .2s;
}
.footer-contact-item:hover { color: #fff; }
.footer-col-title {
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: #94a3b8; text-decoration: none; font-size: 14px; transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  text-align: center; padding: 20px;
  color: #64748b; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.footer-bottom-sep { color: #334155; }

/* ── FLOATING WA BUTTON ──────────────────────── */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  display: flex; align-items: center; gap: 10px;
  background: var(--green-wa); color: #fff;
  border-radius: 50px; padding: 14px 20px;
  text-decoration: none; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.float-wa:hover { background: var(--green-wa-dk); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,0.55); }
.float-wa::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50px; border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { opacity: 1; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}
.float-wa-label { white-space: nowrap; }

/* ── SCROLL TO TOP ───────────────────────────── */
.scroll-top {
  position: fixed; bottom: 100px; right: 28px; z-index: 400;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--steel); transform: translateY(-3px); }

/* ── TOAST SYSTEM ────────────────────────────── */
.toast-container {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: 12px;
  min-width: 280px; max-width: 380px;
  background: #fff; border-left: 4px solid var(--steel);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  pointer-events: auto;
  animation: toastIn .35s cubic-bezier(.4,0,.2,1);
  transition: all .3s;
}
.toast.hiding { animation: toastOut .3s ease forwards; }
@keyframes toastIn  { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(24px); } }
.toast.success { border-left-color: #16a34a; }
.toast.error   { border-left-color: #dc2626; }
.toast.info    { border-left-color: var(--steel); }
.toast-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.toast-content { flex: 1; }
.toast-title { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.toast-msg   { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.toast-close {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 14px; padding: 2px; line-height: 1;
  flex-shrink: 0; transition: color .2s;
}
.toast-close:hover { color: var(--text); }

/* ── LOADING / EMPTY STATES ──────────────────── */
.loading-state { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--text-muted); }
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--steel); border-radius: 50%;
  animation: spin .7s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--text-muted); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .hero-content { padding: 68px 20px; }
  .hero-trust { gap: 14px; }
  .stats-inner { gap: 0; }
  .stat { padding: 12px 22px; }
  .stat-div { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column; }
  .section { padding: 60px 0; }
  .float-wa .float-wa-label { display: none; }
  .float-wa { padding: 14px; border-radius: 50%; }
  .float-wa::before { border-radius: 50%; }
  .footer-inner { flex-direction: column; gap: 32px; }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .modal-body { padding: 20px; }
}
