/* ==========================================================================
   Ralph Studiecoaching — shared stylesheet
   Soft, calm palette: sage green + warm cream + gentle peach accent
   ========================================================================== */

:root {
  /* Colours */
  --cream:        #FBF8F3;
  --cream-alt:    #F4EEE4;
  --sage:         #7FA695;
  --sage-dark:    #5C7F6E;
  --sage-soft:    #E1ECE5;
  --sky:          #A9C7D4;
  --peach:        #E7A98C;
  --peach-dark:   #D8916F;
  --text:         #3A454E;
  --muted:        #6E7A82;
  --line:         #E7DFD3;
  --white:        #FFFFFF;

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Misc */
  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 10px 30px rgba(92, 127, 110, 0.12);
  --shadow-soft: 0 4px 16px rgba(58, 69, 78, 0.06);
  --maxw:        1080px;
  --transition:  0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -0.3px; }
h3 { font-size: 1.25rem; }

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

a { color: var(--sage-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--peach-dark); }

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

/* --- Layout helpers ------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--tint { background: var(--cream-alt); }
.section--sage { background: var(--sage-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.text-center { text-align: center; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 40px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--peach); color: #fff; box-shadow: 0 8px 20px rgba(216, 145, 111, 0.3); }
.btn--primary:hover { background: var(--peach-dark); color: #fff; }

.btn--sage { background: var(--sage); color: #fff; box-shadow: 0 8px 20px rgba(92, 127, 110, 0.25); }
.btn--sage:hover { background: var(--sage-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--sage-dark); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: #fff; }

.btn--block { display: block; width: 100%; text-align: center; }

/* --- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--peach); flex: 0 0 auto; }
.brand small { display:block; font-size: 0.7rem; font-weight: 500; color: var(--sage-dark); letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { font-family: var(--font-head); font-size: 0.95rem; color: var(--text); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--sage-dark); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 30px; overflow: hidden;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
}
.lang-toggle button {
  background: transparent; border: none; cursor: pointer;
  padding: 6px 12px; color: var(--muted); transition: var(--transition);
}
.lang-toggle button.active { background: var(--sage); color: #fff; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 30px; height: 24px; position: relative;
}
.hamburger span {
  position: absolute; left: 0; height: 2.5px; width: 100%; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10.5px; }
.hamburger span:nth-child(3) { top: 21px; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 88px 0 80px;
  background:
    radial-gradient(1200px 400px at 80% -10%, var(--sage-soft), transparent 60%),
    radial-gradient(900px 380px at 0% 110%, #F6E7DC, transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.18rem; color: var(--text); max-width: 34ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta .tick { color: var(--sage); font-weight: 700; }

.hero-card {
  background: var(--white); border-radius: 24px; padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-card h3 { margin-bottom: 6px; }
.hero-card .price-lead { color: var(--sage-dark); font-weight: 600; font-family: var(--font-head); }
.hero-card ul { list-style: none; margin: 18px 0; }
.hero-card li { padding: 9px 0 9px 30px; position: relative; font-size: 0.95rem; color: var(--text); border-bottom: 1px dashed var(--line); }
.hero-card li:last-child { border-bottom: none; }
.hero-card li::before {
  content: "\2713"; position: absolute; left: 0; top: 8px;
  color: var(--sage); font-weight: 700;
}

/* --- Feature / why grid --------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sage-soft); margin-bottom: 16px; font-size: 1.4rem;
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 0.96rem; }

/* --- Package cards -------------------------------------------------------- */
.pkg-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pkg-card__top { padding: 28px 28px 20px; }
.pkg-card__tag { font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--peach-dark); }
.pkg-card h3 { margin: 8px 0 10px; }
.pkg-card__price { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--sage-dark); }
.pkg-card__price small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.pkg-card__body { padding: 0 28px 8px; flex: 1; }
.pkg-card__body ul { list-style: none; margin: 6px 0; }
.pkg-card__body li { padding: 7px 0 7px 26px; position: relative; font-size: 0.94rem; color: var(--text); }
.pkg-card__body li::before { content: "\2713"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.pkg-card__foot { padding: 20px 28px 28px; }
.pkg-card__foot .btn { width: 100%; text-align: center; }
.pkg-card.is-featured { border-color: var(--sage); box-shadow: var(--shadow); }
.pkg-card.is-featured .pkg-card__top { background: var(--sage-soft); }

/* --- Package detail page -------------------------------------------------- */
.detail-hero {
  padding: 64px 0 40px;
  background: radial-gradient(900px 300px at 90% -20%, var(--sage-soft), transparent 60%), var(--cream);
}
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.detail-hero .lead { max-width: 60ch; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 44px; align-items: start; margin-top: 20px; }
.detail-body h2 { margin: 34px 0 14px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { margin-bottom: 14px; }
.check-list { list-style: none; margin: 8px 0 8px; }
.check-list li { padding: 8px 0 8px 30px; position: relative; color: var(--text); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 8px; color: var(--sage); font-weight: 700; }

.price-box {
  position: sticky; top: 96px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow);
}
.price-box .amount { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--sage-dark); }
.price-box .amount small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price-box hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
.price-box .row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 6px 0; color: var(--text); }
.price-box .btn { width: 100%; text-align: center; margin-top: 18px; }
.price-box .note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* --- About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: start; }
.photo-frame {
  aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, var(--sage-soft), #F6E7DC);
  display: grid; place-items: center; text-align: center; color: var(--sage-dark);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.photo-frame span { font-family: var(--font-head); font-weight: 600; padding: 20px; font-size: 0.95rem; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  background: var(--white); border: 1px solid var(--line); border-radius: 30px;
  padding: 8px 16px; font-size: 0.85rem; font-family: var(--font-head); font-weight: 500;
  color: var(--sage-dark); box-shadow: var(--shadow-soft);
}

/* --- Steps ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-soft); }
.step .num {
  counter-increment: step;
  width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sage-soft); display: grid; place-items: center; font-size: 1.2rem; flex: 0 0 auto; }
.contact-info .info-item strong { font-family: var(--font-head); display: block; color: var(--text); }
.contact-info .info-item a { color: var(--sage-dark); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: 0.9rem; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.98rem; color: var(--text); background: var(--cream);
  transition: border var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--sage-soft); color: var(--sage-dark); font-size: 0.92rem; display: none; }
.form-msg.show { display: block; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--sage), var(--sage-dark)); border-radius: 24px; padding: 50px; text-align: center; color: #fff; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 26px; max-width: 46ch; margin-left: auto; margin-right: auto; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: #2F3A34; color: #cfd8d2; padding: 54px 0 26px; margin-top: 20px; }
.site-footer a { color: #cfd8d2; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand small { color: var(--sage); }
.footer-tagline { color: #b8c4bc; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px; font-size: 0.82rem; color: #9fb0a6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .price-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hamburger { display: block; }
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform 0.3s ease; z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .section { padding: 54px 0; }
  .steps, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; }
  .hero { padding: 56px 0; }
}
