/* =====================
   NEXVARODAN — styles.css
   ===================== */

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

:root {
  --cream: #FAF7F2;
  --sand: #EDE0CC;
  --clay: #C4572A;
  --clay-dark: #A3441F;
  --clay-light: #E87D50;
  --brown: #5C3820;
  --brown-light: #8B5E3C;
  --text: #2C1810;
  --text-muted: #7A5A46;
  --white: #FFFFFF;
  --border: #D9C4A8;
  --shadow: rgba(44, 24, 16, 0.12);

  --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;

  --max-width: 1100px;
  --section-pad: 80px 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--clay);
  text-decoration: none;
}

a:hover {
  color: var(--clay-dark);
  text-decoration: underline;
}

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

/* =====================
   TYPOGRAPHY
   ===================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: 1.25;
  color: var(--brown);
}

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

p {
  margin-bottom: 1em;
}

/* =====================
   LAYOUT UTILITIES
   ===================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-pad);
}

.section--alt {
  background-color: var(--sand);
}

.section--dark {
  background-color: var(--brown);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--sand);
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
  font-family: var(--font-main);
  font-weight: 600;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

/* =====================
   BUTTON
   ===================== */

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-main);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
  line-height: 1.3;
}

.btn--primary {
  background-color: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

.btn--primary:hover {
  background-color: var(--clay-dark);
  border-color: var(--clay-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--clay);
  border-color: var(--clay);
}

.btn--outline:hover {
  background-color: var(--clay);
  color: var(--white);
  text-decoration: none;
}

.btn--large {
  padding: 20px 48px;
  font-size: 1.1rem;
}

/* =====================
   HEADER / NAV
   ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--brown);
  font-weight: normal;
  letter-spacing: 0.02em;
}

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

.header-cta {
  font-size: 0.9rem;
}

/* =====================
   HERO
   ===================== */

.hero {
  padding: 0;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 40px;
  max-width: 600px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =====================
   FOR WHOM
   ===================== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
}

.audience-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.audience-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* =====================
   CURRICULUM
   ===================== */

.curriculum-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

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

.curriculum-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

.curriculum-list__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clay);
}

.curriculum-list__text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brown);
}

.curriculum-list__text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.curriculum-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px var(--shadow);
}

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

/* =====================
   FORMAT / PROGRAMME
   ===================== */

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.format-item {
  padding: 28px 24px;
  border-left: 3px solid var(--clay);
}

.format-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--sand);
}

.format-item p {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.7);
  margin: 0;
}

/* =====================
   RESULT / OUTCOME
   ===================== */

.result-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.result-image {
  border-radius: 8px;
  overflow: hidden;
}

.result-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

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

.result-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.result-list__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-color: var(--clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  margin-top: 3px;
}

.result-list__text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

/* =====================
   TRUST
   ===================== */

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
  text-align: center;
}

.trust-item {
  padding: 0 16px;
}

.trust-item__value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--clay);
  display: block;
  margin-bottom: 8px;
}

.trust-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =====================
   FAQ
   ===================== */

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}

.faq-question__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--clay);
  transition: transform 0.25s;
  line-height: 1;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* =====================
   LEAD FORM
   ===================== */

.form-section {
  background-color: var(--brown);
  color: var(--cream);
}

.form-section h2 {
  color: var(--sand);
}

.form-section .section-subtitle {
  color: rgba(250, 247, 242, 0.7);
}

.lead-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--sand);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(250, 247, 242, 0.08);
  border: 1px solid rgba(250, 247, 242, 0.25);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(250, 247, 242, 0.4);
}

.form-group select option {
  background-color: #FFFFFF;
  color: #2C1810;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clay-light);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e05050;
}

.field-error {
  display: none;
  font-size: 0.8rem;
  color: #e07070;
  margin-top: 6px;
}

.field-error.visible {
  display: block;
}

.form-consent {
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.55);
  margin-top: 16px;
  line-height: 1.5;
}

.form-consent a {
  color: rgba(250, 247, 242, 0.7);
  text-decoration: underline;
}

.form-submit {
  margin-top: 28px;
  width: 100%;
}

/* =====================
   FOOTER
   ===================== */

.site-footer {
  background-color: #1A0F0A;
  color: rgba(250, 247, 242, 0.6);
  padding: 48px 20px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand .logo {
  font-size: 1.2rem;
  color: rgba(250, 247, 242, 0.8);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.45);
  line-height: 1.8;
}

.footer-nav {
  padding-top: 4px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(250, 247, 242, 0.55);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: rgba(250, 247, 242, 0.9);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.35);
}

/* =====================
   COOKIE BANNER
   ===================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: #1A0F0A;
  border-top: 2px solid var(--clay);
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.8);
  flex: 1;
  min-width: 200px;
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--clay-light);
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn--cookie-accept {
  padding: 10px 24px;
  font-size: 0.875rem;
  background-color: var(--clay);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.btn--cookie-accept:hover {
  background-color: var(--clay-dark);
}

.btn--cookie-decline {
  padding: 10px 24px;
  font-size: 0.875rem;
  background-color: transparent;
  color: rgba(250, 247, 242, 0.6);
  border: 1px solid rgba(250, 247, 242, 0.25);
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn--cookie-decline:hover {
  color: rgba(250, 247, 242, 0.9);
  border-color: rgba(250, 247, 242, 0.5);
}

/* =====================
   LEGAL PAGES
   ===================== */

.legal-page {
  padding: 60px 20px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 12px;
}

.legal-page .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
  color: var(--brown);
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 1em;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--clay);
}

/* =====================
   SUCCESS PAGE
   ===================== */

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background-color: var(--clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
}

.success-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.success-page p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__image {
    height: 320px;
    order: -1;
  }

  .hero__content {
    padding: 48px 24px;
    max-width: none;
  }

  .curriculum-layout,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .curriculum-image,
  .result-image {
    order: -1;
  }

  .curriculum-image img,
  .result-image img {
    height: 280px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 56px 20px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn--large {
    padding: 16px 32px;
    font-size: 1rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .btn--cookie-accept,
  .btn--cookie-decline {
    flex: 1;
    text-align: center;
  }

  .trust-items {
    grid-template-columns: 1fr 1fr;
  }
}
