/* DryBloomVase — styles.css */

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

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

:root {
  --clay: #B5543A;
  --clay-light: #C97055;
  --clay-dark: #8C3E29;
  --cream: #F5EFE6;
  --linen: #EDE4D7;
  --paper: #FAF7F3;
  --earth: #2C1A0E;
  --earth-mid: #5C3D26;
  --sage: #8A9E8B;
  --sage-light: #B4C4B5;
  --warm-gray: #968F87;
  --border: #DDD5C8;
  --shadow: rgba(44, 26, 14, 0.08);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

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

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--earth);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { max-width: 660px; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ===== HEADER ===== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--earth);
  letter-spacing: -0.01em;
}

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

.header-cta {
  background: var(--clay);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.header-cta:hover {
  background: var(--clay-dark);
}

/* ===== HERO ===== */
.hero {
  background: var(--cream);
  padding: 60px 20px 0;
  overflow: hidden;
}

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

.hero-content {
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-block;
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--earth-mid);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--earth-mid);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-image {
  align-self: flex-end;
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

/* ===== LEAD FORM ===== */
.lead-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 24px var(--shadow);
  max-width: 440px;
}

.lead-form-card h3 {
  margin-bottom: 6px;
}

.lead-form-card .form-sub {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--earth-mid);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--earth);
  background: var(--paper);
  transition: border-color 0.2s;
  outline: none;
}

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

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

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

.form-consent label {
  font-size: 0.78rem;
  color: var(--warm-gray);
  line-height: 1.5;
}

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

.btn-primary {
  width: 100%;
  background: var(--clay);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--clay-dark);
}

.btn-primary:active {
  transform: scale(0.99);
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--warm-gray);
  margin-top: 14px;
}

/* ===== SECTION: WHY ===== */
.section-why {
  background: var(--paper);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
  display: block;
}

.section-why h2 {
  margin-bottom: 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-item {
  border-top: 2px solid var(--clay);
  padding-top: 24px;
}

.why-item h3 {
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.925rem;
  color: var(--earth-mid);
}

/* ===== SECTION: FOR WHOM ===== */
.section-for {
  background: var(--cream);
}

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

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

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

.for-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.for-marker {
  width: 24px;
  height: 24px;
  background: var(--clay);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.for-marker::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.for-list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.for-list p {
  font-size: 0.9rem;
  color: var(--earth-mid);
  margin: 0;
}

/* ===== SECTION: PROCESS ===== */
.section-process {
  background: var(--paper);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--linen);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 20px;
  background: var(--paper);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--earth-mid);
}

/* ===== SECTION: GALLERY ===== */
.section-gallery {
  background: var(--linen);
  text-align: center;
}

.section-gallery h2 {
  margin-bottom: 12px;
}

.gallery-sub {
  font-size: 1rem;
  color: var(--earth-mid);
  margin: 0 auto 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-top: 0;
}

.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-grid img:last-child {
  height: 360px;
  object-fit: cover;
}

/* ===== SECTION: INSTRUCTOR ===== */
.section-instructor {
  background: var(--paper);
}

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

.instructor-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.instructor-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}

.instructor-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.instructor-bio {
  color: var(--earth-mid);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.instructor-facts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.fact strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--clay);
  line-height: 1;
}

.fact span {
  font-size: 0.8rem;
  color: var(--warm-gray);
}

/* ===== SECTION: FAQ ===== */
.section-faq {
  background: var(--cream);
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  gap: 16px;
  user-select: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clay);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

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

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

.faq-answer p {
  padding-bottom: 20px;
  color: var(--earth-mid);
  font-size: 0.925rem;
}

/* ===== SECTION: LEAD FORM BOTTOM ===== */
.section-form {
  background: var(--earth);
  color: #fff;
  padding: var(--section-pad);
}

.section-form .container {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
}

.form-intro h2 {
  color: #fff;
  margin-bottom: 16px;
}

.form-intro p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

.section-form .lead-form-card {
  background: var(--paper);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--earth);
  color: rgba(255,255,255,0.5);
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand .logo {
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--earth);
  color: rgba(255,255,255,0.85);
  padding: 20px;
  z-index: 1000;
  border-top: 1px solid rgba(255,255,255,0.12);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

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

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.6;
  flex: 1;
  min-width: 260px;
}

.cookie-text a {
  color: var(--clay-light);
  text-decoration: underline;
}

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

.btn-cookie-accept {
  background: var(--clay);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}

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

.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s, border-color 0.2s;
}

.btn-cookie-decline:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.4);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--cream);
}

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

.success-icon::after {
  content: '✓';
  color: #fff;
  font-size: 2rem;
}

.success-page h1 {
  margin-bottom: 16px;
}

.success-page p {
  color: var(--earth-mid);
  font-size: 1.05rem;
  margin: 0 auto 32px;
  max-width: 480px;
}

.btn-back {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-back:hover {
  background: var(--clay-dark);
}

/* ===== LEGAL PAGES ===== */
.legal-header {
  background: var(--cream);
  padding: 60px 20px 40px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  margin-bottom: 8px;
}

.legal-date {
  color: var(--warm-gray);
  font-size: 0.875rem;
}

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

.legal-content h2 {
  font-size: 1.2rem;
  margin: 32px 0 10px;
}

.legal-content p {
  color: var(--earth-mid);
  font-size: 0.925rem;
  margin-bottom: 14px;
  max-width: none;
}

.legal-content ul {
  margin: 10px 0 14px 20px;
  color: var(--earth-mid);
  font-size: 0.925rem;
}

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

.legal-nav {
  background: var(--paper);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.legal-nav a {
  color: var(--clay);
  font-size: 0.875rem;
}

.legal-nav a:hover {
  text-decoration: underline;
}

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

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 280px;
    border-radius: 12px;
  }

  .hero-content {
    padding-bottom: 0;
  }

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

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

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

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

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

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

  .gallery-grid img {
    height: 260px;
  }

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

  .instructor-photo img {
    height: 300px;
  }

  .section-form .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-form .lead-form-card {
    max-width: 100%;
  }
}

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

  .lead-form-card {
    padding: 24px 18px;
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-inner {
    flex-direction: column;
  }

  .instructor-facts {
    gap: 20px;
  }

  .hero {
    padding: 40px 20px 0;
  }

  section {
    padding: 60px 20px;
  }
}
