/* ==============================
   DogWardrobe — Global Styles
   ============================== */

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

:root {
  --cream: #FAF6EF;
  --warm-white: #FFFFFF;
  --primary: #8B4513;
  --primary-dark: #6B3410;
  --accent: #C4704A;
  --sage: #7A9E7E;
  --sage-light: #EBF3EC;
  --text-dark: #2A1810;
  --text-body: #4A3728;
  --text-muted: #8B7355;
  --border: #E5D5C0;
  --card-bg: #F5EDE0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(42, 24, 16, 0.08);
  --shadow-sm: 0 2px 8px rgba(42, 24, 16, 0.06);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================
   Header
   ============================== */

.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}

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

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s;
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* Mobile menu — hidden by default on all screen sizes */
.mobile-menu {
  display: none;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}

.mobile-menu.open {
  display: block;
}

/* ==============================
   Hero
   ============================== */

.hero {
  background: var(--warm-white);
  padding: 72px 0 0;
  overflow: hidden;
}

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

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

.hero-badge {
  display: inline-block;
  background: var(--sage-light);
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(139, 69, 19, 0.3);
}

.btn-secondary:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 440px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.hero-trust {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

/* ==============================
   For Whom
   ============================== */

.section {
  padding: 80px 0;
}

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.for-whom-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.for-whom-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.for-whom-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

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

/* ==============================
   Course Overview
   ============================== */

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

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

.course-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.course-modules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 10px;
}

.module-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.module-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.module-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==============================
   How It Works
   ============================== */

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

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

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

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

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--card-bg);
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* ==============================
   Results
   ============================== */

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

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

.results-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.result-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-top: 2px;
}

.result-item h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.result-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==============================
   Teacher
   ============================== */

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

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

.teacher-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-content h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 6px;
}

.teacher-title {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.teacher-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 24px;
}

.teacher-facts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.teacher-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.teacher-fact strong {
  color: var(--text-dark);
}

/* ==============================
   FAQ
   ============================== */

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

.faq-list {
  margin-top: 48px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--warm-white);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
}

.faq-question:hover {
  background: var(--card-bg);
}

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

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==============================
   Lead Form
   ============================== */

.form-section {
  background: var(--primary);
  padding: 80px 0;
}

.form-section .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.form-section .section-title {
  color: white;
}

.form-section .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

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

.form-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

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

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.perk-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-perk h4 {
  font-size: 1rem;
  color: white;
  margin-bottom: 3px;
}

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

/* ==============================
   Footer
   ============================== */

.site-footer {
  background: var(--text-dark);
  padding: 56px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

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

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-company {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

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

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

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

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ==============================
   Cookie Banner
   ============================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(0);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.2);
}

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

.cookie-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.btn-cookie-accept {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

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

.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

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

/* ==============================
   Success / Legal pages
   ============================== */

.page-hero {
  background: var(--warm-white);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label {
  margin-bottom: 10px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
}

.legal-content {
  padding: 64px 0;
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  display: inline-block;
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 36px;
}

/* Success page */
.success-wrap {
  padding: 100px 0;
  text-align: center;
}

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

.success-wrap h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.success-wrap p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ==============================
   Responsive
   ============================== */

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

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

  .hero-image {
    order: 2;
    min-height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .course-grid,
  .results-grid,
  .teacher-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .teacher-photo {
    max-width: 280px;
    aspect-ratio: 1;
  }

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

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

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

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

  .step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  .step-num {
    margin: 0;
    flex-shrink: 0;
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 48px 0 0;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: none;
    background: var(--warm-white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
  }

  .mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-items {
    gap: 20px;
    justify-content: flex-start;
  }

  .teacher-photo {
    max-width: 100%;
  }
}
