@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {

  --emerald:          #70167e;
  --emerald-dark:     #4a2559;
  --emerald-mid:      #a60c56;
  --emerald-light:    #a60c56;
  --emerald-pale:     #f6f1e4;

  --gold:             #d18109;
  --gold-light:       #f8931f;
  --gold-pale:        #ffefe4;

  --white:            #ffffff;
  --cream:            #f6f1e4;
  --charcoal:         #25283e;
  --slate:            #5b5a7b;
  --border:           #e0e0e0;
  --mist:             #eff1f5;

  --font-display:     'Playfair Display', Georgia, serif;
  --font-body:        'DM Sans', system-ui, sans-serif;

  --sp-xs:   4px;
  --sp-sm:   8px;
  --sp-md:   16px;
  --sp-lg:   24px;
  --sp-xl:   40px;
  --sp-2xl:  64px;
  --sp-3xl:  96px;

  --r-xs:    3px;
  --r-sm:    5px;
  --r-md:    8px;
  --r-lg:    12px;
  --r-xl:    20px;
  --r-full:  9999px;

  --shadow-sm:  0 1px 4px  rgba(74,37,89,.08);
  --shadow-md:  0 4px 20px rgba(74,37,89,.10);
  --shadow-lg:  0 12px 40px rgba(74,37,89,.13);
  --shadow-xl:  0 24px 72px rgba(74,37,89,.16);

  --t-fast:  all .15s ease;
  --t-base:  all .25s ease;
  --t-slow:  all .40s ease;

  --max-w:   1240px;
  --gutter:  28px;

  --z-base:       1;
  --z-dropdown:   200;
  --z-header:     900;
  --z-overlay:    1000;
  --z-modal:      2000;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar          { width: 5px; }
::-webkit-scrollbar-track    { background: var(--mist); }
::-webkit-scrollbar-thumb    { background: var(--emerald); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald-mid); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--emerald-dark);
}

h1 { font-size: clamp(2.2rem, 5vw,   4.0rem); }
h2 { font-size: clamp(1.7rem, 3vw,   2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw,   1.6rem); }
h4 { font-size: 1.05rem; }
h5 { font-size:  .92rem; }
h6 { font-size:  .82rem; }

p { line-height: 1.75; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Section wrappers */
.section       { padding: var(--sp-3xl) 0; }
.section--sm   { padding: var(--sp-2xl) 0; }
.section--cream  { background: var(--cream); }
.section--mist   { background: var(--mist); }
.section--dark   { background: var(--emerald-dark); }
.section--emerald{ background: var(--emerald); }

/* ── Section header / eyebrow system ── */
.sec-hdr             { margin-bottom: var(--sp-2xl); }
.sec-hdr--center     { text-align: center; }
.sec-hdr--center .sec-sub  { margin-inline: auto; }
.sec-hdr--center .sec-rule { margin: 14px auto 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--emerald-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.sec-title em  { font-style: italic; color: var(--emerald-mid); }
.sec-title--white { color: var(--white); }
.sec-title--white em { color: var(--gold-light); }

.sec-sub {
  font-size: .94rem;
  color: var(--slate);
  line-height: 1.78;
  max-width: 580px;
}
.sec-sub--white { color: rgba(255,255,255,.7); }

.sec-rule {
  display: block;
  width: 44px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--emerald-light));
  border-radius: 2px;
  margin-top: 14px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-xs);
  font-family: var(--font-body);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--t-base);
  white-space: nowrap;
  line-height: 1;
}
.btn svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* Variants */
.btn--gold {
  background: var(--gold);
  color: var(--emerald-dark);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(209,129,9,.38);
}

.btn--emerald {
  background: var(--emerald);
  color: var(--white);
}
.btn--emerald:hover {
  background: var(--emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(112,22,126,.3);
}

.btn--outline-white {
  background: rgba(255,255,255,.09);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.36);
  backdrop-filter: blur(8px);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.72);
}

.btn--outline-emerald {
  background: transparent;
  color: var(--emerald);
  border: 1.5px solid var(--emerald);
}
.btn--outline-emerald:hover {
  background: var(--emerald);
  color: var(--white);
}

/* Sizes */
.btn--sm { padding:  9px 18px; font-size: .76rem; }
.btn--lg { padding: 16px 32px; font-size: .9rem;  }

/* ================================================================
   FORMS
   ================================================================ */
.form-group   { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-control:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(112,22,126,.08);
}
.form-control::placeholder { color: #aab0b8; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ================================================================
   BADGES
   ================================================================ */
.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge--emerald { background: var(--mist);      color: var(--emerald); }
.badge--gold    { background: var(--gold-pale);  color: #a05f07;        }
.badge--white {
  background: var(--emerald);
  border: 1px solid var(--emerald-dark);
  color: var(--white);
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible   { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }
.reveal--d4 { transition-delay: .4s; }

/* ================================================================
   UTILITIES
   ================================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.w-full    { width: 100%; }
.text-center  { text-align: center; }
hr.divider { border: none; height: 1px; background: var(--border); margin: var(--sp-xl) 0; }

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 1024px) { :root { --gutter: 24px; } }
@media (max-width: 768px)  {
  :root { --gutter: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .section  { padding: var(--sp-2xl) 0; }
}
@media (max-width: 480px)  { :root { --gutter: 16px; } }
