/* ===== RESET & BASE ===== */
:root {
  --ink: #101820;
  --ink-light: #3a3f47;
  --warm: #faf4ec;
  --sand: #e7d3ba;
  --orange: #e66d2f;
  --orange-deep: #be4f17;
  --card-bg: #ffffff;
  --card-border: #ecd9c2;
  --shadow-sm: 0 2px 8px rgba(16, 24, 32, 0.06);
  --shadow: 0 12px 32px rgba(16, 24, 32, 0.1);
  --radius: 1rem;
  --header-h: 128px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--warm);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: "Domine", serif;
  line-height: 1.2;
}

/* ===== STICKY HEADER / NAV ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 244, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Domine", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  height: 80px;
  width: auto;
  border-radius: 8px;
}

.hero-logo {
  width: clamp(100px, 20vw, 180px);
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.topbar nav {
  display: flex;
  gap: 1.5rem;
}

.topbar nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition:
    color 180ms,
    border-color 180ms;
  text-decoration: none;
}

.topbar nav a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 250ms,
    opacity 250ms;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, #1e2a36 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  margin-bottom: 1rem;
  color: #fff;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.6rem;
  border-radius: 0.6rem;
  text-decoration: none;
  transition:
    transform 180ms,
    box-shadow 180ms,
    background 180ms;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 109, 47, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 109, 47, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 0.4rem;
}

.section-title .light {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.85em;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
}

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

.card-wide {
  grid-column: 1 / -1;
}

.card-highlight {
  border-color: var(--orange);
  border-width: 2px;
  position: relative;
  overflow: hidden;
}

.card-highlight::before {
  content: "Best Value";
  position: absolute;
  top: 14px;
  right: -30px;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-header h3 {
  font-size: 1.25rem;
}

.badge {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-light);
}

.card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.card-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-light);
  font-style: italic;
}

/* Two-column list on wider cards */
.two-col {
  columns: 2;
  column-gap: 2rem;
}

/* ===== TIER PRICING ROW ===== */
.tier-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.tier {
  flex: 1;
  min-width: 120px;
  background: var(--warm);
  border-radius: 0.65rem;
  padding: 0.75rem 1rem;
  text-align: center;
}

.tier p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  margin-bottom: 0.2rem;
}

.tier strong {
  font-family: "Domine", serif;
  font-size: 1.5rem;
  color: var(--ink);
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3rem;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-title {
  font-family: "Domine", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .topbar nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(250, 244, 236, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--card-border);
    display: none;
  }

  .topbar nav.open {
    display: flex;
  }

  .topbar nav a {
    padding: 0.75rem 1.5rem;
    border-bottom: none;
  }

  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
  }

  .two-col {
    columns: 1;
  }

  .card-highlight::before {
    right: -34px;
    font-size: 0.6rem;
  }
}
