/* ════════════════════════════════════════════════════════════════════
   CITY SERVICE PAGE STYLES - Fixarflytt
   Replaces all inline pageStyles blocks in individual city .njk files.
   Applies to all city×service pages generated by city-service.njk.
   ════════════════════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────────────── */
.city-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eefd 100%);
  color: #0f172a;
  padding: 5rem 2rem;
}

/* All service variants use the same light gradient — no dark overlay */
.city-hero.hero--cleaning,
.city-hero.hero--dodsbo,
.city-hero.hero--office,
.city-hero.hero--transport {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eefd 100%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.city-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #1e3a8a;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.city-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f97316;
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  min-height: 48px;
}

.btn-primary:hover {
  background: #ea6c0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.5);
}

.btn-primary:focus-visible {
  outline: 3px solid #1e3a8a;
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #1e3a8a;
  padding: 0.9rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #1e3a8a;
  transition: all 0.25s ease;
  min-height: 48px;
}

.btn-secondary:hover {
  background: #1e3a8a;
  color: white;
}

.btn-secondary:focus-visible {
  outline: 3px solid #1e3a8a;
  outline-offset: 2px;
}

/* ── TRUST BADGES BAR ────────────────────────────────────────────── */
.trust-bar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 2rem;
}

.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
}

.trust-item .check {
  color: #10b981;
  font-size: 1.1rem;
}

/* ── SECTION LAYOUT ──────────────────────────────────────────────── */
.section {
  padding: 5rem 2rem;
}

.section--light {
  background: #f8fafc;
}

.section--dark {
  background: #0f172a;
  color: white;
}

.section--blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f97316;
  margin-bottom: 0.5rem;
}

.section--dark .section-label,
.section--blue .section-label {
  color: #fbbf24;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section--dark .section-title,
.section--blue .section-title {
  color: white;
}

.section-desc {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
}

.section--dark .section-desc,
.section--blue .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ── FEATURES GRID ───────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #f97316;
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.12);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── PROCESS / TIMELINE ──────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: process-step;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f97316;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.process-step p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ── STATS STRIP ─────────────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #f97316;
  line-height: 1;
  margin-bottom: 0.35rem;
  font-family: "Fraunces", serif;
}

.stat-item span {
  font-size: 0.88rem;
  color: #64748b;
}

.section--dark .stat-item span,
.section--blue .stat-item span {
  color: rgba(255, 255, 255, 0.75);
}

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  position: relative;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ── RUT CALCULATOR ──────────────────────────────────────────────── */
.rut-calculator {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  max-width: 520px;
  margin: 0 auto;
}

.rut-calculator h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.rut-slider-wrap {
  margin-bottom: 1.5rem;
}

.rut-slider-wrap label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.rut-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: #f97316;
  height: 6px;
}

.rut-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
}

.rut-row {
  text-align: center;
}

.rut-row span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.rut-row strong {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: "Fraunces", serif;
  color: #0f172a;
}

.rut-row.rut-after strong {
  color: #10b981;
}

.rut-saving {
  grid-column: 1 / -1;
  text-align: center;
  background: #ecfdf5;
  border-radius: 8px;
  padding: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #10b981;
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: -2px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(-135deg) translateY(2px);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.2rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid #f1f5f9;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── NEARBY CITIES GRID ──────────────────────────────────────────── */
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.city-pill:hover {
  border-color: #f97316;
  color: #f97316;
  transform: translateY(-2px);
}

/* ── SERVICE GRID (other services) ──────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 14px;
  padding: 1.75rem;
  text-decoration: none;
  display: block;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: #f97316;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.12);
  transform: translateY(-4px);
}

.service-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.service-card p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ── CTA STRIP ───────────────────────────────────────────────────── */
.cta-strip {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  text-align: center;
  color: white;
}

.cta-strip-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-strip h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.cta-strip p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.cta-strip-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #ea580c;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  min-height: 48px;
}

.btn-white:hover {
  background: #fff7ed;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.25s;
  min-height: 48px;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ── GUIDES CTA CARDS ────────────────────────────────────────────── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.guide-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.4rem;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
}

.guide-card:hover {
  border-color: #1e3a8a;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.1);
  transform: translateY(-3px);
}

.guide-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f97316;
  margin-bottom: 0.5rem;
  display: block;
}

.guide-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
}

/* ── BREADCRUMB ──────────────────────────────────────────────────── */
.page-breadcrumb {
  padding: 0.75rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.82rem;
  color: #64748b;
}

.page-breadcrumb a {
  color: #f97316;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.page-breadcrumb span {
  margin: 0 0.4rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .city-hero {
    padding: 3.5rem 1.5rem;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .rut-result {
    grid-template-columns: 1fr;
  }

  .rut-saving {
    grid-column: 1;
  }

  .trust-bar-inner {
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .cta-strip-btns {
    flex-direction: column;
    align-items: center;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── HUB PAGE CITY GRID ──────────────────────────────────────────── */
.hub-cities-section {
  padding: 5rem 2rem;
  background: #f8fafc;
}

.hub-cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.hub-city-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hub-city-pill:hover,
.hub-city-pill:focus-visible {
  border-color: #f97316;
  color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.18);
  outline: none;
}

@media (max-width: 600px) {
  .hub-cities-section {
    padding: 3rem 1.25rem;
  }
  .hub-city-pill {
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
  }
}
