/* =========================================================================
   pages.css — page-specific layouts and overrides
   Depends on: tokens.css, base.css, layout.css, components.css
   ========================================================================= */


/* ======================================================================= */
/* MAIN offset for fixed header                                            */
/* ======================================================================= */

main {
  padding-top: var(--header-h);
}


/* ======================================================================= */
/* HERO                                                                    */
/* ======================================================================= */

.hero {
  position: relative;
  padding-block: clamp(56px, 10vw, 120px) clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40px -20px auto -20px;
  height: 640px;
  background:
    radial-gradient(ellipse 60% 50% at 22% 35%, rgba(71,165,237,0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 78% 28%, rgba(30,143,232,0.18) 0%, transparent 55%);
  z-index: -1;
  pointer-events: none;
}

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

.hero-inner > * {
  min-width: 0;
}

@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero-copy {
  max-width: 640px;
  min-width: 0;
}

.hero h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
}

@media (min-width: 1200px) {
  .hero h1 { font-size: var(--text-5xl); }
}

.hero .lead {
  font-size: var(--text-md);
  color: var(--text-body);
  line-height: var(--leading-normal);
  margin-bottom: 36px;
  max-width: 560px;
}

@media (min-width: 900px) {
  .hero .lead { font-size: var(--text-lg); }
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

@media (max-width: 480px) {
  .hero-ctas .btn-lg {
    flex: 1 1 100%;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--text-muted);
  font-size: var(--text-sm);
  align-items: center;
}

.hero-trust .divider-dot {
  margin: 0;
}

@media (max-width: 480px) {
  .hero-trust {
    font-size: var(--text-xs);
    gap: 6px 10px;
  }
}


/* ----- Hero visual: Hot-lead notification animation ------------------- */

.hero-visual {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -24px;
  background: radial-gradient(circle at 50% 50%, rgba(30,143,232,0.22), transparent 60%);
  z-index: -1;
  filter: blur(20px);
}

.hla-stage {
  position: relative;
  width: 100%;
  height: 820px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  opacity: 0;
  animation: hla-stage-in 0.5s 0.1s ease-out forwards;
}

.hla-envelope {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 215px;
  transform: translate(-50%, -50%) rotateX(14deg);
  transform-style: preserve-3d;
  z-index: 1;
  animation: hla-env-dim 1s 2.4s ease-out forwards;
}

.hla-env-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #E6E9F2 0%, #C4C9DB 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 -24px 40px rgba(20, 30, 80, 0.08),
    0 24px 50px rgba(20, 30, 80, 0.22);
}

.hla-env-pocket {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #D0D5E4 0%, #A4ABC4 100%);
  clip-path: polygon(0 35%, 50% 100%, 100% 35%, 100% 100%, 0 100%);
  border-radius: 0 0 10px 10px;
  z-index: 3;
}
.hla-env-pocket::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent);
  clip-path: polygon(0 70%, 50% 100%, 100% 70%, 100% 100%, 0 100%);
}

.hla-env-flap {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 60%;
  background: linear-gradient(155deg, #D7DCEB 0%, #B4BACE 100%);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  border-radius: 8px 8px 0 0;
  transform-origin: top center;
  z-index: 4;
  backface-visibility: hidden;
  animation: hla-flap 1.1s 1.8s cubic-bezier(.3,.7,.3,1) forwards;
}
.hla-env-flap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent 55%);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.hla-seal {
  position: absolute;
  top: 14%;
  right: 18%;
  width: 46px;
  height: 46px;
  background: radial-gradient(circle at 35% 30%, #ff6b5a 0%, #dc2626 50%, #991b1b 100%);
  border-radius: 50%;
  box-shadow:
    0 4px 12px rgba(220, 38, 38, 0.45),
    inset -2px -4px 8px rgba(0,0,0,0.2),
    inset 2px 2px 6px rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  z-index: 5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  opacity: 0;
  transform: scale(0.3);
  animation:
    hla-badge-in 0.6s 0.3s cubic-bezier(.3,1.3,.4,1) forwards,
    hla-badge-throb 0.5s 1s ease-in-out 2,
    hla-badge-fade 0.4s 2.4s ease-out forwards;
}
.hla-seal::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: 50%;
  pointer-events: none;
}

.hla-pulse-ring {
  position: absolute;
  top: 14%;
  right: 18%;
  width: 46px;
  height: 46px;
  border: 3px solid #dc2626;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  animation: hla-ring 1s 0.6s ease-out forwards;
}
.hla-pulse-ring.hla-r2 { animation-delay: 1s; }

.hla-mockup-slot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  max-width: calc(100% - 24px);
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  z-index: 10;
  pointer-events: none;
}

.hla-mockup-inner {
  opacity: 0;
  filter: blur(20px);
  transform: rotateX(14deg) translateZ(-100px) scale(0.92);
  animation: hla-reveal 1.4s 2.1s cubic-bezier(.2,.75,.2,1) forwards;
}

.hla-mockup-card {
  background: #fff;
  border: 1px solid #D9DCE5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(16, 24, 64, 0.22),
    0 6px 16px rgba(16, 24, 64, 0.08);
}

.hla-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #F4F5F9;
  border-bottom: 1px solid #E2E3ED;
}
.hla-dots { display: flex; gap: 6px; }
.hla-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD0DD;
}
.hla-dots span:nth-child(1) { background: #FF6058; }
.hla-dots span:nth-child(2) { background: #FFBE2F; }
.hla-dots span:nth-child(3) { background: #28C940; }
.hla-toolbar-label {
  margin-left: 4px;
  font-size: 12px;
  color: #6B6E8A;
  font-weight: 500;
}

.hla-mail-header {
  padding: 16px 22px;
  border-bottom: 1px solid #E2E3ED;
}
.hla-subject {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1A1A2E;
  letter-spacing: -0.2px;
  line-height: 1.35;
}
.hla-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hla-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6B72FF, #2E37FE);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}
.hla-meta-body {
  flex: 1;
  font-size: 12px;
  color: #6B6E8A;
  line-height: 1.45;
}
.hla-meta-body strong { color: #1A1A2E; }

.hla-email-bg {
  background: #F4F5F9;
  padding: 20px 16px;
}

.hla-hero-card {
  background: linear-gradient(135deg, #6B72FF 0%, #2E37FE 30%, #1C24B8 65%, #0F1880 100%);
  border-radius: 12px;
  padding: 20px 24px;
  color: #fff;
}
.hla-eyebrow {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.85;
  font-weight: 600;
}
.hla-h1 {
  margin: 6px 0 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.hla-dim { opacity: 0.72; font-weight: 500; }
.hla-sub {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.8;
}

.hla-phone {
  margin-top: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #fff;
}
.hla-phone-label {
  margin: 0 0 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
  font-weight: 600;
}
.hla-phone-num {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.hla-reply { margin-top: 14px; }
.hla-reply-label {
  margin: 0 0 8px;
  font-size: 10px;
  color: #6B6E8A;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.hla-reply-quote {
  background: #fff;
  border-left: 3px solid #2E37FE;
  border-radius: 0 6px 6px 0;
  padding: 12px 14px;
  font-size: 13px;
  color: #1A1A2E;
  line-height: 1.55;
  white-space: pre-wrap;
}

.hla-cta-wrap {
  margin-top: 14px;
  text-align: center;
}
.hla-cta {
  display: inline-block;
  background: linear-gradient(135deg, #6B72FF, #2E37FE);
  color: #fff;
  text-decoration: none;
  padding: 11px 28px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.hla-footer {
  background: #fff;
  border-top: 1px solid #E2E3ED;
  padding: 14px 22px;
}
.hla-footer-line {
  margin: 0;
  font-size: 11px;
  color: #6B6E8A;
}
.hla-footer-line strong { color: #1A1A2E; }
.hla-footer-fine {
  margin: 4px 0 0;
  font-size: 10px;
  color: #9194AD;
  line-height: 1.5;
}

/* ===== Keyframes ===== */
@keyframes hla-stage-in {
  to { opacity: 1; }
}
@keyframes hla-badge-in {
  0%   { opacity: 0; transform: scale(0.3) translateY(-16px); }
  70%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes hla-badge-throb {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
@keyframes hla-badge-fade {
  to { opacity: 0; transform: scale(1) translateY(-4px); }
}
@keyframes hla-ring {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.6); }
}
@keyframes hla-flap {
  to { transform: rotateX(-172deg); }
}
@keyframes hla-env-dim {
  to { opacity: 0.25; }
}
@keyframes hla-reveal {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: rotateX(14deg) translateZ(-100px) scale(0.92);
  }
  40% { opacity: 1; }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: rotateX(0) translateZ(0) scale(1);
  }
}

@media (max-width: 1000px) {
  .hla-stage { height: 780px; }
}
@media (max-width: 560px) {
  .hla-stage { height: 720px; }
  .hla-envelope { width: 260px; height: 175px; }
  .hla-mockup-slot { width: calc(100% - 20px); }
  .hla-subject { font-size: 14px; }
  .hla-h1 { font-size: 17px; }
  .hla-phone-num { font-size: 20px; }
  .hla-reply-quote { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hla-stage,
  .hla-envelope,
  .hla-env-flap,
  .hla-seal,
  .hla-pulse-ring,
  .hla-mockup-inner {
    animation: none !important;
  }
  .hla-stage { opacity: 1; }
  .hla-seal { display: none; }
  .hla-pulse-ring { display: none; }
  .hla-envelope { opacity: 0.25; }
  .hla-env-flap { transform: rotateX(-172deg); }
  .hla-mockup-inner {
    opacity: 1;
    filter: none;
    transform: rotateX(0) translateZ(0) scale(1);
  }
}


/* ======================================================================= */
/* 3-PHASE PROCESS                                                         */
/* ======================================================================= */

.process {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 32px);
  position: relative;
}

@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Gradient connector line between cards */
  .process-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg,
      transparent 0%,
      var(--primary-soft) 15%,
      var(--primary-light) 50%,
      var(--primary-soft) 85%,
      transparent 100%);
    z-index: 0;
  }
}

.process-card {
  position: relative;
  z-index: 1;
  text-align: left;
}

.process-card h3 {
  font-size: var(--text-xl);
  margin-bottom: 12px;
}

.process-card p {
  margin-bottom: 20px;
  color: var(--text-body);
}


/* ======================================================================= */
/* FEATURE GRID                                                            */
/* ======================================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .feature-grid > .feature-card {
    grid-column: span 2;
  }
  .feature-grid > .feature-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .feature-grid > .feature-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.feature-card {
  padding: clamp(24px, 2.5vw, 32px);
}

.feature-card h4 {
  font-size: var(--text-md);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin: 0;
}


/* ======================================================================= */
/* PRICING                                                                 */
/* ======================================================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 28px);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Dark pricing section with horizontal aurora bloom */
.section:has(.pricing-grid),
.section-sm:has(.pricing-grid) {
  position: relative;
  overflow: hidden;
  background: #0b1344;
}

.section:has(.pricing-grid)::after,
.section-sm:has(.pricing-grid)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 38% at 50% 62%,
    rgba(46,55,254,0.6) 0%,
    rgba(46,55,254,0.15) 42%,
    transparent 72%);
  z-index: 0;
  pointer-events: none;
}

.section:has(.pricing-grid) > .container,
.section-sm:has(.pricing-grid) > .container {
  position: relative;
  z-index: 1;
}

/* Lighten section header copy inside the dark pricing section */
.section:has(.pricing-grid) .section-header .eyebrow,
.section-sm:has(.pricing-grid) .section-header .eyebrow {
  color: rgba(255,255,255,0.8);
}
.section:has(.pricing-grid) .section-header h2,
.section-sm:has(.pricing-grid) .section-header h2 {
  color: #ffffff;
}
.section:has(.pricing-grid) .section-header p,
.section-sm:has(.pricing-grid) .section-header p {
  color: rgba(255,255,255,0.85);
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-card);
  box-shadow:
    0 18px 48px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.22);
  color: #ffffff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Featured — solid bright brand blue */
.price-card.featured {
  position: relative;
  background: linear-gradient(180deg, #3540e6 0%, #2a33c9 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    0 24px 60px rgba(46,55,254,0.5),
    inset 0 1px 0 rgba(255,255,255,0.32);
}

.price-card.featured::before {
  content: none;
}

@media (min-width: 900px) {
  .price-card.featured {
    transform: scale(1.03);
  }
  .price-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}

.price-card .tier {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-card.featured .tier {
  color: #ffffff;
}

.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 800;
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-card .price .suffix {
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.price-card .leads-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 24px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  line-height: var(--leading-snug);
  margin: 0;
}

.price-card ul li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><path d='M3 8 L6.5 11.5 L13 5' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-size: contain;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
  background: linear-gradient(145deg, #fbf8ef, #ece6d5);
  color: var(--primary-deep);
  border: none;
  border-radius: 999px;
  height: 54px;
  padding: 0 28px;
  font-weight: 700;
  box-shadow:
    -4px -4px 10px rgba(255,255,255,0.9),
    6px 6px 16px rgba(15,24,128,0.22),
    inset 1px 1px 0 rgba(255,255,255,0.9);
}

.price-card .btn:hover {
  background: linear-gradient(145deg, #fff, #f1ecdd);
  color: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow:
    -6px -6px 14px rgba(255,255,255,1),
    8px 8px 20px rgba(15,24,128,0.28),
    inset 1px 1px 0 rgba(255,255,255,1);
}

.price-card .featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.guarantee-ribbon {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(214,236,251,0.6), rgba(235,245,254,0.9));
  border: 1px solid var(--primary-soft);
  border-radius: var(--r-card);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--text-sm);
  color: var(--text-body);
  box-shadow: 0 4px 12px rgba(30,143,232,0.08);
}

.guarantee-ribbon .shield {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-primary-grad);
  color: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--btn-primary-glow);
}

.guarantee-ribbon strong {
  color: var(--text-primary);
}


/* ======================================================================= */
/* FINAL CTA BAND                                                          */
/* ======================================================================= */

.cta-band {
  position: relative;
  background: var(--cta-band-grad);
  color: var(--text-invert);
  padding-block: clamp(56px, 8vw, 96px);
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 25% 20%, rgba(255,255,255,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 75% 85%, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
}

.cta-band h2 {
  color: var(--text-invert);
  font-size: var(--text-3xl);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cta-band p {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.88);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-band .row {
  justify-content: center;
  gap: 18px;
}

.cta-band .row .btn-lg {
  min-width: min(320px, 100%);
  height: 54px;
  padding-block: 0;
}

@media (max-width: 480px) {
  .cta-band .row .btn-lg {
    width: 100%;
    min-width: 0;
  }
}


/* ======================================================================= */
/* PAGE HERO (inner pages — smaller than homepage hero)                    */
/* ======================================================================= */

.page-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 56px);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 420px;
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(71,165,237,0.20) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.page-hero h1 {
  font-size: var(--text-4xl);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  font-size: var(--text-md);
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .page-hero .lead { font-size: var(--text-lg); }
}


/* ======================================================================= */
/* TIMELINE (services page)                                                */
/* ======================================================================= */

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), var(--primary-soft));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(30,143,232,0.15);
}

.timeline-item h4 {
  font-size: var(--text-md);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-item .tag {
  background: var(--primary-bg);
}

.timeline-item p {
  color: var(--text-body);
  font-size: var(--text-sm);
  margin: 0;
}


/* ======================================================================= */
/* CONTACT PAGE                                                            */
/* ======================================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.1fr; }
}

.contact-card {
  padding: clamp(24px, 3vw, 40px);
}

.contact-card h2 {
  font-size: var(--text-2xl);
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
}

.contact-item:first-of-type { border-top: none; }

.contact-item .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

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

.contact-item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-item a,
.contact-item .val {
  font-size: var(--text-md);
  color: var(--text-body);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--primary-deep);
}


/* ======================================================================= */
/* ABOUT PAGE                                                              */
/* ======================================================================= */

.about-quote {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, var(--primary-bg) 0%, #fff 100%);
  border: 1px solid var(--primary-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-md);
}

.about-quote blockquote {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-primary);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  position: relative;
}

.about-quote blockquote::before {
  content: '“';
  position: absolute;
  top: -40px;
  left: -8px;
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: var(--primary-soft);
}

.about-quote .attribution {
  margin-top: 20px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 600;
}


/* ======================================================================= */
/* 404 PAGE                                                                */
/* ======================================================================= */

.error-404 {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gutter);
}

.error-404 .big-num {
  font-size: clamp(96px, 20vw, 180px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--btn-primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
}
