@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Mulish:wght@400;600&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Mulish', sans-serif; font-size: 16px; line-height: 1.7; color: var(--dark); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ===== CSS VARIABLES ===== */
:root {
  --terra: #B85C38;
  --clay: #8C4A2F;
  --sand: #E8C8A0;
  --cream: #FBF6EE;
  --dark: #3A2A1E;
  --light-text: #FBF6EE;
  --radius-card: 14px;
  --radius-btn: 999px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: 'Fraunces', serif; font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--terra); color: var(--light-text); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { color: inherit; }
.section-title p { max-width: 640px; margin: 0.75rem auto 0; opacity: 0.85; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 3px solid var(--terra);
  padding: 0.9rem 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }

/* ===== NAV ===== */
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terra);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--dark); transition: color 0.2s; }
.nav-links a:hover { color: var(--terra); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--terra);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,42,30,0.82) 0%, rgba(140,74,47,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--light-text);
  padding: 3rem 0;
}
.hero-content h1 { color: var(--light-text); margin-bottom: 1.2rem; }
.hero-content .hero-sub { font-size: 1.15rem; margin-bottom: 1.5rem; opacity: 0.92; }
.hero-disclaimer {
  font-size: 0.82rem;
  opacity: 0.75;
  margin-bottom: 2rem;
  border-left: 3px solid var(--sand);
  padding-left: 0.75rem;
  line-height: 1.5;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-btn);
  background: var(--terra);
  color: var(--light-text);
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn:hover { background: var(--clay); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--light-text);
  color: var(--light-text);
}
.btn-outline:hover { background: var(--light-text); color: var(--terra); }

/* ===== ABOUT SECTION ===== */
.section-about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-text h2 { color: var(--terra); }
.about-text p { color: var(--dark); }
.about-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(58,42,30,0.15);
}
.about-img img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* ===== BENEFIT CARDS ===== */
.section-benefits { background: var(--terra); color: var(--light-text); }
.section-benefits .section-title h2 { color: var(--light-text); }
.section-benefits .section-title p { color: var(--sand); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.benefit-card {
  background: var(--cream);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(58,42,30,0.12);
  transition: transform 0.25s;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.benefit-card-body { padding: 1.2rem 1.4rem; }
.benefit-card-body h3 { color: var(--terra); margin-bottom: 0.5rem; }
.benefit-card-body p { color: var(--dark); font-size: 0.95rem; }

/* ===== STEPS ===== */
.section-steps { background: var(--cream); }
.steps-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.steps-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--light-text);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-text h3 { color: var(--dark); margin-bottom: 0.3rem; }
.step-text p { color: #6b5244; font-size: 0.95rem; }
.steps-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(58,42,30,0.15);
}
.steps-img img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* ===== STATS ===== */
.section-stats { background: var(--sand); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 2rem 1rem; }
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--terra);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-weight: 600; color: var(--dark); font-size: 0.95rem; }

/* ===== POSTER BLOCK ===== */
.section-poster { padding: 0; }
.poster-block {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}
.poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58,42,30,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.poster-play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(251,246,238,0.2);
  border: 3px solid var(--light-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--light-text);
}
.poster-caption { color: var(--light-text); font-size: 1.2rem; font-family: 'Fraunces', serif; font-weight: 600; text-align: center; max-width: 540px; padding: 0 1.5rem; }

/* ===== TIPS CARDS ===== */
.section-tips { background: var(--cream); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}
.tip-card {
  background: var(--cream);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(58,42,30,0.10);
  transition: transform 0.25s;
}
.tip-card:hover { transform: translateY(-4px); }
.tip-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.tip-card-body { padding: 1.2rem 1.4rem; }
.tip-card-body h3 { color: var(--terra); margin-bottom: 0.5rem; }
.tip-card-body p { color: var(--dark); font-size: 0.95rem; }
.disclaimer-box {
  background: var(--sand);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius-card);
  padding: 1.2rem 1.6rem;
  font-size: 0.9rem;
  color: var(--dark);
}
.disclaimer-box strong { color: var(--clay); }

/* ===== TESTIMONIALS ===== */
.section-testimonials { background: var(--sand); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  box-shadow: 0 4px 18px rgba(58,42,30,0.10);
}
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testimonial-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sand);
}
.testimonial-meta strong { display: block; color: var(--terra); font-weight: 700; }
.testimonial-meta span { font-size: 0.85rem; color: #6b5244; }
.testimonial-text { font-size: 0.95rem; color: var(--dark); font-style: italic; }

/* ===== COMPARISON ===== */
.section-comparison { background: var(--cream); }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.comparison-tier {
  background: var(--cream);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  box-shadow: 0 4px 18px rgba(58,42,30,0.10);
}
.comparison-tier.tier-featured { border-left-color: var(--clay); background: var(--sand); }
.comparison-tier h3 { color: var(--terra); margin-bottom: 1rem; font-size: 1.2rem; }
.comparison-tier ul { display: flex; flex-direction: column; gap: 0.5rem; }
.comparison-tier ul li {
  font-size: 0.93rem;
  color: var(--dark);
  padding-left: 1.2rem;
  position: relative;
}
.comparison-tier ul li::before { content: '✓'; position: absolute; left: 0; color: var(--terra); font-weight: 700; }

/* ===== FAQ ===== */
.section-faq { background: var(--sand); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--cream); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 2px 10px rgba(58,42,30,0.08); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.6rem;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--terra); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--terra); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--dark);
  font-size: 0.95rem;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 1.6rem 1.2rem; }

/* ===== CONTACT ===== */
.section-contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-form-wrapper h3, .contact-info-wrapper h3 { color: var(--terra); margin-bottom: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--dark); }
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--sand);
  border-radius: 10px;
  font-family: 'Mulish', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--terra); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-btn { width: 100%; }
.form-error { color: #c0392b; font-size: 0.9rem; margin-bottom: 0.8rem; min-height: 1.2em; }
.form-success { display: none; background: #e8f5e9; color: #2e7d32; border-radius: 10px; padding: 0.9rem 1.2rem; margin-top: 1rem; font-weight: 600; }
.contact-info-wrapper address { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.contact-info-wrapper address span, .contact-info-wrapper address a { font-size: 0.97rem; color: var(--dark); }
.contact-info-wrapper address a:hover { color: var(--terra); }
.map-wrapper { border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 4px 18px rgba(58,42,30,0.12); margin-top: 1.2rem; }
.map-wrapper iframe { width: 100%; height: 350px; border: none; display: block; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: var(--light-text);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 999;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 0.9rem; margin: 0; }
.cookie-banner a { color: var(--sand); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.cookie-btn-accept { background: var(--terra); color: var(--light-text); }
.cookie-btn-accept:hover { background: var(--clay); }
.cookie-btn-decline { background: transparent; border-color: var(--sand); color: var(--sand); }
.cookie-btn-decline:hover { background: var(--sand); color: var(--dark); }
.cookie-banner.hidden { display: none; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--light-text); padding: 2.5rem 0; }
.footer .container { display: flex; flex-direction: column; gap: 1.2rem; align-items: center; text-align: center; }
.footer-info { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; align-items: center; font-size: 0.9rem; }
.footer-info address, .footer-info a, .footer-info span { color: var(--light-text); }
.footer-info a:hover { color: var(--sand); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; }
.footer-links a { color: var(--sand); font-size: 0.88rem; text-decoration: underline; }
.footer-links a:hover { color: var(--light-text); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== LEGAL PAGES ===== */
.legal-page { background: var(--cream); }
.legal-container { max-width: 900px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.legal-container h1 { color: var(--terra); margin-bottom: 0.5rem; }
.legal-container .legal-intro { font-size: 0.95rem; color: #6b5244; margin-bottom: 2.5rem; border-bottom: 2px solid var(--sand); padding-bottom: 1.2rem; }
.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 { color: var(--clay); font-size: 1.3rem; margin-bottom: 0.9rem; border-left: 4px solid var(--terra); padding-left: 0.75rem; }
.legal-section p, .legal-section li { font-size: 0.95rem; color: var(--dark); margin-bottom: 0.6rem; }
.legal-section ul { padding-left: 1.5rem; list-style: disc; }
.legal-section ul li { margin-bottom: 0.4rem; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.88rem; }
.legal-table th { background: var(--terra); color: var(--light-text); padding: 0.7rem 0.9rem; text-align: left; }
.legal-table td { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--sand); color: var(--dark); }
.legal-table tr:nth-child(even) td { background: #f5ede0; }
.legal-finance-box {
  background: var(--sand);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius-card);
  padding: 1rem 1.4rem;
  font-size: 0.93rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-wrapper { grid-template-columns: 1fr; }
  .steps-img { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-top: 2px solid var(--sand);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 8px 24px rgba(58,42,30,0.1);
  }
  .nav-open .nav-links { display: flex; }
  .header { position: relative; }
  .header .container { flex-wrap: wrap; position: relative; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 2rem 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-img img { height: 260px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-info { flex-direction: column; gap: 0.5rem; }
}
