/* =============================================================
   Ravensburg Coaching — Design System (Mockup)
   Warm · premium · intuitive · calm
   ============================================================= */

:root {
  /* Colour palette */
  --petrol:        #1c4a44;   /* primary — depth, trust, "looking inward" */
  --petrol-deep:   #143834;
  --petrol-soft:   #2f615a;
  --gold:          #b8924f;   /* accent — warmth, premium */
  --gold-soft:     #d9c191;
  --sage:          #8ba79b;
  --cream:         #f7f2ea;   /* page background */
  --cream-deep:    #efe7d9;
  --paper:         #fffdf9;   /* card / surface */
  --ink:           #23302d;   /* body text */
  --ink-soft:      #4d5b57;
  --line:          #e3dac9;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing & shape */
  --radius:   18px;
  --radius-sm:10px;
  --shadow:   0 18px 50px -22px rgba(20,56,52,.45);
  --shadow-sm:0 8px 24px -12px rgba(20,56,52,.35);
  --maxw:     1140px;
  --gutter:   clamp(20px, 5vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 18px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); text-decoration: none; }
a:hover { color: var(--gold); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--petrol-deep);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--ink); line-height: 1.55; }

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

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--petrol { background: var(--petrol); color: var(--cream); }
.section--petrol h2, .section--petrol h3 { color: var(--cream); }
.section--petrol p { color: rgba(247,242,234,.82); }
.section--cream-deep { background: var(--cream-deep); }
.center { text-align: center; }
.measure { max-width: 56ch; }
.measure.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.7rem; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s ease; line-height: 1;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--petrol-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.btn--light { background: var(--cream); color: var(--petrol-deep); }
.btn--light:hover { background: var(--gold); color: #fff; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,234,.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--petrol-deep); }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand b { font-weight: 600; }
.brand span { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .98rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--petrol-deep); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--petrol-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem);
}
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { margin-bottom: 2rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: 220px 220px 24px 24px; box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; bottom: 1.4rem; left: -1.2rem; background: var(--paper);
  border-radius: var(--radius); padding: 1rem 1.3rem; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: .8rem; max-width: 250px;
}
.hero-badge .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold); line-height: 1; }
.hero-badge small { font-size: .82rem; color: var(--ink-soft); }
.hero-blob { position: absolute; inset: auto -10% -30% auto; width: 60%; height: 120%; background: radial-gradient(circle, rgba(184,146,79,.16), transparent 70%); z-index: -1; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-block: 1.8rem; }
.trust-item { display: flex; align-items: center; gap: .7rem; font-size: .95rem; color: var(--ink); font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ---------- Section header ---------- */
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 1rem; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-deep); color: var(--petrol); margin-bottom: 1.2rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .98rem; }

/* feature list (offer items) */
.offer-list { list-style: none; display: grid; gap: 1.1rem; }
.offer-list li { display: flex; gap: .9rem; align-items: flex-start; }
.offer-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--petrol);
  color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: 2px;
}
.offer-list b { color: var(--petrol-deep); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; display: block; }
.offer-list span { font-size: .96rem; color: var(--ink-soft); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 1.2rem; }

/* pull quote */
.pullquote { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); line-height: 1.3; color: var(--petrol-deep); font-style: italic; max-width: 22ch; }
.section--petrol .pullquote { color: var(--gold-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem; margin-bottom: .9rem;
}
.faq summary {
  cursor: pointer; font-family: var(--font-display); font-size: 1.15rem; color: var(--petrol-deep);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--gold); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .9rem; font-size: .98rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1rem;
}
.testi .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.testi blockquote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.45; color: var(--petrol-deep); font-style: italic; }
.testi .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testi .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-deep); color: var(--petrol); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.testi .who b { display: block; color: var(--petrol-deep); font-family: var(--font-body); font-size: .95rem; }
.testi .who small { color: var(--ink-soft); font-size: .85rem; }
@media (max-width: 880px){ .testi-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--petrol), var(--petrol-deep)); color: var(--cream); border-radius: var(--radius); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(247,242,234,.85); max-width: 50ch; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); }
.form-field { margin-bottom: 1.3rem; }
.form-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; color: var(--petrol-deep); }
.form-field input, .form-field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: var(--paper); color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,79,.15); }
.form-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.req { color: var(--gold); }
.info-card { background: var(--petrol); color: var(--cream); border-radius: var(--radius); padding: 2rem; }
.info-card h3 { color: #fff; margin-bottom: 1.3rem; }
.info-row { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.1rem; }
.info-row svg { width: 22px; height: 22px; color: var(--gold-soft); flex: none; margin-top: 3px; }
.info-row a, .info-row span { color: rgba(247,242,234,.92); }
.info-row a:hover { color: var(--gold-soft); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose p { margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-deep); color: rgba(247,242,234,.78); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-grid h4 { color: var(--gold-soft); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 1.1rem; }
.footer-grid a { color: rgba(247,242,234,.78); display: block; margin-bottom: .6rem; font-size: .95rem; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-brand p { color: rgba(247,242,234,.6); font-size: .92rem; max-width: 34ch; margin-top: .8rem; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(247,242,234,.25); display: grid; place-items: center; margin: 0; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(247,242,234,.15); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(247,242,234,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .hero-figure { max-width: 420px; margin-inline: auto; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { flex-direction: column; }
}
