:root {
  --navy: #08233f;
  --navy-2: #0e355a;
  --blue: #0ea5e9;
  --teal: #16c79a;
  --amber: #f59e0b;
  --white: #ffffff;
  --text: #102033;
  --muted: #5f7085;
  --soft: #eef6fb;
  --line: rgba(8, 35, 63, .12);
  --shadow: 0 24px 70px rgba(8, 35, 63, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 35, 63, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-weight: 900;
  letter-spacing: -1px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a {
  opacity: .84;
  transition: opacity .2s ease, color .2s ease;
}

.nav-links a:hover {
  color: var(--blue);
  opacity: 1;
}

.nav-call {
  display: grid;
  gap: 1px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  line-height: 1.05;
  text-align: center;
  background: rgba(255, 255, 255, .08);
}

.nav-call span {
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-call strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -2;
}

.hero-bg {
  background: linear-gradient(90deg, rgba(5, 20, 38, .96) 0%, rgba(8, 35, 63, .82) 42%, rgba(8, 35, 63, .16) 100%), url("img/reparacion-estufas-gas-grupo-tecnico.jpg") center/cover no-repeat;
}

.hero::after {
  z-index: -1;
  background: radial-gradient(circle at 20% 32%, rgba(14, 165, 233, .32), transparent 32%), linear-gradient(0deg, rgba(8, 35, 63, .58), transparent 38%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -2.6px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -1.4px;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text {
  max-width: 720px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 16px 34px rgba(14, 165, 233, .3);
}

.btn-light {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
}

.trust-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-list li {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .84);
  font-weight: 700;
}

.hero-card,
.content-card,
.warranty-card,
.service-card,
.contact-form,
details {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  align-self: start;
  margin-top: -42px;
  overflow: visible;
  padding: 28px;
  color: var(--text);
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, .54);
}

.hero-card::before {
  position: absolute;
  left: 72px;
  top: -19px;
  width: 38px;
  height: 38px;
  content: "";
  background: rgba(255, 255, 255, .68);
  border-top-left-radius: 7px;
  transform: rotate(45deg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.bubble-title,
.bubble-text {
  transition: opacity .32s ease, transform .32s ease;
}

.hero-card.changing .bubble-title,
.hero-card.changing .bubble-text {
  opacity: 0;
  transform: translateY(8px);
}

.hero-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 900;
}

.section {
  padding: 92px 0;
  background: var(--white);
}

.section-alt {
  background: linear-gradient(180deg, #f4fbff 0%, #eef6fb 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-media-grid,
.coverage-map-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 36px;
}

.section-media-grid .section-heading,
.coverage-map-grid .section-heading {
  margin-bottom: 24px;
}

.section-photo {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.section-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 35, 63, 0), rgba(8, 35, 63, .18));
  pointer-events: none;
}

.section-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 26px;
  box-shadow: 0 18px 42px rgba(8, 35, 63, .08);
}

.service-card p,
.content-card p,
.warranty-card p,
.contact-grid p,
details p,
.footer p {
  color: var(--muted);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--soft);
  font-size: 25px;
}

.split,
.contact-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.content-card,
.warranty-card {
  padding: 34px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin: 14px 0;
  color: var(--text);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: .1em;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  content: "✓";
  font-size: 14px;
}

.warranty-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, .32), transparent 28%),
    linear-gradient(135deg, #061f38 0%, var(--navy) 58%, #0d3a63 100%);
  color: var(--white);
}

.warranty-card::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  pointer-events: none;
}

.warranty-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

.warranty-card p {
  color: rgba(255, 255, 255, .78);
}

.warranty-seal {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  place-items: center;
  border-radius: 50%;
  padding: 22px 18px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .22) 0 45%, transparent 46%),
    conic-gradient(from 0deg, var(--blue), var(--teal), var(--amber), var(--blue));
  box-shadow: 0 22px 50px rgba(0, 0, 0, .24);
}

.warranty-seal::before {
  position: absolute;
  inset: 11px;
  content: "";
  border: 2px dashed rgba(255, 255, 255, .72);
  border-radius: 50%;
}

.warranty-seal::after {
  position: absolute;
  inset: 25px;
  content: "";
  border-radius: 50%;
  background: rgba(8, 35, 63, .92);
  z-index: -1;
}

.warranty-seal strong {
  font-size: 62px;
  line-height: .8;
  font-weight: 900;
}

.seal-top,
.seal-bottom {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.warranty-card > div:last-child {
  position: relative;
  z-index: 1;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 12px;
}

.map-graphic {
  min-height: 520px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.map-graphic::after {
  display: none;
}

.map-graphic img {
  object-fit: contain;
  filter: saturate(1.12) contrast(1.06);
}

.map-pins {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
}

.map-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(14, 165, 233, .45), 0 12px 28px rgba(8, 35, 63, .24);
  cursor: pointer;
  animation: pinPulse 2s infinite;
}

.map-pin::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 46px;
  height: 46px;
  content: "";
  border-radius: 50%;
  background: rgba(14, 165, 233, .14);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.map-pin span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 10px) scale(.94);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.map-pin span::after {
  position: absolute;
  left: 50%;
  top: 100%;
  content: "";
  border: 7px solid transparent;
  border-top-color: var(--navy);
  transform: translateX(-50%);
}

.map-pin:hover,
.map-pin:focus-visible,
.map-pin.active {
  background: var(--amber);
  animation-play-state: paused;
  outline: none;
  transform: scale(1.12);
}

.map-pin.active span {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.pin-guadalajara {
  left: 55%;
  top: 46%;
}

.pin-zapopan {
  left: 35%;
  top: 25%;
}

.pin-tlaquepaque {
  left: 57%;
  top: 54%;
}

.pin-tonala {
  left: 73%;
  top: 52%;
}

.pin-tlajomulco {
  left: 48%;
  top: 64%;
}

.coverage-content {
  display: grid;
  align-content: center;
}

.areas span {
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--soft);
  font-weight: 900;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-intro {
  display: grid;
  align-content: start;
}

.compact-photo {
  min-height: 300px;
  margin-bottom: 26px;
}

.contact-direct a {
  font-weight: 900;
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--text);
  font: inherit;
  background: #f8fbfe;
}

.contact-form textarea {
  resize: vertical;
}

.faq-section {
  padding-top: 70px;
}

.faq-wrap {
  max-width: 900px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

details {
  padding: 22px;
  box-shadow: 0 16px 34px rgba(8, 35, 63, .07);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

summary::marker {
  color: var(--blue);
}

.footer {
  padding: 34px 0 16px;
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(circle at 12% 20%, rgba(14, 165, 233, .22), transparent 28%),
    linear-gradient(135deg, #061c33 0%, var(--navy) 58%, #092a49 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.28fr .88fr .88fr .95fr;
  gap: 26px;
  align-items: start;
}

.footer strong {
  display: block;
  color: var(--white);
  font-weight: 900;
}

.footer-logo {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.footer-logo small {
  color: rgba(255, 255, 255, .68);
}

.footer-brand p {
  max-width: 340px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, .86);
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact-info {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
}

.footer-contact-info a {
  color: var(--white);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 42px rgba(37, 211, 102, .45);
  animation: bounce 2.4s infinite;
}

.whatsapp-float i {
  color: var(--white);
  font-size: 36px;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-9px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pinPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, .45), 0 12px 28px rgba(8, 35, 63, .24);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(14, 165, 233, 0), 0 12px 28px rgba(8, 35, 63, .24);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0), 0 12px 28px rgba(8, 35, 63, .24);
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 20px;
    background: var(--navy-2);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-call {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-media-grid,
  .coverage-map-grid,
  .split,
  .contact-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .hero-grid {
    padding: 64px 0;
  }

  h1 {
    letter-spacing: -1.4px;
  }

  .hero-actions,
  .trust-list {
    display: grid;
  }

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

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }

  .section-photo {
    min-height: 280px;
    border-radius: 24px;
  }

  .warranty-card {
    grid-template-columns: 1fr;
  }

  .warranty-seal {
    width: 138px;
    height: 138px;
  }

  .section {
    padding: 70px 0;
  }
}
