/* ============================================================
   NESS – Estilos Globales
   Colores: #006067 primario | #89A7B7 secundario | #F0F4F7 fondo
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  color: #1a2433;
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:    #006067;
  --primary-dk: #004549;
  --primary-lt: #00808a;
  --secondary:  #89A7B7;
  --bg-light:   #F0F4F7;
  --bg-dark:    #0e1e28;
  --text:       #1a2433;
  --text-muted: #5a6a7a;
  --white:      #ffffff;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.15);
  --transition: .25s ease;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 5rem 0; }
.section--alt { background-color: var(--bg-light); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; max-width: 100%; }

/* Limitar grid-3 a máximo 3 columnas */
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Responsive para grid-3 en todas las secciones */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Imágenes de productos sin recortar */
#productos .card img {
  object-fit: contain !important;
  background-color: #f8f9fa;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,96,103,.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e2e8ef;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
}

.navbar__logo span { color: var(--secondary); }

.navbar__nav { display: flex; align-items: center; gap: .25rem; }

.navbar__nav a,
.navbar__dropdown-toggle {
  padding: .5rem .85rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.navbar__nav a:hover,
.navbar__dropdown-toggle:hover { color: var(--primary); background: var(--bg-light); }
.navbar__nav a.active { color: var(--primary); }

/* Dropdown */
.navbar__item { position: relative; }

.navbar__dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid #e2e8ef;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.navbar__item:hover .navbar__dropdown,
.navbar__item:focus-within .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown a {
  display: block;
  padding: .6rem 1.1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
}
.navbar__dropdown a:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.navbar__dropdown a:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.navbar__dropdown a:hover { background: var(--bg-light); color: var(--primary); }

.navbar__cta { margin-left: .75rem; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #162533 60%, #0e2a30 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006067' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__badge {
  display: inline-block;
  background: rgba(0,96,103,.4);
  border: 1px solid rgba(0,128,138,.4);
  color: #7fd8df;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 span { color: #7fd8df; }

.hero__desc {
  font-size: 1.1rem;
  color: #a0b8c8;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.hero__stat-label {
  font-size: .78rem;
  color: #7a9baa;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid #e2e8ef;
  border-radius: calc(var(--radius) * 1.5);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
}

.card__icon--primary { background: rgba(0,96,103,.1); }

.card h3 { color: var(--text); margin-bottom: .5rem; }
.card p  { font-size: .9rem; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}
.card__link:hover { gap: .6rem; }

/* ── Feature list ─────────────────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(0,96,103,.12);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  margin-top: .15rem;
}

/* ── Page hero (subpáginas) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}

.page-hero .section-label { color: rgba(255,255,255,.7); }
.page-hero h1 { color: var(--white); margin-bottom: .9rem; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 640px; }

/* ── Specs table ─────────────────────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs-table th,
.specs-table td {
  text-align: left;
  padding: .75rem 1rem;
  border-bottom: 1px solid #e2e8ef;
}
.specs-table th { color: var(--text); font-weight: 600; background: var(--bg-light); }
.specs-table td { color: var(--text-muted); }
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

/* ── Product image label ────────────────────────────────── */
.product-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.product-img-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #006067;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 99px;
}

/* ── Product layout 2-col (text + image) ────────────────── */
.product-layout-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .product-layout-grid {
    grid-template-columns: 1fr;
  }
  .product-layout-grid > div:last-child {
    order: -1;
    text-align: center;
  }
  .product-layout-grid > div:last-child img {
    max-width: 280px;
  }
}

/* ── Product photos grid ────────────────────────────────── */
.product-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .product-photos-grid { grid-template-columns: 1fr; }
}

/* ── Problems grid ──────────────────────────────────────── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border-left: 4px solid #006067;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.problem-card__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #006067;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.problem-card__icon::after {
  content: "!";
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
}
.problem-card__text {
  font-size: 15px;
  color: #2C2C2C;
  line-height: 1.5;
  font-family: Montserrat, sans-serif;
}
.problems-subtitle {
  font-size: 15px;
  color: #89A7B7;
  margin: 4px 0 0;
}
@media (max-width: 768px) {
  .problems-grid { grid-template-columns: 1fr; }
}

/* ── Specs table NESS branded ───────────────────────────── */
.specs-table--ness { width: 100%; border-collapse: collapse; font-size: .9rem; font-family: inherit; }
.specs-table--ness th,
.specs-table--ness td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid #e2e8ef; }
.specs-table--ness thead th { background: #006067; color: #fff; font-weight: 600; border-bottom: none; }
.specs-table--ness tbody tr:nth-child(even) td { background: var(--bg-light); }
.specs-table--ness tbody tr:last-child td { border-bottom: none; }
.specs-note { font-size: .8rem; color: var(--text-muted); margin-top: .6rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: .75rem; }

.faq__item {
  border: 1px solid #e2e8ef;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  transition: background var(--transition);
}
.faq__question:hover { background: var(--bg-light); }

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--primary);
  transition: transform var(--transition), background var(--transition);
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  background: rgba(0,96,103,.12);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq__answer p {
  padding: 0 1.25rem 1.1rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.faq__item.open .faq__answer { max-height: 400px; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner .btn-white { box-shadow: 0 4px 20px rgba(0,0,0,.2); }

/* ── Contact ─────────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #d0dae4;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,96,103,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Contact info card ─────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  background: rgba(0,96,103,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .15rem; }
.contact-info__value { font-size: .95rem; font-weight: 600; color: var(--text); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { opacity: .5; }

/* ── Tag chips ────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tag {
  display: inline-block;
  padding: .3rem .75rem;
  background: rgba(0,96,103,.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}

/* ── Two-column content layout ────────────────────────────── */
.content-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .content-cols { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Benefit strip ────────────────────────────────────────── */
.benefit-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid #e2e8ef;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
}

.benefit-strip__item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid #e2e8ef;
  text-align: center;
}
.benefit-strip__item:last-child { border-right: none; }
.benefit-strip__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: .25rem;
}
.benefit-strip__label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: #7a9baa;
  padding: 3.5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.footer__brand span { color: var(--secondary); }
.footer__desc { font-size: .85rem; line-height: 1.7; max-width: 280px; }

.footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }

.footer__links { display: flex; flex-direction: column; gap: .55rem; }
.footer__links a {
  font-size: .85rem;
  color: #7a9baa;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__contact-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; margin-bottom: .65rem; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
}

/* ── WhatsApp float button ────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  font-size: 1.5rem;
  color: var(--white);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,.3); }

/* ── Cookie Banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid #e2e8ef;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  z-index: 1000;
  transform: translateY(0);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 1;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-banner__actions {
    width: 100%;
  }
  
  .cookie-banner__actions .btn {
    width: 100%;
  }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .navbar__nav { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar__nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--primary);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1rem;
    gap: .25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    z-index: 999;
  }

  .navbar__nav.active a,
  .navbar__nav.active .navbar__dropdown-toggle {
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,.15);
    border-radius: 0;
  }
  .navbar__nav.active a:hover,
  .navbar__nav.active .navbar__dropdown-toggle:hover {
    background: rgba(255,255,255,.1);
    color: #ffffff;
  }
  .navbar__nav.active .navbar__cta {
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius);
    border-bottom: none;
    margin-top: .5rem;
    text-align: center;
    justify-content: center;
  }

  .navbar__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin: .25rem 0;
    display: none;
  }
  .navbar__item.open .navbar__dropdown { display: block; }

  .navbar__nav.active .navbar__dropdown {
    background: rgba(255,255,255,.12);
    border-radius: var(--radius);
    margin: .25rem 0;
  }
  .navbar__nav.active .navbar__dropdown a {
    color: #ffffff !important;
    background: transparent;
    padding: 10px 20px 10px 32px;
    font-size: 14px;
    opacity: .9;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }
  .navbar__nav.active .navbar__dropdown a:hover {
    opacity: 1;
    background: rgba(255,255,255,.15) !important;
    color: #ffffff !important;
  }

  .hero { padding: 4rem 0 3rem; }
  .hero__stats { gap: 1.75rem; }

  .benefit-strip { border-radius: var(--radius); }
  .benefit-strip__item { border-right: none; border-bottom: 1px solid #e2e8ef; }
  .benefit-strip__item:last-child { border-bottom: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .contact-form { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ── Contact split ───────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}

.contact-split__col { padding: 0 2.5rem; }
.contact-split__col:first-child { padding-left: 0; }
.contact-split__col:last-child  { padding-right: 0; }

.contact-split__divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 480px;
}
.contact-split__divider::before,
.contact-split__divider::after {
  content: '';
  flex: 1;
  width: 1px;
  background: #e2e8ef;
}
.contact-split__divider span {
  padding: .75rem 0;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 768px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  .contact-split__col { padding: 0; }
  .contact-split__divider {
    flex-direction: row;
    min-height: unset;
    padding: 2rem 0;
  }
  .contact-split__divider::before,
  .contact-split__divider::after {
    width: auto;
    height: 1px;
    flex: 1;
  }
  .contact-split__divider span { padding: 0 1rem; }
}

/* ── Grid servicios y productos (index) ───────────────────── */
#servicios .grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

#productos-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

#servicios .card,
#productos .card {
  min-height: 420px;
}

#servicios .card img,
#productos .card img {
  height: 220px !important;
}

/* Corregir margen de imágenes en desktop para servicios y productos */
@media (min-width: 769px) {
  #servicios .card img,
  #productos .card img {
    width: 100% !important;
    margin: 0 0 1.25rem 0 !important;
    border-radius: 12px 12px 0 0 !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #servicios .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #servicios .grid-3,
  #productos-grid {
    grid-template-columns: 1fr;
  }
  
  /* Corregir margen de imágenes en móviles */
  #servicios .card img,
  #productos .card img {
    width: 100% !important;
    height: 180px !important;
    margin: 0 0 1.25rem 0 !important;
    border-radius: 12px 12px 0 0 !important;
  }
}
