:root {
  --primary: #0b4d63;
  --primary-2: #0d6a86;
  --primary-dark: #062d3a;
  --accent: #f5a623;
  --accent-soft: #ffe1a3;
  --ice: #eaf7fb;
  --ice-2: #f6fbfd;
  --white: #ffffff;
  --text: #17333d;
  --muted: #607984;
  --line: rgba(11, 77, 99, 0.16);
  --shadow: 0 24px 70px rgba(6, 45, 58, 0.16);
  --shadow-soft: 0 16px 40px rgba(6, 45, 58, 0.10);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ice-2);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 15%, rgba(13, 106, 134, 0.12), transparent 28%),
    radial-gradient(circle at 90% 25%, rgba(245, 166, 35, 0.14), transparent 28%),
    linear-gradient(180deg, var(--ice-2), #eef7fa);
}

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

.section-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-padding {
  padding: 92px 0;
}

.site-header {
  min-height: 100vh;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 45, 58, 0.96), rgba(13, 106, 134, 0.92)),
    radial-gradient(circle at 84% 16%, rgba(245, 166, 35, 0.36), transparent 34%);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.site-header::before {
  width: 560px;
  height: 560px;
  right: -160px;
  top: 90px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header::after {
  width: 760px;
  height: 760px;
  left: -280px;
  bottom: -360px;
  background: rgba(245, 166, 35, 0.13);
}

.navbar {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--white), #c8eff8);
  color: var(--primary-dark);
  font-weight: 900;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.20);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.nav-links a {
  color: var(--white);
  font-weight: 800;
  font-size: 0.94rem;
  padding: 10px 15px;
  border-radius: 999px;
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-links .nav-button {
  background: var(--accent);
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 96px);
  padding: 46px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent-soft);
  font-size: 0.80rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--primary-2);
}

.hero h1,
.section-title h2,
.intro-panel h2,
.highlight-copy h2,
.contact-copy h2 {
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(2.75rem, 6.6vw, 6.7rem);
}

.hero-description {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
}

.hero-actions,
.contact-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(245, 166, 35, 0.27);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
}

.btn-outline.dark {
  border-color: var(--line);
  color: var(--primary-dark);
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 18px 42px rgba(6, 45, 58, 0.20);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
}

.main-device {
  inset: 20px 38px 68px 38px;
  display: grid;
  place-items: center;
}

.device-fridge {
  width: 210px;
  height: 405px;
  border-radius: 38px;
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #dff6fb 58%, #a8dfea 100%);
  box-shadow:
    inset -18px -24px 42px rgba(11, 77, 99, 0.20),
    0 35px 65px rgba(6, 45, 58, 0.30);
}

.fridge-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 2px;
  background: rgba(11, 77, 99, 0.18);
}

.fridge-handle {
  position: absolute;
  right: 28px;
  width: 12px;
  border-radius: 999px;
  background: rgba(11, 77, 99, 0.30);
}

.fridge-handle.top {
  top: 82px;
  height: 84px;
}

.fridge-handle.bottom {
  top: 214px;
  height: 112px;
}

.cool-spark {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--primary-2);
  font-weight: 900;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.spark-one {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  left: -34px;
  top: 84px;
}

.spark-two {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  right: -38px;
  bottom: 95px;
}

.washer-card {
  right: 0;
  bottom: 0;
  width: 205px;
  padding: 18px;
  text-align: center;
}

.device-washer {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff, #c9edf5);
  display: grid;
  place-items: center;
  box-shadow: inset -12px -16px 28px rgba(11, 77, 99, 0.18);
}

.device-washer span {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  border: 10px solid rgba(11, 77, 99, 0.18);
  background: rgba(13, 106, 134, 0.10);
}

.washer-card p,
.info-card span {
  color: rgba(255, 255, 255, 0.80);
  font-weight: 800;
}

.info-card {
  left: 0;
  bottom: 68px;
  width: 245px;
  padding: 22px;
}

.info-card span,
.info-card strong {
  display: block;
}

.info-card strong {
  margin-top: 6px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.intro {
  margin-top: -58px;
  position: relative;
  z-index: 6;
}

.intro-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.intro-panel h2,
.section-title h2,
.highlight-copy h2,
.contact-copy h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.intro-panel p,
.section-title p,
.highlight-copy p,
.contact-copy p,
.service-card p,
.coverage-card p,
.footer-content p {
  color: var(--muted);
}

.section-title {
  max-width: 770px;
  margin-bottom: 46px;
}

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

.centered .eyebrow {
  justify-content: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-2), var(--accent));
}

.service-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(11, 77, 99, 0.16);
  font-size: 2rem;
  font-weight: 950;
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 24px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #dff7fd, #ffffff);
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: inset -10px -12px 20px rgba(11, 77, 99, 0.10);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.equipment-highlight {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(135deg, var(--primary-dark), var(--primary-2));
}

.highlight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.highlight-copy h2 {
  color: var(--white);
}

.highlight-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.equipment-list {
  display: grid;
  gap: 14px;
}

.equipment-row {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

.equipment-row span {
  color: var(--accent-soft);
  font-weight: 900;
}

.equipment-row strong {
  color: var(--white);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 18px;
}

.coverage-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.coverage-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 10%, rgba(245, 166, 35, 0.34), transparent 34%),
    linear-gradient(145deg, var(--primary-dark), var(--primary-2));
}

.coverage-card.featured p {
  color: rgba(255, 255, 255, 0.84);
}

.pin {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent-soft);
  font-size: 1.5rem;
}

.coverage-card h3 {
  margin-bottom: 10px;
  color: inherit;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.contact-band {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6, 45, 58, 0.94), rgba(13, 106, 134, 0.86)),
    radial-gradient(circle at 90% 20%, rgba(245, 166, 35, 0.36), transparent 30%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 32px;
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  margin-top: 18px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-bottom: 22px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.contact-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-item span,
.contact-item strong {
  display: block;
}

.contact-item span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-item strong {
  margin-top: 4px;
  font-size: 1.2rem;
}

.site-footer {
  padding: 34px 0 92px;
  background: var(--primary-dark);
}

.footer-content {
  display: grid;
  gap: 8px;
  color: var(--white);
  text-align: center;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.70);
}

.footer-content strong {
  color: var(--white);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #25d366;
  color: #073c1e;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.34);
}

/* El contenido queda visible aunque JavaScript no cargue. JS solo agrega animación suave. */
.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1040px) {
  .hero,
  .intro-panel,
  .highlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .main-device {
    inset: 0 92px 30px 92px;
  }

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

  .coverage-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .navbar {
    width: min(100% - 24px, 1160px);
  }

  .navbar {
    align-items: flex-start;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 0;
    width: min(330px, 100%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    background: rgba(6, 45, 58, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .section-padding,
  .contact-band {
    padding: 68px 0;
  }

  .site-header {
    min-height: auto;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 82px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4.8rem);
  }

  .hero-actions,
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 410px;
  }

  .main-device {
    inset: 0 28px 54px 28px;
  }

  .device-fridge {
    width: 166px;
    height: 315px;
    border-radius: 30px;
  }

  .fridge-handle.top {
    top: 68px;
    height: 62px;
  }

  .fridge-handle.bottom {
    top: 168px;
    height: 88px;
  }

  .spark-one {
    left: -24px;
    top: 70px;
  }

  .spark-two {
    right: -26px;
    bottom: 70px;
  }

  .washer-card {
    width: 168px;
    right: 0;
  }

  .info-card {
    width: 205px;
    left: 0;
    bottom: 44px;
  }

  .intro {
    margin-top: -42px;
  }

  .intro-panel,
  .contact-card {
    padding: 26px;
  }

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

  .coverage-card.featured {
    grid-column: auto;
  }

  .equipment-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 420px) {
  .brand-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-copy strong {
    max-width: 190px;
    display: block;
  }

  .hero-visual {
    min-height: 380px;
  }

  .washer-card,
  .info-card {
    transform: scale(0.92);
  }
}
