/* =====================================================
   EXO Bilvårdscenter AB – pages.css
   Gemensamt stilark för alla undersidor
   ===================================================== */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a1a2e;
  --accent:  #e94560;
  --light:   #f5f5f5;
  --white:   #ffffff;
  --gray:    #6b7280;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --max-width: 1040px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--light);
  color: var(--primary);
  line-height: 1.65;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25rem; }

/* === NAVIGATION === */
.site-nav {
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo img {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
}

.nav-links a {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-book-btn {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: opacity 0.2s !important;
}

.nav-book-btn:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 0.6rem 2rem;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.83rem;
  color: var(--gray);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.3rem;
  color: #d1d5db;
}

.breadcrumb a {
  color: var(--gray);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, #0f0f1f 0%, #1a1a2e 50%, #0d0d1a 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,69,96,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero .hero-lead {
  font-size: 1.1rem;
  color: #c5cae0;
  margin-bottom: 1.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.price-badge {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.75rem 2.5rem;
  margin-bottom: 1.75rem;
}

.price-badge .price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.price-badge .price-note {
  font-size: 0.85rem;
  color: #c5cae0;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn:hover { opacity: 0.88; text-decoration: none; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.1s;
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { opacity: 0.88; color: var(--white); text-decoration: none; }
.btn-primary:active { transform: scale(0.97); }

/* Dölj nav-toggle-knapp (används ej på dessa sidor) */
button.nav-toggle { display: none; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

/* === MAIN CONTENT WRAPPER === */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* === CONTENT SECTIONS === */
.content-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.content-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.25rem 0 0.5rem;
}

.content-section p {
  color: #374151;
  margin-bottom: 1rem;
}

.content-section p:last-child { margin-bottom: 0; }

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--gray);
}

/* === INFO GRID === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.info-item {
  background: var(--light);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.info-item .info-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.info-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.info-item span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* === CHECKLIST === */
.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #e8faf0;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.18rem;
}

/* === WARNING LIST === */
.warning-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.warning-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.warn-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.18rem;
}

/* === PRICING BOX === */
.pricing-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.pricing-box h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pricing-table tr:last-child {
  border-bottom: none;
}

.pricing-table td {
  padding: 0.65rem 0.5rem;
  font-size: 0.95rem;
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.pricing-table .total-row td {
  font-size: 1.1rem;
  font-weight: 800;
  padding-top: 1rem;
  border-top: 2px solid rgba(255,255,255,0.2);
}

/* === FAQ SECTION === */
.faq-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.faq-item {
  border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 0 1rem;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0d0d1a 100%);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,69,96,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-section p {
  color: #c5cae0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
}

.cta-section .btn {
  position: relative;
  margin-bottom: 1rem;
}

.cta-section .phone-link {
  display: block;
  color: #c5cae0;
  font-size: 0.95rem;
  position: relative;
}

.cta-section .phone-link a {
  color: var(--accent);
  font-weight: 700;
}

/* === HIGHLIGHT BOX === */
.highlight-box {
  background: #fff7ed;
  border-left: 4px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.93rem;
  color: #78350f;
}

.info-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.93rem;
  color: #1e40af;
}

.success-box {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.93rem;
  color: #14532d;
}

/* === SERVICE AREA TAGS === */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.area-tag {
  background: var(--light);
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.83rem;
  color: var(--primary);
  font-weight: 500;
}

/* === TWO-COLUMN LAYOUT === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 680px) {
  .two-col { grid-template-columns: 1fr; }
}

/* === FOOTER === */
.site-footer {
  background: var(--primary);
  color: #c5cae0;
  margin-top: 3rem;
}

/* === BILMÄRKES- OCH MODELLSIDOR === */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #e63946;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.services-section { padding: 3rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.service-card h3 { color: #e63946; margin: 0.5rem 0; font-size: 1rem; }
.service-card p  { color: #555; font-size: 0.9rem; margin: 0; }
.service-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.why-section { padding: 3rem 0; background: #f8f8f8; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.why-card { background: #fff; border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.why-card h3 { margin: 0.5rem 0; font-size: 1rem; }
.why-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.25rem 1rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  gap: 0.25rem;
}
.brand-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.brand-card strong { font-size: 1rem; color: var(--primary); }
.brand-card span   { font-size: 0.8rem; color: #888; }

/* === SKIP-NAV === */
.skip-nav {
  position: absolute;
  top: -999px;
  left: -999px;
  display: block;
  opacity: 0;
  pointer-events: none;
}
.skip-nav:focus {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 1;
  pointer-events: auto;
  background: #e94560;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

/* === BTN-SECONDARY === */
.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #e94560;
  color: #e94560;
  background: transparent;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: #e94560;
  color: #fff;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
}

.footer-col strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: #c5cae0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.83rem;
  color: #6b7280;
}

.footer-bottom a {
  color: #6b7280;
  transition: color 0.2s;
}

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

/* === RESPONSIVE === */
@media (max-width: 700px) {
  .site-nav {
    padding: 0 1rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .breadcrumb {
    padding: 0.5rem 1rem;
  }

  .page-hero {
    padding: 2.5rem 1rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .content-section {
    padding: 1.5rem 1.25rem;
  }

  .faq-section {
    padding: 1.5rem 1.25rem;
  }

  .cta-section {
    padding: 2rem 1.25rem;
  }

  .pricing-box {
    padding: 1.5rem 1.25rem;
  }

  .pricing-table td {
    font-size: 0.88rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem 1.5rem;
  }
}

@media (max-width: 420px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .nav-links li:not(:last-child) {
    display: none;
  }

  .price-badge .price-amount {
    font-size: 1.6rem;
  }
}
