@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-mute: #eef1f5;
  --text: #1a2332;
  --muted: #6b778c;
  --line: #e3e8ef;
  --blue: #2f6fed;
  --blue-dark: #1f56c4;
  --orange: #f08a24;
  --footer: #2a3038;
  --footer-muted: #a8b0bc;
  --max: 1200px;
  --header-h: 72px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Libre Baskerville", Georgia, serif;
  --shadow: 0 8px 24px rgba(26, 35, 50, .06);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-bar {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  line-height: 1.1;
}
.brand-mark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--text);
  text-transform: uppercase;
}
.brand-tag {
  font-size: .62rem;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3d4a5c;
  padding: .35rem 0;
  position: relative;
}
.main-nav a:hover,
.main-nav a.active { color: var(--blue); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.icon-btn {
  width: 36px; height: 36px;
  border: 0;
  background: transparent;
  color: #4a5568;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 8px;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--blue); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  font-size: .78rem;
  font-weight: 700;
  color: #4a5568;
  padding: .35rem .45rem;
  border-radius: 8px;
}
.lang-switch:hover { background: var(--bg-soft); color: var(--blue); }
.lang-switch .sep { opacity: .4; margin: 0 .05rem; }
.lang-switch .on { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 4px;
  padding: .72rem 1.15rem;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-accent {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 111, 237, .28);
}
.btn-accent:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
}
.btn-link {
  background: none;
  border: 0;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .85rem;
  padding: 0;
  border-bottom: 1px solid var(--text);
  border-radius: 0;
}
.btn-link:hover { color: var(--blue); border-color: var(--blue); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--text);
}

.search-panel {
  display: none;
  position: absolute;
  left: 0; right: 0; top: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: .85rem 0;
  box-shadow: var(--shadow);
}
.search-panel.open { display: block; }
.search-panel form {
  display: flex; gap: .5rem;
}
.search-panel input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .75rem 1rem;
  background: var(--bg-soft);
}

/* —— Hero —— */
.hero-clone {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(12, 22, 36, .82) 0%, rgba(18, 36, 58, .55) 48%, rgba(12, 22, 36, .35) 100%),
    url('/images/hero-bg.jpg') center/cover no-repeat,
    linear-gradient(135deg, #1a2a40, #0d1624);
}
.hero-clone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(240,138,36,.12), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
}
.hero-kicker {
  display: inline-block;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeUp .7s ease both;
}
.hero-clone h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  max-width: 14ch;
  animation: fadeUp .8s .08s ease both;
}
.hero-clone h1 .accent { color: var(--orange); }
.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 42ch;
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.65;
  animation: fadeUp .8s .16s ease both;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 480px;
  animation: fadeUp .8s .24s ease both;
}
.hero-stats strong {
  display: block;
  color: var(--orange);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: .35rem;
}
.hero-stats span {
  display: block;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

.hero-brands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .55rem;
  animation: fadeIn .9s .2s ease both;
}
.hero-brand {
  aspect-ratio: 1.35 / 1;
  background: rgba(255,255,255,.96);
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: .45rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .25s ease;
}
.hero-brand:hover { transform: translateY(-2px); }
.hero-brand img {
  max-height: 28px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: grayscale(.15);
}
.hero-brand span {
  font-size: .62rem;
  font-weight: 800;
  color: #334155;
  text-align: center;
  letter-spacing: .02em;
  line-height: 1.2;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* —— Sections —— */
.section { padding: 3.75rem 0; }
.section-head {
  text-align: center;
  margin-bottom: 2rem;
}
.section-head h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #2c3a4d;
}
.section-head.serif h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .02em;
  color: #4a5d73;
}
.section-head .sub {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.section-products { background: #fff; }
.section-brands { background: linear-gradient(180deg, #f3f6fa 0%, #eef3f8 100%); }
.section-faq { background: #fff; }
.section-team {
  background: var(--bg-soft);
  text-align: center;
}
.section-team .sub { max-width: 60ch; margin-inline: auto; }

/* —— Product grid —— */
.grid-products {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(4, 1fr);
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d5deea;
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  display: grid;
  place-items: center;
  padding: 1rem;
  position: relative;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card .thumb .ph {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.product-card .body {
  padding: .85rem 1rem 1.1rem;
  border-top: 1px solid var(--line);
}
.product-card h3 {
  margin: 0 0 .35rem;
  font-size: .88rem;
  line-height: 1.4;
  font-weight: 650;
  color: #243041;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.product-card .meta {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}
.section-cta-row {
  margin-top: 2rem;
  text-align: center;
}

/* —— Brand wall —— */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.brand-tile {
  background: #fff;
  border-radius: 12px;
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  box-shadow: 0 4px 18px rgba(26, 35, 50, .05);
  border: 1px solid rgba(227, 232, 239, .9);
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26, 35, 50, .08);
}
.brand-tile img {
  max-height: 42px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
}
.brand-tile span {
  font-weight: 800;
  color: #3b4a5e;
  letter-spacing: .03em;
  text-align: center;
}

/* —— FAQ —— */
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-item {
  background: #f1f3f6;
  border-radius: 6px;
  margin-bottom: .65rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: background .2s ease;
}
.faq-item[open] { background: #e9edf2; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 650;
  color: #2c3748;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid #7a8799;
  border-bottom: 2px solid #7a8799;
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex: 0 0 auto;
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

/* —— Cards (inner pages) —— */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.card .thumb {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.card .body { padding: .9rem 1rem 1.1rem; }
.card h3 { margin: 0 0 .4rem; font-size: .98rem; }

/* —— Footer —— */
.site-footer {
  margin-top: 0;
  background: var(--footer);
  color: #fff;
  padding: 3.25rem 0 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1.1fr 1.2fr .9fr;
}
.footer-grid h3 {
  margin: 0 0 1rem;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
}
.footer-grid p,
.footer-grid a {
  color: var(--footer-muted);
  line-height: 1.7;
  font-size: .92rem;
}
.footer-grid a:hover { color: #fff; }
.contact-list {
  display: grid;
  gap: .85rem;
}
.contact-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .65rem;
  align-items: start;
  color: var(--footer-muted);
  font-size: .9rem;
  line-height: 1.55;
}
.contact-item svg {
  width: 18px; height: 18px;
  margin-top: .15rem;
  color: #8ea0b8;
}
.newsletter {
  display: flex;
  gap: 0;
  margin-top: .85rem;
  border-radius: 4px;
  overflow: hidden;
  max-width: 320px;
}
.newsletter input {
  flex: 1;
  border: 0;
  padding: .75rem .9rem;
  background: #fff;
  color: var(--text);
  min-width: 0;
}
.newsletter button {
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 1.1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  font-size: .78rem;
}
.newsletter button:hover { background: var(--blue-dark); }
.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8b95a5;
  font-size: .8rem;
}

/* —— Float actions —— */
.float-actions {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 45;
  display: grid;
  gap: .55rem;
}
.float-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.float-btn:hover { transform: translateY(-2px); }
.float-btn svg { width: 22px; height: 22px; }
.float-wa { background: #25d366; color: #fff; }
.float-top { background: #5b6572; color: #fff; }

/* —— Utilities / pages —— */
.flash.success {
  margin: 1rem auto;
  padding: .8rem 1rem;
  border-radius: 8px;
  background: rgba(46, 160, 90, .12);
  border: 1px solid rgba(46,160,90,.28);
  color: #1f6b3c;
}
.page-title { padding: 2rem 0 1rem; }
.page-title h1 { margin: 0; font-size: 1.75rem; }
.breadcrumbs { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
.filters { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.form { display: grid; gap: .8rem; max-width: 640px; }
.form label { display: grid; gap: .35rem; color: var(--muted); font-size: .9rem; }
.form input, .form textarea, .form select,
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  padding: .7rem .9rem;
}
.product-detail {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.1fr 1fr;
}
.pagination { display: flex; gap: .5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: .4rem .7rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.pagination .active {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}

.popup-mask {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10,16,28,.55);
  display: grid; place-items: center; padding: 1rem;
}
.popup-mask[hidden] { display: none !important; }
.popup-card {
  width: min(100%, 460px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.popup-card h3 { margin: 0 0 .6rem; }
.popup-card p { color: var(--muted); line-height: 1.55; }
.popup-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }

@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .hero-brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .header-bar { grid-template-columns: auto auto; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: var(--header-h);
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: inline-grid; place-items: center; justify-self: end; }
  .header-actions .btn-accent { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-brands { grid-template-columns: repeat(4, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-clone h1 { max-width: none; }
}
