/* ============================================
   TrimX.Beauty — Design System
   Navy / White / Champagne-steel accent
   ============================================ */

:root {
  --navy: #0f1f3d;
  --navy-deep: #0a1530;
  --navy-soft: #1c3a66;
  --steel: #8b8f98;
  --champagne: #b08d57;
  --paper: #fafaf8;
  --white: #ffffff;
  --ink: #1a2333;
  --ink-soft: #5a6478;
  --line: #e3e5ea;
  --success: #1e7a4f;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1180px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(15, 31, 61, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 31, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 31, 61, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2.5px solid var(--champagne);
  outline-offset: 2px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--champagne);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(27px, 3.6vw, 38px); }
h3 { font-size: 20px; }
p { color: var(--ink-soft); }

.lede { font-size: 18px; color: var(--ink-soft); max-width: 560px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-whatsapp:hover { background: #1ebc59; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
}
.logo-link img { height: 36px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--champagne); }
.main-nav a.active { color: var(--champagne); font-weight: 700; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--champagne);
}

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.header-phone svg { width: 18px; height: 18px; color: var(--champagne); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }

/* ===== Hero ===== */
.hero { background: var(--white); padding: 60px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-bottom: 56px; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy p.lede { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { position: relative; border-radius: 6px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.trust-strip { background: var(--navy); padding: 22px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--white); }
.trust-item svg { width: 26px; height: 26px; color: var(--champagne); flex-shrink: 0; }
.trust-item .t-label { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
.trust-item .t-sub { font-size: 11.5px; color: rgba(255,255,255,0.65); }

/* ===== Section generic ===== */
.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-head { margin-bottom: 46px; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; font-size: 16.5px; }

.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.72); }
.bg-navy .eyebrow { color: var(--champagne); }

/* ===== About / split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: 6px; box-shadow: var(--shadow-lg); }
.split p { margin-bottom: 14px; }

/* ===== Feature strip ===== */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-strip .feature { background: var(--white); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.feature svg { width: 28px; height: 28px; color: var(--champagne); }
.feature .f-title { font-weight: 700; font-size: 13.5px; letter-spacing: 0.03em; color: var(--navy); text-transform: uppercase; }
.feature .f-sub { font-size: 13.5px; color: var(--ink-soft); }

/* ===== Category / product grid ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-img { aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover .cat-img img { transform: scale(1.04); }
.cat-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { margin-bottom: 8px; }
.cat-body p { font-size: 14px; flex: 1; margin-bottom: 18px; }
.cat-link { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.cat-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.cat-card:hover .cat-link svg { transform: translateX(3px); }

/* ===== Stats grid ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.stat-box { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 26px 20px; text-align: center; }
.stat-box .num { font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--navy); line-height: 1; }
.stat-box .lbl { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; font-weight: 600; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.mv-card { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--champagne); border-radius: 6px; padding: 26px 28px; }
.mv-card h4 { font-size: 16px; margin-bottom: 10px; }
.mv-card p { font-size: 14.5px; }

/* ===== OEM page ===== */
.oem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.oem-list { display: flex; flex-direction: column; gap: 22px; }
.oem-item { display: flex; gap: 16px; align-items: flex-start; }
.oem-item .icon-box { width: 44px; height: 44px; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.oem-item .icon-box svg { width: 22px; height: 22px; color: var(--champagne); }
.oem-item h4 { font-size: 15px; margin-bottom: 4px; }
.oem-item p { font-size: 14px; }
.oem-media img { border-radius: 8px; box-shadow: var(--shadow-lg); }

.cta-banner { background: var(--navy); padding: 38px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h3 { color: var(--white); font-size: 22px; }
.cta-banner .btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.contact-info-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 36px 32px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row:first-child { padding-top: 0; }
.contact-row .icon-circle { width: 42px; height: 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .icon-circle svg { width: 19px; height: 19px; color: var(--navy); }
.contact-row .c-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--champagne); margin-bottom: 4px; }
.contact-row .c-val { font-size: 15px; color: var(--navy); font-weight: 600; line-height: 1.45; }
.contact-row a.c-val:hover { color: var(--champagne); }

.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 36px 36px 40px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 15px;
  font-family: var(--sans); font-size: 14.5px;
  border: 1.5px solid var(--line); border-radius: 5px;
  background: var(--paper); color: var(--ink);
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; align-items: center; gap: 8px; }
.form-status.show { display: flex; }
.form-status.ok { color: var(--success); }
.form-status.err { color: #b3261e; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; }

.whatsapp-banner { background: var(--navy); border-radius: 8px; padding: 24px 28px; margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.whatsapp-banner p { color: rgba(255,255,255,0.78); margin: 0; font-size: 14.5px; }
.whatsapp-banner strong { color: var(--white); display: block; font-size: 16px; margin-bottom: 2px; }

/* ===== Map embed ===== */
.map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin-top: 24px; }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ===== Thank you page ===== */
.thanks-wrap { min-height: 64vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; padding: 70px 28px; }
.thanks-check { width: 84px; height: 84px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.thanks-check svg { width: 40px; height: 40px; color: var(--white); }
.thanks-wrap h1 { margin-bottom: 14px; }
.thanks-wrap p { max-width: 420px; margin: 0 auto 32px; font-size: 16.5px; }
.thanks-strip { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 900px; }
.thanks-strip img { border-radius: 5px; aspect-ratio: 1; object-fit: cover; }
.world-deco { position: absolute; inset: 0; opacity: 0.06; background-image: radial-gradient(circle, var(--navy) 1px, transparent 1px); background-size: 22px 22px; z-index: 0; }
.thanks-content { position: relative; z-index: 1; }

/* ===== Product detail page ===== */
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--navy); font-weight: 600; }
.breadcrumb a:hover { color: var(--champagne); }
.product-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.product-media img { border-radius: 8px; box-shadow: var(--shadow-lg); }
.spec-list { display: flex; flex-direction: column; gap: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.spec-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-row span:first-child { color: var(--ink-soft); }
.spec-row span:last-child { color: var(--navy); font-weight: 600; text-align: right; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.tag { font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); }
.other-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.other-cat-pill { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.other-cat-pill:hover { border-color: var(--champagne); transform: translateY(-3px); }
.other-cat-pill img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.other-cat-pill span { font-size: 12.5px; font-weight: 700; color: var(--navy); }

/* ===== Page header ===== */
.page-header { padding: 52px 0 0; text-align: center; background: var(--white); }
.page-header h1 { font-size: clamp(28px, 4vw, 40px); }
.page-header p { max-width: 520px; margin: 14px auto 0; }
.page-header-rule { width: 44px; height: 2px; background: var(--champagne); margin: 22px auto 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-logo img { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-grid p.f-desc { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); }
.footer-col a, .footer-col p.f-line { display: block; font-size: 14px; color: rgba(255,255,255,0.62); margin-bottom: 11px; }
.footer-col a:hover { color: var(--champagne); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: var(--champagne); background: rgba(176,141,87,0.12); }

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 300; transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: white; }

/* ===== Mobile nav ===== */
.mobile-nav {
  position: fixed; top: 0; right: 0;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--white); z-index: 400;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  display: flex; flex-direction: column;
  padding: 24px 26px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav-top img { height: 30px; }
.mobile-nav-close { background: none; border: none; cursor: pointer; width: 32px; height: 32px; }
.mobile-nav-close svg { width: 22px; height: 22px; color: var(--navy); }
.mobile-nav a { display: block; font-size: 17px; font-weight: 600; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--champagne); }
.mobile-nav-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(15,31,61,0.45); z-index: 350; }
.nav-backdrop.open { display: block; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .oem-grid { grid-template-columns: 1fr; gap: 36px; }
  .oem-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .product-hero { grid-template-columns: 1fr; gap: 30px; }
  .other-cats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .thanks-strip { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 56px 0; }
  h1 { font-size: 30px; }
  .hero { padding-top: 36px; }
  .header-inner { padding: 12px 20px; }
  .other-cats { grid-template-columns: repeat(2, 1fr); }
}
