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

:root {
  --ink-dark: #1a1412;
  --ink-brown: #3d2b1f;
  --ink-clay: #8b5e3c;
  --ink-warm: #c4845a;
  --ink-sand: #e8d5b7;
  --ink-cream: #faf6ef;
  --ink-accent: #6b4c8f;
  --ink-accent-light: #9b7bbf;
  --ink-green: #4a7c59;
  --ink-red: #c0392b;
  --text-main: #1a1412;
  --text-muted: #6b5a4e;
  --text-light: #9e8a7a;
  --border: #e0d0c0;
  --shadow: 0 4px 24px rgba(61,43,31,0.10);
  --shadow-md: 0 8px 40px rgba(61,43,31,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --section-pad: 80px 20px;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-dark);
  color: #f5ede3;
  padding: 18px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

#cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

#cookie-banner p {
  flex: 1;
  min-width: 200px;
}

#cookie-banner a {
  color: var(--ink-sand);
  text-decoration: underline;
}

#cookie-accept {
  background: var(--ink-warm);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

#cookie-accept:hover {
  background: var(--ink-clay);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-brown);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--ink-warm);
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--ink-brown);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--ink-warm);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink-clay);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196,132,90,0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--ink-brown);
  border: 2px solid var(--ink-brown);
}

.btn-outline:hover {
  background: var(--ink-brown);
  color: var(--ink-cream);
}

.btn-large {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: var(--radius);
}

.nav-cta {
  padding: 9px 22px;
  font-size: 14px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-brown);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #fdf8f2 0%, #f5ece0 50%, #ede0d0 100%);
  padding: 80px 20px 60px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,132,90,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  background: rgba(196,132,90,0.15);
  color: var(--ink-clay);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-brown);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--ink-warm);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}

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

.hero-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

.hero-img-wrap {
  position: relative;
}

.hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-brown);
}

.hero-badge-icon {
  font-size: 28px;
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: var(--section-pad);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-warm);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--ink-brown);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* ===== ESSENCE SECTION ===== */
.essence {
  background: var(--ink-dark);
  color: #f5ede3;
  padding: var(--section-pad);
}

.essence .section-label {
  color: var(--ink-sand);
}

.essence .section-title {
  color: #f5ede3;
}

.essence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.essence-text p {
  color: rgba(245,237,227,0.80);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.essence-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-warm);
  line-height: 1;
  min-width: 36px;
  margin-top: 2px;
}

.pillar h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f5ede3;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 14px;
  color: rgba(245,237,227,0.65);
  line-height: 1.6;
}

/* ===== FOR WHOM ===== */
.forwhom {
  background: #fff;
}

.forwhom-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.forwhom-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--ink-cream);
  transition: transform 0.2s, box-shadow 0.2s;
}

.forwhom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.forwhom-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.forwhom-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-brown);
  margin-bottom: 10px;
}

.forwhom-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== LEARN ===== */
.learn {
  background: linear-gradient(180deg, #faf6ef 0%, #f3ece2 100%);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.learn-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-radius: var(--radius);
  border-left: 4px solid var(--ink-warm);
  box-shadow: 0 2px 12px rgba(61,43,31,0.06);
}

.learn-check {
  color: var(--ink-warm);
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.learn-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-brown);
  margin-bottom: 4px;
}

.learn-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.format-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.format-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--ink-warm), var(--ink-accent));
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--ink-warm), var(--ink-clay));
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(196,132,90,0.40);
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-brown);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--ink-cream);
  padding: var(--section-pad);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.materials-img-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-height: 360px;
}

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

/* ===== LEAD FORM ===== */
.leadform {
  background: linear-gradient(135deg, var(--ink-brown) 0%, #2a1a10 100%);
  color: #f5ede3;
  padding: var(--section-pad);
}

.leadform .section-title {
  color: #f5ede3;
}

.leadform .section-lead {
  color: rgba(245,237,227,0.75);
}

.leadform .section-label {
  color: var(--ink-sand);
}

.form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(245,237,227,0.90);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: #f5ede3;
  font-size: 16px;
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245,237,227,0.40);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink-warm);
  background: rgba(255,255,255,0.12);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f5ede3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--ink-brown);
  color: #f5ede3;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--ink-warm);
}

.form-consent label {
  font-size: 13px;
  color: rgba(245,237,227,0.65);
  line-height: 1.55;
}

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

.form-error {
  color: #e57373;
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

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

.btn-submit {
  width: 100%;
  background: var(--ink-warm);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: #d9925e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,132,90,0.45);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ===== FAQ ===== */
.faq {
  background: #fff;
}

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

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-brown);
  user-select: none;
  transition: color 0.2s;
}

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

.faq-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-arrow svg {
  transition: transform 0.3s;
  width: 12px;
  height: 12px;
}

.faq-item.open .faq-arrow {
  border-color: var(--ink-warm);
  background: var(--ink-warm);
}

.faq-item.open .faq-arrow svg {
  transform: rotate(180deg);
}

.faq-item.open .faq-arrow svg path {
  stroke: #fff;
}

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

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

.faq-answer p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink-dark);
  color: rgba(245,237,227,0.65);
  padding: 48px 20px 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-brand .logo {
  color: #f5ede3;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(245,237,227,0.90);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(245,237,227,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--ink-sand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(245,237,227,0.40);
}

.footer-copy {
  font-size: 12px;
  color: rgba(245,237,227,0.35);
  text-align: right;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  min-height: 100vh;
  background: var(--ink-cream);
}

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

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--ink-brown);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
  display: block;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-brown);
  margin: 36px 0 14px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  list-style: disc;
  margin-bottom: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-clay);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 36px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--ink-brown);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.success-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #fdf8f2, #f3ece2);
  text-align: center;
}

.success-box {
  max-width: 520px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--ink-warm), var(--ink-clay));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 36px;
}

.success-box h1 {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--ink-brown);
  margin-bottom: 16px;
  line-height: 1.2;
}

.success-box p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-img-wrap {
    order: -1;
  }

  .hero-badge {
    bottom: -12px;
    left: 12px;
  }

  .essence-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .forwhom-cards {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .format-steps::before {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .site-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--ink-cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    z-index: 99;
  }

  .site-nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .forwhom-cards {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-copy {
    text-align: left;
  }

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

  .btn-large {
    width: 100%;
  }
}
