:root {
  --navy: #0d2f4f;
  --blue: #1769aa;
  --teal: #0f9f8f;
  --green: #12a45a;
  --ink: #172331;
  --muted: #64748b;
  --line: #dce5ec;
  --paper: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 47, 79, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.65;
  padding-bottom: 96px;
}

a {
  color: inherit;
}

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

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

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.2rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.96rem;
}

.site-nav a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(18, 164, 90, 0.26);
}

.btn-blue {
  background: var(--blue);
}

.btn-outline {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.btn-whatsapp {
  background: #25d366;
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 47, 79, 0.92), rgba(13, 47, 79, 0.76), rgba(13, 47, 79, 0.38)),
    url("../images/distribuidora_garcia_limpieza_industral.webp") center / cover no-repeat;
}

.hero-narrow {
  min-height: 360px;
}

.hero-content {
  max-width: 760px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #b6f4d0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.45rem, 7vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.hero p {
  max-width: 670px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions,
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 74px 0;
}

.section-soft {
  background: var(--paper);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.section-kicker {
  color: var(--green);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.section h2,
.section-title {
  color: var(--navy);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(13, 47, 79, 0.08);
}

.card-body {
  padding: 24px;
}

.card h3 {
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.card-img {
  height: 210px;
  overflow: hidden;
  background: var(--paper);
}

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

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.feature-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.panel {
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.stat {
  background: var(--paper);
  border-radius: 8px;
  padding: 18px;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 1.55rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 42px;
  align-items: center;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.faq-item h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card i {
  color: var(--green);
  font-size: 1.25rem;
  width: 24px;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 35px;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  text-align: center;
  font-size: 0.92rem;
}

.floating-buttons {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  display: grid;
  gap: 12px;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1.35rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-call {
  background: var(--blue);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(13, 47, 79, 0.72);
  padding: 16px;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: min(720px, 100%);
  max-height: 92vh;
  overflow: hidden;
  background: #eef3f6;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  z-index: 3;
}

.modal-title {
  color: var(--navy);
  text-align: center;
  padding: 24px 52px 10px;
  font-size: 1.65rem;
}

.progress-container {
  height: 8px;
  background: #dce5ec;
  margin: 0 24px;
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 0.25s ease;
}

.step-indicator {
  text-align: center;
  color: var(--muted);
  margin: 10px 0;
  font-size: 0.9rem;
}

.form-steps-container {
  min-height: 300px;
  padding: 18px 24px;
  display: grid;
  place-items: center;
}

.form-step {
  display: none;
  width: 100%;
}

.form-step.active {
  display: block;
}

.form-group {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.form-group label {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.form-control,
.phone-number-input,
.country-code-select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 2px solid #ccd8e0;
  border-radius: 8px;
  background: var(--white);
  font-size: 1.02rem;
  text-align: center;
}

.phone-input-container {
  display: flex;
  gap: 12px;
}

.country-code-select {
  flex: 0 0 145px;
}

.radio-options {
  display: grid;
  gap: 12px;
  text-align: left;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 2px solid #ccd8e0;
  border-radius: 8px;
  background: var(--white);
}

.radio-option label {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.form-navigation {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px 24px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.article-body {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-top: 34px;
}

.article-body p,
.article-body li {
  color: #243244;
  font-size: 1.02rem;
  line-height: 1.82;
}

.article-body h2,
.article-body h3 {
  color: var(--navy);
  letter-spacing: 0;
}

.article-body h2 {
  margin-top: 26px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.24;
}

.article-body h3 {
  margin-top: 18px;
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  line-height: 1.32;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 9px;
  padding-left: 22px;
  margin: 4px 0 8px;
}

.article-body blockquote {
  margin: 14px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}

.article-body a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-cta {
  max-width: 820px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

#articleContent.panel {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 12px 32px rgba(13, 47, 79, 0.08);
}

#articleContent .section-title {
  max-width: 920px;
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

#articleContent .lead {
  max-width: 760px;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.article-cta .hero-actions {
  margin-top: 18px;
}

@media (max-width: 920px) {
  .grid-3,
  .grid-4,
  .split,
  .product-detail,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 86px;
  }

  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 0 0 18px;
  }

  .site-nav.active {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 12px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 540px;
    background-position: center;
  }

  .section {
    padding: 52px 0;
  }

  .hero-actions,
  .cta-row,
  .form-navigation,
  .phone-input-container {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .country-code-select {
    flex: auto;
  }

  .product-image img,
  .card-img {
    height: 260px;
  }

  .panel,
  .card-body {
    padding: 22px;
  }

  .floating-btn {
    width: 54px;
    height: 54px;
  }
}
