/* ============================================================
   Zenspeak Public Speaking Center — Main Stylesheet
   zenspeak.css
   ============================================================ */

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

:root {
  --navy: #111a3e;
  --navy-mid: #1b2c6b;
  --crimson: #8b1a1a;
  --gold: #c9a84c;
  --gold-light: #e8d49a;
  --cream: #faf7f2;
  --cream-dark: #f0ebe0;
  --text: #2a2a2a;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --shadow: 0 4px 30px rgba(17, 26, 62, 0.12);
  --shadow-lg: 0 12px 50px rgba(17, 26, 62, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background-color: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAV ── */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.site-nav ul li a {
  display: block;
  padding: 14px 18px;
  color: var(--gold-light);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.site-nav ul li a:hover {
  color: var(--white);
  background: rgba(201, 168, 76, 0.15);
}

/* ── HEADER ── */
header.site-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
}

header.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.header-inner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 72px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.header-titles {
  flex: 1;
  text-align: center;
}

.header-logo {
  background: white;
  border-radius: 4px;
  padding: 6px 8px;
  flex-shrink: 0;
}

.header-logo img {
  height: 172px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-badge {
  flex-shrink: 0;
  background: white;
  border-radius: 50%;
  padding: 1px 2px;
}

.header-badge img {
  height: 172px;
  width: auto;
  object-fit: contain;
  display: block;
}

header h1 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

header h2 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

header h3 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.quote-banner {
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ── LAYOUT ── */
.page-body {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* ── SIDEBAR ── */
.sidebar {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.sidebar .instructor-photo {
  width: 160px;
  height: 172px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid var(--gold);
  display: block;
}

.sidebar .instructor-name {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.sidebar h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--crimson);
  font-weight: 600;
}

.sidebar h4 {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--navy-mid);
}

.sidebar h4 a {
  color: var(--navy-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  transition: color 0.2s, border-color 0.2s;
}

.sidebar h4 a:hover {
  color: var(--crimson);
  border-color: var(--crimson);
}

.divider {
  width: 80%;
  height: 1px;
  background: var(--cream-dark);
  border: none;
}

.sidebar p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.sidebar .schedule-block {
  background: var(--cream);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
}

.sidebar .schedule-block strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.sidebar-links {
  width: 100%;
}

.sidebar-links h4 {
  margin: 3px 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 12px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
  text-align: center;
}

.btn:hover {
  background: var(--crimson);
  transform: translateY(-1px);
}

.btn.gold {
  background: var(--gold);
  color: var(--navy);
}

.btn.gold:hover {
  background: var(--crimson);
  color: var(--white);
}

.sidebar .logo-bottom img {
  max-width: 110px;
  object-fit: contain;
  opacity: 1;
}

/* ── MAIN CONTENT ── */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 32px 36px;
}

.card h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--navy-mid);
  font-weight: 600;
  margin-bottom: 14px;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--crimson);
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ── TESTIMONIAL ── */
.testimonial {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 12px;
  padding: 32px 36px;
  color: var(--white);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 0;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 36px;
  left: 24px;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  padding-left: 24px;
}

.testimonial cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  text-transform: uppercase;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.pricing-card {
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  padding: 22px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffdf5 0%, #fdf6e3 100%);
}

.pricing-card h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.pricing-card .price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .was {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-card .save-badge {
  display: inline-block;
  background: none;
  color: var(--crimson);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.pricing-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ── KYRA SECTION ── */
.kyra-section {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.kyra-section img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

/* ── SECTION RULE ── */
.section-rule {
  border: none;
  border-top: 2px solid var(--cream-dark);
  margin: 4px 0 20px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 36px 24px;
  font-size: 0.85rem;
  border-top: 2px solid var(--gold);
}

.site-footer h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--gold-light);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 12px 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card,
.testimonial,
.sidebar {
  animation: fadeUp 0.5s ease both;
}

.main-content .card:nth-child(1) { animation-delay: 0.05s; }
.main-content .card:nth-child(2) { animation-delay: 0.10s; }
.main-content .testimonial       { animation-delay: 0.15s; }
.main-content .card:nth-child(4) { animation-delay: 0.20s; }
.main-content .card:nth-child(5) { animation-delay: 0.25s; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .page-body {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .card {
    padding: 22px 18px;
  }
  .testimonial {
    padding: 26px 20px;
  }
  .kyra-section {
    flex-direction: column;
  }
}
