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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: #2c3e50;
  background-color: #ffffff;
  line-height: 1.7;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: #0a2e44;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

section {
  padding: 5rem 0;
}

/* ===== COLORS ===== */
:root {
  --ocean-deep: #0a2e44;
  --ocean-mid: #1a5c82;
  --ocean-light: #4a9bbf;
  --ocean-pale: #c8e6f5;
  --sand: #f5f0e8;
  --sand-dark: #e8dfc8;
  --coral: #c0614e;
  --coral-hover: #a34d3c;
  --foam: #f8fafb;
  --text-dark: #1a2d3d;
  --text-mid: #4a6070;
  --text-light: #6e8898;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background-color: var(--coral);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}

.btn-primary:hover {
  background-color: var(--coral-hover);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: var(--ocean-deep);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--ocean-pale);
}

.nav-cta {
  display: none;
}

@media (min-width: 640px) {
  .nav-cta {
    display: block;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,46,68,0.3) 0%,
    rgba(10,46,68,0.1) 40%,
    rgba(10,46,68,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  padding: 8rem 1.5rem 4rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean-pale);
  margin-bottom: 1rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== RESULT SECTION ===== */
.section-result {
  background: var(--sand);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.result-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,46,68,0.15);
}

.result-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.result-image:hover img {
  transform: scale(1.02);
}

.result-text .section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean-mid);
  margin-bottom: 0.8rem;
}

.result-text h2 {
  margin-bottom: 1.2rem;
}

.result-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* ===== FOR WHOM ===== */
.section-whom {
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-header .section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean-mid);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
}

.whom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 580px) {
  .whom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .whom-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.whom-card {
  background: var(--foam);
  border: 1px solid #e8eff4;
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.whom-card:hover {
  box-shadow: 0 8px 30px rgba(10,46,68,0.1);
  transform: translateY(-3px);
}

.whom-icon {
  width: 48px;
  height: 48px;
  background: var(--ocean-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.whom-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.whom-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
}

/* ===== WHAT YOU LEARN ===== */
.section-learn {
  background: var(--ocean-deep);
  color: #fff;
}

.section-learn h2 {
  color: #fff;
}

.section-learn .section-header .section-label {
  color: var(--ocean-pale);
}

.section-learn .section-header p {
  color: rgba(255,255,255,0.72);
}

.learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .learn-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.learn-list {
  list-style: none;
}

.learn-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.learn-list li:last-child {
  border-bottom: none;
}

.learn-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #fff;
}

.learn-list-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.learn-list-text span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.learn-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.learn-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ===== METHOD ===== */
.section-method {
  background: var(--sand);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.method-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(10,46,68,0.13);
  order: -1;
}

@media (min-width: 768px) {
  .method-image {
    order: 0;
  }
}

.method-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.method-text .section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean-mid);
  margin-bottom: 0.8rem;
}

.method-text h2 {
  margin-bottom: 1.2rem;
}

.method-text p {
  color: var(--text-mid);
  font-size: 1.02rem;
}

.method-steps {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.method-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--ocean-mid);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.method-step p {
  font-size: 0.97rem;
  color: var(--text-dark);
  margin: 0;
  padding-top: 0.3rem;
}

/* ===== FORMAT ===== */
.section-format {
  background: #fff;
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 580px) {
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .format-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.format-card {
  background: var(--foam);
  border: 1px solid #e4edf3;
  border-radius: 6px;
  padding: 1.8rem 1.5rem;
  text-align: center;
}

.format-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.format-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--ocean-deep);
}

.format-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* ===== LEAD FORM ===== */
.section-form {
  background: var(--ocean-mid);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-form::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.section-form::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.form-wrapper {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.form-wrapper h2 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.form-wrapper .form-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.lead-form {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-field {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d1dde6;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--ocean-light);
  box-shadow: 0 0 0 3px rgba(74,155,191,0.15);
}

.form-field input::placeholder {
  color: #a0b4c2;
}

.form-consent {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.4rem;
  text-align: left;
  line-height: 1.5;
}

.form-consent a {
  color: var(--ocean-mid);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* ===== FAQ ===== */
.section-faq {
  background: var(--foam);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #dde8ef;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--ocean-deep);
  cursor: pointer;
  text-align: left;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--ocean-mid);
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ocean-pale);
  color: var(--ocean-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: background 0.2s, transform 0.25s;
}

.faq-item.open .faq-toggle {
  background: var(--ocean-mid);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.2rem;
}

.faq-answer p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ocean-deep);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.footer-col h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,46,68,0.97);
  color: #fff;
  padding: 1.2rem 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--ocean-pale);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}

.btn-cookie-accept:hover {
  background: var(--coral-hover);
}

.btn-cookie-dismiss {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.6rem 1.1rem;
  border-radius: 4px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}

.btn-cookie-dismiss:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
  background: var(--ocean-deep);
  color: #fff;
  padding: 7rem 0 3.5rem;
}

.legal-hero h1 {
  color: #fff;
}

.legal-hero .legal-updated {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.6rem;
}

.legal-body {
  padding: 3.5rem 0 5rem;
  background: #fff;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--ocean-deep);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content strong {
  color: var(--text-dark);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.success-card {
  background: #fff;
  border-radius: 10px;
  padding: 4rem 3rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(10,46,68,0.12);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--ocean-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  font-size: 2.2rem;
}

.success-card h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.success-card p {
  color: var(--text-mid);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.success-back {
  margin-top: 2rem;
  display: inline-block;
  font-size: 0.9rem;
  color: var(--ocean-mid);
  text-decoration: underline;
}

/* ===== DIVIDER WAVE ===== */
.wave-divider {
  height: 60px;
  background: var(--sand);
  clip-path: ellipse(70% 100% at 50% 0%);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  section {
    padding: 3.5rem 0;
  }

  .lead-form {
    padding: 2rem 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .success-card {
    padding: 2.5rem 1.5rem;
  }
}
