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

:root {
  --bg-primary: #F9F7F3;
  --bg-secondary: #F1ECE4;
  --text-primary: #2D2D2D;
  --text-secondary: #5A5A5A;
  --brand-primary: #8C5C4A;
  --brand-primary-hover: #734939;
  --brand-secondary: #4A5D4E;
  --border-color: #E5E0D8;
  --white: #FFFFFF;
  --error: #D32F2F;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  --container-width: 1200px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary-hover);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--bg-secondary);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-primary);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.header.scrolled {
  background-color: rgba(249, 247, 243, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(140, 92, 74, 0.2);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 92, 74, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background-color: var(--bg-secondary);
}

.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
}

.burger-line {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--bg-secondary);
  padding: 6rem 2rem 2rem;
  box-shadow: -5px 0 15px rgba(0,0,0,0.05);
  transition: right var(--transition-normal);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 98;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.hero {
  padding: 8rem 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
}

.section-header p {
  color: var(--text-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.benefit-icon {
  font-size: 2rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.split-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.split-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

.lead-form-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background-color: #FAFAFA;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  background-color: var(--white);
}

.form-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-input.invalid {
  border-color: var(--error);
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1rem;
}

.footer {
  background-color: var(--bg-primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.cookie-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.cookie-actions button {
  flex: 1;
  padding: 0.8rem 1rem;
}

.static-page-header {
  padding: 10rem 0 3rem;
  text-align: center;
  background-color: var(--bg-secondary);
}

.static-page-content {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.static-page-content h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.static-page-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.static-page-content li {
  margin-bottom: 0.5rem;
}

.success-card {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  font-size: 4rem;
  color: var(--brand-secondary);
  margin-bottom: 1.5rem;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }

  .nav-links {
    display: flex;
  }

  .burger-menu {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-section {
    flex-direction: row;
    align-items: center;
  }

  .split-section:nth-child(even) {
    flex-direction: row-reverse;
  }

  .split-image, .split-content {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
  }

  .cookie-actions {
    flex: 0 0 auto;
  }
}
