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

:root {
  --cream:            #FAF7F2;
  --cream-dark:       #F2EDE3;
  --sand:             #E4DACE;
  --blue:             #1B3F6B;
  --blue-light:       #2A5490;
  --blue-dark:        #0F2340;
  --stone:            #6B6259;
  --stone-light:      #9E9389;
  --ink:              #1A1714;
  --white:            #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo em { font-style: italic; color: var(--blue-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--stone);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-links a.active {
  font-weight: 600;
  border-bottom: 2px solid var(--blue-dark);
  padding-bottom: 2px;
}

.nav-cta {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 14px rgba(15,35,64,0.25);
  border-bottom: none !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover { background: var(--blue-light) !important; box-shadow: 0 6px 18px rgba(15,35,64,0.35) !important; }

/* PAGE WRAPPER */
.page {
  padding-top: 64px;
  min-height: 100svh;
}

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* SECTION */
.section { padding: 5rem 1.5rem; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }
.section--dark { background: var(--blue-dark); }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.section--dark .section-label { color: rgba(255,255,255,0.5); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.section--dark .section-title { color: var(--cream); }

.section-title em { font-style: italic; }

.section-intro {
  font-size: 1.05rem;
  color: var(--stone);
  max-width: 580px;
  line-height: 1.75;
}

.section--dark .section-intro { color: rgba(255,255,255,0.65); }

.section-header { margin-bottom: 3rem; }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(15,35,64,0.3);
}

.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,35,64,0.4); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover { border-color: var(--cream); background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 1.5px solid var(--blue-dark);
}

.btn-outline:hover { background: var(--blue-dark); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 4px 18px rgba(15,35,64,0.15);
}

.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,35,64,0.2); }

/* CARDS */
.card {
  background: var(--cream-dark);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

/* FORMS */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--cream-dark);
  border: 1px solid var(--sand);
  border-radius: 8px;
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-dark); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone-light); }

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

/* FOOTER */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.45);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cream); }

.footer-copy { font-size: 0.78rem; }

.hamburger { display: none; }

/* DECO LINES */
@keyframes deco-drift {
  0%   { transform: translate(0px, 0px) rotate(0deg) scale(1); }
  25%  { transform: translate(8px, -6px) rotate(0.4deg) scale(1.008); }
  50%  { transform: translate(4px, 10px) rotate(-0.3deg) scale(0.995); }
  75%  { transform: translate(-7px, 4px) rotate(0.2deg) scale(1.005); }
  100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
}

.deco-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
  opacity: 0.1;
  color: var(--blue-dark);
  animation: deco-drift 18s ease-in-out infinite;
  will-change: transform;
}

.deco-lines * { vector-effect: non-scaling-stroke; }

@media (prefers-reduced-motion: reduce) {
  .deco-lines { animation: none; }
}

.section { position: relative; }
.section > .container { position: relative; z-index: 1; }
.section > .section-header { position: relative; z-index: 1; }

/* FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: 0.1s; }
.fd2 { transition-delay: 0.2s; }
.fd3 { transition-delay: 0.3s; }
.fd4 { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: rgba(250,247,242,0.97); padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--sand); z-index: 99; }
  .hamburger { display: block; background: none; border: none; cursor: pointer; }
  .section { padding: 3.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}
