/* ==========================================================================
   Kibstore Landing — style.css
   Pure CSS. No frameworks. Dark navy theme, gold accents.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-deep:    #0a1526;
  --navy-mid:     #0F203B;
  --navy-light:   #1A3A6B;
  --gold:         #C9A84C;
  --gold-light:   #e5cb7a;
  --text-primary: #1C1C1E;
  --text-muted:   #6B7280;
  --bg-card:      #F8FAFC;
  --bg-section:   #F4F7FB;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-card:  #E5E7EB;
  --radius-card:  24px;
  --radius-btn:   12px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;

  --maxw:         1280px;
  --header-h:     64px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-primary);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection { background: var(--navy-light); color: #fff; }

iconify-icon { stroke-width: 1.5px; display: inline-block; }

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  left: 8px;
  top: -56px;
  z-index: 100;
  background: var(--navy-mid);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-mid);
  border-color: var(--gold);
}
.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(201, 168, 76, 0.3);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.btn-navy {
  background: var(--navy-light);
  color: #fff;
  border-color: var(--navy-light);
}
.btn-navy:hover {
  background: #152e55;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(26, 58, 107, 0.2);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy-light);
  border-color: rgba(26, 58, 107, 0.25);
}
.btn-outline-navy:hover {
  background: var(--bg-section);
  border-color: var(--navy-light);
  transform: translateY(-4px);
}

/* ==========================================================================
   Header
   ========================================================================== */
/* Transparent bar — only the logo and actions carry a (pill) background */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  background: transparent;
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Shared translucent pill */
.header__logo,
.header__actions {
  background: rgba(11, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease;
  max-height: 40px;
}
/* When scrolled over light sections, deepen the pills slightly for contrast */
.header.scrolled .header__logo,
.header.scrolled .header__actions {
  background: rgba(11, 23, 42, 0.7);
}

.header__logo {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
}
.header__logo img {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* navy logo → white on the dark pill */
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
}
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s ease;
}
.header__phone:hover { color: var(--gold); }
.header__phone iconify-icon { font-size: 18px; color: var(--gold); }
.header__phone span { display: none; }
@media (min-width: 640px) { .header__phone span { display: inline; } }

.header__tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--gold);
  font-size: 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.header__tg:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 64px;
  background: var(--navy-deep);
}
@media (min-width: 768px) {
  .hero { padding: calc(var(--header-h) + 80px) 0 96px; }
}

/* Full-bleed background image + legibility overlay */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,21,38,0.92) 0%, rgba(10,21,38,0.7) 42%, rgba(10,21,38,0.25) 100%),
    linear-gradient(to top, rgba(10,21,38,0.85), transparent 55%);
}

.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__text { text-align: center; max-width: 540px; }
@media (min-width: 768px) { .hero__text { text-align: left; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}
.hero__badge:hover { background: rgba(255, 255, 255, 0.2); }
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.hero__badge-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.hero__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #fff;
}
@media (min-width: 768px) { .hero__title { font-size: 40px; } }
@media (min-width: 1024px) { .hero__title { font-size: 52px; } }
@media (min-width: 1024px) { .hero__title br { display: block; } }
.hero__title-accent {
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__body {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: #d1d5db;
  max-width: 36rem;
  margin: 0 0 40px;
}
@media (min-width: 768px) { .hero__body { font-size: 18px; } }
.hero__text { margin-inline: auto; }
@media (min-width: 768px) {
  .hero__text { margin-inline: 0; }
  .hero__body { margin-left: 0; margin-right: 0; }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
@media (min-width: 768px) { .hero__actions { justify-content: flex-start; } }
.hero__actions .btn { width: 100%; }
@media (min-width: 640px) { .hero__actions .btn { width: auto; } }

/* Guarantee badge — pinned to bottom-right of the hero (desktop only) */
.hero__float {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 16px;
  background: rgba(15, 32, 59, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s ease;
}
@media (min-width: 1024px) { .hero__float { display: flex; } }
.hero__float:hover { transform: translateY(-8px); }
.hero__float-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold);
  font-size: 20px;
}
.hero__float-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin: 0;
}
.hero__float-value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* ==========================================================================
   Section heading (shared)
   ========================================================================== */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 0 0 12px;
}
.h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 8px;
}
@media (min-width: 768px) { .h2 { font-size: 30px; } }
.lead {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { background: #fff; padding: 48px 0; }
@media (min-width: 768px) { .partners { padding: 64px 0; } }
.partners__head { text-align: center; max-width: 42rem; margin: 0 auto 40px; }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .partners__grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
}

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  padding: 24px 16px;
}
@media (min-width: 768px) { .partner { padding: 32px 24px; } }
/* Higher specificity than .reveal so the lift + zoom win and transition smoothly */
.partners__grid .partner {
  transition: transform 0.5s ease, box-shadow 0.5s ease,
              border-color 0.5s ease, opacity 0.7s ease;
}
.partners__grid .partner:hover {
  border-color: rgba(26, 58, 107, 0.2);
  box-shadow: 0 14px 30px rgba(26, 58, 107, 0.1);
  transform: translateY(-5px) scale(1.01);
}
.partner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  overflow: visible;
}
@media (min-width: 768px) { .partner__logo { height: 48px; } }
.partner__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Per-brand scale: SVG viewBox padding differs; transforms keep aspect ratio */
.partner__logo--deye img { transform: scale(1.7); }
.partner__logo--jinko img { transform: scale(0.92); }
.partner__logo--longi img { transform: scale(1); }
.partner__logo--trina img { transform: scale(1); }
.partner__logo--hanersun img { transform: scale(1.1); }
.partner__logo--ja img { transform: scale(1.1); }
.partner:hover .partner__logo img { opacity: 1; }

/* ==========================================================================
   Catalog
   ========================================================================== */
.catalog { background: #fff; border-top: 1px solid #f3f4f6; }

.catalog__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .catalog__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.catalog__count {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .catalog__grid { gap: 24px; } }
@media (min-width: 1024px) {
  .catalog__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* Product card */
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}
@media (min-width: 640px) { .card { padding: 24px; } }
.card:hover {
  box-shadow: 0 20px 40px rgba(26, 58, 107, 0.12);
  transform: translateY(-8px);
}
.card__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover .card__bar { transform: scaleX(1); }

.card__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.03); }
/* Fallback icon shown until a real photo is dropped in */
.card__media-placeholder {
  font-size: 56px;
  color: rgba(26, 58, 107, 0.4);
  transition: transform 0.5s ease;
}
.card:hover .card__media-placeholder { transform: scale(1.03); }

.card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}
.card__badge--hit { background: var(--gold); color: var(--navy-mid); }
.card__badge--new { background: var(--navy-light); }
.card__badge--low { background: #DC2626; }

.card__body { flex: 1; display: flex; flex-direction: column; }
.card__brand {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.card__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 12px;
  /* reserve 2 lines so specs/price line up across a row */
  min-height: calc(2 * 1.35em);
}
.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  min-height: 26px;
}
.card__spec {
  display: inline-flex;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-section);
  padding: 4px 8px;
  border-radius: 6px;
}
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.card__price-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.card__price {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.card__arrow {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}
/* Narrow 2-column phones: scale text/arrow down so the price stays on one line */
@media (max-width: 480px) {
  .card__name { font-size: 15px; }
  .card__price { font-size: 15px; }
  .card__price-label { font-size: 11px; }
  .card__arrow { width: 34px; height: 34px; font-size: 16px; }
}
.card:hover .card__arrow {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(26, 58, 107, 0.2);
}

/* Catalog CTA banner */
.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: linear-gradient(to right, var(--navy-light), var(--navy-mid));
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(26, 58, 107, 0.15);
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px; }
}
.banner:hover { transform: scale(1.01); }
.banner__title { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 4px; }
@media (min-width: 768px) { .banner__title { font-size: 24px; } }
.banner__text { font-size: 15px; color: #d1d5db; margin: 0; }
.banner .btn { width: 100%; }
@media (min-width: 768px) { .banner .btn { width: auto; } }

/* ==========================================================================
   Why Us
   ========================================================================== */
.why { background: var(--bg-section); }
.why__title { text-align: center; margin-bottom: 48px; }

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.why__card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.why__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 58, 107, 0.1);
}
.why__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 16px;
}
.why__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.why__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Installation banner
   ========================================================================== */
.install { background: #fff; padding: 48px 0; }
.install__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  background: var(--navy-light);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(26, 58, 107, 0.15);
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .install__box { flex-direction: row; align-items: center; justify-content: space-between; }
}
.install__box:hover { transform: scale(1.01); }
.install__main { display: flex; align-items: center; gap: 20px; }
.install__icon {
  display: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold);
  font-size: 30px;
}
@media (min-width: 640px) {
  .install__icon { display: flex; align-items: center; justify-content: center; }
}
.install__title { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.install__text { font-size: 15px; color: #d1d5db; margin: 0; }

/* ==========================================================================
   Contacts + FAQ
   ========================================================================== */
.contacts { background: #fff; border-top: 1px solid #f3f4f6; }
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) { .contacts__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* contact info visually separated from FAQ on desktop */
.contacts__card {
  background: var(--bg-section);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px 40px;
}

.contacts__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 32px;
}
@media (min-width: 768px) { .contacts__title { font-size: 30px; } }
.contacts__title span { color: var(--gold); }

.contacts__rows { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; font-style: normal; }
.contacts__row { display: flex; align-items: flex-start; gap: 16px; }
.contacts__row iconify-icon { font-size: 20px; color: var(--navy-light); margin-top: 2px; }
.contacts__row-label { font-size: 18px; font-weight: 500; color: var(--text-primary); margin: 0; }
.contacts__row-value { font-size: 18px; color: var(--text-muted); margin: 0; }
a.contacts__row-value:hover { color: var(--navy-light); }

.contacts__actions { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .contacts__actions { flex-direction: row; } }
.contacts__note { font-size: 12px; color: var(--text-muted); margin: 0; }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  min-height: 70px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item.open {
  border-color: rgba(26, 58, 107, 0.2);
  box-shadow: 0 8px 24px rgba(26, 58, 107, 0.06);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  padding: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.faq__q iconify-icon {
  font-size: 22px;
  color: var(--navy-light);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq__item.open .faq__q iconify-icon { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq__a-inner {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   SEO content block
   ========================================================================== */
.seo { background: var(--bg-section); border-top: 1px solid #eef1f5; }
.seo__title { margin-bottom: 12px; }
.seo__intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 0 36px;
}
.seo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .seo__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
}
.seo__h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.seo__p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}
.seo__link {
  color: var(--navy-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.seo__link:hover { color: var(--gold); }
.seo__p a { color: var(--navy-light); font-weight: 500; }
.seo__p a:hover { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer__inner { flex-direction: row; justify-content: space-between; }
}
.footer p { font-size: 12px; color: #9ca3af; margin: 0; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
