:root {
  --bg: #EDE6D6;
  --surface: #FBF8F2;
  --text: #2A231C;
  --text-muted: #6B6255;
  --accent: #6B2E3A;
  --accent-soft: #6B7047;
  --border: #DCD3BE;
  --radius: 12px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 20px; }

p { margin: 0 0 1em; max-width: 62ch; }

p.lede { font-size: 18px; color: var(--text-muted); max-width: 52ch; }

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(237, 230, 214, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 0.5px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 20px;
  border-bottom: 0.5px solid var(--border);
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 0.5px solid var(--border);
  color: var(--text);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav.open { display: flex; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: #5a2530; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-secondary:hover { background: rgba(42, 35, 28, 0.06); }

/* Cards */
.card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease;
}

.card:hover { border-color: var(--accent); }

/* Sections */
section { padding: 64px 0; }

section.tight { padding: 40px 0; }

.section-head { max-width: 640px; margin-bottom: 36px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.eyebrow {
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-photo { order: -1; aspect-ratio: 4 / 3; }
}

/* Fade in on scroll — single restrained effect */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Pricing card */
.price-card .price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
  margin: 16px 0 4px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.price-card li {
  padding: 8px 0;
  border-top: 0.5px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

/* Process steps */
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 0.5px solid var(--border);
}

.step:first-child { border-top: none; }

.step-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent-soft);
  min-width: 40px;
}

/* Reviews */
.review-card blockquote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 14px;
}

.review-name { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.review-form textarea,
.review-form input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 14px;
}

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

.form-error { color: var(--accent); font-size: 13px; margin-bottom: 14px; }

.form-success {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* Diplomas carousel */
.diploma-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.diploma-strip img {
  scroll-snap-align: start;
  width: 240px;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 0.5px solid var(--border);
}

/* Contact links */
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.contact-link:hover { border-color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer a { color: var(--text-muted); text-decoration: underline; }

.site-footer .foot-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive nav */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.legal-content { font-size: 14px; line-height: 1.75; color: var(--text-muted); }
.legal-content p { max-width: none; margin: 0 0 1em; }
.legal-content h1, .legal-content h2, .legal-content h3 {
  font-family: var(--font-body); color: var(--text); font-size: 16px; font-weight: 700; margin: 1.6em 0 0.6em;
}
.legal-content ul, .legal-content ol { padding-left: 1.4em; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 13px; }
.legal-content td, .legal-content th { border: 0.5px solid var(--border); padding: 8px 10px; text-align: left; }
