:root {
  color-scheme: light;
  --blue: #0a4db3;
  --blue-900: #073474;
  --yellow: #f5b400;
  --teal: #19a7ae;
  --mint: #e8f7f5;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #e9eef5;
  --gray-300: #cbd5e1;
  --text: #1a1a1a;
  --muted: #5f6978;
  --shadow: 0 18px 50px rgba(8, 37, 84, 0.12);
  --radius: 8px;
  --max: 1180px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --white: #101827;
  --gray-50: #0c1320;
  --gray-100: #1d2a3d;
  --text: #f8fbff;
  --muted: #b8c4d6;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(245, 180, 0, 0.72); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.section { padding: 72px 0; }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.section-title { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; margin: 8px 0 14px; letter-spacing: 0; }
.section-copy { color: var(--muted); max-width: 680px; margin: 0; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--blue); color: #fff; padding: 10px 14px; z-index: 50; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.announcement {
  background: var(--blue-900);
  color: #fff;
  font-size: 0.9rem;
  padding: 9px 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gray-100);
}
[data-theme="dark"] .site-header { background: rgba(16, 24, 39, 0.86); }
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; min-width: 178px; }
.brand img { width: 180px; height: auto; }
.menu-toggle { display: none; border: 1px solid var(--gray-300); background: var(--white); border-radius: var(--radius); padding: 9px 11px; }
.nav-links { display: flex; align-items: center; gap: 18px; flex: 1; }
.nav-links a, .mega-trigger { color: var(--text); font-weight: 700; font-size: 0.95rem; border: 0; background: transparent; cursor: pointer; padding: 10px 0; }
.mega-wrap { position: relative; }
.mega {
  position: absolute;
  left: -120px;
  top: 44px;
  width: min(860px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mega-wrap:hover .mega, .mega-wrap:focus-within .mega { display: grid; }
.mega strong { color: var(--blue); display: block; margin-bottom: 8px; }
.mega a { display: block; color: var(--muted); padding: 5px 0; font-weight: 600; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gray-100);
  background: var(--white);
  color: var(--blue);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}
.badge { position: absolute; top: -4px; right: -5px; background: var(--yellow); color: #111; min-width: 20px; height: 20px; border-radius: 999px; font-size: 0.72rem; font-weight: 900; display: grid; place-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 77, 179, 0.18); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: var(--yellow); color: #161616; }
.btn-ghost { border-color: var(--gray-300); background: var(--white); color: var(--text); }

.hero {
  min-height: calc(100vh - 106px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 46%, rgba(255,255,255,0.1) 74%),
    url("../images/banner-2.png") center / cover no-repeat;
  border-bottom: 1px solid var(--gray-100);
}
[data-theme="dark"] .hero { background:
    linear-gradient(90deg, rgba(12,19,32,0.98) 0%, rgba(12,19,32,0.88) 46%, rgba(12,19,32,0.2) 74%),
    url("../images/banner-2.png") center / cover no-repeat; }
.hero-panel { max-width: 610px; padding: 70px 0 120px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; margin: 12px 0 18px; letter-spacing: 0; }
.hero p { color: var(--muted); font-size: 1.15rem; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -58px; position: relative; z-index: 2; }
.trust-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; gap: 12px; align-items: center; }
.trust-item span { color: var(--blue); font-size: 1.45rem; }
.trust-item strong { display: block; }
.trust-item small { color: var(--muted); }

.grid { display: grid; gap: 20px; }
.area-grid { grid-template-columns: repeat(6, 1fr); margin-top: 28px; }
.area-card, .product-card, .feature-card, .collection-card, .review-card, .blog-card, .policy-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(8, 37, 84, 0.07);
}
.policy-card { padding: 24px; }
.area-card { padding: 22px 16px; min-height: 148px; display: grid; align-content: space-between; transition: transform 180ms ease; }
.area-card:hover { transform: translateY(-4px); }
.area-card .icon { color: var(--blue); font-size: 2rem; }
.area-card p { color: var(--muted); margin: 4px 0 0; font-size: 0.92rem; }

.product-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 28px 0 18px; flex-wrap: wrap; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters button, .select, .input {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  padding: 10px 12px;
}
.filters button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.product-card { overflow: hidden; position: relative; }
.product-media { aspect-ratio: 1 / 0.82; background: linear-gradient(135deg, var(--gray-50), #dff3f0); display: grid; place-items: center; padding: 20px; }
.product-visual { width: 78%; aspect-ratio: 1; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-100); display: grid; place-items: center; box-shadow: inset 0 0 0 12px rgba(10,77,179,0.06); color: var(--blue); font-weight: 900; text-align: center; }
.product-body { padding: 18px; }
.rating { color: var(--yellow); font-weight: 900; font-size: 0.92rem; }
.product-body h3 { margin: 8px 0 4px; font-size: 1.08rem; }
.product-body p { color: var(--muted); margin: 0 0 12px; font-size: 0.92rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price strong { color: var(--blue); font-size: 1.2rem; }
.price s { color: var(--muted); }
.product-actions { display: grid; grid-template-columns: 1fr 42px; gap: 8px; }
.stock { color: #157347; font-weight: 800; font-size: 0.86rem; }

.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.feature-card { padding: 24px; }
.feature-card b { color: var(--blue); font-size: 1.5rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.compare-shell { margin-top: 28px; background: var(--gray-50); border-radius: var(--radius); padding: 16px; border: 1px solid var(--gray-100); }
.compare { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 360px; background: linear-gradient(120deg, #eef1f5, #fff); }
.compare-before, .compare-after { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; text-align: center; }
.compare-before { background: repeating-linear-gradient(45deg, #e7ebf0, #e7ebf0 14px, #f9fafc 14px, #f9fafc 28px); color: #697386; }
.compare-after { background: linear-gradient(135deg, var(--mint), #fff6d7); color: var(--blue-900); clip-path: inset(0 calc(100% - var(--pos, 62%)) 0 0); }
.compare input { position: absolute; left: 20px; right: 20px; bottom: 22px; width: calc(100% - 40px); z-index: 2; }

.collections { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.collection-card { padding: 24px; min-height: 210px; display: grid; align-content: end; background: linear-gradient(145deg, #ffffff, #edf6ff); }
.collection-card:nth-child(2) { background: linear-gradient(145deg, #ffffff, #fff4cc); }
.collection-card:nth-child(3) { background: linear-gradient(145deg, #ffffff, #e9fbf7); }
.collection-card:nth-child(4) { background: linear-gradient(145deg, #ffffff, #eef1f8); }

.stats { background: var(--blue); color: #fff; }
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 18px; }
.stat strong { font-size: clamp(2rem, 4vw, 3rem); display: block; }
.stat span { color: #dbe8ff; }

.reviews { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.review-card { padding: 24px; }
.review-card p { color: var(--muted); }

.gallery { grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr; margin-top: 28px; }
.gallery-tile { min-height: 220px; border-radius: var(--radius); background: linear-gradient(135deg, #f1f5f9, #fff0bc); display: grid; place-items: center; color: var(--blue); font-weight: 900; padding: 20px; text-align: center; }

.blog-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.blog-card { overflow: hidden; }
.blog-image { min-height: 150px; background: linear-gradient(135deg, #dce9ff, #fff2bd); }
.blog-card div:last-child { padding: 20px; }
.blog-card p { color: var(--muted); }

.newsletter {
  background: linear-gradient(120deg, var(--blue), var(--teal));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 440px);
  gap: 24px;
  align-items: center;
}
.newsletter p { color: #eaf3ff; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { flex: 1; min-width: 0; border: 0; border-radius: var(--radius); padding: 13px 14px; }

.footer { background: #071b3d; color: #fff; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer a { display: block; color: #c8d7ec; margin: 8px 0; }
.footer p { color: #c8d7ec; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14); color: #c8d7ec; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.page-hero { background: linear-gradient(135deg, var(--gray-50), #fff7d5); padding: 74px 0; border-bottom: 1px solid var(--gray-100); }
.breadcrumbs { color: var(--muted); font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.content-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.list-check { padding-left: 0; list-style: none; }
.list-check li { margin: 10px 0; padding-left: 28px; position: relative; }
.list-check li::before { content: "✓"; color: var(--blue); font-weight: 900; position: absolute; left: 0; }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; }
.sidebar { position: sticky; top: 100px; align-self: start; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 18px; }
.sidebar label { display: block; margin: 12px 0; color: var(--muted); }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.product-gallery { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius); min-height: 520px; display: grid; place-items: center; padding: 30px; }
.sticky-buy { position: sticky; bottom: 14px; background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow); border-radius: var(--radius); padding: 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 20px; }

.assistant-box { display: grid; gap: 14px; }
.upload-zone { border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 28px; text-align: center; background: var(--gray-50); }
.results { display: none; background: var(--mint); border-radius: var(--radius); padding: 18px; }
.results.show { display: block; }

.form { display: grid; gap: 14px; }
.form label { font-weight: 800; }
.form input, .form textarea, .form select { width: 100%; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 12px; background: var(--white); color: var(--text); }
.form .error { color: #b42318; font-size: 0.9rem; display: none; }

.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-item button { width: 100%; border: 0; background: transparent; color: var(--text); padding: 18px 0; text-align: left; font-weight: 900; display: flex; justify-content: space-between; cursor: pointer; }
.faq-item p { display: none; margin: 0 0 18px; color: var(--muted); }
.faq-item.open p { display: block; }

.drawer {
  position: fixed;
  right: 16px;
  top: 92px;
  width: min(390px, calc(100vw - 32px));
  max-height: calc(100vh - 116px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  z-index: 30;
  display: none;
}
.drawer.open { display: block; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid var(--gray-100); padding: 12px 0; }
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 28; display: grid; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); font-size: 1.35rem; }
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--blue); }
.up-btn {
  position: fixed;
  right: 18px;
  bottom: 136px;
  z-index: 29;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.42);
  background: var(--yellow);
  color: #111;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.up-btn.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.cookie { position: fixed; left: 16px; bottom: 16px; width: min(430px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow); border-radius: var(--radius); padding: 16px; z-index: 40; display: none; }
.cookie.show { display: block; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { justify-content: space-between; }
  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .mega { position: static; width: 100%; grid-template-columns: 1fr 1fr; box-shadow: none; margin-top: 8px; }
  .area-grid, .product-grid, .feature-grid, .collections, .reviews, .blog-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .footer-grid, .newsletter, .two-col, .shop-layout, .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, var(--max)); }
  .section { padding: 52px 0; }
  .brand img { width: 146px; }
  .nav-actions .icon-btn:nth-child(2), .nav-actions .icon-btn:nth-child(3) { display: none; }
  .hero { min-height: 640px; background-position: 62% center; }
  .hero-panel { padding: 48px 0 90px; }
  .trust-row, .area-grid, .product-grid, .feature-grid, .collections, .reviews, .blog-grid, .stat-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 26px; }
  .newsletter form, .hero-actions, .product-toolbar { flex-direction: column; align-items: stretch; }
  .footer-bottom, .sticky-buy { align-items: flex-start; flex-direction: column; }
}
