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

:root {
  --bg-cream: #F5F0E8;
  --bg-cream-dark: #EDE7D9;
  --text-graphite: #1A1A1A;
  --text-graphite-light: #4A4A4A;
  --accent-umber: #8B5E3C;
  --accent-hover: #7A5234;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-graphite);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header.dark-text {
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

header.dark-text .logo, header.dark-text nav a {
  color: var(--text-graphite);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color var(--transition);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

section {
  padding: 8rem 0;
}

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

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.5);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-umber);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color var(--transition), transform var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-section .text-content h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
}

.split-section .text-content p {
  color: var(--text-graphite-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.split-section .image-content img {
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 100%;
}

.split-reverse .text-content {
  order: 2;
}

.split-reverse .image-content {
  order: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-umber);
}

.feature-card p {
  color: var(--text-graphite-light);
  font-size: 1rem;
}

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

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

.lead-section {
  background-color: var(--text-graphite);
  color: var(--white);
  text-align: center;
}

.lead-section h2 {
  font-size: 3rem;
}

.lead-section p {
  color: #ccc;
  margin-bottom: 3rem;
  margin-top: 1rem;
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 2px;
  color: var(--text-graphite);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-graphite-light);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: #fcfcfc;
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-umber);
  background: var(--white);
}

.form-control.error {
  border-color: #d9534f;
}

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

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-graphite-light);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.4;
}

.form-disclaimer a {
  text-decoration: underline;
}

footer {
  background-color: #111;
  color: #888;
  padding: 5rem 0 3rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid #333;
  padding-bottom: 4rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

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

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.legal-page {
  padding-top: 12rem;
  padding-bottom: 6rem;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 4rem;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--bg-cream-dark);
  padding-bottom: 1.5rem;
}

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

.legal-content p, .legal-content ul {
  margin-bottom: 1.5rem;
  color: var(--text-graphite-light);
}

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

.success-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.success-content h1 {
  font-size: 3.5rem;
  color: var(--text-graphite);
  margin-bottom: 1.5rem;
}

.success-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--text-graphite-light);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-inner p {
  font-size: 0.9rem;
  margin: 0;
  color: #ccc;
}

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

.cookie-btn {
  background: var(--accent-umber);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  cursor: pointer;
  border-radius: 2px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background-color var(--transition);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .split-reverse .text-content {
    order: 1;
  }

  .split-reverse .image-content {
    order: 2;
  }

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

@media (max-width: 768px) {
  header {
    padding: 1.5rem 0;
  }

  nav {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom div[style] {
    text-align: left !important;
  }

  .legal-content {
    padding: 2.5rem 1.5rem;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}
