:root {
  --color-bg: #f7f5f0;
  --color-bg-alt: #edeae3;
  --color-surface: #ffffff;
  --color-primary: #1a2744;
  --color-primary-light: #2d3f66;
  --color-accent: #c9a962;
  --color-accent-dark: #a8894a;
  --color-text: #2c2c2c;
  --color-text-muted: #5c5c5c;
  --color-border: #d8d4cb;
  --color-error: #b33a3a;
  --color-success: #2d6a4f;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 39, 68, 0.1);
  --max-width: 1200px;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main { flex: 1; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
}

.logo svg { width: 32px; height: 32px; flex-shrink: 0; }

.nav-desktop { display: flex; gap: 1.75rem; align-items: center; }

.nav-desktop a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--color-accent-dark); }

.nav-cta {
  background: var(--color-primary);
  color: var(--color-surface) !important;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--color-primary-light); color: var(--color-surface) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-primary);
}

.nav-toggle svg { width: 28px; height: 28px; }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99;
}

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

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-bg-alt);
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255, 255, 255, 0.75); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-surface);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}

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

.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-surface);
}

/* Hero variants */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
}

.hero-home-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 0;
}

.hero-home-content .eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-dark);
  margin-bottom: 1.25rem;
}

.hero-home-content h1 { margin-bottom: 1.25rem; }

.hero-home-content .lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-home-visual {
  position: relative;
  min-height: 400px;
}

.hero-home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.hero-home-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(26, 39, 68, 0.15));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

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

@media (max-width: 900px) {
  .hero-home { grid-template-columns: 1fr; }
  .hero-home-content { padding: 3rem 0 2rem; order: 2; }
  .hero-home-visual { order: 1; min-height: 280px; }
  .hero-home-visual img { border-radius: var(--radius-lg); }
  .hero-home-visual::after { border-radius: var(--radius-lg); }
}

.hero-page {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 4rem 0;
  position: relative;
}

.hero-page::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(201, 169, 98, 0.08));
}

.hero-page h1 { color: var(--color-surface); margin-bottom: 0.75rem; }
.hero-page .lead { color: rgba(255, 255, 255, 0.75); font-size: 1.125rem; max-width: 600px; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p { color: var(--color-text-muted); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

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

.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.25rem; }
.card-body p { color: var(--color-text-muted); font-size: 0.9375rem; flex: 1; }
.card-body .card-link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-accent-dark);
}

/* Feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-item .feature-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.feature-item h3 { font-size: 1.125rem; }
.feature-item p { font-size: 0.9375rem; color: var(--color-text-muted); }

@media (max-width: 768px) {
  .feature-strip { grid-template-columns: 1fr; }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.testimonial blockquote {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
  line-height: 1.7;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.testimonial cite strong {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.75rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.process-step h3 { font-size: 1.0625rem; }
.process-step p { font-size: 0.875rem; color: var(--color-text-muted); }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* Pricing */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table th,
.pricing-table td {
  padding: 1.125rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table th {
  background: var(--color-primary);
  color: var(--color-surface);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table td:last-child { font-weight: 600; color: var(--color-primary); white-space: nowrap; }

.pricing-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.form-error {
  color: var(--color-error);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.invalid .form-error { display: block; }
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea { border-color: var(--color-error); }

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f5ee;
  color: var(--color-success);
  border: 1px solid #b7dfc8;
}

.form-status.error {
  display: block;
  background: #fce8e8;
  color: var(--color-error);
  border: 1px solid #e8b4b4;
}

.form-inline-error {
  padding: 0.75rem 1rem;
  background: #fce8e8;
  color: var(--color-error);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: none;
  font-size: 0.875rem;
}

.form-inline-error.visible { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}

.contact-info-block {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius-md);
}

.contact-info-block h3 { color: var(--color-accent); margin-bottom: 1.5rem; }

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.contact-detail span,
.contact-detail a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.975rem;
}

.contact-detail a:hover { color: var(--color-accent); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Blog */
.blog-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.article-content h3 { margin-top: 1.5rem; }
.article-content img { border-radius: var(--radius-md); margin: 2rem 0; }

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table th,
.schedule-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

.schedule-table th {
  background: var(--color-bg-alt);
  font-weight: 600;
  color: var(--color-primary);
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule-badge.open { background: #e8f5ee; color: var(--color-success); }
.schedule-badge.limited { background: #fef3e0; color: #9a6700; }
.schedule-badge.full { background: #f0f0f0; color: #666; }

/* 404 */
.page-404 {
  text-align: center;
  padding: 6rem 1.5rem;
}

.page-404 h1 {
  font-size: 6rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404 p { color: var(--color-text-muted); margin-bottom: 2rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: none;
}

.cookie-banner.visible { display: block; }

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  flex: 1;
  min-width: 260px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

.cookie-banner .btn { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* Legal pages */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.975rem;
  color: var(--color-text-muted);
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.cookies-table th,
.cookies-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.cookies-table th { background: var(--color-bg-alt); font-weight: 600; }

/* About team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

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

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--color-accent);
}

.team-member h3 { font-size: 1.125rem; }
.team-member .role { color: var(--color-accent-dark); font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.team-member p { font-size: 0.875rem; color: var(--color-text-muted); }

/* Service detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.service-includes {
  background: var(--color-bg-alt);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.service-includes h3 { margin-bottom: 1rem; }
.service-includes ul { margin-bottom: 0; }

@media (max-width: 768px) {
  .service-detail-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 { color: var(--color-surface); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent-dark); }
