:root {
  --navy: #14213d;
  --navy-2: #1d2f57;
  --gold: #e3b448;
  --gold-dark: #c99a2e;
  --cream: #faf6ee;
  --jungle: #2e6b4f;
  --ink: #1d2433;
  --muted: #5a6275;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(20, 33, 61, 0.12);
  --font-head: "League Spartan", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--jungle); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75em 1.6em;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font: 700 1rem var(--font-head);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.85); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-small { padding: 0.55em 1.2em; font-size: 0.95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 33, 61, 0.97);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; font: 700 1.3rem var(--font-head); }
.logo img { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-2); }
.logo em { font-style: normal; color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; opacity: 0.9; }
.site-nav a:not(.btn):hover { opacity: 1; color: var(--gold); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); transition: 0.2s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0.5rem 16px 1.25rem;
    background: var(--navy);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.75rem 0; width: 100%; text-align: center; }
  .site-nav .btn { margin-top: 0.5rem; }
  .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); }
}

/* Hero: castle photo with a dark overlay (gradient shows if the photo is missing) */
.hero {
  min-height: min(86vh, 720px);
  display: flex; align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(14, 22, 42, 0.85) 0%, rgba(14, 22, 42, 0.55) 55%, rgba(14, 22, 42, 0.25) 100%),
    url("/images/castle.webp") center / cover no-repeat,
    linear-gradient(135deg, var(--navy), #3a4f8a);
}
.hero-content { padding: 5rem 0; }
@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(rgba(14, 22, 42, 0.72), rgba(14, 22, 42, 0.78)),
      url("/images/castle.webp") 50% 30% / cover no-repeat,
      linear-gradient(135deg, var(--navy), #3a4f8a);
  }
}
.hero-content > * { max-width: 640px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; font-weight: 600; color: var(--gold); margin: 0 0 0.9rem; }
.eyebrow-dark { color: var(--jungle); }
.lead { font-size: 1.2rem; opacity: 0.92; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark a { color: var(--gold); }
.section-title { font-size: clamp(2rem, 4.2vw, 2.8rem); max-width: 760px; }
.subtitle { font: 600 1.15rem var(--font-head); color: var(--muted); margin: -0.4rem 0 1.25rem; }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-top { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split-top { grid-template-columns: minmax(0, 1fr); } }
.portrait img {
  width: 100%; height: auto; max-width: 420px; aspect-ratio: 1; object-fit: contain;
  margin-inline: auto;
}

/* Services */
.features {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1rem;
}
.features li {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--white); border-radius: 12px; padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 14px rgba(20, 33, 61, 0.06);
  font-weight: 600;
}
.icon {
  flex: none; display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-size: 0.95rem;
}
.callout {
  margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius); text-align: center;
  background: linear-gradient(135deg, var(--jungle), #245a42); color: var(--white);
}
.callout h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.callout p { margin: 0; opacity: 0.92; }

/* Contact form */
.contact-form { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 1rem; }
@media (max-width: 520px) { .field-row { flex-direction: column; gap: 0; } }
.field label { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.optional { opacity: 0.6; font-weight: 400; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.7em 0.85em;
  border: 2px solid transparent; border-radius: 10px;
  background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.cf-turnstile { margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; min-height: 1.5em; font-weight: 600; }
.form-status.success { color: #9be7bd; }
.form-status.error { color: #ffb4a8; }
.contact-direct { opacity: 0.88; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #0d162b; color: rgba(255,255,255,0.7); padding: 2rem 0; font-size: 0.95rem; }
.site-footer a { color: rgba(255,255,255,0.85); overflow-wrap: anywhere; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer-inner p { margin: 0; }
.credit { flex-basis: 100%; font-size: 0.85rem; opacity: 0.7; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); }
