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

:root {
  --bg:           #FAF8F5;
  --bg-warm:      #F2EAE0;
  --bg-dark:      #3A2A1C;
  --text:         #2A1F14;
  --text-muted:   #7A6555;
  --accent:       #A86C3C;
  --accent-dark:  #8A5228;
  --accent-light: #F0DCCC;
  --border:       #DDD0BF;
  --white:        #FFFFFF;

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

  --max-w: 1100px;
  --section-pad: 80px 24px;
  --radius: 4px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  text-decoration: underline;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: normal; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: normal; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: bold; margin-bottom: 8px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-light);
}

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

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.header-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ===== HERO ===== */
.hero {
  padding: 0;
  background: var(--bg-warm);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.hero-content {
  padding: 64px 48px 64px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.75;
}

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

.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
  overflow: hidden;
}

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

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

.section-warm {
  background: var(--bg-warm);
}

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

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

.section-dark .text-muted {
  color: rgba(255,255,255,0.65);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-dark .section-label {
  color: #D4A87A;
}

/* ===== FOR WHOM ===== */
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.for-whom-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.for-whom-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: normal;
}

.for-whom-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
}

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

/* ===== WHAT YOU'LL LEARN ===== */
.learn-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 40px;
}

.learn-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

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

.learn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.learn-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.learn-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.learn-icon svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.learn-item-text strong {
  display: block;
  color: var(--text);
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.learn-item-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== FORMAT ===== */
.format-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
  counter-reset: step-counter;
}

.format-step {
  position: relative;
}

.format-step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: normal;
}

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

.format-step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--border);
}

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

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

/* ===== LEAD FORM ===== */
.form-section {
  text-align: center;
}

.form-wrap {
  max-width: 520px;
  margin: 44px auto 0;
  text-align: left;
}

.form-wrap .section-label {
  text-align: center;
  display: block;
}

.form-wrap h2 {
  text-align: center;
}

.form-wrap p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

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

label {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: var(--accent);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-consent a {
  color: var(--accent);
}

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

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 44px auto 0;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
}

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

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

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

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.25s ease, border-color 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}

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

.faq-answer-inner {
  padding: 0 0 22px 0;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
}

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

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-logo span {
  color: #D4A87A;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
}

.footer-links h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  font-weight: 600;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #D4A87A;
  text-decoration: none;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

.footer-company {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  line-height: 1.7;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #2A1F14;
  color: rgba(255,255,255,0.85);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner.hidden {
  transform: translateY(110%);
}

.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 240px;
}

.cookie-banner a {
  color: #D4A87A;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: background 0.2s;
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
}

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

.cookie-btn-decline {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.18);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-page .back-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 36px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

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

.legal-page ul {
  margin: 12px 0 16px 20px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
}

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

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.success-inner {
  max-width: 480px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.success-icon svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.success-inner h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.success-inner p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root {
    --section-pad: 60px 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 320px;
    order: -1;
  }

  .hero-content {
    padding: 48px 20px 40px;
    max-width: none;
  }

  .for-whom-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .learn-image img {
    height: 280px;
  }

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

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

  .gallery-item:last-child {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

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

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

@media (max-width: 600px) {
  .format-steps {
    grid-template-columns: 1fr;
  }

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

  .gallery-item:last-child {
    display: block;
  }

  .header-cta {
    display: none;
  }

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

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

  .cookie-actions {
    width: 100%;
  }

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