/* ============================================
   FOREVER INVITES - Main Stylesheet
   Romantic & Elegant Wedding Invitations PH
   ============================================ */

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

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* -------- DESIGN TOKENS (CSS VARIABLES) -------- */
:root {
  /* Colors - Romantic Palette */
  --blush: #F8E8E7;
  --dusty-rose: #D4A5A5;
  --cream: #FAF6F1;
  --burgundy: #8B3A3A;
  --burgundy-dark: #6B2828;
  --charcoal: #2C2C2C;
  --soft-gray: #8A8278;
  --gold: #C9A961;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Italiana', serif;       /* Hero / brand */
  --font-heading: 'Cormorant Garamond', serif; /* Section headings */
  --font-script: 'Great Vibes', cursive;   /* Romantic accents */
  --font-body: 'Inter', sans-serif;        /* Body text */

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;

  /* Effects */
  --shadow-soft: 0 4px 30px rgba(139, 58, 58, 0.08);
  --shadow-medium: 0 10px 40px rgba(139, 58, 58, 0.12);
  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* -------- TYPOGRAPHY -------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--burgundy);
  font-size: 1.5em;
  line-height: 1;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 500;
}

p {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

p.lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.8;
}

/* -------- LAYOUT UTILITIES -------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

/* -------- BUTTONS -------- */
.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background-color: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}

.btn-outline:hover {
  background-color: var(--burgundy);
  color: var(--white);
}

.btn-ghost {
  color: var(--burgundy);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--burgundy);
  letter-spacing: 0.2em;
}

.btn-ghost:hover {
  letter-spacing: 0.3em;
}

/* -------- NAVIGATION -------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  background-color: rgba(250, 246, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 0.5rem 0;
  border-bottom-color: rgba(139, 58, 58, 0.1);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--burgundy);
  letter-spacing: 0.05em;
}

.nav-brand .ampersand {
  font-family: var(--font-script);
  font-size: 1.5em;
  color: var(--gold);
  vertical-align: -0.15em;
  margin: 0 0.1em;
}

.nav-menu {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: var(--burgundy);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--burgundy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background-color: var(--charcoal);
  transition: all var(--transition);
}

/* -------- HERO SECTION -------- */
/* Banner image with darker overlay on the LEFT side where text sits.
   Couple is positioned on the right of the photo, so we align text to the LEFT
   for better visual balance. Stronger overlay = more readable text. */
.hero {
  position: relative;
  background-color: #8B3A3A; /* fallback if image fails to load */
  background-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.65) 0%,       /* strong dark overlay on left for text readability */
      rgba(0, 0, 0, 0.40) 45%,      /* fades to medium */
      rgba(0, 0, 0, 0.10) 100%      /* lightest on right where the couple is */
    ),
    url('/images/Wedding-Invite-PH-Banner.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: flex-start;       /* align content to LEFT instead of center */
  color: #ffffff;
  padding: 4rem 2rem 4rem 6rem;      /* extra left padding to push text from edge */
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 520px;
    background-position: 70% center;
    justify-content: center;          /* center on mobile for better look */
    padding: 3rem 1.5rem;
    background-image:
      linear-gradient(
        rgba(0, 0, 0, 0.60),
        rgba(0, 0, 0, 0.50)
      ),
      url('/images/Wedding-Invite-PH-Banner.webp');
  }
}

.hero-decoration {
  position: absolute;
  font-family: var(--font-script);
  color: #ffffff;                 /* changed to white for visibility on photo */
  opacity: 0.15;                  /* very subtle so it doesn't compete with photo */
  pointer-events: none;
  user-select: none;
  z-index: 0;                     /* keep behind text content */
}

.hero-decoration.top-left {
  top: 15%;
  left: 8%;
  font-size: 8rem;
  transform: rotate(-15deg);
}

.hero-decoration.bottom-right {
  bottom: 10%;
  right: 8%;
  font-size: 6rem;
  transform: rotate(10deg);
}

.hero-content {
  text-align: left;                 /* left-align for better composition */
  max-width: 600px;                 /* narrower so text doesn't overlap the couple */
  z-index: 2;                       /* above decorations */
  position: relative;
}

.hero-eyebrow {
  margin-bottom: var(--space-md);
  color: #F4C2C2;                  /* soft pink-cream — matches the script accent */
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  display: inline-block;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);    /* slightly smaller for left-aligned layout */
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: #ffffff;                            /* WHITE for visibility on photo */
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);  /* soft drop shadow for readability */
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

.hero-title .script-accent {
  font-family: var(--font-script);
  color: #F4C2C2;                            /* soft pink-cream — visible against dark overlay */
  font-size: 1.1em;
  display: inline-block;
  transform: translateY(0.1em);
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.95);          /* WHITE for visibility on photo */
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: var(--space-lg);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-start;     /* left-align buttons to match content */
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: flex-start;     /* left-align divider */
  gap: var(--space-sm);
  margin: var(--space-md) 0;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-divider .line {
  width: 60px;
  height: 1px;
  background-color: var(--dusty-rose);
}

.hero-divider .ornament {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.5rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- SECTION HEADERS -------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .eyebrow {
  display: block;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header .subtitle {
  color: var(--soft-gray);
  max-width: 600px;
  margin: 0 auto;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.divider-ornament .line {
  width: 40px;
  height: 1px;
  background-color: var(--dusty-rose);
}

.divider-ornament .ornament {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.25rem;
}

/* -------- CARDS / TEMPLATE GALLERY -------- */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.template-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
  position: relative;
}

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

.template-card-image {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--blush) 0%, var(--dusty-rose) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.template-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.2));
  opacity: 0;
  transition: opacity var(--transition);
}

.template-card:hover .template-card-image::after {
  opacity: 1;
}

.template-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-card-placeholder {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--burgundy);
  text-align: center;
  padding: var(--space-md);
}

.template-card-body {
  padding: var(--space-md);
  text-align: center;
}

.template-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.template-card-style {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: var(--space-sm);
}

.template-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--burgundy);
  margin-bottom: var(--space-md);
}

.template-card-actions {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
}

/* -------- FILTER PILLS -------- */
.filter-bar {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.filter-pill {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--dusty-rose);
  border-radius: 100px;
  background: transparent;
  color: var(--charcoal);
  transition: all var(--transition);
}

.filter-pill:hover {
  background-color: var(--blush);
}

.filter-pill.active {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

/* -------- ABOUT / CONTENT BLOCKS -------- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.content-split-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blush), var(--dusty-rose));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.content-split-image::before {
  content: '';
  position: absolute;
  inset: var(--space-md);
  border: 1px solid rgba(255,255,255,0.4);
  pointer-events: none;
}

.content-split h2 {
  margin-bottom: var(--space-md);
}

.content-split p {
  margin-bottom: var(--space-sm);
}

/* -------- PROCESS / HOW IT WORKS -------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.process-step {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.process-step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--dusty-rose);
  line-height: 1;
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.process-step h4 {
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--soft-gray);
}

/* -------- PRICING TABLE -------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background-color: var(--white);
  padding: var(--space-lg) var(--space-md);
  border-radius: 4px;
  text-align: center;
  border: 1px solid rgba(212, 165, 165, 0.3);
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--dusty-rose);
}

.pricing-card.featured {
  background: linear-gradient(180deg, var(--cream), var(--blush));
  border-color: var(--burgundy);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--burgundy);
  color: var(--white);
  padding: 0.375rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 100px;
}

.pricing-card h3 {
  font-family: var(--font-display);
  margin-bottom: var(--space-xs);
}

.pricing-card-tagline {
  color: var(--soft-gray);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-amount .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-period {
  color: var(--soft-gray);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.pricing-features {
  text-align: left;
  margin: var(--space-md) 0;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(212, 165, 165, 0.3);
  border-bottom: 1px solid rgba(212, 165, 165, 0.3);
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  top: 0.625rem;
}

/* -------- TESTIMONIALS -------- */
.testimonial {
  background-color: var(--cream);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto var(--space-md);
  color: var(--charcoal);
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-family: var(--font-display);
  color: var(--dusty-rose);
  font-size: 2rem;
}

.testimonial-author {
  font-family: var(--font-script);
  color: var(--burgundy);
  font-size: 1.5rem;
}

.testimonial-meta {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-top: 0.25rem;
}

/* -------- FORMS -------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--white);
  border: 1px solid rgba(212, 165, 165, 0.5);
  border-radius: 2px;
  color: var(--charcoal);
  transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(139, 58, 58, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* -------- FAQ ACCORDION -------- */
.faq-list {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(212, 165, 165, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--burgundy);
}

.faq-question .icon {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--burgundy);
  transition: transform var(--transition);
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  color: var(--soft-gray);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-md);
}

/* -------- CTA SECTION -------- */
.cta-section {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '✦';
  position: absolute;
  top: 20%;
  left: 10%;
  font-size: 6rem;
  color: rgba(255,255,255,0.05);
}

.cta-section::after {
  content: '✦';
  position: absolute;
  bottom: 20%;
  right: 10%;
  font-size: 4rem;
  color: rgba(255,255,255,0.05);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background-color: var(--white);
  color: var(--burgundy);
}

.cta-section .btn-primary:hover {
  background-color: var(--cream);
}

.cta-section .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-section .btn-outline:hover {
  background-color: var(--white);
  color: var(--burgundy);
}

/* -------- FOOTER -------- */
.footer {
  background-color: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-family: var(--font-script);
  color: var(--dusty-rose);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--dusty-rose);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background-color: var(--burgundy);
  border-color: var(--burgundy);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .content-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 5rem;
    --space-xl: 4rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    background-color: var(--cream);
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) 0;
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

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

  .footer-social {
    justify-content: center;
  }

  .hero-decoration {
    display: none;
  }

  /* Re-center hero content on mobile for better small-screen layout */
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-divider,
  .hero-cta {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}