:root {
  --gold: #b8962e;
  --gold-light: #d4b44a;
  --red: #8b2332;
  --red-light: #a83244;
  --olive: #5c5c3d;
  --olive-light: #7a7a52;
  --black: #1a1a18;
  --cream: #f7f3eb;
  --cream-dark: #ebe4d6;
  --white: #ffffff;
  --text: #2c2c28;
  --text-muted: #5a5a52;
  --shadow: 0 4px 24px rgba(26, 26, 24, 0.08);
  --radius: 12px;
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--olive);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
  padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
  padding-top: env(safe-area-inset-top, 0);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--black);
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.65rem;
  margin-right: -0.65rem;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(184, 150, 46, 0.1);
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/viavitae-phoenix.png") center 40% / 320px no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  opacity: 0.5;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(184, 150, 46, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184, 150, 46, 0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}

.btn-outline:hover {
  background: var(--olive);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0.75rem auto 0;
}

.section-alt {
  background: var(--white);
}

.section-olive {
  background: var(--olive);
  color: var(--cream);
}

.section-olive h2,
.section-olive h3 {
  color: var(--cream);
}

.section-olive p {
  color: rgba(247, 243, 235, 0.88);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  transition: transform 0.25s;
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--olive);
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Feature row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-visual {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.feature-visual svg {
  max-width: 280px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.1));
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Pricing */
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--gold);
  max-width: 400px;
  margin-inline: auto;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.price-amount span {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.price-duration {
  font-size: 1.1rem;
  color: var(--olive);
  margin: 0.5rem 0 1.5rem;
  font-weight: 600;
}

.price-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--olive);
  margin-bottom: 0.2rem;
}

.contact-item a {
  color: var(--text);
}

.contact-item a:hover {
  color: var(--gold);
}

/* Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--olive);
  font-size: 0.92rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 16px;
  background: var(--cream);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Event card */
.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
  margin-bottom: 1.5rem;
}

.event-date {
  text-align: center;
  min-width: 80px;
}

.event-date .day {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 600;
}

.event-date .year {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page header */
.page-header {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(165deg, var(--cream-dark) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--cream-dark);
}

.page-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0.75rem auto 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--olive);
}

/* Disclaimer */
.disclaimer {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--olive);
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text {
  color: var(--gold-light);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-nav h4 {
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-partner {
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.footer-partner a {
  color: var(--gold-light);
}

.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin-inline: auto;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}

/* Responsive – tablet & mobile nav */
@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
    padding: 0.5rem 1rem 1rem;
    display: none;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 32px rgba(26, 26, 24, 0.12);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(1120px, 94%);
  }

  section {
    padding: 3rem 0;
  }

  .page-header {
    padding: 2.5rem 0 2rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .feature-row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row .feature-visual {
    order: -1;
    padding: 1rem 0;
  }

  .feature-visual svg,
  .feature-visual img {
    max-width: min(240px, 70vw);
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card:hover {
    transform: none;
  }

  .event-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
    text-align: left;
  }

  .event-date {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    min-width: unset;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cream-dark);
  }

  .event-date .day {
    font-size: 2rem;
  }

  .hero {
    padding: 2.5rem 0 2.75rem;
  }

  .hero::before {
    background-size: min(260px, 65vw);
    background-position: center 35%;
  }

  .hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .hero-lead {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .btn-primary:hover {
    transform: none;
  }

  .price-card {
    padding: 1.75rem 1.25rem;
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-item {
    gap: 0.85rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.25rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  }

  .footer-grid {
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .disclaimer {
    padding: 1rem 1.15rem;
    font-size: 0.88rem;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-sub {
    font-size: 0.58rem;
  }

  .map-embed iframe {
    height: 260px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(1120px, 96%);
  }

  h1 {
    font-size: 1.85rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .header-inner {
    padding: 0.7rem 0;
  }
}
