/* ===== Design tokens ===== */
:root {
  --navy: #14213d;
  --navy-light: #1f3159;
  --gold: #c8973b;
  --gold-light: #e0b563;
  --cream: #f7f5f1;
  --white: #ffffff;
  --text: #2a2f3a;
  --text-muted: #6b7280;
  --border: #e5e2da;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(20, 33, 61, 0.08);
  --max-width: 1120px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

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

ul { list-style: none; }

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

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

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

section { padding: 80px 0; }

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ===== Header / Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

header .logo { flex-shrink: 1; min-width: 0; }
.logo span { color: var(--gold); }

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
}
.nav-links a.active,
.nav-links a:hover { color: var(--gold); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--navy-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 110px 0;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p.tagline {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.hero p.lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 12px auto 0; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.stat { text-align: center; }
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 700;
}
.stat .label { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ===== Cards / grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 151, 59, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card ul { margin-top: 14px; }
.card ul li {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== Two column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img, .two-col .placeholder-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.placeholder-img {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  text-align: center;
  padding: 24px;
}

.two-col img.photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.two-col img.photo.full {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

/* ===== Alt background section ===== */
.alt-bg { background: var(--white); }

/* ===== Testimonials ===== */
.testimonial {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial p.quote { color: var(--text); font-style: italic; margin-bottom: 16px; }
.testimonial .who { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial .role { color: var(--text-muted); font-size: 0.82rem; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ===== Forms ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
input, textarea, select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}
.form-status.success { background: #e6f4ea; color: #1e7d32; display: block; }
.form-status.error { background: #fdecea; color: #b3261e; display: block; }

/* ===== Contact info cards ===== */
.contact-info {
  display: grid;
  gap: 20px;
}
.contact-info .item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info .item .icon {
  width: 40px; height: 40px;
  background: rgba(200,151,59,0.12);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info .item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-info .item p { font-size: 0.9rem; margin: 0; }

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; font-family: 'Inter', sans-serif; }
footer .logo { color: var(--white); margin-bottom: 12px; }
footer .logo span { color: var(--gold); }
footer p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat .num { font-size: 1.8rem; }
}

@media (max-width: 700px) {
  .logo { font-size: 1.05rem; gap: 5px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
