/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/

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

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

:root {
  --bg: #F5EFE6;
  --bg2: #EDE4D8;
  --ochre: #C9933A;
  --pine: #4A6741;
  --pine-light: #6B8F61;
  --brown: #7A5C3A;
  --text: #2E2318;
  --text-light: #6B5A47;
  --white: #FDFAF6;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(74,56,32,0.10);
}

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

body {
  font-family: 'Lora', Georgia, serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: 0.6rem; }
p { margin-bottom: 1.2rem; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--ochre); }

/* ── LAYOUT ── */
.container { width: 92%; max-width: 1100px; margin: 0 auto; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(122,92,58,0.12);
  padding: 1rem 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(74,56,32,0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--pine);
  letter-spacing: 0.04em;
}
.logo span { color: var(--ochre); }
.nav { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--text-light); transition: color 0.2s; }
.nav a:hover { color: var(--pine); }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #3D5436 0%, #5C7A52 50%, #C9933A 100%);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35; mix-blend-mode: multiply;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(45,35,20,0.55) 0%, rgba(74,103,65,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: var(--white);
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(201,147,58,0.25); border: 1px solid rgba(201,147,58,0.5);
  border-radius: 50px; padding: 0.3rem 1rem; margin-bottom: 1.5rem;
  color: #F5D99A;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; max-width: 520px; }
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  border-radius: 50px; font-family: 'Lora', serif; font-size: 0.95rem;
  cursor: pointer; transition: all 0.25s; border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--ochre); color: var(--white);
  box-shadow: 0 4px 20px rgba(201,147,58,0.4);
}
.btn-primary:hover { background: #b5811f; color: var(--white); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── SECTIONS ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg2); }
.section-label {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pine); font-family: 'Lora', serif; margin-bottom: 0.5rem;
}
.section-title { margin-bottom: 0.5rem; }
.section-sub { color: var(--text-light); max-width: 560px; margin-bottom: 3rem; }

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 36px rgba(74,56,32,0.14); }
.card-img { width: 100%; height: 210px; object-fit: cover; display: block; }
.card-body { padding: 1.6rem; }
.card-tag {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--pine-light); margin-bottom: 0.6rem; display: block;
}
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--text-light); font-size: 0.95rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ochre); font-size: 0.9rem; margin-top: 1rem;
  font-weight: 500;
}
.card-link:hover { color: var(--pine); }

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; border-radius: 60% 40% 50% 50% / 40% 50% 60% 50%;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute; bottom: 1.5rem; right: -1rem;
  background: var(--ochre); color: var(--white);
  border-radius: 50%; width: 90px; height: 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 0.75rem; text-align: center;
  box-shadow: var(--shadow); padding: 0.5rem;
}
.about-badge strong { font-size: 1.5rem; display: block; }

/* ── SUBSCRIBE FORM ── */
.subscribe-section {
  background: linear-gradient(135deg, var(--pine) 0%, #3D5436 100%);
  padding: 5rem 0; position: relative; overflow: hidden;
}
.subscribe-section::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,147,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.subscribe-section h2, .subscribe-section p { color: var(--white); }
.subscribe-section .section-label { color: rgba(245,217,154,0.8); }
.subscribe-form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; max-width: 640px; margin-top: 2rem;
}
@media (max-width: 600px) { .subscribe-form { grid-template-columns: 1fr; } }
.form-field {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.form-field label { font-size: 0.82rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.form-field input {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 0.75rem 1rem;
  color: var(--white); font-family: 'Lora', serif; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input::placeholder { color: rgba(255,255,255,0.4); }
.form-field input:focus { outline: none; border-color: var(--ochre); background: rgba(255,255,255,0.15); }
.form-full { grid-column: 1 / -1; }
.form-submit-wrap { grid-column: 1 / -1; }
.btn-form {
  background: var(--ochre); color: var(--white); border: none;
  padding: 0.9rem 2.2rem; border-radius: 50px; cursor: pointer;
  font-family: 'Lora', serif; font-size: 1rem;
  box-shadow: 0 4px 20px rgba(201,147,58,0.35);
  transition: all 0.25s;
}
.btn-form:hover { background: #b5811f; transform: translateY(-2px); }

/* ── ARTICLE PAGE ── */
.article-hero {
  background: linear-gradient(160deg, var(--pine) 0%, #2E3D29 100%);
  padding: 5rem 0 3rem; color: var(--white);
}
.article-hero h1 { color: var(--white); }
.article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.article-meta span { font-size: 0.85rem; opacity: 0.75; }
.article-body { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
.article-body h2 { color: var(--pine); margin-top: 2.5rem; }
.article-body h3 { color: var(--brown); margin-top: 1.8rem; }
.article-lead { font-size: 1.15rem; color: var(--text-light); font-style: italic; border-left: 3px solid var(--ochre); padding-left: 1.2rem; margin-bottom: 2rem; }
.fact-block {
  background: var(--bg2); border-radius: var(--radius);
  padding: 1.8rem; margin: 2rem 0;
  border-left: 4px solid var(--pine-light);
}
.fact-block .fact-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--pine); margin-bottom: 0.8rem;
}
.disclaimer {
  background: linear-gradient(135deg, #FFF8EE, #FDF0DC);
  border: 1px solid rgba(201,147,58,0.3); border-radius: var(--radius);
  padding: 1.8rem; margin-top: 3rem;
}
.disclaimer h4 { color: var(--ochre); margin-bottom: 0.6rem; }
.disclaimer p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ── INFO GRID (no tables) ── */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem; margin: 1.5rem 0;
}
.info-item {
  background: var(--white); border-radius: 14px; padding: 1.2rem 1.4rem;
  box-shadow: 0 2px 12px rgba(74,56,32,0.07);
  display: flex; gap: 0.8rem; align-items: flex-start;
}
.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.info-item p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* ── FOOTER ── */
.site-footer {
  background: #1E1810;
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .logo { font-size: 1.4rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.8rem; max-width: 280px; }
.footer-col h4 { color: rgba(255,255,255,0.9); font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; font-family: 'Lora', serif; }
.footer-col a { display: block; font-size: 0.88rem; padding: 0.25rem 0; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--ochre); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; }

/* ── COOKIE BANNER (CSS-only) ── */
#cookie-toggle { display: none; }
.cookie-banner {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(30,24,16,0.18);
  padding: 1.5rem; max-width: 340px; width: calc(100vw - 3rem);
  border: 1px solid rgba(122,92,58,0.15);
}
#cookie-toggle:checked ~ .cookie-banner { display: none; }
.cookie-banner h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--pine); }
.cookie-banner p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1rem; }
.cookie-btns { display: flex; gap: 0.75rem; }
.cookie-btns label {
  display: inline-block; padding: 0.55rem 1.2rem; border-radius: 50px;
  cursor: pointer; font-size: 0.85rem; font-family: 'Lora', serif;
  transition: all 0.2s;
}
.cookie-accept { background: var(--pine); color: var(--white); }
.cookie-accept:hover { background: var(--pine-light); }
.cookie-more { background: transparent; color: var(--text-light); border: 1px solid rgba(122,92,58,0.25); }
.cookie-more:hover { color: var(--pine); }

/* ── LEGAL PAGES ── */
.legal-hero { background: var(--bg2); padding: 4rem 0 2.5rem; border-bottom: 1px solid rgba(122,92,58,0.12); }
.legal-body { max-width: 800px; margin: 0 auto; padding: 3rem 0 5rem; }
.legal-body h2 { margin-top: 2.5rem; color: var(--pine); font-size: 1.3rem; }
.legal-body h3 { margin-top: 1.8rem; color: var(--brown); font-size: 1.05rem; }
.legal-body ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.legal-body ul li { margin-bottom: 0.5rem; font-size: 0.95rem; }

/* ── SUCCESS PAGE ── */
.success-wrap { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.success-card { background: var(--white); border-radius: 32px; padding: 4rem 3rem; max-width: 520px; box-shadow: var(--shadow); }
.success-icon { font-size: 4rem; margin-bottom: 1.5rem; display: block; }

/* ── 404 ── */
.not-found { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.not-found-inner { max-width: 480px; }
.not-found .big-num { font-size: clamp(6rem, 18vw, 10rem); line-height: 1; color: var(--ochre); opacity: 0.25; font-family: 'Playfair Display', serif; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 70vh; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .nav { gap: 1rem; }
  .about-badge { right: 0; }
}
