﻿:root {
  --green: #149245;
  --black: #111111;
  --line: #e6e6e6;
  --card-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --font-body: "Manrope", sans-serif;
  --font-display: "Sora", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: #ececec;
}

h1,
h2,
h3,
h4,
h5,
.main-nav,
.order-btn,
.btn,
.small-btn,
.logo-wrap {
  font-family: var(--font-display);
}

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

.topbar {
  height: 68px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #ffffff;
  color: #111111;
  font-size: 24px;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  background: #f6f6f6;
  border-color: #cfcfcf;
  transform: translateY(-1px);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.site-logo {
  height: 50px;
  width: auto;
  display: block;
}

.logo-nh {
  font-weight: 900;
  color: var(--green);
  font-size: 33px;
  line-height: 1;
}

.logo-name {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.4px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
  flex: 1 1 auto;
}

.mobile-nav-actions {
  display: none;
}

.main-nav a {
  padding: 22px 0 18px;
  position: relative;
  letter-spacing: 0.1px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--green);
  transform: translateY(-1px);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 100%;
  max-width: 44px;
  height: 2px;
  border-radius: 3px;
  background: var(--green);
  transform: translateX(-50%) scaleX(0.25);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #ffffff;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  color: #4b4b4b;
}

.contact-line {
  font-size: 13px;
  font-weight: 800;
  color: #1c1c1c;
}

.wa-cta {
  background: #16a34a;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wa-cta:hover {
  background: #0f8f3f;
  transform: translateY(-1px);
}

.order-btn {
  border: 0;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(20, 146, 69, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.order-btn:hover {
  transform: translateY(-1px);
  background: #0f7f3c;
  box-shadow: 0 8px 16px rgba(20, 146, 69, 0.32);
}

.page {
  width: 100%;
  margin: 0;
  background: #f3f3f3;
}

.hero-slider {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero-track {
  position: relative;
  min-height: inherit;
}

.hero {
  position: absolute;
  inset: 0;
  min-height: 70vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 1.2s ease;
  pointer-events: none;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.06));
}

.hero.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero--bg1 {
  background-image: url("imagenes/bg.png");
}

.hero--bg2 {
  background-image: url("imagenes/bg2.png");
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: 18px 24px 14px;
  background: transparent;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(26px, 3.1vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.8px;
  font-weight: 900;
  max-width: 640px;
}

.hero-content p {
  margin: 14px 0 0;
  font-size: clamp(13px, 1.15vw, 18px);
  line-height: 1.18;
  max-width: 680px;
  font-weight: 500;
}

.hero-cta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.52);
  transform: translateY(-50%) scale(1.05);
}

.hero-nav-prev {
  left: 14px;
}

.hero-nav-next {
  right: 14px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  transform: scale(1.2);
  background: #ffffff;
}

.btn {
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 800;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-outline {
  border: 2px solid #76b78d;
  color: var(--green);
  background: #f3faf6;
}

.benefits-strip {
  margin: 0;
  min-height: auto;
  padding: 18px 24px 16px;
  background: #161616;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
}

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

.benefit-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 14px;
}

.benefit-icon {
  font-size: 40px;
  color: #19b85a;
  line-height: 1;
  margin-bottom: 0;
}

.benefit-item h4 {
  margin: 0;
  max-width: 270px;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 900;
  color: #ffffff;
}

.benefit-item p {
  margin: 0;
  max-width: 290px;
  font-size: 14px;
  line-height: 1.34;
  font-weight: 500;
  color: #d6d6d6;
}

/* Sección CTA debajo de "Productos más vendidos" */
.contact-cta {
  background: transparent;
  color: #ffffff;
  padding: 26px 0;
  display: flex;
  justify-content: center;
}

.contact-cta-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #0f0f0f;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cta-left h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
}

.cta-sub {
  margin: 8px 0 0;
  color: #86e08b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.wa-large {
  background: var(--green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(20, 146, 69, 0.18);
}

.wa-large i {
  font-size: 20px;
}

@media (max-width: 760px) {
  .contact-cta {
    padding: 18px 0;
  }

  .contact-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 14px 16px;
  }

  .wa-large {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }

  .cta-left h2 {
    font-size: 20px;
  }
}

.trusted-brands {
  padding: 20px 18px 8px;
  background: #f3f3f3;
}

.latest-work {
  padding: 10px 18px 14px;
  background: #f3f3f3;
}

.latest-work-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e8e8e8;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.latest-work-head {
  text-align: center;
  margin-bottom: 16px;
}

.latest-kicker {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.latest-work-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
  font-weight: 900;
}

.latest-work-head p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 170px;
  gap: 14px;
}

.latest-card {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #111;
  cursor: pointer;
  padding: 0;
  min-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.latest-grid .latest-card:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.latest-grid .latest-card:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.latest-grid .latest-card:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}

.latest-grid .latest-card:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.latest-grid .latest-card:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}

.latest-grid .latest-card:nth-child(6) {
  grid-column: 1;
  grid-row: 3;
}

@media (max-width: 1200px) {
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .latest-grid .latest-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .latest-grid .latest-card:nth-child(1) {
    grid-column: 1 / -1;
  }
}

.latest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.latest-card img,
.latest-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.latest-card[data-src="imagenes/Nila.jpeg"] img {
  object-position: right center;
  transform: scale(1.1);
  transform-origin: right center;
}

.latest-card video {
  pointer-events: none;
}

.latest-card::after {
  display: none;
}

.latest-card:hover::after {
  display: none;
}

.latest-meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 10px 10px 9px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
  text-align: left;
  color: #fff;
}

.latest-meta h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0.1px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.latest-meta p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.42;
  color: rgba(240, 240, 240, 0.96);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-meta,
.latest-badge,
.latest-play {
  display: none;
}

.latest-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  background: rgba(12, 12, 12, 0.84);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
  border-radius: 999px;
}

.latest-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  display: none;
  align-items: center;
  justify-content: center;
}

.latest-play i {
  font-size: 30px;
  line-height: 1;
}

.quote-now {
  padding: 14px 18px 18px;
  background: #f3f3f3;
}

.reviews-google {
  padding: 0 18px 18px;
  background: #f3f3f3;
}

.reviews-google-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border: 1px solid #e3e3e3;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.reviews-google-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reviews-google-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.reviews-google-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.reviews-google-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.reviews-google-widget {
  min-height: 220px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 10px;
  overflow: hidden;
}

.quote-now-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(20, 146, 69, 0.24), rgba(20, 146, 69, 0) 34%),
    linear-gradient(135deg, #121212 0%, #1a1a1a 45%, #0f0f0f 100%);
  border: 1px solid #262626;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
}

.quote-copy {
  color: #fff;
}

.quote-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ce0a8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.quote-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #8ce0a8;
}

.quote-copy h2 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.quote-copy p {
  margin: 0;
  color: #d5d5d5;
  font-size: 14px;
  line-height: 1.5;
  max-width: 520px;
}

.quote-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(4px);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-field span {
  color: #eaeaea;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #7b7b7b;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  border-color: rgba(20, 146, 69, 0.55);
  box-shadow: 0 0 0 3px rgba(20, 146, 69, 0.16);
}

.quote-field textarea {
  resize: vertical;
  min-height: 96px;
}

.quote-field--full {
  grid-column: 1 / -1;
}

.quote-submit {
  margin-top: 10px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #25d366 0%, #149245 100%);
  color: #fff;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.26);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-submit:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #27d86a 0%, #117f39 100%);
  box-shadow: 0 14px 24px rgba(37, 211, 102, 0.34);
}

.quote-submit i {
  font-size: 18px;
}

.about-us {
  padding: 14px 18px 18px;
  background: #f3f3f3;
}

.about-us-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background:
    radial-gradient(circle at 88% 14%, rgba(20, 146, 69, 0.14), rgba(20, 146, 69, 0) 32%),
    linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.about-copy {
  padding: 24px 22px 22px;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.about-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.about-copy h2 {
  margin: 10px 0 10px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.about-copy p {
  margin: 0 0 10px;
  color: #505050;
  font-size: 14px;
  line-height: 1.65;
  max-width: 720px;
}

.about-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-stat {
  border-radius: 14px;
  padding: 14px 14px 13px;
  background: #ffffff;
  border: 1px solid #ececec;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.about-stat strong {
  display: block;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.about-stat span {
  display: block;
  margin-top: 6px;
  color: #3f3f3f;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.about-panel {
  padding: 20px;
  background: linear-gradient(180deg, #111111 0%, #171717 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.about-panel-card {
  border-radius: 14px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-panel-card--dark {
  background: linear-gradient(180deg, rgba(20, 146, 69, 0.35) 0%, rgba(20, 146, 69, 0.14) 100%);
  border-color: rgba(140, 224, 168, 0.18);
}

.about-panel-label {
  display: inline-block;
  margin-bottom: 6px;
  color: #8ce0a8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.about-panel-card p {
  margin: 0;
  color: #f0f0f0;
  font-size: 14px;
  line-height: 1.55;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-value {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.about-value i {
  font-size: 20px;
  color: #8ce0a8;
}

.about-value span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.about-cta {
  min-height: 48px;
  margin-top: 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, #25d366 0%, #149245 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.28);
}

.about-cta:hover {
  background: linear-gradient(180deg, #27d86a 0%, #117f39 100%);
  transform: translateY(-1px);
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 18px;
}

.work-lightbox[hidden] {
  display: none !important;
}

.work-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
}

.work-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  height: min(88vh, 820px);
  background: #101010;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(280px, 42%);
}

.work-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.work-lightbox-media {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-lightbox-media img,
.work-lightbox-media iframe,
.work-lightbox-media video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.work-lightbox-media img,
.work-lightbox-media video {
  object-fit: contain;
}

.work-lightbox-info {
  padding: 24px 20px 20px;
  color: #fff;
  overflow-y: auto;
  border-left: 1px solid #2a2a2a;
  background:
    radial-gradient(circle at 88% 8%, rgba(20, 146, 69, 0.28), rgba(20, 146, 69, 0) 40%),
    linear-gradient(180deg, #171717 0%, #101010 100%);
}

.work-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #8ce0a8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.work-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #8ce0a8;
}

.work-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.work-chip {
  border-radius: 999px;
  padding: 6px 10px;
  background: #149245;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.work-chip-soft {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.work-lightbox-info h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.13;
  letter-spacing: -0.3px;
}

.work-description-box {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-lightbox-info p {
  margin: 0;
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.5;
}

.work-cta {
  margin-top: 14px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: #149245;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.work-cta:hover {
  background: #0f7f3c;
  transform: translateY(-1px);
}

.trusted-brands-inner {
  width: min(100%, 1200px);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e8e8e8;
  padding: 24px 20px 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.trusted-head {
  text-align: center;
  margin-bottom: 18px;
}

.trusted-kicker {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.trusted-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
  font-weight: 900;
}

.trusted-head p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.trusted-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.trusted-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: trusted-scroll 28s linear infinite;
}

.trusted-track:hover {
  animation-play-state: paused;
}

.trusted-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  flex: 0 0 auto;
}

.trusted-card {
  flex: 0 0 auto;
  width: 180px;
  min-height: 104px;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.trusted-card img {
  width: auto;
  height: 100%;
  max-width: 132px;
  max-height: 62px;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: 1;
}

.trusted-placeholder {
  color: #a7a7a7;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fbfbfb 0%, #f2f2f2 100%);
}

.trusted-track,
.trusted-track:hover {
  will-change: transform;
}

@keyframes trusted-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .trusted-card {
    width: 160px;
    min-height: 94px;
  }
}

@media (max-width: 560px) {
  .trusted-brands {
    padding: 16px 12px 4px;
  }

  .latest-work {
    padding: 14px 12px 6px;
  }

  .latest-work-inner {
    padding: 18px 14px;
  }

  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 10px;
  }

  .latest-grid .latest-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .latest-grid .latest-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .latest-card,
  .latest-card img,
  .latest-card video {
    min-height: 0;
  }

  .latest-meta h4 {
    font-size: 12px;
  }

  .latest-meta p {
    font-size: 11px;
  }

  .quote-now {
    padding: 12px 12px 16px;
  }

  .reviews-google {
    padding: 0 12px 16px;
  }

  .reviews-google-inner {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .reviews-google-copy h2 {
    font-size: 22px;
  }

  .reviews-google-widget {
    min-height: 180px;
    padding: 8px;
  }

  .quote-now-inner {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .quote-copy h2 {
    font-size: 22px;
  }

  .quote-copy p {
    font-size: 13px;
  }

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

  .quote-form {
    padding: 12px;
  }

  .quote-field input,
  .quote-field select,
  .quote-field textarea {
    padding: 10px 11px;
  }

  .about-us {
    padding: 12px 12px 16px;
  }

  .about-us-inner {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .about-panel {
    padding: 16px;
  }

  .about-copy h2 {
    font-size: 22px;
  }

  .about-copy p {
    font-size: 13px;
  }

  .about-stats,
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-stat strong {
    font-size: 20px;
  }

  .work-lightbox {
    padding: 12px;
  }

  .work-lightbox-dialog {
    width: min(520px, 100%);
    height: min(92vh, 820px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 62%) minmax(0, 38%);
  }

  .work-lightbox-info {
    border-left: 0;
    border-top: 1px solid #2a2a2a;
    padding: 14px;
  }

  .work-lightbox-info h3 {
    font-size: 19px;
  }

  .work-lightbox-info p {
    font-size: 13px;
  }

  .work-chip-row {
    margin-bottom: 10px;
  }

  .work-cta {
    width: 100%;
  }

  .trusted-brands-inner {
    padding: 18px 14px 16px;
  }

  .trusted-card {
    width: 140px;
    min-height: 86px;
  }

  .trusted-group {
    gap: 10px;
    padding-right: 10px;
  }
}

.block {
  padding: 20px 20px 8px;
}

.seo-card {
  width: min(1120px, calc(100% - 40px));
  margin: 14px auto;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
}

.seo-card--split {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.seo-card-media {
  min-height: 100%;
}

.seo-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 20px;
}

.seo-card-body {
  min-width: 0;
}

.seo-card h2,
.seo-card .services-title {
  margin-top: 0;
}

.seo-card h2 {
  color: var(--green);
  text-align: left;
  margin-bottom: 14px;
}

.seo-card p {
  max-width: 88ch;
  margin: 0 0 12px;
  line-height: 1.75;
}

.seo-card details {
  max-width: 88ch;
  margin: 0 auto 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
}

.seo-card summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.seo-card summary::-webkit-details-marker {
  display: none;
}

.seo-card details p {
  margin: 10px 0 0;
}

@media (max-width: 900px) {
  .seo-card--split {
    grid-template-columns: 1fr;
  }

  .seo-card-media img {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .seo-card {
    width: min(100%, calc(100% - 24px));
    padding: 18px 18px 16px;
    margin: 12px auto;
  }

  .seo-card--split {
    gap: 14px;
  }

  .seo-card-media img {
    min-height: 160px;
    border-radius: 14px;
  }

  .seo-card h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .seo-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .seo-card {
    padding: 14px 14px 12px;
  }

  .seo-card-media img {
    min-height: 140px;
  }

  .seo-card h2 {
    font-size: 1rem;
  }

  .seo-card p {
    font-size: 0.85rem;
  }
}

.blog-page {
  padding-bottom: 40px;
}

.blog-hero,
.blog-section-shell,
.blog-article-hero,
.blog-article-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
}

.blog-hero-inner,
.blog-article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7f5 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--card-shadow);
}

.blog-hero-copy h1,
.blog-article-hero h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.05;
}

.blog-kicker,
.blog-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(20, 146, 69, 0.1);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero-actions,
.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.blog-hero-panel {
  display: grid;
  gap: 14px;
}

.blog-hero-stat,
.blog-side-card,
.blog-cta-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.blog-hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green);
}

.blog-hero-stat span {
  color: #4a4a4a;
}

.blog-section-shell {
  margin-top: 28px;
}

.blog-section-head {
  text-align: center;
  margin-bottom: 18px;
}

.blog-section-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
}

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

.blog-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.blog-card-image img,
.blog-article-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-body {
  padding: 18px;
}

.blog-card-meta,
.blog-article-meta,
.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-card-body h3,
.blog-side-card h2,
.blog-section h2,
.blog-section h3 {
  font-family: var(--font-display);
}

.blog-card-body h3 {
  margin: 12px 0 8px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.blog-card-body p,
.blog-section p,
.blog-side-card li,
.blog-article-hero p {
  color: #3d3d3d;
  line-height: 1.72;
}

.blog-link,
.blog-side-link {
  color: var(--green);
  font-weight: 800;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 22px;
}

.blog-article-content {
  display: grid;
  gap: 18px;
}

.blog-section,
.blog-side-card {
  padding: 22px;
}

.blog-section,
.blog-side-card,
.blog-cta-box {
  background: #fff;
}

.blog-section {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--card-shadow);
}

.blog-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.blog-section h3 {
  margin: 16px 0 8px;
  font-size: 1.1rem;
}

.blog-highlight {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  background: #f3faf5;
  border-radius: 0 16px 16px 0;
}

.blog-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.blog-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.blog-mini-card {
  padding: 16px;
  border-radius: 18px;
  background: #f8f9f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-mini-card h4 {
  margin: 0 0 8px;
  color: var(--green);
}

.blog-article-hero-image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: var(--card-shadow);
}

.blog-article-hero .blog-article-meta {
  margin: 10px 0 4px;
}

.blog-breadcrumb {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.blog-breadcrumb span:last-child {
  color: #666;
}

.blog-side-card h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.blog-side-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.blog-side-card + .blog-side-card {
  margin-top: 16px;
}

.blog-cta-box {
  border: 1px solid rgba(20, 146, 69, 0.14);
}

@media (max-width: 980px) {
  .blog-hero-inner,
  .blog-article-hero-inner,
  .blog-article-layout,
  .blog-grid,
  .blog-grid-cards {
    grid-template-columns: 1fr;
  }

  .blog-grid-cards {
    gap: 12px;
  }
}

.block h2 {
  text-align: center;
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  font-weight: 900;
}

.category-grid {
  display: grid;
  gap: 14px;
}

.category-grid.three {
  grid-template-columns: repeat(3, minmax(316px, 362px));
  justify-content: center;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1.06;
  min-height: 0;
  box-shadow: var(--card-shadow);
  background: #111;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-image {
  position: absolute;
  inset: 0;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.06));
}

.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px 10px 10px;
  text-align: center;
  color: #fff;
}

.card-overlay h3 {
  margin: 0;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.card-overlay p {
  margin: 7px 0 9px;
  font-size: clamp(10px, 0.82vw, 11px);
  opacity: 0.94;
  font-weight: 500;
}

.small-btn {
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 11px;
  border-radius: 14px;
  padding: 6px 10px;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}

.small-btn:hover {
  transform: translateY(-1px);
  background: #f2f2f2;
}

.best-sellers {
  padding: 8px 20px 22px;
  background: #f3f3f3;
}

.section-divider {
  width: min(100%, 1200px);
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #149245 18%, #149245 82%, transparent 100%);
}

.best-sellers h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 2.8vw, 40px);
}

.best-sellers-lead {
  margin: 8px 0 18px;
  text-align: center;
  color: #4c4c4c;
  font-size: 15px;
}

.product-grid {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
/* Estilos para seções SEO insertadas (serviços, categorias, FAQ) */
.services-block {
  width: 100%;
  max-width: 1200px;
  margin: 18px auto;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}

.services-feature-body {
  display: block;
  gap: 10px;
}

.services-title {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f0f0f;
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-title i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(20,146,69,0.08);
  color: var(--green);
  font-size: 20px;
}

.services-intro {
  margin: 8px 0 0;
  color: #333333;
  line-height: 1.6;
  font-size: 0.98rem;
}

.seo-solutions .small-btn {
  margin-top: 12px;
}

.category-descriptions .category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-card-small h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.category-card-small p {
  margin: 0;
  color: #444444;
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-block details {
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fbfbfb;
  border: 1px solid #efefef;
}

.faq-block details summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-block details summary::before {
  content: '\25B6';
  display: inline-block;
  width: 18px;
  margin-right: 10px;
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}

.faq-block details[open] summary::before {
  transform: rotate(90deg);
}

.faq-block details[open] {
  background: #ffffff;
}

@media (max-width: 980px) {
  .category-descriptions .category-list {
    grid-template-columns: 1fr;
  }
  .services-block {
    padding: 16px;
    margin: 12px 12px;
  }
}

/* Alineamiento específico dentro de la página de productos (respeta sidebar) */
.products-main > .services-block,
.products-main > .category-descriptions,
.products-main > .faq-block {
  margin: 0 0 18px 0;
  padding: 18px;
  border-radius: 12px;
}

/* Forzar apariencia tipo tarjeta dentro del grid de productos */
.products-container .products-main .services-block,
.products-container .products-main .category-descriptions,
.products-container .products-main .faq-block {
  background: #fff !important;
  border: 1px solid #e9e9e9 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04) !important;
  padding: 20px !important;
  width: 100% !important;
  max-width: none !important;
}

/* Apariencia centrada para la sección en la home */
.page > .seo-solutions.services-block,
.page > .services-block.seo-solutions {
  max-width: 1200px;
  margin: 18px auto;
  background: #fff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
  padding: 22px;
}

/* Mejorar look de los botones y enlaces en estos bloques */
.services-block .small-btn,
.category-card-small a,
.services-block .small-btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 800;
  margin-top: 12px;
}

/* Ajustes tipográficos para integrarse con el layout */
.category-descriptions .category-card-small h3 {
  font-size: 1.1rem;
  color: #0f0f0f;
}

.services-intro {
  color: #333;
  margin-bottom: 10px;
}

.products-main > .services-block .services-feature-body,
.products-main > .category-descriptions .services-feature-body {
  padding: 0;
}
  gap: 18px;
  align-items: stretch;
}

.product-card {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-info h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.product-info p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.product-sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.product-sizes-label {
  font-size: 12px;
  color: #4d4d4d;
  font-weight: 700;
}

.product-size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  color: #149245;
  background: rgba(20, 146, 69, 0.10);
  border: 1px solid rgba(20, 146, 69, 0.22);
}

.price {
  font-size: 15px;
  font-weight: 800;
  color: #149245;
}

.product-btn {
  margin-top: auto;
  display: inline-flex;
  align-self: center;
  justify-content: center;
  width: fit-content;
  min-width: 170px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.26);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-btn:hover {
  background: #1ea952;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.32);
}

.services-large h2 {
  margin-top: 6px;
}

.lead {
  text-align: center;
  font-size: 15px;
  margin: 2px 0;
  color: #222;
}

.service-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-box {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  text-align: center;
  padding: 22px 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.service-box .ico {
  font-size: 34px;
}

.service-box h4 {
  margin: 6px 0;
  font-size: clamp(13px, 1.2vw, 20px);
  line-height: 1.1;
  font-weight: 900;
  color: #1a1a1a;
}

.service-box p {
  margin: 0;
  font-size: clamp(11px, 1vw, 15px);
  color: #262626;
}

.why {
  padding: 10px 26px 14px;
}

.why h3 {
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 10px;
}

.why-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 800;
}

.footer {
  background: #161616;
  color: #fff;
  margin-top: 22px;
  padding: 0;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}

.footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 44px 24px 18px;
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(170px, 0.65fr) minmax(220px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.foot-col h5 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ffffff;
}

.foot-col a,
.foot-col p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #cfcfcf;
  display: block;
  line-height: 1.4;
}

.footer-brand .footer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 360px;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1d1d1d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid #2f2f2f;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.social-btn i {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.social-btn:hover {
  background: #149245;
  border-color: #149245;
  transform: translateY(-1px);
}

.copy {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #c8c8c8;
  border-top: 1px solid #2e2e2e;
  margin-top: 12px;
  padding-top: 14px;
  text-align: center;
}

.wa {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #1cc95b;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.wa-left {
  left: 10px;
}

.wa-right {
  right: 10px;
}

.wa-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-bubble {
  position: relative;
  max-width: 250px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  border: 1px solid #ececec;
  margin-bottom: 2px;
}

.wa-bubble p {
  margin: 0;
}

.wa-bubble::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  transform: rotate(45deg);
}

.wa-bubble-close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: transparent;
  color: #a0a0a0;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.wa-fab {
  position: relative;
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #23d366 0%, #19b85a 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(25, 184, 90, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab i {
  font-size: 34px;
  line-height: 1;
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 28px rgba(25, 184, 90, 0.42);
}

.wa-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff2b55;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.wa-panel {
  width: min(340px, calc(100vw - 32px));
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid #e8e8e8;
  margin-bottom: 2px;
}

.wa-panel-header {
  position: relative;
  min-height: 148px;
  background: linear-gradient(180deg, #1f7a3c 0%, #149245 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 18px 18px;
}

.wa-panel-logo-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.wa-panel-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 999px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 0 0 4px #ffffff, 0 6px 16px rgba(0, 0, 0, 0.18);
  margin: 0;
}

.wa-panel-status {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #2ccf6b;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wa-panel-header p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.wa-panel-body {
  padding: 16px 18px 18px;
  background: #fff;
}

.wa-panel-message {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}

.wa-panel-chat {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1f7a3c 0%, #149245 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(20, 146, 69, 0.2);
}

.wa-panel-close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.wa-widget.is-open .wa-panel {
  display: block;
}

.wa-bubble[hidden],
.wa-panel[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .wa-widget {
    right: 12px;
    bottom: 12px;
  }

  .wa-bubble {
    max-width: 210px;
    font-size: 14px;
    padding: 12px 14px;
  }

  .wa-fab {
    width: 60px;
    height: 60px;
  }

  .wa-fab i {
    font-size: 30px;
  }

  .wa-panel {
    width: min(300px, calc(100vw - 24px));
  }

  .wa-panel-header {
    min-height: 132px;
  }

  .wa-panel-logo-wrap {
    width: 70px;
    height: 70px;
  }

  .wa-panel-logo {
    width: 70px;
    height: 70px;
  }

  .wa-panel-status {
    width: 14px;
    height: 14px;
  }

  .wa-panel-header p {
    font-size: 15px;
  }
}

@media (max-width: 1200px) {
  .topbar {
    height: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 14px;
  }

  .site-logo {
    height: 44px;
  }

  .logo-wrap {
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  .top-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 4;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
    padding: 10px 0 4px;
    border-top: 1px solid #ececec;
  }

  .topbar.is-menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 9px 12px;
  }

  .mobile-nav-actions {
    display: none;
    width: 100%;
    padding: 10px 0 6px;
    margin-top: 4px;
    border-top: 1px solid #ececec;
    gap: 10px;
    flex-direction: column;
  }

  .main-nav a.active::after,
  .main-nav a:hover::after {
    bottom: 2px;
  }

  .top-actions {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }

  .contact-box {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .topbar.is-menu-open .mobile-nav-actions {
    display: flex;
  }

  .hero,
  .hero-slider {
    min-height: 400px;
  }

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

  .benefit-item p {
    font-size: 13px;
  }

  .category-grid.three,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid.three {
    grid-template-columns: repeat(2, minmax(290px, 338px));
  }

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

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

@media (max-width: 900px) {
  .topbar {
    padding: 12px 14px;
    gap: 12px;
    justify-content: flex-start;
  }

  .logo-wrap {
    width: auto;
    justify-content: flex-start;
  }

  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 8px;
    justify-items: stretch;
    align-items: stretch;
    font-size: 13px;
    padding: 10px 0 4px;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .topbar.is-menu-open .main-nav {
    display: flex;
  }

  .topbar.is-menu-open .mobile-nav-actions {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f6f6f6;
  }

  .main-nav a.active,
  .main-nav a:hover {
    background: #eef8f1;
  }

  .main-nav a.active::after,
  .main-nav a:hover::after {
    bottom: 5px;
  }

  .top-actions {
    display: none;
  }

  .order-btn {
    width: 100%;
  }

  .contact-box {
    width: 100%;
    justify-content: center;
  }

  .hero-content {
    min-height: 360px;
    padding: 14px 16px;
  }

  .hero,
  .hero-slider {
    min-height: 360px;
  }

  .block {
    padding: 16px 14px 8px;
  }

  .category-grid.three,
  .service-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .category-card {
    aspect-ratio: 1 / 1.08;
  }

  .why {
    padding: 10px 14px 14px;
  }

  .benefits-strip {
    grid-template-columns: 1fr;
    padding: 14px 12px;
    min-height: auto;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    width: min(100%, 720px);
  }

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

  .work-lightbox-dialog {
    width: min(760px, 100%);
    height: min(90vh, 860px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 64%) minmax(0, 36%);
  }

  .work-lightbox-info {
    border-left: 0;
    border-top: 1px solid #2a2a2a;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 18px 16px;
  }

  .footer-brand p {
    max-width: none;
  }

  .foot-col,
  .footer-brand {
    text-align: center;
  }

  .footer-brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .social-row {
    justify-content: center;
  }

  .copy {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    background: #f1f1f1;
  }

  .section-divider {
    margin-bottom: 14px;
  }

  .hero,
  .hero-slider {
    min-height: 320px;
  }

  .hero-content {
    min-height: 320px;
    padding: 12px 12px;
  }

  .hero-content h1 {
    font-size: 21px;
    line-height: 1;
    max-width: 300px;
  }

  .hero-content p {
    font-size: 11.5px;
    max-width: 290px;
  }

  .best-sellers,
  .trusted-brands,
  .contact-cta {
    padding-left: 12px;
    padding-right: 12px;
  }

  .best-sellers h2,
  .trusted-head h2,
  .cta-left h2 {
    word-break: break-word;
    font-size: 22px;
  }

  .product-card img {
    height: 180px;
  }

  .product-info {
    padding: 11px;
  }

  .hero-cta {
    gap: 8px;
  }

  .btn {
    padding: 9px 14px;
    font-size: 11px;
  }

  .order-btn {
    padding: 9px 14px;
    font-size: 11px;
  }

  .wa-large {
    padding: 10px 14px;
    font-size: 13px;
    gap: 8px;
  }

  .wa-large i {
    font-size: 18px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-item h4 {
    max-width: 260px;
    font-size: 15px;
  }

  .benefit-item p {
    max-width: 280px;
    font-size: 12px;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .site-logo {
    height: 38px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .main-nav {
    font-size: 10px;
  }

  .main-nav a {
    padding: 11px 10px;
    border-radius: 10px;
  }

  .top-actions {
    display: none;
  }

  .contact-box {
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    flex-direction: column;
    align-items: center;
  }

  .contact-label,
  .contact-line {
    text-align: center;
  }

  .wa-cta {
    width: 100%;
    text-align: center;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .why-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .wa-right {
    display: none;
  }

  .mobile-nav-actions {
    gap: 8px;
  }

  .mobile-order-btn {
    width: 100%;
  }

  .mobile-contact-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  }

  .mobile-contact-box .contact-label {
    font-size: 12px;
    color: #d8d8d8;
    letter-spacing: 0.2px;
  }

  .mobile-contact-box .contact-line {
    font-size: 14px;
    color: #000000;
  }

  .mobile-contact-box .wa-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    margin-top: 2px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #25d366 0%, #149245 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 20px rgba(37, 211, 102, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
  }

  .mobile-contact-box .wa-cta i {
    font-size: 18px;
    line-height: 1;
  }

  .product-btn {
    min-width: 0;
    width: 100%;
    max-width: 180px;
    font-size: 11px;
    padding: 7px 10px;
  }

  .small-btn {
    font-size: 10px;
    padding: 5px 9px;
  }

  .latest-work-head h2,
  .best-sellers h2,
  .trusted-head h2,
  .cta-left h2 {
    font-size: 20px;
    line-height: 1.1;
  }

  .mobile-contact-box .wa-cta:hover {
    background: linear-gradient(180deg, #28e06c 0%, #12803a 100%);
    transform: translateY(-1px);
  }

  .footer-inner {
    padding: 28px 14px 14px;
    gap: 20px;
  }

  .foot-col h5 {
    font-size: 18px;
  }

  .foot-col a,
  .foot-col p {
    font-size: 13px;
  }

/* Reglas finales de refuerzo para secciones SEO (alta especificidad) */
.page > .seo-solutions.services-block,
.seo-solutions.services-block.seo-card,
.page .services-block.seo-card {
  background: #ffffff !important;
  border: 1px solid #e9e9e9 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06) !important;
  padding: 28px !important;
  margin: 20px auto !important;
  max-width: 1200px !important;
  border-radius: 16px !important;
  color: #111 !important;
}

.page > .seo-solutions.services-block .services-title,
.seo-solutions.services-block.seo-card .services-title {
  font-size: 1.55rem !important;
  color: #0b0b0b !important;
}

.page > .seo-solutions.services-block .services-intro,
.seo-solutions.services-block.seo-card .services-intro {
  color: #333333 !important;
  line-height: 1.65 !important;
  font-size: 1rem !important;
}

/* Forzar botón verde dentro de estas secciones */
.page > .seo-solutions.services-block .small-btn,
.seo-solutions.services-block.seo-card .small-btn,
.page .services-block.seo-card .small-btn {
  background: var(--green) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 10px 16px !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
}

/* Asegurar que el ancho y el contenedor no rompan el layout */
.page > .seo-solutions.services-block .services-feature-body,
.seo-solutions.services-block.seo-card .services-feature-body {
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .page > .seo-solutions.services-block,
  .seo-solutions.services-block.seo-card {
    padding: 18px !important;
    margin: 12px !important;
  }
}

/* Diseño de tarjeta más marcado para el bloque SEO */
.seo-solutions.services-block.seo-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,0.08) !important;
  padding: 28px 26px !important;
  border-radius: 18px !important;
}

.seo-solutions.services-block.seo-card .services-feature-body {
  display: grid !important;
  grid-template-columns: 72px 1fr !important;
  gap: 18px !important;
  align-items: start !important;
}

.seo-solutions.services-block.seo-card .services-title {
  grid-column: 2 / -1 !important;
  margin: 0 0 8px !important;
}

.seo-solutions.services-block.seo-card .services-title i {
  grid-column: 1 / 2 !important;
  width: 64px !important;
  height: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 26px !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, rgba(20,146,69,0.12), rgba(20,146,69,0.06)) !important;
  color: var(--green) !important;
  box-shadow: 0 6px 18px rgba(20,146,69,0.06) !important;
}

.seo-solutions.services-block.seo-card .services-intro {
  margin: 8px 0 !important;
  color: #444 !important;
}

.seo-solutions.services-block.seo-card .small-btn {
  display: inline-block !important;
  margin-top: 14px !important;
  padding: 10px 18px !important;
  background: var(--green) !important;
  color: #fff !important;
  border-radius: 12px !important;
  text-decoration: none !important;
}

@media (max-width: 880px) {
  .seo-solutions.services-block.seo-card .services-feature-body {
    grid-template-columns: 1fr !important;
  }

  .seo-solutions.services-block.seo-card .services-title i {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 8px !important;
  }

  .seo-solutions.services-block.seo-card .services-title {
    grid-column: auto !important;
  }
}

  .social-btn {
    width: 36px;
    height: 36px;
  }

  .copy {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* ============================================
   PÁGINA DE PRODUCTOS
   ============================================ */

.product-hero {
  background: linear-gradient(135deg, #149245 0%, #0d5a2f 100%);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
  margin-top: 0;
}

.product-hero-content {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
}

.product-hero p {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.4;
  opacity: 0.95;
}

.products-section {
  padding: 24px 20px 30px;
  background: #f3f3f3;
}

.products-container {
  width: min(100%, 1380px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.products-sidebar {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  height: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8e8e8;
}

.filter-group {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ececec;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  color: #111;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  user-select: none;
}

.filter-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}

.filter-checkbox:last-child {
  margin-bottom: 0;
}

.price-range {
  margin-top: 8px;
}

.price-slider {
  width: 100%;
  height: 5px;
  accent-color: var(--green);
  cursor: pointer;
}

.price-label {
  margin-top: 10px;
  font-size: 13px;
  color: #555;
  font-weight: 600;
}

.sort-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  background: #f9f9f9;
  cursor: pointer;
}

.sort-select:hover {
  border-color: var(--green);
}

.products-main {
  display: flex;
  flex-direction: column;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 260px));
  justify-content: start;
  gap: 14px;
}

.no-products {
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #888;
}

.no-products i {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-products p {
  font-size: 16px;
  margin: 0;
}

@media (max-width: 1200px) {
  .products-container {
    grid-template-columns: 240px 1fr;
    gap: 18px;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(200px, 240px));
  }

  .products-sidebar {
    padding: 16px;
  }
}

@media (max-width: 980px) {
  .products-container {
    grid-template-columns: 1fr;
  }

  .products-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
  }

  .filter-group {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(180px, 220px));
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .product-hero {
    padding: 32px 16px;
  }

  .product-hero h1 {
    font-size: 24px;
  }

  .product-hero p {
    font-size: 13px;
    line-height: 1.5;
  }

  .products-section {
    padding: 16px 12px 20px;
  }

  .products-sidebar {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .filter-group {
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .filter-title {
    font-size: 14px;
  }

  .filter-checkbox {
    font-size: 12px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    max-width: 100%;
  }

  .product-info {
    padding: 10px;
    gap: 4px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .product-info p {
    font-size: 12px;
  }

  .price {
    font-size: 14px;
  }

  .product-btn {
    font-size: 11px;
    padding: 6px 10px;
    min-width: 160px;
  }
}
