@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --clay: #8B6F5E;
  --clay-light: #A68575;
  --terra: #C4775E;
  --cream: #F5F0E8;
  --cream-dark: #EDE6D8;
  --dark: #2C2418;
  --dark-mid: #4A3D2F;
  --text: #3D3025;
  --text-muted: #7A6A58;
  --white: #FEFCF8;
  --border: rgba(139, 111, 94, 0.2);
  --radius: 2px;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark);
  color: var(--cream);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner p {
  flex: 1;
  min-width: 200px;
  opacity: 0.85;
}

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

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--terra);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

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

.btn-cookie-decline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(254, 252, 248, 0.3);
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.btn-cookie-decline:hover {
  border-color: rgba(254, 252, 248, 0.6);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(254, 252, 248, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.nav__logo span {
  color: var(--terra);
}

.nav__cta {
  background: var(--terra);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--clay);
  transform: translateY(-1px);
}

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

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(44, 36, 24, 0.78) 0%,
    rgba(44, 36, 24, 0.55) 55%,
    rgba(44, 36, 24, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 8rem 2rem 5rem;
  margin-left: clamp(1.5rem, 8vw, 8rem);
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(196, 119, 94, 0.15);
  border: 1px solid rgba(196, 119, 94, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--cream-dark);
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.82);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  padding: 0.9rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.btn-primary:hover {
  background: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 111, 94, 0.35);
}

.hero__note {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.6);
  font-weight: 300;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

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

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

.section__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
  display: block;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

.section__lead {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.section--dark .section__lead {
  color: rgba(245, 240, 232, 0.65);
}

.for-whom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
}

.for-whom__item {
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  margin-top: -1px;
  margin-left: -1px;
  transition: background 0.2s;
}

.for-whom__item:hover {
  background: var(--cream);
}

.for-whom__icon {
  width: 36px;
  height: 3px;
  background: var(--terra);
  margin-bottom: 1rem;
  border-radius: 2px;
}

.for-whom__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.for-whom__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.outcomes__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.outcomes__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.outcomes__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--terra);
  margin-top: 1px;
}

.outcomes__text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

.outcomes__text strong {
  display: block;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.outcomes__image {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.outcomes__image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.format-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.format-step {
  padding: 2rem 1.75rem;
  background: rgba(254, 252, 248, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: 4px;
}

.format-step__num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--terra);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1rem;
}

.format-step__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.format-step__text {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.65;
}

.portfolio-visual {
  margin-top: 3rem;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.portfolio-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2.5rem 2rem;
  background: linear-gradient(to top, rgba(44,36,24,0.85) 0%, transparent 100%);
}

.portfolio-caption__text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  max-width: 480px;
  line-height: 1.5;
}

.materials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.materials-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.materials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.materials-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.5;
}

.materials-list li::before {
  content: '—';
  color: var(--terra);
  flex-shrink: 0;
  font-family: var(--font-head);
}

.materials-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--terra);
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.4rem 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.2s;
}

.faq-icon::after {
  content: '+';
  font-size: 1rem;
  color: var(--terra);
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--terra);
}

.faq-item.open .faq-icon::after {
  color: var(--white);
}

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

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

.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.form-section__intro .section__title {
  color: var(--cream);
}

.form-section__intro .section__lead {
  color: rgba(245, 240, 232, 0.65);
  margin-top: 1rem;
}

.form-card {
  background: rgba(254, 252, 248, 0.07);
  border: 1px solid rgba(245, 240, 232, 0.14);
  border-radius: 6px;
  padding: 2.5rem 2.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 232, 0.6);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(254, 252, 248, 0.07);
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(245, 240, 232, 0.3);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--terra);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-consent {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.form-consent a {
  color: rgba(245, 240, 232, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__submit {
  width: 100%;
  background: var(--terra);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.form__submit:hover {
  background: var(--clay);
  transform: translateY(-1px);
}

.form-error {
  font-size: 0.78rem;
  color: #E07A5F;
  margin-top: 0.3rem;
  display: none;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #E07A5F;
}

.form-field.has-error .form-error {
  display: block;
}

.footer {
  background: var(--dark);
  color: var(--cream);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  margin-bottom: 1.75rem;
}

.footer__brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.footer__brand span {
  color: var(--terra);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--terra);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__company {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.35);
  line-height: 1.8;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.25);
}

.author-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.author-avatar {
  width: 200px;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar-placeholder svg {
  opacity: 0.3;
}

.author-name {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.85rem;
  color: var(--terra);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.author-bio {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 540px;
}

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  padding: 2rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--terra);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  color: var(--terra);
}

.success-icon svg {
  width: 28px;
  height: 28px;
}

.success-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.success-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.success-back {
  display: inline-block;
  color: var(--terra);
  font-size: 0.9rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.success-back:hover {
  opacity: 0.7;
}

.legal-page {
  padding: 8rem 2rem 4rem;
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.legal-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  display: block;
}

.legal-page h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
}

.legal-page ul li,
.legal-page ol li {
  margin-bottom: 0.4rem;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.legal-nav a {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--dark);
}

.legal-nav a span {
  color: var(--terra);
}

.legal-nav-back {
  font-size: 0.85rem;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s;
}

.legal-nav-back:hover {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .for-whom {
    grid-template-columns: 1fr;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .outcomes__image {
    order: -1;
  }

  .outcomes__image img {
    height: 260px;
  }

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

  .materials-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .materials-image img {
    height: 260px;
  }

  .form-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .author-section {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .author-avatar {
    width: 140px;
    height: 170px;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .nav__logo {
    font-size: 1.35rem;
  }

  .hero__content {
    margin-left: 0;
    padding: 7rem 1.25rem 4rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .portfolio-visual img {
    height: 320px;
  }

  .form-card {
    padding: 1.75rem 1.25rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
}

.animated {
  animation: fadeUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
