/* =============================================
   Reparación Calderas Madrid Este - Stylesheet
   Paleta: cobre/latón + pizarra oscura (industrial)
   ============================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  color: #23282d;
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === BARRA SUPERIOR DE LLAMADA === */
.topbar {
  background: #121417;
  color: #cdd3d8;
  font-size: 13px;
  padding: 8px 20px;
  text-align: center;
}

.topbar a {
  color: #d9a441;
  font-weight: 700;
}

.topbar a:hover {
  color: #f0be6a;
}

/* === NAVBAR === */
.navbar {
  background: #1c2024;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,0.25);
}

.navbar__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo {
  font-family: 'Bebas Neue', Arial, sans-serif;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__logo span {
  color: #d9a441;
}

.navbar__links {
  display: flex;
  gap: 26px;
}

.navbar__links a {
  color: #9aa3ab;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: #ffffff;
  border-bottom-color: #b5622a;
}

/* === BOTONES === */
.btn-copper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #b5622a;
  color: #ffffff;
  font-family: 'Bebas Neue', Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-copper:hover {
  background: #954e1f;
  transform: translateY(-2px);
}

.btn-copper--ghost {
  background: transparent;
  border: 2px solid #d9a441;
  color: #d9a441;
}

.btn-copper--ghost:hover {
  background: #d9a441;
  color: #1c2024;
}

.btn-link {
  display: inline-block;
  color: #b5622a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-bottom: 2px solid #b5622a;
  padding-bottom: 2px;
}

.btn-link:hover {
  color: #954e1f;
  border-color: #954e1f;
}

/* === HERO PARTIDO === */
.hero {
  background: #1c2024;
  color: #ffffff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(181, 98, 42, 0.18);
  border: 1px solid #b5622a;
  color: #d9a441;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 span {
  color: #d9a441;
}

.hero__sub {
  font-size: 16px;
  color: #b7bec4;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 13px;
  color: #6f7880;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual svg {
  width: 100%;
  max-width: 320px;
}

/* === FRANJA DE CARACTERÍSTICAS === */
.features-strip {
  background: #f5f6f7;
  border-bottom: 1px solid #e3e6e8;
  padding: 36px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-badge__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1e0cf;
  color: #b5622a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-badge h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  color: #1c2024;
  margin-bottom: 4px;
}

.feature-badge p {
  font-size: 13px;
  color: #5b6570;
  line-height: 1.5;
}

/* === SECCIONES GENERALES === */
.section {
  padding: 64px 0;
}

.section--muted {
  background: #f5f6f7;
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b5622a;
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 38px);
  color: #1c2024;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title span {
  color: #b5622a;
}

.section-sub {
  text-align: center;
  color: #5b6570;
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-family: 'Inter', Arial, sans-serif;
}

/* === SERVICIOS: FILAS CON ICONO A LA IZQUIERDA === */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: #ffffff;
  border: 1px solid #e3e6e8;
  border-left: 4px solid #b5622a;
  border-radius: 6px;
  padding: 24px 26px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-row:hover {
  box-shadow: 0 10px 30px rgba(28, 32, 36, 0.1);
  transform: translateX(4px);
}

.service-row__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #1c2024;
  color: #d9a441;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.service-row__body h3 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1c2024;
  margin-bottom: 6px;
  text-transform: none;
}

.service-row__body p {
  font-size: 14px;
  color: #5b6570;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* === PANEL DE INFORMACIÓN OSCURO === */
.info-panel {
  background: #1c2024;
  color: #ffffff;
}

.info-panel__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  max-width: 1140px;
  margin: 0 auto;
}

.info-panel__visual {
  background: #2c3238;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.info-panel__visual svg {
  width: 70%;
  max-width: 220px;
  opacity: 0.9;
}

.info-panel__content {
  padding: 56px 44px;
}

.info-panel__content .section-eyebrow {
  text-align: left;
  color: #d9a441;
}

.info-panel__content h2 {
  font-size: 28px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: left;
}

.info-panel__content h2 span {
  color: #d9a441;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-list li {
  font-size: 14px;
  color: #c7ccd1;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
  font-family: 'Inter', Arial, sans-serif;
}

.info-list li::before {
  content: '⚙';
  position: absolute;
  left: 0;
  color: #d9a441;
}

/* === FAQ ACORDEÓN (nativo, sin JS) === */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e3e6e8;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1c2024;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  color: #b5622a;
  font-size: 22px;
  font-family: Arial, sans-serif;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item[open] summary {
  border-bottom: 1px solid #e3e6e8;
}

.faq-item p {
  padding: 16px 22px 20px;
  font-size: 14px;
  color: #5b6570;
  line-height: 1.7;
}

/* === ZONAS AGRUPADAS POR DISTRITO === */
.district-group {
  margin-bottom: 34px;
}

.district-group:last-child {
  margin-bottom: 0;
}

.district-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1c2024;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #b5622a;
  display: inline-block;
}

.barrio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-block;
  background: #f1e0cf;
  color: #8a4a1e;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.pill:hover {
  background: #b5622a;
  color: #ffffff;
}

.pill--dark {
  background: #1c2024;
  color: #d9a441;
}

.pill--dark:hover {
  background: #b5622a;
  color: #ffffff;
}

/* === CTA BAND === */
.cta-band {
  background: #b5622a;
  padding: 50px 20px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(22px, 4vw, 36px);
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cta-band .btn-copper {
  background: #1c2024;
}

.cta-band .btn-copper:hover {
  background: #121417;
}

/* === FOOTER === */
.site-footer {
  background: #121417;
  padding: 44px 20px 26px;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto 28px;
}

.site-footer__col h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #d9a441;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.site-footer__col p,
.site-footer__col a {
  font-size: 13px;
  color: #8b939a;
  line-height: 1.9;
  display: block;
}

.site-footer__col a:hover {
  color: #d9a441;
}

.site-footer__bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid #262b30;
  padding-top: 20px;
  text-align: center;
}

.site-footer__bottom p {
  color: #5b6167;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer__bottom strong {
  color: #8b939a;
}

/* === RESPONSIVE === */
@media (max-width: 860px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__sub {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__visual svg {
    max-width: 200px;
  }

  .info-panel__grid {
    grid-template-columns: 1fr;
  }

  .info-panel__visual {
    padding: 28px;
  }

  .info-panel__visual svg {
    max-width: 140px;
  }
}

@media (max-width: 640px) {
  .navbar__links {
    display: none;
  }

  .section {
    padding: 44px 0;
  }

  .service-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
