/* ============================================
   ALBUMART HOME — Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #FAF7F2;
  --cream-dark: #F2EDE4;
  --terracotta: #B5704A;
  --terracotta-dark: #9A5C38;
  --terracotta-light: #D4956F;
  --charcoal: #2D2926;
  --charcoal-light: #5C5450;
  --sage: #7A9172;
  --sage-light: #A8BFA2;
  --gold: #C4965A;
  --border: #DDD5C8;
  --white: #FFFFFF;

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

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(45, 41, 38, 0.08);
  --shadow-lg: 0 6px 32px rgba(45, 41, 38, 0.12);
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  color: var(--terracotta-dark);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.3;
}

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

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

section {
  padding: 72px 0;
}

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

.section-title {
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 580px;
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(181, 112, 74, 0.35);
}

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

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--charcoal);
  font-weight: normal;
  letter-spacing: 0.02em;
}

.nav__logo span {
  color: var(--terracotta);
}

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

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

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  align-items: stretch;
}

.hero__content {
  padding: 72px 48px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--sage);
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 20px;
  color: var(--charcoal);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  margin-bottom: 36px;
  max-width: 440px;
}

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

.hero__note {
  font-size: 0.82rem;
  color: var(--charcoal-light);
}

.hero__image {
  position: relative;
  overflow: hidden;
}

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

/* ============================================
   FOR WHOM
   ============================================ */
.for-whom {
  background: var(--white);
}

.for-whom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.for-whom__card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
  position: relative;
}

.for-whom__card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--terracotta);
  margin-bottom: 20px;
  border-radius: 2px;
}

.for-whom__card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.for-whom__card p {
  font-size: 0.95rem;
  color: var(--charcoal-light);
}

/* ============================================
   COURSE FORMAT
   ============================================ */
.format {
  background: var(--cream-dark);
}

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

.format__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.format__list {
  list-style: none;
  margin-top: 32px;
}

.format__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}

.format__list li:last-child {
  border-bottom: none;
}

.format__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.format__list-text strong {
  display: block;
  margin-bottom: 2px;
  color: var(--charcoal);
}

.format__list-text span {
  color: var(--charcoal-light);
  font-size: 0.9rem;
}

/* ============================================
   CURRICULUM
   ============================================ */
.curriculum {
  background: var(--white);
}

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

.curriculum__module {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.curriculum__num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--terracotta-light);
  line-height: 1;
  min-width: 40px;
  font-weight: normal;
  opacity: 0.7;
}

.curriculum__info h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.curriculum__info p {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  margin: 0;
}

/* ============================================
   RESULTS / EXAMPLES
   ============================================ */
.results {
  background: var(--cream-dark);
  overflow: hidden;
}

.results__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.results__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.results__photo:hover img {
  transform: scale(1.03);
}

.results__caption {
  background: var(--cream);
  padding: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
}

.results__caption blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.results__caption blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--terracotta);
  border-radius: 2px;
}

.results__caption cite {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  font-style: normal;
}

/* ============================================
   MATERIALS
   ============================================ */
.materials {
  background: var(--white);
}

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

.materials__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.materials__list {
  list-style: none;
  margin-top: 28px;
}

.materials__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--charcoal-light);
}

.materials__list li::before {
  content: '◦';
  color: var(--terracotta);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.materials__note {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--charcoal-light);
  border-left: 3px solid var(--sage);
}

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

.faq__list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}

.faq__question:hover {
  background: var(--cream);
}

.faq__question svg {
  flex-shrink: 0;
  color: var(--terracotta);
  transition: transform var(--transition);
}

.faq__item.open .faq__question svg {
  transform: rotate(45deg);
}

.faq__answer {
  display: none;
  padding: 0 28px 22px;
  font-size: 0.95rem;
  color: var(--charcoal-light);
}

.faq__item.open .faq__answer {
  display: block;
}

/* ============================================
   LEAD FORM
   ============================================ */
.lead-form {
  background: var(--charcoal);
  color: var(--cream);
}

.lead-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lead-form__content .section-label {
  color: var(--terracotta-light);
}

.lead-form__content h2 {
  color: var(--cream);
  margin-bottom: 16px;
}

.lead-form__content p {
  color: rgba(250, 247, 242, 0.7);
  font-size: 0.97rem;
}

.lead-form__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.lead-form__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(250, 247, 242, 0.65);
}

.lead-form__trust-item::before {
  content: '✓';
  color: var(--sage-light);
  font-weight: bold;
  flex-shrink: 0;
}

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

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

.form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group .form-hint {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  margin-top: 6px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.form-consent {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--charcoal-light);
  text-align: center;
  line-height: 1.5;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  color: rgba(250, 247, 242, 0.6);
  padding: 48px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer__brand span {
  color: var(--terracotta-light);
}

.footer__desc {
  font-size: 0.87rem;
  line-height: 1.6;
}

.footer__company {
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.4);
  line-height: 1.8;
}

.footer__heading {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer__links a {
  color: rgba(250, 247, 242, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--cream);
}

.footer__bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.35);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal);
  color: var(--cream);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  width: calc(100% - 48px);
  font-size: 0.88rem;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.8);
}

.cookie-banner a {
  color: var(--terracotta-light);
}

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

.cookie-banner__accept {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}

.cookie-banner__accept:hover {
  background: var(--terracotta-dark);
}

.cookie-banner__close {
  background: transparent;
  color: rgba(250, 247, 242, 0.5);
  border: 1px solid rgba(250, 247, 242, 0.2);
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition);
}

.cookie-banner__close:hover {
  color: var(--cream);
}

.cookie-banner.hidden {
  display: none;
}

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

.success-page__icon {
  width: 72px;
  height: 72px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 28px;
}

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

.success-page p {
  color: var(--charcoal-light);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding: 64px 0 96px;
}

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

.legal-page .updated {
  font-size: 0.87rem;
  color: var(--charcoal-light);
  margin-bottom: 48px;
  display: block;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-content p,
.legal-content li {
  font-size: 0.97rem;
  color: var(--charcoal-light);
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }
  .format__inner,
  .materials__inner {
    gap: 40px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 52px 0;
  }

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

  .hero__content {
    padding: 48px 0 0;
    order: 2;
  }

  .hero__image {
    order: 1;
    height: 280px;
  }

  .hero__image img {
    height: 280px;
  }

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

  .format__inner,
  .materials__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .lead-form__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .form-card {
    padding: 28px 20px;
  }

  .nav__cta {
    display: none;
  }
}
