/* ============================================
   PRICING PAGE — Boutique Visual Alignment
   ============================================ */

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.35s ease-out;
}
body.page-loaded {
  opacity: 1;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s;
}
.site-header .wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.site-brand img { width: 32px; height: 32px; }
.site-brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.site-nav a:hover { background: var(--surface-hover); }
.nav-cta {
  background: var(--primary-dark) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--primary-dark) !important; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- HERO ---------- */
.pricing-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 64px;
}
.pricing-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pricing-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pricing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.08) 70%,
    rgba(0,0,0,0) 100%
  );
}
.pricing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 32px;
  width: 100%;
}
.pricing-hero-inner {
  max-width: 560px;
}
.pricing-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}
.pricing-hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.88);
  margin: 18px 0 0;
  line-height: 1.55;
  max-width: 44ch;
}
.pricing-hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-hero-primary:hover {
  transform: translateY(-1px);
  background: #2e7a50;
  box-shadow: 0 4px 16px rgba(55,140,92,0.35);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.55);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 24px;
}
.section .wrap {
  max-width: 1320px;
  margin: 0 auto;
}
.section--divided {
  border-top: 1px solid rgba(0,0,0,0.06);
}
.section--narrow .wrap {
  max-width: 860px;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  margin: 0 0 12px;
}
.section-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.section-subtext {
  font-size: 17px;
  color: var(--text-light);
  margin: 16px 0 0;
  max-width: 60ch;
  line-height: 1.65;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- ANCHOR PRICING ---------- */
.pricing-anchor {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 28px 0 0;
}
.pricing-anchor span {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0;
}

/* ---------- PRICING TABLE ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 15px;
}
.pricing-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-lighter, #959da5);
  padding: 12px 20px;
  border-bottom: 2px solid var(--border, #e1e4e8);
}
.pricing-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text);
}
.pricing-table tbody td:last-child {
  font-weight: 600;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table .row-highlight {
  background: #f4faf6;
}
.pricing-table .row-highlight td:first-child {
  border-radius: 8px 0 0 8px;
}
.pricing-table .row-highlight td:last-child {
  border-radius: 0 8px 8px 0;
}

/* ---------- CANCELLATION TABLE ---------- */
.cancel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}
.cancel-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-lighter, #959da5);
  padding: 12px 20px;
  border-bottom: 2px solid var(--border, #e1e4e8);
}
.cancel-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text);
}
.cancel-table tbody td:last-child {
  font-weight: 600;
}
.cancel-table tbody tr:last-child td {
  border-bottom: none;
}
.cancel-note {
  font-size: 13px;
  color: var(--text-lighter, #959da5);
  margin: 12px 0 0;
}

/* ---------- INFO CARDS ---------- */
/* ── Example monthly costs ── */
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.example-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.example-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.example-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin: 0 0 20px;
}
.example-details {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
}
.example-cost {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.example-cost span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-lighter);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* ── Info cards ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.info-card {
  text-align: center;
  padding: 32px 24px;
}
.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #edf8f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--primary-dark);
}
.info-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.info-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.info-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

/* ---------- CTA ---------- */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  background: var(--primary-light);
}
.cta-section .wrap {
  max-width: 640px;
  margin: 0 auto;
}
.cta-heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
.cta-text {
  font-size: 17px;
  color: var(--text-light);
  margin: 16px 0 0;
  line-height: 1.6;
}
.cta-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta--primary {
  background: var(--primary-dark);
  color: #fff;
  border: none;
}
.btn-cta--primary:hover {
  transform: translateY(-1px);
  background: #2e7a50;
  box-shadow: 0 4px 16px rgba(55,140,92,0.3);
}
.btn-cta--secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}
.btn-cta--secondary:hover {
  background: #f0faf3;
  border-color: #2e7a50;
  transform: translateY(-1px);
}
.cta-reassurance {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-lighter, #959da5);
  letter-spacing: 0.1px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  font-size: 13px;
  color: var(--text-light);
}
.site-footer .wrap {
  max-width: 1320px;
  margin: 0 auto;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--primary-dark); text-decoration: underline; }
.footer-sep { opacity: 0.4; }
.footer-acknowledgement {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-lighter, #999);
  text-align: center;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.footer-directory {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-lighter, #999);
  text-align: center;
  line-height: 1.6;
}
.footer-directory a {
  color: var(--text-light);
  text-decoration: none;
}
.footer-directory a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
    gap: 4px;
  }
  .site-nav.is-open a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
  }
  .menu-toggle { display: block; }

  .pricing-hero { min-height: 38vh; }
  .pricing-hero h1 { font-size: 28px; }
  .pricing-hero-content { padding: 40px 24px; }

  .info-grid { grid-template-columns: 1fr; gap: 20px; }
  .example-grid { grid-template-columns: 1fr; gap: 20px; }

  .section { padding: 72px 20px; }
  .cta-section { padding: 80px 20px; }

  .pricing-table,
  .cancel-table { font-size: 14px; }
  .pricing-table thead th,
  .cancel-table thead th { padding: 10px 14px; }
  .pricing-table tbody td,
  .cancel-table tbody td { padding: 14px; }
}

@media (max-width: 520px) {
  .pricing-hero-actions { flex-direction: column; }
  .pricing-hero-actions a { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-row { flex-direction: column; align-items: flex-start; }

  .pricing-table thead th,
  .cancel-table thead th { padding: 10px 12px; font-size: 11px; }
  .pricing-table tbody td,
  .cancel-table tbody td { padding: 12px; }
}
