/* ==========================================================================
   SATURN ADHESIVE V2 — CLEAN, SPACIOUS DESIGN SYSTEM
   Less information density, more white space, calmer visual hierarchy.
   Brand: Saturn Vermilion #E56125
   ========================================================================== */

:root {
  --brand: #e56125;
  --brand-hover: #d04f15;
  --brand-light: #fff7ed;
  --brand-border: #fed7aa;
  --brand-glow: rgba(229, 97, 37, 0.25);

  --dark: #090e17;
  --dark-surface: #111827;

  --bg: #fafafa;
  --surface: #ffffff;
  --surface-alt: #f5f5f5;
  --border: #e5e7eb;

  --text: #1a1a1a;
  --text-mid: #555;
  --text-light: #888;
  --text-inv: #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.09);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; }

/* --- Skip link --- */
.skip { position: absolute; top: -80px; left: 16px; background: var(--brand); color: #fff; padding: 10px 18px; font-weight: 700; border-radius: var(--radius-sm); z-index: 9999; transition: top 0.15s var(--ease); }
.skip:focus { top: 16px; outline: 3px solid #fff; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.2s var(--ease);
}

.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color 0.15s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px var(--brand-glow);
}

.btn-brand:hover {
  background: var(--brand-hover);
  box-shadow: 0 4px 16px var(--brand-glow);
  transform: translateY(-1px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-white {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.btn-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
}

.menu-toggle svg { width: 26px; height: 26px; }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 68px);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  animation: slideDown 0.25s var(--ease);
}

.mobile-menu.open { display: flex; flex-direction: column; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-alt);
  color: var(--text);
  transition: color 0.15s var(--ease);
}

.mobile-menu a:active { color: var(--brand); }

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--dark);
  background-image:
    radial-gradient(at 15% 25%, rgba(229,97,37,0.18) 0, transparent 50%),
    radial-gradient(at 85% 75%, rgba(245,158,11,0.1) 0, transparent 50%),
    linear-gradient(rgba(9,14,23,0.9), rgba(9,14,23,0.95)),
    url('../images/header_bg_opt.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 0 110px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(229,97,37,0.15);
  border: 1px solid rgba(229,97,37,0.3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-border);
  margin-bottom: 28px;
}

.hero-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #fb923c, #e56125, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #b0b8c7;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   STATS ROW
   ========================================================================== */
.stats {
  position: relative;
  z-index: 10;
  margin-top: -48px;
  margin-bottom: 20px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
}

/* ==========================================================================
   ABOUT (minimal)
   ========================================================================== */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.about-content p + p {
  margin-top: 16px;
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.sh {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

.sh-pill {
  display: inline-block;
  padding: 5px 14px;
  background: var(--brand-light);
  color: var(--brand);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.sh-pill.dark {
  background: rgba(229,97,37,0.12);
  color: #fb923c;
  border-color: rgba(229,97,37,0.3);
}

.sh h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.sh p {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.section-dark .sh h2 { color: #fff; }
.section-dark .sh p   { color: #9ca3af; }

/* ==========================================================================
   PRODUCTS — CLEAN CARDS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.p-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-border);
  transform: translateY(-4px);
}

.p-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.p-card-icon svg { width: 24px; height: 24px; }

.p-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.p-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ==========================================================================
   WHY US — 3 PILLARS
   ========================================================================== */
.section-dark {
  background: var(--dark);
  color: #fff;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.2s var(--ease);
}

.pillar:hover {
  background: rgba(229,97,37,0.08);
  border-color: rgba(229,97,37,0.3);
}

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(229,97,37,0.15);
  border: 1px solid rgba(229,97,37,0.3);
  color: #fb923c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-icon svg { width: 24px; height: 24px; }

.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.15s var(--ease);
}

.c-card:hover { border-color: var(--brand-border); }

.c-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon svg { width: 22px; height: 22px; }

.c-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
  margin-bottom: 4px;
}

.c-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2px;
}

.c-value a:hover { color: var(--brand); }

.c-sub {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-height: 380px;
  position: relative;
}

.map-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #060910;
  color: #888;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand svg { flex-shrink: 0; }

.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ccc;
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #888;
  font-size: 0.8125rem;
  transition: color 0.15s var(--ease);
}

.footer-links a:hover { color: var(--brand); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
  color: var(--text);
}

.btt.visible { opacity: 1; visibility: visible; }
.btt:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars       { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }

  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-inner { height: 60px; }
  .logo img { height: 34px; }
  .logo-name { font-size: 0.95rem; }

  .hero { padding: 56px 0 80px; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 18px 14px; }
  .stat-num { font-size: 1.65rem; }

  .products-grid { grid-template-columns: 1fr; gap: 14px; }
  .p-card { padding: 22px 18px; }
  .p-card:hover { transform: none; }

  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .pillar { padding: 24px 20px; }

  .sh { margin-bottom: 36px; }
  .sh h2 { font-size: 1.5rem; }

  .map-wrap { min-height: 280px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }

  .btt { bottom: 18px; right: 18px; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 14px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 1.55rem; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.8125rem; }

  .c-card { flex-direction: column; gap: 12px; }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .btt { bottom: calc(18px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
}

@media (hover: none) and (pointer: coarse) {
  .p-card:hover, .pillar:hover, .c-card:hover { transform: none; }
  .p-card, .pillar { -webkit-tap-highlight-color: rgba(229,97,37,0.1); }
}
