/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

html {scroll-behavior: smooth;}
html, body {overflow-x: hidden;}
a {display: inline-block; text-align: center;}

:root {
  --cream: #FFF8F0;
  --cream-dark: #F5EDE3;
  --coral: #E8735A;
  --coral-hover: #D4603F;
  --coral-light: #FFF0EB;
  --coral-pale: #F5C6B8;
  --dark: #2D2A26;
  --gray: #6B6560;
  --gray-light: #A8A29E;
  --white: #FFFFFF;
  --success-green: #4CAF50;
  --font-display: 'Nunito', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(45,42,38,0.08);
  --shadow-lg: 0 8px 40px rgba(45,42,38,0.12);
  --max-w: 1200px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin-bottom: 1rem; color: var(--gray); }

img { max-width: 100%; height: auto; border-radius: var(--radius); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,248,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,115,90,0.1);
  padding: 0 24px;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--coral); text-decoration: none;
}
.logo span { color: var(--dark); }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--dark); font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  font-size: 0.95rem;
}
.nav-links a:hover { background: var(--coral-light); color: var(--coral); }
.nav-links a.active { background: var(--coral-light); color: var(--coral); }

.btn {
  display: inline-block; text-align: center;
  padding: 12px 28px; border-radius: 50px; font-weight: 700;
  font-family: var(--font-display); text-decoration: none;
  transition: all var(--transition); cursor: pointer; border: none;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--coral); color: var(--white);
}
.btn-primary:hover { background: var(--coral-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary {
  background: transparent; color: var(--coral); border: 2px solid var(--coral);
}
.btn-secondary:hover { background: var(--coral-light); }
.btn-white {
  background: var(--white); color: var(--coral);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }

/* Mobile Menu */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative; z-index: 1001;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  margin: 6px auto; transition: all var(--transition); border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px;
    height: 100vh; background: var(--cream); flex-direction: column;
    padding: 100px 32px 32px; gap: 4px;
    transition: right var(--transition); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { right: 0; }
  .nav-links a { width: 100%; text-align: left; padding: 14px 20px; font-size: 1.1rem; }
  .header-cta-mobile { display: block !important; width: 100%; margin-top: 16px; }
}

/* ========== HERO ========== */
.hero {
  padding: 80px 0 60px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--coral-light); opacity: 0.5; z-index: 0;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-text h1 em { font-style: normal; color: var(--coral); }
.hero-text p { font-size: 1.15rem; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
}

/* ========== SECTIONS ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-coral { background: var(--coral); color: var(--white); }
.section-coral h2, .section-coral h3 { color: var(--white); }
.section-coral p { color: rgba(255,255,255,0.9); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header .badge {
  display: inline-block; background: var(--coral-light); color: var(--coral);
  padding: 6px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700;
  font-family: var(--font-display); margin-bottom: 16px;
}

/* Steps */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.step-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow); position: relative;
  transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-6px); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--coral);
  color: var(--white); font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; margin-bottom: 0; }

@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps-grid { grid-template-columns: 1fr; } }

/* Cards Grid */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow); transition: transform var(--transition);
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius); background: var(--coral-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }

/* Content Layout */
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 768px) {
  .content-grid, .content-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* Stats Row */
.stats-row {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 48px 0;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.5rem; color: var(--coral); line-height: 1;
}
.stat p { margin-top: 8px; font-size: 0.9rem; margin-bottom: 0; }

/* Timeline */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 3px; background: var(--coral-pale);
}
.timeline-item {
  padding-left: 64px; margin-bottom: 40px; position: relative;
}
.timeline-dot {
  position: absolute; left: 12px; top: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--coral); border: 4px solid var(--cream);
}
.timeline-item h3 { color: var(--coral); margin-bottom: 4px; }

/* Comparison Table */
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.compare-table th {
  background: var(--coral); color: var(--white); padding: 16px 20px;
  font-family: var(--font-display); font-weight: 700; text-align: left;
}
.compare-table td {
  padding: 14px 20px; background: var(--white); border-bottom: 1px solid var(--cream-dark);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--coral-light); }

/* Benefits List */
.benefit-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  margin-bottom: 24px; box-shadow: var(--shadow);
  border-left: 5px solid var(--coral);
}
.benefit-card h3 { color: var(--coral); margin-bottom: 8px; }

/* Calculator */
.calc-container {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg); max-width: 700px; margin: 0 auto;
}
.calc-container h3 { margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 6px;
  font-family: var(--font-display);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 1rem; background: var(--cream);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--coral);
}
.calc-result {
  background: var(--coral-light); border-radius: var(--radius);
  padding: 24px; margin-top: 24px; text-align: center;
}
.calc-result .big-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; color: var(--coral);
}

/* Checklist */
.checklist { list-style: none; max-width: 700px; margin: 0 auto; }
.checklist li {
  padding: 16px 20px 16px 48px; background: var(--white);
  border-radius: var(--radius-sm); margin-bottom: 8px;
  position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-weight: 500;
}
.checklist li::before {
  content: '✓'; position: absolute; left: 18px; top: 16px;
  color: var(--coral); font-weight: 800; font-size: 1.1rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--coral); border-radius: var(--radius-lg);
  padding: 60px 48px; text-align: center; color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 24px; max-width: 550px; margin-left: auto; margin-right: auto; }

/* Disclaimer Box */
.disclaimer-box {
  background: var(--cream-dark); border-radius: var(--radius);
  padding: 24px 32px; margin-top: 40px; border: 1px dashed var(--gray-light);
}
.disclaimer-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.disclaimer-box p { font-size: 0.9rem; margin-bottom: 0; }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item {
  display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start;
}
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--coral-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 2px; }
.contact-info-item p { margin-bottom: 0; font-size: 0.95rem; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.phone-input { display: flex; gap: 8px; }
.phone-prefix {
  width: 80px; padding: 14px 12px; border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 1rem; background: var(--cream-dark); text-align: center;
}
.checkbox-group {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px;
}
.checkbox-group input[type=checkbox] { margin-top: 4px; accent-color: var(--coral); width: 18px; height: 18px; }
.checkbox-group label { font-size: 0.9rem; color: var(--gray); }
.checkbox-group a { color: var(--coral); font-size: 0.9rem; }
.map-container {
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 32px;
  box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* ========== LEGAL PAGES ========== */
.legal-page { padding: 48px 0 80px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .last-updated { color: var(--gray-light); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; color: var(--coral); }
.legal-page p, .legal-page li { color: var(--gray); line-height: 1.8; }
.legal-page ul, .legal-page ol { padding-left: 24px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 6px; }

/* ========== SUCCESS ========== */
.success-page {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.success-icon {
  width: 96px; height: 96px; border-radius: 50%; background: var(--coral-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; margin: 0 auto 24px;
}
.success-page h1 { margin-bottom: 12px; }
.success-page p { max-width: 500px; margin: 0 auto 32px; }

/* ========== 404 ========== */
.page-404 {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.big-404 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(6rem, 15vw, 12rem); color: var(--coral-pale);
  line-height: 1;
}
.page-404 h2 { margin-bottom: 12px; }
.page-404 p { max-width: 460px; margin: 0 auto 32px; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.site-footer h4 {
  color: var(--white); font-family: var(--font-display);
  margin-bottom: 16px; font-size: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem;
  transition: color var(--transition); text-align: left;
}
.site-footer ul a:hover { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px; margin-top: 48px; text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.footer-bottom a {
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem;
  margin: 0 8px;
}
.footer-bottom a:hover { color: var(--coral); }
.cookie-pref-link {
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 0.8rem; cursor: pointer; font-family: var(--font-body);
}
.cookie-pref-link:hover { color: var(--coral); }

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--white); box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  padding: 20px 24px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-bar {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-bar p { margin: 0; font-size: 0.9rem; flex: 1; min-width: 250px; }
.cookie-bar a { color: var(--coral); font-size: 0.9rem; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-buttons .btn { padding: 10px 20px; font-size: 0.85rem; }
.cookie-btn-outline {
  background: transparent; color: var(--dark); border: 1px solid var(--gray-light);
  padding: 10px 20px; border-radius: 50px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  transition: all var(--transition);
}
.cookie-btn-outline:hover { border-color: var(--coral); color: var(--coral); }

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 10000; display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.cookie-modal-overlay.show { display: flex; }
.cookie-modal {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
}
.cookie-modal h3 {
  font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 24px;
}
.cookie-option {
  padding: 16px 0; border-bottom: 1px solid var(--cream-dark);
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.cookie-option-header h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
}
.cookie-option p { font-size: 0.85rem; color: var(--gray); margin: 0; }

/* Toggle Switch */
.toggle { position: relative; width: 48px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--cream-dark); border-radius: 26px;
  cursor: pointer; transition: background var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute; width: 20px; height: 20px;
  left: 3px; bottom: 3px; background: var(--white); border-radius: 50%;
  transition: transform var(--transition); box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle input:checked + .toggle-slider { background: var(--coral); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle input:disabled + .toggle-slider { opacity: 0.7; cursor: default; }
.cookie-modal-buttons { display: flex; gap: 12px; margin-top: 24px; }
.cookie-modal-buttons .btn { flex: 1; padding: 12px; font-size: 0.9rem; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
