/* ============================================
   Sanne Wendes Advisory — Stylesheet
   ============================================ */

/* ── Variables ── */
:root {
  --green:       #1B4D3E;
  --green-mid:   #2A6D53;
  --green-light: #e8f0ec;
  --cream:       #F7F5F0;
  --warm-white:  #FAFAF8;
  --gray:        #6b7c75;
  --gray-light:  #d4dbd7;
  --text:        #1a2e26;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--warm-white);
  font-size: 16px;
  line-height: 1.7;
}

/* ── Typography ── */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.2;
  color: var(--green);
  margin-bottom: 28px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.25;
  color: var(--green);
  margin-bottom: 28px;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 14px;
}

p { margin-bottom: 18px; color: var(--gray); }
p:last-child { margin-bottom: 0; }

.lead   { font-size: 18px; line-height: 1.8; }
.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--warm-white);
  border-bottom: 1px solid var(--gray-light);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

header .logo img { height: 52px; width: auto; display: block; }

/* ── Nav ── */
nav { display: flex; gap: 36px; align-items: center; }

nav a {
  text-decoration: none;
  color: var(--green);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.25s;
}

nav a:hover::after   { width: 100%; }
nav a:hover          { color: var(--green-mid); }
nav a.active         { font-weight: 500; }
nav a.active::after  { width: 100%; }

/* ── Dropdown ── */
.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: white;
  border: 1px solid var(--gray-light);
  min-width: 230px;
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(27,77,62,0.08);
}

.dropdown-menu.open { display: block; }

.dropdown-menu a {
  display: block;
  padding: 11px 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.dropdown-menu a:hover    { background: var(--green-light); }
.dropdown-menu a::after   { display: none; }

/* Hamburger — hidden on desktop */
.hamburger { display: none; }

/* ── Layout ── */
main { padding-top: 72px; min-height: 100vh; }

section { padding: 88px 48px; }

.container        { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 760px;  margin: 0 auto; }
.container-mid    { max-width: 960px;  margin: 0 auto; }

/* ── Section backgrounds ── */
.section-bg-cream { background: var(--cream); }

.section-bg-green { background: var(--green); color: white; }
.section-bg-green h2,
.section-bg-green h3  { color: white; }
.section-bg-green p   { color: rgba(255,255,255,0.75); }

/* ── Hero ── */
.hero {
  background: var(--cream);
  padding: 96px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-lead { font-size: 17px; color: var(--gray); line-height: 1.8; margin-bottom: 40px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--cream);
  padding: 96px 48px 72px;
  text-align: center;
  border-bottom: 1px solid var(--gray-light);
}

.page-hero .lead { max-width: 680px; margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
}

.btn:hover          { background: var(--green); color: white; }
.btn.filled         { background: var(--green); color: white; }
.btn.filled:hover   { background: var(--green-mid); border-color: var(--green-mid); }
.btn.loading        { opacity: 0.7; cursor: wait; }
.btn-group          { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Images ── */
.img-frame {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(27,77,62,0.12);
  display: block;
  width: 100%;
}

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

/* No forced aspect-ratio or cropping — images display at natural proportions */

/* ── Grid ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.grid-2.align-center { align-items: center; }

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.card {
  background: white;
  border: 1px solid var(--gray-light);
  padding: 48px 40px;
  transition: box-shadow 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card:hover { box-shadow: 0 12px 48px rgba(27,77,62,0.1); }

.card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 24px;
  font-weight: 400;
}

.card-link svg              { transition: transform 0.2s; }
.card:hover .card-link svg  { transform: translateX(4px); }

/* ── Lists ── */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.bullet-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--gray);
}

.bullet-list li::before {
  content: '—';
  color: var(--green);
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 2px;
}

.section-bg-green .bullet-list li          { color: rgba(255,255,255,0.8); }
.section-bg-green .bullet-list li::before  { color: rgba(255,255,255,0.4); }

/* ── Testimonial ── */
.testimonial {
  margin: 40px 0;
  padding: 32px 40px;
  border-left: 3px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

.testimonial p    { color: rgba(255,255,255,0.85); font-style: italic; font-size: 17px; line-height: 1.8; margin-bottom: 16px; }
.testimonial cite { color: rgba(255,255,255,0.5); font-size: 13px; letter-spacing: 0.06em; font-style: normal; }

/* ── Credibility box ── */
.cred-box {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--green);
  background: var(--cream);
  font-size: 15px;
  color: var(--gray);
}

.cred-box strong { color: var(--green); }

/* ── Intro text ── */
.intro-text {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray);
}

/* ── Contact ── */
.contact-section { background: var(--cream); padding: 88px 48px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
}

.contact-info a {
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 15px;
}

.contact-info a:hover { color: var(--green-mid); }

.contact-info .note {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-light);
  font-size: 15px;
  font-style: italic;
  color: var(--gray);
}

/* ── Forms ── */
form { display: flex; flex-direction: column; gap: 20px; }

form label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 400;
  display: block;
  margin-bottom: 6px;
}

form input,
form textarea {
  width: 100%;
  border: 1px solid var(--gray-light);
  background: white;
  padding: 12px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}

form input:focus,
form textarea:focus { border-color: var(--green); }

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

/* Honeypot — off-screen, not display:none (bots skip display:none) */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-feedback {
  display: none;
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 14px;
}

/* ── Footer ── */
footer {
  background: var(--green);
  color: rgba(255,255,255,0.6);
  padding: 64px 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

footer h4 {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  font-weight: 400;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: white;
  font-weight: 300;
  margin-bottom: 8px;
}

footer a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.2s;
}

footer a:hover { color: white; }

footer p { color: rgba(255,255,255,0.6); font-size: 14px; }

.footer-location {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Responsive: 900px ── */
@media (max-width: 900px) {
  header { padding: 0 24px; }

  section,
  .contact-section { padding-left: 24px; padding-right: 24px; }

  .hero,
  .grid-2,
  .cards,
  .footer-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  nav { gap: 20px; }

  .hero { padding: 64px 24px 48px; }
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
  header { padding: 0 20px; height: 60px; }
  header .logo img { height: 40px; }

  main { padding-top: 60px; }

  /* Slide-down mobile nav */
  nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--warm-white);
    border-top: 1px solid var(--gray-light);
    padding: 24px 20px 32px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }

  nav.open { display: flex; }

  nav a {
    font-size: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
    width: 100%;
    letter-spacing: 0.02em;
  }

  nav a::after { display: none; }

  .nav-dropdown { width: 100%; }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--green-light);
    padding: 0;
    display: none;
  }

  .dropdown-menu.open { display: block; }

  .dropdown-menu a {
    padding: 14px 20px;
    font-size: 17px;
    border-bottom: 1px solid var(--gray-light);
  }

  /* Hamburger */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1000;
  }

  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--green);
    transition: all 0.25s;
    border-radius: 2px;
  }

  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Layout */
  .hero {
    grid-template-columns: 1fr !important;
    padding: 40px 20px 48px !important;
    gap: 32px !important;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  section              { padding: 48px 20px !important; }
  .contact-section     { padding: 48px 20px !important; }
  .page-hero           { padding: 48px 20px 40px !important; text-align: left; }

  .grid-2,
  .cards,
  .footer-grid,
  .contact-grid { grid-template-columns: 1fr !important; gap: 28px !important; }

  .card     { padding: 28px 20px; }
  footer    { padding: 48px 20px 24px; }

  .btn-group { flex-direction: column; }
  .btn       { text-align: center; }

  .lead       { font-size: 16px; }
  .hero-lead  { font-size: 15px; }

  .cred-box   { padding: 20px; }
  .testimonial { padding: 24px 20px; }

  .container,
  .container-narrow,
  .container-mid { padding: 0; }
}

/* ── Print ── */
@media print {
  header, nav, .hamburger, .btn-group, .form-feedback { display: none !important; }
  main { padding-top: 0; }
  section { page-break-inside: avoid; }
}
