@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=PT+Sans:wght@400;700&display=swap');

:root {
  --color-bg: #FAF7F4;
  --color-accent: #C4614A;
  --color-accent-dark: #A34F3A;
  --color-text: #2C1A0E;
  --color-text-muted: #6B5D52;
  --color-card: #FFFFFF;
  --color-border: #E8DFD6;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'PT Sans', sans-serif;
  --spacing-unit: 1.5rem;
  --max-width: 1100px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

section {
  padding: 4rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

/* Header */
header {
  padding: 2rem 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 3rem 0;
  opacity: 1;
  transform: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-image {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44, 26, 14, 0.12);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-card);
  background-color: var(--color-accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 97, 74, 0.3);
  color: var(--color-card);
}

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

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-card);
}

/* Pain Points */
.pain-points {
  background-color: var(--color-card);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.pain-item {
  padding: 2rem;
  background-color: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
}

.pain-item p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin: 0;
}

/* Results Gallery */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.result-card {
  background-color: var(--color-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 26, 14, 0.15);
}

.result-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.result-card-content {
  padding: 1.5rem;
}

.result-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* How It Works */
.how-it-works {
  background-color: var(--color-card);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.step {
  display: flex;
  gap: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  color: var(--color-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-text-muted);
  margin: 0;
}

.process-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

.process-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.08);
}

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

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.benefit-item {
  padding: 2rem;
  background-color: var(--color-card);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(44, 26, 14, 0.06);
}

.benefit-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.benefit-item p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Lead Form */
.lead-form-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-card);
}

.lead-form-section h2 {
  color: var(--color-card);
}

.lead-form-section .subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 3rem;
}

.lead-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-card);
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

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

.form-error {
  color: var(--color-card);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.9;
  display: none;
}

.form-error.visible {
  display: block;
}

/* FAQ */
.faq {
  background-color: var(--color-card);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.3s ease;
}

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

.faq-question::after {
  content: '+';
  font-size: 2rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--color-text-muted);
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* Footer */
footer {
  background-color: var(--color-text);
  color: var(--color-card);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: var(--color-card);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-card);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-legal {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text);
  color: var(--color-card);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

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

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

/* Success Page */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.success-content {
  max-width: 600px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-accent);
  color: var(--color-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
}

/* Legal Pages */
.legal-page {
  padding: 4rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-card);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(44, 26, 14, 0.06);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-accent);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}
