/* =============================================
   Reparación Calderas Madrid Centro - Stylesheet
   ============================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #222222;
  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;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Oswald', Arial, sans-serif;
  line-height: 1.15;
}

/* === LAYOUT HELPERS === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  text-align: center;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  color: #2e1c10;
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

.section-sub {
  text-align: center;
  color: #666666;
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f2600c;
  color: #ffffff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  letter-spacing: 1px;
  border: 2px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-phone:hover {
  background: #b8430a;
  transform: translateY(-2px);
}

.btn-phone .icon {
  font-size: 20px;
}

.btn-phone--outline {
  background: transparent;
  border: 2px solid #ffb066;
  color: #ffb066;
}

.btn-phone--outline:hover {
  background: #ffb066;
  color: #3a2415;
}

.btn-more {
  display: inline-block;
  background: #ea580c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.btn-more:hover {
  background: #7a3b12;
}

/* === NAVEGACIÓN === */
.navbar {
  background: #3a2415;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

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

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

.navbar__links a {
  color: #f0c8a0;
  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: #f2600c;
}

/* === HERO === */
.hero {
  background: #2e1c10;
  color: #ffffff;
  padding: 72px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(234, 88, 12, 0.28) 0%, transparent 60%),
                    radial-gradient(circle at 20% 80%, rgba(46, 28, 16, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: #f2600c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(30px, 6vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.05;
}

.hero h1 span {
  color: #ffb066;
}

.hero__sub {
  font-size: 17px;
  color: #f0c8a0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 18px;
}

.hero__note {
  font-size: 13px;
  color: #c9a988;
  margin-top: 10px;
}

/* === SERVICIOS PRINCIPALES === */
.services-section {
  background: #fdf5ec;
  padding: 64px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 36px 28px 32px;
  border: 1px solid #f0ddc4;
  text-align: center;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(122, 59, 18, 0.16);
  transform: translateY(-5px);
}

.service-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffe4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 30px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2e1c10;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* === BLOQUE INFO (img + texto) === */
.info-block {
  max-width: 1100px;
  margin: 0 auto;
}

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

.info-block__img {
  background: #7a3b12;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.info-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-block__img svg {
  width: 80%;
  max-width: 340px;
  opacity: 0.15;
}

.info-block__content {
  background: #2e1c10;
  padding: 56px 44px;
  color: #ffffff;
}

.info-block__content .section-label {
  text-align: left;
  color: #ffb066;
}

.info-block__content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: left;
}

.info-block__content h2 span {
  color: #ffb066;
}

.info-block__content h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #f0c8a0;
  text-transform: uppercase;
  margin: 24px 0 10px;
  letter-spacing: 0.5px;
}

.info-list li {
  font-size: 14px;
  color: #ecd3b8;
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.6;
}

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

.info-block__content p {
  font-size: 14px;
  color: #ecd3b8;
  line-height: 1.7;
}

/* === SERVICIOS NUMERADOS === */
.numbered-section {
  background: #fdf5ec;
  padding: 64px 20px;
}

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.num-card {
  background: #ffffff;
  border: 1px solid #f0ddc4;
  border-radius: 8px;
  padding: 20px 20px 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow 0.2s ease;
}

.num-card:hover {
  box-shadow: 0 4px 20px rgba(122, 59, 18, 0.13);
}

.num-card__badge {
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ea580c;
  color: #ffffff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.num-card a {
  font-size: 14px;
  font-weight: 600;
  color: #2e1c10;
  transition: color 0.2s;
}

.num-card:hover a {
  color: #ea580c;
}

/* === ZONAS === */
.zones-section {
  background: #ffffff;
  padding: 64px 20px;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.zone-link {
  display: block;
  background: #ffe4c4;
  border-radius: 4px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #7a3b12;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.zone-link:hover {
  background: #ea580c;
  color: #ffffff;
}

/* === CTA STRIP === */
.cta-strip {
  background: #f2600c;
  padding: 52px 20px;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.cta-strip .btn-phone {
  background: #ffffff;
  color: #f2600c;
  border-color: #ffffff;
}

.cta-strip .btn-phone:hover {
  background: #ffe3cf;
  color: #b8430a;
}

.cta-strip__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* === FOOTER === */
.footer {
  background: #170f09;
  padding: 40px 20px;
  text-align: center;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 60px;
  max-width: 900px;
  margin: 0 auto 28px;
}

.footer__col h4 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffb066;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer__col p,
.footer__col a {
  font-size: 13px;
  color: #a68a72;
  line-height: 1.8;
  display: block;
}

.footer__col a:hover {
  color: #f0c8a0;
}

.footer__bottom {
  border-top: 1px solid #3a2818;
  padding-top: 22px;
}

.footer__bottom p {
  color: #7a6552;
  font-size: 13px;
  line-height: 1.8;
}

.footer__bottom strong {
  color: #f0c8a0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

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

  .info-block__img {
    min-height: 220px;
  }

  .info-block__content {
    padding: 36px 24px;
  }

  .hero {
    padding: 52px 16px 44px;
  }

  .services-section,
  .numbered-section,
  .zones-section {
    padding: 44px 16px;
  }
}

@media (max-width: 480px) {
  .btn-phone {
    font-size: 17px;
    padding: 12px 22px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .footer__top {
    flex-direction: column;
    gap: 20px;
    text-align: left;
  }
}
