/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #e8837c; text-decoration: none; transition: color 0.2s; }
a:hover { color: #d35d55; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: #1a1a2e; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section--alt { background: #f8f9fa; }

/* === HEADER === */
.header {
  background: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { height: 60px; width: auto; }
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8837c;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.header__cta:hover { background: #d35d55; color: #fff; }
.header__cta svg { width: 18px; height: 18px; fill: currentColor; }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}
.hero__tagline {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
  font-weight: 400;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #1a1a2e;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.6;
}
.hero__image {
  border-radius: 8px;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === CTA BUTTON === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn--primary { background: #e8837c; color: #fff; }
.btn--primary:hover { background: #d35d55; color: #fff; }
.btn--outline { background: transparent; color: #e8837c; border: 2px solid #e8837c; }
.btn--outline:hover { background: #e8837c; color: #fff; }

/* === MULTI-STEP FORM === */
.form-section {
  background: #1a1a2e;
  padding: 60px 0;
  color: #fff;
}
.form-section h2 { color: #fff; text-align: center; margin-bottom: 10px; }
.form-section .form-subtitle { text-align: center; color: #ccc; margin-bottom: 30px; }

.quote-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  color: #1a1a2e;
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.form-progress__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s;
}
.form-progress__dot.active { background: #e8837c; }
.form-progress__dot.completed { background: #4caf50; }

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #333;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: #fff;
  color: #1a1a2e;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #e8837c;
}
.form-group input.error,
.form-group select.error { border-color: #e74c3c; }
.form-group .error-msg {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.form-group .error-msg.show { display: block; }

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  cursor: pointer;
}
.radio-group input[type="radio"] {
  width: auto;
  accent-color: #e8837c;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 12px;
}
.form-nav .btn { flex: 1; justify-content: center; }
.form-nav .btn--secondary {
  background: #f0f0f0;
  color: #333;
}
.form-nav .btn--secondary:hover { background: #ddd; }

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.form-success.active { display: block; }
.form-success h3 { color: #4caf50; margin-bottom: 10px; font-size: 1.5rem; }
.form-success p { color: #666; }

.form-error-banner {
  background: #fde8e8;
  color: #e74c3c;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
  text-align: center;
  font-size: 0.9rem;
}
.form-error-banner.show { display: block; }

/* === CONTENT SECTIONS === */
.content-block {
  padding: 50px 0;
}
.content-block:nth-child(even) { background: #f8f9fa; }
.content-block h2 { margin-bottom: 20px; }
.content-block p { color: #444; max-width: 800px; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.content-grid--reverse { direction: rtl; }
.content-grid--reverse > * { direction: ltr; }

/* === FAQ === */
.faq-section { padding: 60px 0; }
.faq-section h2 { text-align: center; margin-bottom: 40px; }
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  max-width: 800px;
  margin: 0 auto;
}
.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #e8837c;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: #555;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 15px;
}

/* === BLOG POST === */
.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.post-content h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.post-content img {
  border-radius: 8px;
  margin: 20px 0;
}
.post-content p { color: #444; }
.post-content ul, .post-content ol {
  margin: 15px 0 15px 30px;
  color: #444;
}
.post-content li { margin-bottom: 8px; }
.post-cta {
  background: #1a1a2e;
  color: #fff;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin: 40px 0;
}
.post-cta h3 { color: #fff; margin-bottom: 15px; }
.post-cta .btn { margin-top: 10px; }

/* === FOOTER === */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 40px 0 20px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer__brand p { color: #999; font-size: 0.9rem; line-height: 1.6; }
.footer__brand img { height: 50px; margin-bottom: 15px; filter: brightness(2); }
.footer h4 { color: #fff; margin-bottom: 15px; font-size: 1rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: #999; font-size: 0.9rem; }
.footer__links a:hover { color: #e8837c; }
.footer__bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 20px 30px;
  z-index: 9999;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner__inner {
  max-width: 700px;
}
.cookie-banner h4 { margin-bottom: 8px; font-size: 1.1rem; }
.cookie-banner p { font-size: 0.9rem; color: #555; margin-bottom: 15px; }
.cookie-banner__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #333;
  transition: all 0.2s;
}
.cookie-banner__btn:hover { border-color: #999; }
.cookie-banner__btn--accept {
  background: #e8837c;
  color: #fff;
  border-color: #e8837c;
}
.cookie-banner__btn--accept:hover { background: #d35d55; border-color: #d35d55; }
.cookie-banner__btn--reject { background: #fff; }

/* === LEGAL PAGES === */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.legal-page h1 { margin-bottom: 30px; }
.legal-page h2 { font-size: 1.5rem; margin-top: 30px; }
.legal-page p, .legal-page li { color: #444; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__image { order: -1; max-height: 300px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid--reverse { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .header__logo img { height: 45px; }
  .header__cta { padding: 10px 18px; font-size: 0.85rem; }
  .quote-form { padding: 25px 20px; }
  .radio-group { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.8rem; }
  .cookie-banner__buttons { flex-direction: column; }
  .cookie-banner__btn { width: 100%; text-align: center; }
}

/* === BLOG LIST === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 0;
}
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.blog-card__image { height: 200px; background: #f0f0f0; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 20px; }
.blog-card__title { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card__title a { color: #1a1a2e; }
.blog-card__title a:hover { color: #e8837c; }
.blog-card__excerpt { font-size: 0.9rem; color: #666; }
