:root {
  --primary: #1A5C6B;
  --primary-hover: #134652;
  --accent: #C8933A;
  --accent-hover: #b37e28;
  --background: #FAF7F2;
  --surface: #ffffff;
  --text-main: #1C1C1C;
  --text-muted: #7A7060;
  --border: #E8E2D9;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-2xl: 8rem;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --shadow-sm: 0 2px 8px rgba(28, 28, 28, 0.05);
  --shadow-md: 0 4px 16px rgba(28, 28, 28, 0.08);
  --shadow-lg: 0 8px 32px rgba(28, 28, 28, 0.12);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-main);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: var(--spacing-sm); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--spacing-md); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--spacing-sm); }
h4 { font-size: 1.25rem; margin-bottom: var(--spacing-xs); }
p { margin-bottom: var(--spacing-sm); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 640px) {
  .container { padding: 0 var(--spacing-md); }
}

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

/* Header & Nav */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--spacing-md) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--surface);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-link {
  color: var(--surface);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-link:hover {
  color: var(--accent);
}

/* Button */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--surface);
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--spacing-xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 92, 107, 0.9) 0%, rgba(26, 92, 107, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--surface);
  max-width: 600px;
}

.hero h1 {
  color: var(--surface);
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  font-weight: 300;
}

/* Common Section Styles */
section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* Cards / Audience */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

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

.card {
  background: var(--surface);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--accent);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: var(--primary);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Split Image / Text */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

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

.split-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

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

/* Features list */
.feature-list {
  list-style: none;
  margin-top: var(--spacing-md);
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-main);
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-md) 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1rem;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary height enough for content */
  margin-top: var(--spacing-sm);
}

/* Form Section */
.cta-section {
  background-color: var(--primary);
  color: var(--surface);
  text-align: center;
}

.cta-section h2 {
  color: var(--surface);
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg) auto;
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-sm);
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.lead-form .btn {
  width: 100%;
  margin-top: var(--spacing-sm);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--text-main);
  color: var(--surface);
  padding: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

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

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-md);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Utility / Page specific */
.page-header {
  background-color: var(--primary);
  color: var(--surface);
  padding: calc(var(--spacing-xl) + var(--spacing-lg)) 0 var(--spacing-xl) 0;
  text-align: center;
}
.page-header h1 {
  color: var(--surface);
  margin: 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.75rem;
  margin-top: var(--spacing-lg);
}
.legal-content ul {
  margin-bottom: var(--spacing-md);
  padding-left: 2rem;
}
.legal-content li {
  margin-bottom: var(--spacing-xs);
}

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.success-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.success-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 92, 107, 0.85);
  z-index: 1;
}

.success-content {
  position: relative;
  z-index: 2;
  color: var(--surface);
  background: var(--surface);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  max-width: 500px;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: var(--spacing-md);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
  bottom: 0;
}
@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
  }
}
.cookie-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--background);
}
.cookie-actions .btn {
  padding: 0.5rem 1.5rem;
}
