/* ============================================================
   carwash.pe — Design System v3
   Bricolage Grotesque (display) + Manrope (body)
   Deep Navy · Electric Blue · Clean Water Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Manrope:wght@300;400;500;600;700&display=swap');

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

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Blue accent — never on dark navy bg as body text */
  --blue:      #2563EB;
  --blue-lt:   #60A5FA;
  --blue-dim:  rgba(37,99,235,0.12);
  --blue-glow: 0 0 32px rgba(37,99,235,0.3);

  /* Navy backgrounds */
  --navy-900:  #04101F;
  --navy-800:  #071E3D;
  --navy-700:  #0D2855;
  --navy-600:  #163470;

  /* Light surfaces */
  --off-white: #F7F9FC;
  --white:     #FFFFFF;
  --blue-gray: #EFF4FC;

  /* Text on light backgrounds */
  --text-h:    #0B1929;
  --text-b:    #4A6180;
  --text-m:    #4F6E8E;

  /* Text on dark backgrounds — always light */
  --on-dark-h: #FFFFFF;
  --on-dark-b: rgba(255,255,255,0.58);
  --on-dark-m: rgba(255,255,255,0.32);

  /* Borders */
  --border-lt: #D4E0EE;
  --border-dk: rgba(255,255,255,0.08);

  /* Semantic */
  --wa:        #25d366;
  --red:       #EF4444;

  /* Fonts */
  --f-h: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-b: 'Manrope', system-ui, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

/* ── BASE ────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-b);
  color: var(--text-b);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  animation: pageFade 0.35s ease both;
}
@keyframes pageFade { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.anim {
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.fade-up   { opacity: 0; transform: translateY(32px); }
.fade-left { opacity: 0; transform: translateX(-28px); }
.fade-right{ opacity: 0; transform: translateX(28px); }
.fade-in   { opacity: 0; }
.anim.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── BUBBLES (water/soap theme) ──────────────────────────── */
.bubbles-wrap {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 1;
}
.bubble {
  position: absolute; bottom: -140px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.06) 50%,
    rgba(96,165,250,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  animation: bubbleRise linear infinite;
}
@keyframes bubbleRise {
  0%   { transform: translateY(0) translateX(0) scale(0.85); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.35; }
  100% { transform: translateY(-115vh) translateX(30px) scale(1.15); opacity: 0; }
}

/* ── WAVE DIVIDER ────────────────────────────────────────── */
.wave-top, .wave-bot {
  display: block; width: 100%; overflow: hidden; line-height: 0;
}
.wave-top svg, .wave-bot svg { display: block; width: 100%; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(4,16,31,0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(96,165,250,0.1);
}
.nav-wrap { width: 100%; }
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #2563EB, #1A4FC0);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 14px rgba(37,99,235,0.45);
  font-size: 1rem;
}
.logo-name {
  font-family: var(--f-h); font-weight: 800;
  font-size: 1.05rem; color: #fff; letter-spacing: -0.03em;
}
.logo-name span { color: var(--blue-lt); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  color: rgba(255,255,255,0.5); font-size: 0.83rem; font-weight: 500;
  padding: 7px 12px; border-radius: var(--r-sm);
  display: none; transition: color 0.15s, background 0.15s;
}
@media(min-width:640px){ .nav-link { display: block; } }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  background: var(--wa); color: #fff; font-weight: 700; font-size: 0.82rem;
  padding: 8px 16px; border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 7px; transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }

/* Logo SVG variant */
.logo-svg { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-icon { width:34px; height:34px; flex-shrink:0; }
.logo-wordmark { font-family:var(--f-h); font-size:1.05rem; font-weight:800; color:#fff; letter-spacing:-0.03em; }
.logo-wordmark span { color:var(--blue-lt); }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  padding: 76px 24px 0; max-width: 1040px; margin: 0 auto;
  font-size: 0.78rem; color: var(--text-m);
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.breadcrumb a { color: var(--blue-lt); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-m); }

/* ── PAGE HERO (internal pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
/* Dot grid */
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(96,165,250,0.18) 1px, transparent 0);
  background-size: 28px 28px; pointer-events: none;
}
/* Blue glow bloom */
.page-hero::after {
  content: ''; position: absolute; top: -200px; right: -100px; z-index: 0;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 62%);
  pointer-events: none;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }

/* Eyebrow — on dark bg: light blue text, transparent dark bg */
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(96,165,250,0.12); border: 1px solid rgba(96,165,250,0.28);
  color: var(--blue-lt);
  font-family: var(--f-b); font-size: 0.69rem; font-weight: 700;
  letter-spacing: 0.12em; padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px; text-transform: uppercase;
}
/* Page hero headings — always WHITE on dark bg */
.page-hero h1 {
  font-family: var(--f-h);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.06;
  color: var(--on-dark-h); margin-bottom: 20px; letter-spacing: -0.03em;
}
.page-hero h1 em { color: var(--blue-lt); font-style: normal; }
.page-hero p {
  color: var(--on-dark-b); font-size: 1.05rem;
  line-height: 1.75; max-width: 580px; margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
/* Primary — blue gradient */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #2563EB 0%, #1A4FC0 100%);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 13px 24px; border-radius: var(--r-sm);
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(37,99,235,0.5); }

/* WhatsApp */
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 13px 22px; border-radius: var(--r-sm);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }

.btn-wa-lg {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r-sm);
  box-shadow: 0 4px 24px rgba(37,211,102,0.32);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-wa-lg:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(37,211,102,0.48); }

/* Ghost — on dark backgrounds */
.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88); font-weight: 600; font-size: 0.9rem;
  padding: 13px 22px; border-radius: var(--r-sm);
  transition: background 0.18s, border-color 0.18s;
}
.btn-outline:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.35); }

/* Ghost on light backgrounds */
.btn-outline-dk {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1.5px solid var(--border-lt);
  color: var(--text-b); font-weight: 600; font-size: 0.9rem;
  padding: 12px 22px; border-radius: var(--r-sm);
  transition: border-color 0.18s, color 0.18s;
}
.btn-outline-dk:hover { border-color: var(--blue); color: var(--blue); }

/* Keep old aliases */
.btn-lime, .btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #2563EB 0%, #1A4FC0 100%);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 13px 24px; border-radius: var(--r-sm);
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-lime:hover, .btn-blue:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(37,99,235,0.5); }
.btn-gl {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.93rem;
  padding: 13px 22px; border-radius: var(--r-sm);
  transition: background 0.18s;
}
.btn-gl:hover { background: rgba(255,255,255,0.14); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap    { max-width: 1040px; margin: 0 auto; }
.wrap-sm { max-width: 760px;  margin: 0 auto; }
section  { padding: 88px 24px; }
.sec-dark  { background: var(--navy-900); color: var(--on-dark-h); }
.sec-navy  { background: var(--navy-800); color: var(--on-dark-h); }
.sec-alt   { background: var(--white); }
.sec-muted { background: var(--off-white); }
.sec-blue-grad {
  background: linear-gradient(140deg, #0D2458 0%, #1A3DC8 60%, #0B1F80 100%);
  color: var(--on-dark-h);
}
/* Alias for backwards compat */
.sec-cream { background: var(--off-white); }

/* ── EYEBROW (sections) ──────────────────────────────────── */
/* On dark bg → light blue */
.sec-dark .eyebrow,
.sec-navy .eyebrow,
.sec-blue-grad .eyebrow {
  display: inline-block;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue-lt); margin-bottom: 14px;
}
/* On light bg → medium blue (good contrast on white) */
.sec-alt .eyebrow,
.sec-muted .eyebrow,
.sec-cream .eyebrow {
  display: inline-block;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
/* Default */
.eyebrow {
  display: inline-block;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}

/* ── SECTION HEADINGS ────────────────────────────────────── */
.sec-h {
  font-family: var(--f-h);
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  font-weight: 800; line-height: 1.08;
  margin-bottom: 16px; letter-spacing: -0.03em;
}
.sec-p {
  font-size: 1rem; line-height: 1.76; max-width: 560px; margin-bottom: 48px;
}

/* Headings on dark → white */
.sec-dark .sec-h, .sec-navy .sec-h, .sec-blue-grad .sec-h { color: var(--on-dark-h); }
.sec-dark .sec-p, .sec-navy .sec-p, .sec-blue-grad .sec-p { color: var(--on-dark-b); }

/* Headings on light → dark navy */
.sec-alt .sec-h, .sec-muted .sec-h, .sec-cream .sec-h { color: var(--text-h); }
.sec-alt .sec-p, .sec-muted .sec-p, .sec-cream .sec-p { color: var(--text-b); }

/* ── BODY TYPOGRAPHY ─────────────────────────────────────── */
.lead { font-size: 1.07rem; color: var(--text-b); line-height: 1.82; margin-bottom: 24px; }
p { margin-bottom: 16px; color: var(--text-b); line-height: 1.8; font-size: 0.97rem; }
p:last-child { margin-bottom: 0; }
h2 {
  font-family: var(--f-h); font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800; margin: 40px 0 14px; letter-spacing: -0.03em;
  line-height: 1.1; color: var(--text-h);
}
h3 {
  font-family: var(--f-h); font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700; margin: 28px 0 10px; line-height: 1.25; color: var(--text-h);
}
h4 { font-family: var(--f-h); font-size: 1rem; font-weight: 700; margin: 22px 0 8px; color: var(--text-h); }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 7px; color: var(--text-b); font-size: 0.97rem; line-height: 1.65; }
strong { color: var(--text-h); font-weight: 600; }

/* ── ARTICLE ─────────────────────────────────────────────── */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 88px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin-bottom: 40px; font-size: 0.81rem; color: var(--text-m);
}
.article-tag {
  background: var(--blue-dim); color: var(--blue);
  font-weight: 700; font-size: 0.71rem;
  padding: 3px 12px; border-radius: 100px; letter-spacing: 0.06em; text-transform: uppercase;
}
.article-body { line-height: 1.84; }
.article-body h2 { border-left: 3px solid var(--blue); padding-left: 18px; }
.article-body h2:first-child, .article-body h3:first-child { margin-top: 0; }
.article-body ul, .article-body ol { margin: 14px 0 24px; }

/* ── FEATURE CARDS ───────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin: 40px 0; }
@media(max-width:580px){ .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--white); border: 1.5px solid var(--border-lt);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  cursor: default;
}
.feat-card:hover {
  border-color: var(--blue); transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.12);
}
.feat-icon { font-size: 1.7rem; margin-bottom: 14px; }
.feat-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--text-h); margin: 0 0 8px; }
.feat-card p  { font-size: 0.83rem; color: var(--text-b); margin: 0; line-height: 1.6; }

/* ── BENEFIT LIST ────────────────────────────────────────── */
.benefit-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin: 28px 0; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--white); border: 1.5px solid var(--border-lt);
  border-radius: var(--r-md); padding: 15px 18px;
  font-size: 0.92rem; color: var(--text-b); margin: 0;
  transition: border-color 0.18s, transform 0.18s;
}
.benefit-list li:hover { border-color: var(--blue); transform: translateX(3px); }
.benefit-list li::before {
  content: '✓'; background: linear-gradient(135deg,#2563EB,#1A4FC0); color: #fff;
  font-weight: 900; font-size: 0.68rem; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}

/* ── STEP LIST ───────────────────────────────────────────── */
.step-list { list-style: none; padding: 0; counter-reset: steps; display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.step-list li { counter-increment: steps; display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.step-list li::before {
  content: counter(steps);
  min-width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg,#2563EB,#1A4FC0); color: #fff;
  font-family: var(--f-h); font-weight: 800; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}

/* ── CTA BLOCK (inline) ──────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg,#0D2458 0%,#1A3DC8 100%);
  border-radius: var(--r-xl); padding: 44px 36px; text-align: center; margin: 48px 0;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
/* CTA headings on blue gradient → always white */
.cta-block h3 {
  font-family: var(--f-h); font-size: 1.25rem; font-weight: 800;
  margin: 0 0 10px; color: #fff; position: relative;
}
.cta-block p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin: 0 0 24px; position: relative; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin: 36px 0; }
.faq-item {
  background: var(--white); border: 1.5px solid var(--border-lt);
  border-radius: var(--r-md); overflow: hidden; transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--blue); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-size: 0.96rem; font-weight: 600;
  color: var(--text-h); gap: 14px; transition: background 0.15s; font-family: var(--f-b);
}
.faq-q:hover { background: var(--off-white); }
.faq-icon {
  font-size: 0.78rem; flex-shrink: 0; transition: transform 0.22s;
  background: var(--blue-dim); color: var(--blue);
  border: 1px solid rgba(37,99,235,0.24);
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 900;
}
.faq-a { padding: 0 24px 20px; font-size: 0.89rem; color: var(--text-b); line-height: 1.76; display: none; }
.faq-a a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: transparent; }

/* ── CTA FINAL ───────────────────────────────────────────── */
.sec-cta {
  background: linear-gradient(140deg, #04101F 0%, #0D2458 50%, #04101F 100%);
  color: var(--on-dark-h); text-align: center; padding: 110px 24px;
  position: relative; overflow: hidden;
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.g1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 60%);
  top: -300px; left: -180px;
}
.g2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,60,220,0.1) 0%, transparent 60%);
  bottom: -200px; right: -100px;
}
/* Headings on dark CTA → white */
.sec-cta h2 {
  font-family: var(--f-h); font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1;
  letter-spacing: -0.03em; color: var(--on-dark-h);
}
.sec-cta p { color: var(--on-dark-b); font-size: 1rem; max-width: 440px; margin: 0 auto 36px; position: relative; z-index: 1; line-height: 1.7; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 1; }

/* ── INSUMOS GRID ────────────────────────────────────────── */
.ins-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 36px 0; }
@media(max-width:640px){ .ins-grid { grid-template-columns: repeat(2,1fr); } }
.ins-card {
  background: var(--white); border: 1.5px solid var(--border-lt);
  border-radius: var(--r-lg); padding: 22px 18px; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ins-card:hover { border-color: var(--blue); box-shadow: 0 8px 28px rgba(37,99,235,0.12); transform: translateY(-3px); }
.ins-icon  { font-size: 2rem; margin-bottom: 10px; }
.ins-name  { font-family: var(--f-h); font-size: 0.87rem; font-weight: 700; margin-bottom: 5px; color: var(--text-h); }
.ins-desc  { font-size: 0.76rem; color: var(--text-m); line-height: 1.48; }

/* ── RELATED LINKS ───────────────────────────────────────── */
.related { background: var(--blue-gray); border-top: 1px solid var(--border-lt); padding: 60px 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media(max-width:640px){ .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--white); border: 1.5px solid var(--border-lt);
  border-radius: var(--r-lg); padding: 24px 20px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.related-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(37,99,235,0.1); transform: translateY(-3px); }
.related-card h4  { font-family: var(--f-h); font-size: 0.92rem; font-weight: 700; margin: 0 0 8px; color: var(--text-h); }
.related-card p   { font-size: 0.81rem; color: var(--text-b); margin: 0; line-height: 1.58; }
.related-card .arrow { color: var(--blue); font-size: 0.85rem; font-weight: 700; display: block; margin-top: 12px; }

/* ── TABLES ──────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--r-md); border: 1.5px solid var(--border-lt); }
table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
thead { background: var(--navy-900); color: #fff; }
thead th { padding: 12px 16px; font-weight: 700; text-align: left; font-size: 0.8rem; letter-spacing: 0.04em; }
tbody tr:nth-child(even) { background: var(--off-white); }
tbody tr:hover { background: rgba(37,99,235,0.04); }
td { padding: 11px 16px; border-bottom: 1px solid var(--border-lt); color: var(--text-b); }
td:last-child, th:last-child { text-align: right; }

/* ── COMPARISON TABLE ────────────────────────────────────── */
.comp-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 28px 0; }
.comp-table th { background: var(--navy-900); color: #fff; padding: 11px 16px; text-align: left; font-size: 0.8rem; }
.comp-table td { padding: 11px 16px; border-bottom: 1px solid var(--border-lt); }
.comp-table tr:nth-child(even) td { background: var(--off-white); }
.comp-ok  { color: #16A34A; font-weight: 700; }
.comp-no  { color: #EF4444; font-weight: 700; }
.comp-mid { color: #D97706; font-weight: 700; }

/* ── HIGHLIGHT BOXES ─────────────────────────────────────── */
.highlight {
  background: rgba(37,99,235,0.07); border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px; margin: 28px 0;
  font-size: 0.93rem; color: var(--text-b); line-height: 1.7;
}
.highlight strong { color: var(--text-h); }
.warn { background: #FFFBEB; border-left-color: #D97706; color: #92400E; }
.warn strong { color: #78350F; }
.tip  { background: rgba(22,163,74,0.07); border-left-color: #16A34A; color: #14532D; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #030C1A; color: #7A94B2; padding: 64px 24px 32px; }
.footer-inner { max-width: 1040px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media(max-width:760px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width:440px){ .footer-grid { grid-template-columns: 1fr; } }
.f-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.f-logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg,#2563EB,#1A4FC0);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
  box-shadow: 0 2px 12px rgba(37,99,235,0.4);
}
.f-logo-name { font-family: var(--f-h); font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: -0.03em; }
.f-desc { font-size: 0.8rem; color: #7A94B2; line-height: 1.7; max-width: 240px; }
.f-col h5 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #5D7A99; margin-bottom: 14px; }
.f-col a  { display: block; font-size: 0.82rem; color: #7A94B2; padding: 4px 0; transition: color 0.15s; }
.f-col a:hover { color: var(--blue-lt); }
.footer-bottom {
  border-top: 1px solid rgba(37,99,235,0.08); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: #5D7A99;
}
.footer-bottom a { color: var(--blue-lt); opacity: 0.75; }
.footer-bottom a:hover { opacity: 1; }

/* ── WA FLOAT ────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--wa); color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }

/* ── IMAGE SECTION ───────────────────────────────────────── */
.img-section {
  position: relative; overflow: hidden;
  min-height: 380px; display: flex; align-items: center;
  background: var(--navy-900);
}
.img-section-bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  opacity: 0.25; filter: saturate(0.6);
}
.img-section-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(4,16,31,0.92) 40%, rgba(13,40,85,0.7) 100%);
}
.img-section-content { position: relative; z-index: 1; max-width: 640px; }
/* Image section headings → always white */
.img-section h2 { color: var(--on-dark-h) !important; font-family: var(--f-h); font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.img-section p  { color: var(--on-dark-b) !important; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:480px) {
  .page-hero h1 { font-size: 1.9rem; }
  .btn-wa, .btn-outline { padding: 12px 18px; font-size: 0.9rem; }
  section { padding: 64px 20px; }
}

/* Article body */
.article-body h2:first-child, .article-body h3:first-child { margin-top: 0; }
.article-body ul, .article-body ol { margin: 12px 0 22px; }
