/* ==========================================================================
   HAZORA — Official Website Design System
   Brand: Calm, Modern, Safety-Focused Disaster Intelligence
   Colors: Cream #F7F2EA | Blue #1F6BFF | Coral #FF6B4A | Yellow #FFD45A
           Green #35C98A | Purple #8B6CFF | Dark #202020
   Supported Categories: Earthquake · Flood · Storm · Tornado · Tsunami
   ========================================================================== */

:root {
  --cream: #F7F2EA;
  --cream-card: #FFFFFF;
  --cream-alt: #F0E9DC;
  --cream-deep: #E8E0D2;
  --blue: #1F6BFF;
  --blue-hover: #144FC4;
  --blue-soft: rgba(31, 107, 255, 0.08);
  --coral: #FF6B4A;
  --coral-soft: rgba(255, 107, 74, 0.12);
  --yellow: #FFD45A;
  --yellow-soft: rgba(255, 212, 90, 0.18);
  --green: #35C98A;
  --green-soft: rgba(53, 201, 138, 0.14);
  --purple: #8B6CFF;
  --purple-soft: rgba(139, 108, 255, 0.12);
  --dark: #202020;
  --dark-surface: #171717;
  --white: #FFFFFF;

  --text-primary: #1C1C1C;
  --text-secondary: #58554E;
  --text-muted: #8E8A80;
  --border-hairline: rgba(32, 32, 32, 0.08);
  --border-strong: rgba(32, 32, 32, 0.16);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --max-w: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 9vw, 112px);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(32, 32, 32, 0.05);
  --shadow-float: 0 20px 48px rgba(32, 32, 32, 0.10);
  --shadow-phone: 0 32px 64px rgba(24, 24, 24, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background-color: var(--cream);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.12;
}

p {
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.eyebrow-pill {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(31, 107, 255, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(31, 107, 255, 0.25);
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(31, 107, 255, 0.35);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #FAF8F5;
  border-color: var(--text-primary);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #000000;
  color: var(--white);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 242, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

header.site-header.scrolled {
  border-bottom-color: var(--border-hairline);
  background: rgba(247, 242, 234, 0.96);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-wordmark {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px var(--gutter) 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--border-hairline);
}

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

.mobile-menu a {
  padding: 12px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-hairline);
}

.mobile-menu .btn {
  margin-top: 18px;
  width: 100%;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.hero-content .lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

/* Phone Mockup (Single authentic frame with real screenshot) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrap {
  position: relative;
  width: min(300px, 75vw);
  display: flex;
  justify-content: center;
}

.phone-ambient-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(31, 107, 255, 0.22) 0%, rgba(247, 242, 234, 0) 70%);
  filter: blur(40px);
  z-index: 0;
}

.phone-screenshot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(28, 28, 28, 0.14));
  transition: transform 0.25s ease;
}

.phone-screenshot:hover {
  transform: translateY(-3px);
}

/* Floating Status Pill */
.floating-status-pill {
  position: absolute;
  bottom: 30px;
  left: -20px;
  z-index: 3;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  animation: floatGentle 4s ease-in-out infinite alternate;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 201, 138, 0.25);
}

@keyframes floatGentle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-row {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 24px;
  }
  .floating-status-pill {
    left: 10px;
    bottom: 20px;
  }
}

/* ==========================================================================
   Disaster Categories Strip (STRICT 5 CATEGORIES ONLY)
   ========================================================================== */
.categories-section {
  padding: var(--section-pad) 0;
  background: var(--cream-alt);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.section-intro h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-bottom: 14px;
}

.section-intro p {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

.categories-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--white);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-strong);
}

.cat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cat-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.cat-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Category Accents */
.cat-earthquake .cat-icon-wrap { background: var(--coral-soft); color: var(--coral); }
.cat-flood .cat-icon-wrap      { background: var(--blue-soft); color: var(--blue); }
.cat-storm .cat-icon-wrap      { background: var(--purple-soft); color: var(--purple); }
.cat-tornado .cat-icon-wrap    { background: var(--yellow-soft); color: #C68E00; }
.cat-tsunami .cat-icon-wrap    { background: rgba(31, 107, 255, 0.12); color: #0052CC; }

@media (max-width: 1024px) {
  .categories-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .categories-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   How Hazora Works Section
   ========================================================================== */
.how-section {
  padding: var(--section-pad) 0;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 48px;
}

.pipeline-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pipeline-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-soft);
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.pipeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.pipeline-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Feature Showcases (Editorial Alternating Rows)
   ========================================================================== */
.features-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.feature-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--border-hairline);
}

.feature-showcase-row.reverse .feat-text {
  order: 2;
}

.feature-showcase-row.reverse .feat-visual {
  order: 1;
}

.feat-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 18px;
}

.feat-text .feat-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 480px;
}

.feat-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feat-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-primary);
  font-weight: 500;
}

.feat-check-item svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-visual {
  display: flex;
  justify-content: center;
}

@media (max-width: 880px) {
  .feature-showcase-row,
  .feature-showcase-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-showcase-row.reverse .feat-text,
  .feature-showcase-row.reverse .feat-visual {
    order: initial;
  }
  .feat-text .feat-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .feat-checklist {
    align-items: center;
  }
  .feat-check-item {
    text-align: left;
    max-width: 420px;
  }
}

/* ==========================================================================
   Family Feature Section (Strict Privacy & Manual Locations)
   ========================================================================== */
.family-section {
  padding: var(--section-pad) 0;
  background: var(--cream-alt);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.family-text h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 18px;
}

.family-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.family-privacy-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-hairline);
  margin-bottom: 24px;
}

.family-privacy-box h4 {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.family-privacy-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.family-mockup-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
}

.family-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.family-card-head span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.family-member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.family-member-item:last-child {
  border-bottom: none;
}

.f-member-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.f-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.f-info .f-name {
  font-weight: 700;
  font-size: 0.96rem;
}

.f-info .f-loc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.f-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-safe {
  background: var(--green-soft);
  color: #1F875A;
}

.status-threat {
  background: var(--coral-soft);
  color: #D33612;
}

.status-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 880px) {
  .family-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Safety Guides Section (Interactive Tabs for 5 Categories)
   ========================================================================== */
.safety-section {
  padding: var(--section-pad) 0;
}

.safety-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.safety-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.safety-tab-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.safety-tab-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.safety-guide-panel {
  display: none;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
}

.safety-guide-panel.active {
  display: block;
}

.guide-panel-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-hairline);
}

.guide-panel-header h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 8px;
}

.guide-panel-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

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

.protocol-col {
  display: flex;
  flex-direction: column;
}

.protocol-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.phase-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tag-before { background: var(--blue-soft); color: var(--blue); }
.tag-during { background: var(--coral-soft); color: var(--coral); }
.tag-after  { background: var(--green-soft); color: #1F875A; }

.protocol-col-header h4 {
  font-size: 1.1rem;
}

.protocol-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.protocol-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.safety-disclaimer-box {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .protocol-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   Why Hazora (Product Philosophy)
   ========================================================================== */
.why-section {
  padding: var(--section-pad) 0;
  background: var(--cream-deep);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Final Call To Action
   ========================================================================== */
.final-cta-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
  text-align: center;
}

.cta-box-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 84px) clamp(24px, 6vw, 64px);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
}

.cta-box-card h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

.cta-box-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--border-hairline);
  padding: clamp(56px, 8vw, 88px) 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
