:root {
  --color-flax: #eaddcf;
  --color-flax-light: #f7f3ee;
  --color-sage: #9ca799;
  --color-charcoal: #2d2a26;
  --color-charcoal-light: #4a4742;
  --color-white: #ffffff;
  --color-brown-warm: #8c6e53;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Nunito', sans-serif;

  --spacing-unit: 1rem;
  --section-padding: 6rem;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-charcoal);
  background-color: var(--color-flax-light);
  line-height: 1.6;
  font-size: 1.125rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--color-charcoal);
  font-weight: 600;
}

a {
  color: var(--color-brown-warm);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-charcoal);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.bg-alt {
  background-color: var(--color-white);
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--color-brown-warm);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  display: inline-block;
  background-color: transparent;
  color: var(--color-charcoal);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--color-charcoal);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-sm:hover {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

.btn-full {
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(45, 42, 38, 0.05);
  transition: transform 0.3s ease;
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: 1px;
}

.logo:hover {
  color: var(--color-brown-warm);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-list a {
  color: var(--color-charcoal);
  font-size: 1rem;
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--color-brown-warm);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  transition: all 0.3s;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(247, 243, 238, 0.95) 0%, rgba(247, 243, 238, 0.7) 50%, rgba(247, 243, 238, 0.2) 100%);
}

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

.hero-content {
  max-width: 600px;
  margin-left: 0;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-charcoal-light);
  margin-bottom: 2.5rem;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.problem-card {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border-top: 3px solid var(--color-sage);
}

.problem-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--color-charcoal-light);
  font-size: 1rem;
}

.transformation-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.check-list {
  list-style: none;
  margin-top: 2rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-sage);
  font-weight: bold;
}

.transformation-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

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

.format-item {
  display: flex;
  flex-direction: column;
}

.format-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-sage);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.format-item h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modules-wrapper {
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.module {
  border-bottom: 1px solid rgba(45, 42, 38, 0.1);
  padding: 2rem 0;
}

.module-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.module-num {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-brown-warm);
  font-weight: 600;
}

.module-title {
  font-size: 1.75rem;
  margin: 0;
}

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

.images-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.for-whom-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.for-whom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.portrait-list {
  list-style: none;
  margin-top: 2rem;
}

.portrait-list li {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(45, 42, 38, 0.1);
}

.portrait-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.portrait-list h4 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-subtitle {
  margin-bottom: 2rem;
  color: var(--color-charcoal-light);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(45, 42, 38, 0.2);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--color-flax-light);
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-brown-warm);
  background-color: var(--color-white);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-charcoal-light);
}

.error-message {
  display: none;
  color: #d9534f;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.form-group.has-error input {
  border-color: #d9534f;
}

.form-group.has-error .error-message {
  display: block;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(45, 42, 38, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-charcoal);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--color-charcoal-light);
}

.footer {
  background-color: var(--color-charcoal);
  color: var(--color-flax-light);
  padding: 4rem 0 2rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--color-white);
}

.footer-desc {
  margin-top: 1rem;
  color: rgba(247, 243, 238, 0.7);
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(247, 243, 238, 0.7);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-info p {
  color: rgba(247, 243, 238, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-info a {
  color: rgba(247, 243, 238, 0.7);
}

.footer-info a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 238, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(247, 243, 238, 0.5);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.5rem 0;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  font-size: 0.875rem;
  margin: 0;
}

.page-padding {
  padding: 8rem 0 4rem 0;
}

.content-page {
  max-width: 800px;
}

.content-page h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.last-updated {
  color: var(--color-charcoal-light);
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section p, .legal-section ul {
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 2rem;
}

.page-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-charcoal-light);
}

.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .transformation-container,
  .for-whom-container {
    grid-template-columns: 1fr;
  }
  .format-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section-padding { padding: 4rem 0; }
  .hero-bg::after {
    background: linear-gradient(to bottom, rgba(247, 243, 238, 0.9) 0%, rgba(247, 243, 238, 0.8) 100%);
  }
  .images-gallery {
    grid-template-columns: 1fr;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease-in-out;
  }

  .nav-list.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .form-wrapper { padding: 2rem 1.5rem; }
}
