/* ================================================
   TUBACROM — Estilos principales
   Archivo: assets/css/style.css
================================================ */

:root {
  --v1: #0d2818;
  --v2: #1a3c2b;
  --v3: #2d6a4f;
  --v4: #40916c;
  --v5: #74c69d;
  --v6: #b7e4c7;
  --v7: #d8f3dc;
  --crema: #f5f2eb;
  --blanco: #ffffff;
  --gris1: #1e1e1e;
  --gris2: #4b5563;
  --gris3: #9ca3af;
  --sombra: 0 8px 40px rgba(13, 40, 24, 0.13);
  --sombra2: 0 20px 60px rgba(13, 40, 24, 0.22);
  --r: 14px;
  --t: 0.35s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--crema);
  color: var(--gris1);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

section {
  padding: 96px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-block;
  background: var(--v7);
  color: var(--v3);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--v2);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.subtitulo {
  font-size: 1rem;
  color: var(--gris2);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--t);
  white-space: nowrap;
}

.btn-verde {
  background: var(--v4);
  color: var(--blanco);
  box-shadow: 0 4px 18px rgba(64, 145, 108, .35);
}

.btn-verde:hover {
  background: var(--v3);
  box-shadow: 0 8px 28px rgba(64, 145, 108, .45);
  transform: translateY(-2px);
}

.btn-blanco {
  background: var(--blanco);
  color: var(--v2);
}

.btn-blanco:hover {
  background: var(--v7);
  transform: translateY(-2px);
}

.btn-outline-blanco {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255, 255, 255, .55);
}

.btn-outline-blanco:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--blanco);
  transform: translateY(-2px);
}

/* LOGO NAVBAR */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--t);
  mix-blend-mode: screen;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 22px 0;
  transition: var(--t);
}

.nav.scrolled {
  background: rgba(13, 40, 24, .96);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blanco);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--v5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .02em;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--v5);
}

.nav-cta {
  background: var(--v5) !important;
  color: var(--v1) !important;
  font-weight: 600 !important;
  padding: 8px 20px;
  border-radius: 100px;
}

.nav-cta:hover {
  background: var(--blanco) !important;
  color: var(--v2) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: var(--t);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* LOGO HERO */
.hero-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  mix-blend-mode: multiply;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: radial-gradient(ellipse at 30% 50%, #0d2818 0%, #060d0a 60%, #030806 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0px, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 60px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0px, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 106, 79, .18) 0%, transparent 65%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(116, 198, 157, .15);
  border: 1px solid rgba(116, 198, 157, .3);
  color: var(--v5);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 800;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 18px;
  line-height: 1.0;
}

.hero h1 em {
  font-style: normal;
  color: var(--v5);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 460px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-panel {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-panel-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--v5);
  margin-bottom: 4px;
}

.producto-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  transition: var(--t);
}

.producto-item:hover {
  background: rgba(116, 198, 157, .12);
  border-color: rgba(116, 198, 157, .3);
}

.producto-icono {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(116, 198, 157, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v5);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.producto-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 2px;
}

.producto-item p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 12px;
}

.hero-stat {
  background: rgba(255, 255, 255, .05);
  padding: 18px 12px;
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--v5);
  line-height: 1;
}

.hero-stat span {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
}

/* NOSOTROS */
#nosotros {
  background: var(--blanco);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nosotros-img-wrap {
  position: relative;
}

.nosotros-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--v6), var(--v7));
  box-shadow: var(--sombra2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v3);
  font-size: .9rem;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}

.nosotros-img i {
  font-size: 3rem;
  opacity: .35;
}

.nosotros-float {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 165px;
  height: 165px;
  border-radius: 18px;
  background: var(--v3);
  box-shadow: var(--sombra2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  gap: 3px;
}

.nosotros-float strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--v5);
}

.nosotros-float span {
  font-size: .78rem;
  opacity: .7;
  text-align: center;
  padding: 0 10px;
}

.pilares {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 38px;
}

.pilar {
  background: var(--v7);
  border-radius: var(--r);
  padding: 20px;
  transition: var(--t);
}

.pilar:hover {
  background: var(--v6);
  transform: translateY(-3px);
}

.pilar i {
  font-size: 1.3rem;
  color: var(--v4);
  margin-bottom: 9px;
}

.pilar h4 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--v2);
  margin-bottom: 4px;
}

.pilar p {
  font-size: .8rem;
  color: var(--gris2);
  line-height: 1.5;
}

/* PRODUCTOS */
#productos {
  background: var(--crema);
}

.productos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.g-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--blanco);
  box-shadow: var(--sombra);
  transition: var(--t);
  cursor: pointer;
}

.g-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sombra2);
}

.g-card:nth-child(1) {
  grid-column: span 2;
}

.g-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--v3), var(--v4));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.g-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 40, 24, .55) 0%, transparent 50%);
}

.g-img i {
  font-size: 2.5rem;
  opacity: .4;
  position: relative;
  z-index: 1;
}

.g-img span {
  position: relative;
  z-index: 1;
}

.g-info {
  padding: 18px 20px 20px;
}

.g-tag {
  display: inline-block;
  background: var(--v7);
  color: var(--v3);
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.g-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--v2);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.g-info p {
  font-size: .82rem;
  color: var(--gris2);
  line-height: 1.55;
}

/* VIDEOS */
#videos {
  background: var(--v1);
  position: relative;
  overflow: hidden;
}

#videos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(64, 145, 108, .2) 0%, transparent 60%);
  pointer-events: none;
}

#videos .badge {
  background: rgba(116, 198, 157, .15);
  color: var(--v5);
}

#videos .titulo {
  color: var(--blanco);
}

#videos .subtitulo {
  color: rgba(255, 255, 255, .5);
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.v-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: var(--t);
}

.v-card:hover {
  border-color: rgba(116, 198, 157, .35);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3);
}

.v-embed {
  aspect-ratio: 16/9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .25);
  flex-direction: column;
  gap: 12px;
  font-size: .82rem;
  min-height: 200px;
}

.v-embed i {
  font-size: 3rem;
  color: var(--v5);
  opacity: .6;
}

.v-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.v-info {
  padding: 16px 18px 18px;
}

.v-info h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 5px;
}

.v-info p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

/* EQUIPO */
#equipo {
  background: var(--blanco);
}

.equipo-header {
  text-align: center;
  margin-bottom: 56px;
}

.equipo-header .subtitulo {
  margin: 0 auto;
}

.swiper-equipo {
  padding-bottom: 50px !important;
}

.e-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--crema);
  text-align: center;
  transition: var(--t);
}

.e-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra2);
}

.e-foto {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--v5), var(--v6));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v2);
  font-size: 4rem;
  min-height: 220px;
}

.e-info {
  padding: 20px 18px 22px;
}

.e-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--v2);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.e-cargo {
  font-size: .75rem;
  font-weight: 600;
  color: var(--v4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.e-info p {
  font-size: .8rem;
  color: var(--gris2);
  line-height: 1.55;
}

.swiper-pagination-bullet {
  background: var(--v4);
}

.swiper-pagination-bullet-active {
  background: var(--v2);
}

/* CONTACTO */
#contacto {
  background: var(--crema);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}

.dato {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dato-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--v7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v4);
  font-size: .95rem;
  flex-shrink: 0;
}

.dato h4 {
  font-size: .72rem;
  font-weight: 600;
  color: var(--v4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}

.dato p {
  font-size: .9rem;
  color: var(--gris1);
}

.redes {
  display: flex;
  gap: 10px;
}

.red {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--v7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v3);
  font-size: 1.1rem;
  transition: var(--t);
}

.red:hover {
  background: var(--v4);
  color: var(--blanco);
  transform: translateY(-3px);
}

.form-box {
  background: var(--blanco);
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow: var(--sombra);
}

.form-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v2);
  text-transform: uppercase;
  margin-bottom: 26px;
}

.fg {
  margin-bottom: 18px;
}

.fg label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gris1);
  margin-bottom: 6px;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: var(--gris1);
  background: var(--crema);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--v4);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, .1);
  background: var(--blanco);
}

.fg textarea {
  resize: vertical;
  min-height: 105px;
}

.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-enviar {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: .97rem;
  margin-top: 4px;
}

.form-ok {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 10px;
}

.form-ok i {
  font-size: 3.5rem;
  color: var(--v4);
}

.form-ok h4 {
  font-size: 1.4rem;
  color: var(--v2);
}

.form-ok p {
  font-size: .88rem;
  color: var(--gris2);
}

.mapa-wrap {
  border-radius: 18px;
  overflow: hidden;
  height: 420px;
  margin-top: 50px;
  box-shadow: var(--sombra);
  background: var(--v7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--v3);
  font-size: .9rem;
}

.mapa-wrap i {
  font-size: 2.5rem;
  opacity: .4;
}

/* FOOTER */
footer {
  background: var(--v1);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.footer-logo span {
  color: var(--v5);
}

.footer-brand>p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .42);
  line-height: 1.7;
  max-width: 270px;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--v5);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .42);
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--v5);
}

.footer-hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 26px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .3);
}

.footer-bottom span {
  color: var(--v5);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .galeria {
    grid-template-columns: 1fr 1fr;
  }

  .g-card:nth-child(1) {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--v1);
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 1000;
  }

  .nav-links.open a {
    font-size: 1.5rem;
  }

  .hero {
    padding: 110px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-desc {
    margin: 0 auto 38px;
  }

  .hero-btns {
    justify-content: center;
  }

  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .nosotros-float {
    right: 0;
    bottom: -22px;
    width: 140px;
    height: 140px;
  }

  .galeria {
    grid-template-columns: 1fr;
  }

  .g-card:nth-child(1) {
    grid-column: span 1;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .form-box {
    padding: 28px 22px;
  }

  .fg-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .pilares {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   NAVBAR GLASS — estilo fijo/transparente tipo Museo Medellín
========================================================= */
.nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0;
  pointer-events: none;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

.nav .container {
  width: min(1180px, calc(100% - 44px));
  min-height: 72px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(4, 24, 14, .34);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  pointer-events: auto;
}

.nav.scrolled .container {
  min-height: 64px;
  background: rgba(4, 24, 14, .78);
  border-color: rgba(116, 198, 157, .22);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .32);
}

.nav-logo-img {
  height: 48px;
  width: auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  padding: 4px;
  mix-blend-mode: normal !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.nav-links {
  gap: 10px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 6px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--v5), var(--v4)) !important;
  color: var(--v1) !important;
  box-shadow: 0 10px 28px rgba(116, 198, 157, .22);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
}

.lang-btn {
  height: 36px;
  min-width: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: rgba(255, 255, 255, .66);
  background: transparent;
  font-weight: 900;
  letter-spacing: .03em;
}

.lang-btn.active {
  color: var(--v1);
  background: var(--v5);
}

.hero {
  padding-top: 160px;
}

/* =========================================================
   FIX HOSTING 2026-06-05 — navbar, anclas y fallback visual
========================================================= */
html {
  scroll-padding-top: 110px;
}

section {
  scroll-margin-top: 110px;
}

.nav {
  will-change: transform, top;
}

.nav .container {
  margin-left: auto;
  margin-right: auto;
}

.nav.scrolled {
  top: 10px;
}

.nav.scrolled .container {
  width: min(1180px, calc(100% - 44px));
  border-radius: 999px;
}

body.menu-open {
  overflow: hidden;
}

/* Si AOS o Swiper fallan por CDN, el contenido debe seguir visible */
[data-aos] {
  visibility: visible;
}

.swiper-equipo:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  transform: none !important;
}

.swiper-equipo:not(.swiper-initialized) .swiper-slide {
  width: auto !important;
}

@media (max-width: 1024px) {
  .swiper-equipo:not(.swiper-initialized) .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 92px;
  }

  section {
    scroll-margin-top: 92px;
  }

  .nav.scrolled {
    top: 8px;
  }

  .nav.scrolled .container {
    width: calc(100% - 24px);
    border-radius: 28px;
  }

  .swiper-equipo:not(.swiper-initialized) .swiper-wrapper {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   AJUSTES COMERCIALES 2026-06 — productos, favicon y WhatsApp
========================================================= */
.galeria {
  gap: 28px;
}

.g-card {
  border-radius: 24px;
}

.g-card:nth-child(1) {
  grid-column: span 2;
}

.g-img {
  min-height: 260px;
  aspect-ratio: 4/3;
  background: #0f1713;
}

.g-card:nth-child(1) .g-img {
  min-height: 390px;
  aspect-ratio: 16/10;
}

.g-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform .45s ease, filter .45s ease;
}

.g-card:hover .g-img img {
  transform: scale(1.16);
  filter: contrast(1.05) saturate(1.05);
}

.g-img::after {
  background: linear-gradient(to top, rgba(5, 20, 12, .35) 0%, rgba(5, 20, 12, .05) 45%, transparent 100%);
  pointer-events: none;
}

.service-img {
  background: linear-gradient(135deg, var(--v2), var(--v4));
  min-height: 260px;
}

.service-img i {
  font-size: 3.4rem;
  color: rgba(255, 255, 255, .72);
}

.service-img span {
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
  letter-spacing: .02em;
}

@media(max-width:900px) {
  .galeria {
    grid-template-columns: 1fr 1fr;
  }

  .g-card:nth-child(1) {
    grid-column: span 2;
  }

  .g-img {
    min-height: 240px;
  }

  .g-card:nth-child(1) .g-img {
    min-height: 320px;
  }
}

@media(max-width:560px) {
  .galeria {
    grid-template-columns: 1fr;
  }

  .g-card:nth-child(1) {
    grid-column: span 1;
  }

  .g-card:nth-child(1) .g-img,
  .g-img {
    min-height: 260px;
    aspect-ratio: 4/3;
  }

  .wa-widget {
    right: 16px;
    bottom: 16px;
  }

  .wa-float {
    width: 60px;
    height: 60px;
    min-height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .wa-float svg {
    width: 31px;
    height: 31px;
    min-width: 31px;
  }

  .wa-panel {
    bottom: 88px;
    right: 0;
    width: min(350px, calc(100vw - 32px));
  }
}


/* =========================================================
   FIX FINAL 2026-06 — imágenes, navbar integrado y WhatsApp
   Estos ajustes van al final para respetar tus cambios previos.
========================================================= */

/* 1) Navbar integrado a la página, sin luz/sombra blanca */
.nav,
.nav.scrolled {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 12px 0 !important;
  background: #082314 !important;
  background: linear-gradient(180deg, #082314 0%, #092617 100%) !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}

.nav::before,
.nav::after {
  content: none !important;
}

.nav .container,
.nav.scrolled .container {
  width: min(1180px, calc(100% - 44px)) !important;
  min-height: 66px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1px solid rgba(116, 198, 157, .20) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nav-logo-img {
  height: 48px !important;
  max-width: 150px !important;
  object-fit: contain !important;
  display: block !important;
  background: #fff !important;
  border-radius: 12px !important;
  padding: 4px !important;
  mix-blend-mode: normal !important;
}

.hero {
  padding-top: 150px !important;
}

/* Evita que al navegar por anclas el navbar tape títulos */
section {
  scroll-margin-top: 105px !important;
}

/* 2) Imágenes cargadas correctamente y sin iconos fantasma encima */
.nosotros-img {
  background: none !important;
  overflow: hidden !important;
}

.nosotros-img>i {
  display: none !important;
}

.nosotros-img img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 4/3 !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  display: block !important;
}

.g-img img {
  position: relative !important;
  z-index: 1 !important;
}


/* =========================================================
   WHATSAPP PREMIUM 2026 — TUBACROM
   Único bloque activo de WhatsApp. No dupliques estilos .wa-*.
========================================================= */
.whatsapp-btn {
  display: none !important;
}

.wa-widget {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 99999;
  font-family: 'DM Sans', sans-serif;
}

.wa-float {
  position: relative;
  border: 1px solid rgba(116, 198, 157, .22);
  cursor: pointer;
  min-height: 66px;
  min-width: 66px;
  border-radius: 22px;
  padding: 10px 18px 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(13, 40, 24, .96), rgba(26, 60, 43, .94));
  color: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 17, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 20%, rgba(37, 211, 102, .22), transparent 42%);
  pointer-events: none;
}

.wa-float:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 211, 102, .45);
  box-shadow: 0 24px 58px rgba(7, 27, 17, .42), 0 0 0 8px rgba(37, 211, 102, .08), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.wa-float svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #25D366;
  background: rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 6px;
  box-sizing: border-box;
}

.wa-float-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 900;
  font-size: .92rem;
  line-height: 1.05;
  white-space: nowrap;
}

.wa-float-text::before {
  content: "WhatsApp";
  color: var(--v5);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wa-panel {
  position: absolute;
  right: 0;
  bottom: 86px;
  width: min(410px, calc(100vw - 36px));
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(13, 40, 24, .12);
  box-shadow: 0 30px 90px rgba(7, 27, 17, .28), inset 0 1px 0 rgba(255, 255, 255, .75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  pointer-events: none;
  transform-origin: 86% 100%;
  transition: opacity .28s ease, transform .28s ease;
}

.wa-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.wa-panel-head {
  position: relative;
  padding: 24px 24px 22px;
  color: #fff;
  background: radial-gradient(circle at 18% 15%, rgba(116, 198, 157, .24), transparent 38%), linear-gradient(135deg, #0d2818 0%, #1a3c2b 52%, #2d6a4f 100%);
}

.wa-panel-head::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .14);
}

.wa-panel-head span {
  display: block;
  margin-bottom: 7px;
  color: var(--v5);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wa-panel-head strong {
  display: block;
  max-width: 270px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.05rem;
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.wa-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: background .22s ease, transform .22s ease;
}

.wa-close:hover {
  background: rgba(255, 255, 255, .20);
  transform: rotate(90deg);
}

.wa-panel-text {
  padding: 20px 24px 2px;
  color: #4b5563;
  font-size: .94rem;
  line-height: 1.65;
}

.wa-advisors {
  display: grid;
  gap: 12px;
  padding: 18px 18px 22px;
}

.wa-advisor {
  display: grid;
  grid-template-columns: 54px 1fr 42px;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 13px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(245, 242, 235, .76), rgba(255, 255, 255, .95));
  border: 1px solid rgba(13, 40, 24, .10);
  box-shadow: 0 8px 22px rgba(13, 40, 24, .06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.wa-advisor:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, .38);
  background: linear-gradient(135deg, rgba(216, 243, 220, .72), rgba(255, 255, 255, .98));
  box-shadow: 0 15px 34px rgba(13, 40, 24, .12);
}

.wa-avatar {
  width: 54px;
  height: 54px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(116, 198, 157, .48), transparent 35%), linear-gradient(135deg, #1a3c2b, #2d6a4f);
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.wa-advisor-info {
  min-width: 0;
}

.wa-advisor-info strong {
  display: block;
  color: var(--v2);
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.wa-advisor-info span {
  display: block;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.25;
}

.wa-go,
.wa-open {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .28);
  transition: transform .22s ease;
}

.wa-advisor:hover .wa-go,
.wa-advisor:hover .wa-open {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .wa-widget {
    right: 16px;
    bottom: 16px;
  }

  .wa-float {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    padding: 0;
    border-radius: 22px;
    justify-content: center;
  }

  .wa-float svg {
    width: 34px;
    height: 34px;
  }

  .wa-float-text {
    display: none;
  }

  .wa-panel {
    right: 0;
    bottom: 78px;
    width: min(380px, calc(100vw - 32px));
    border-radius: 26px;
  }

  .wa-panel-head {
    padding: 22px 22px 20px;
  }

  .wa-panel-head strong {
    font-size: 1.75rem;
  }

  .wa-advisor {
    grid-template-columns: 50px 1fr 40px;
    padding: 12px;
  }

  .wa-avatar {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }
}

@media (max-width: 420px) {
  .wa-panel {
    width: calc(100vw - 24px);
  }

  .wa-advisor-info strong {
    font-size: .94rem;
  }

  .wa-advisor-info span {
    font-size: .78rem;
  }
}


/* =========================================================
   FORMULARIO — confirmación profesional de solicitud enviada
========================================================= */
.form-ok-pro {
  display: none;
  min-height: 430px;
  padding: 50px 34px;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  border-radius: 18px;
  animation: okFade .45s ease both;
}

.form-ok-pro .ok-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v4), var(--v3));
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 22px;
  box-shadow: 0 18px 42px rgba(64, 145, 108, .30);
  animation: okPop .45s ease both;
}

.form-ok-pro .ok-icon i {
  color: var(--blanco);
  font-size: 2.35rem;
}

.form-ok-pro h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--v2);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.form-ok-pro p {
  color: var(--gris2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: .98rem;
}

.form-ok-pro p strong {
  color: var(--v2);
}

.ok-highlights {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ok-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--v7);
  color: var(--v3);
  border-radius: 100px;
  padding: 7px 13px;
  font-size: .78rem;
  font-weight: 600;
}

.ok-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-ok {
  border: 2px solid var(--v4);
  color: var(--v2);
  background: transparent;
  box-shadow: none;
}

.btn-outline-ok:hover {
  background: var(--v7);
  transform: translateY(-2px);
}

/* Evita que el botón flotante de WhatsApp tape el mensaje */
.form-box:has(.form-ok-pro[style*="flex"])~.wa-widget,
body.form-sent .wa-widget {
  transform: translateY(28px);
}

@keyframes okFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes okPop {
  from {
    transform: scale(.65);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .form-ok-pro {
    min-height: 380px;
    padding: 38px 22px;
  }

  .form-ok-pro h4 {
    font-size: 1.85rem;
  }

  .ok-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ok-highlights {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================
   FIX WHATSAPP FINAL
================================ */

.wa-widget {
  right: 26px !important;
  bottom: 26px !important;
  z-index: 99999 !important;
}

/* El panel SIEMPRE por encima del botón */
.wa-panel {
  bottom: 96px !important;
  z-index: 100001 !important;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

/* Botón por debajo del panel */
.wa-float {
  position: relative;
  z-index: 100000 !important;
  min-width: 290px;
  height: 72px;
  padding: 0 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #143d2a, #1f5a3d) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28) !important;
}

/* Icono de WhatsApp bien centrado, sin verse mocho */
.wa-float svg {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  display: block !important;
  overflow: visible !important;
  color: #25D366 !important;
}

.wa-float::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(37, 211, 102, .13);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.wa-float svg {
  position: relative;
  z-index: 2;
}

.wa-float-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  padding-left: 4px;
}

.wa-float-text::before {
  content: "WHATSAPP";
  font-size: .68rem;
  letter-spacing: .15em;
  color: #74c69d;
  font-weight: 900;
  margin-bottom: 4px;
}

.wa-advisors {
  position: relative;
  z-index: 100002;
}

/* Evita que el último asesor quede escondido */
.wa-advisor:last-child {
  margin-bottom: 8px;
}

/* Móvil */
@media (max-width: 768px) {
  .wa-widget {
    right: 14px !important;
    bottom: 14px !important;
  }

  .wa-panel {
    bottom: 86px !important;
    width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 120px);
  }

  .wa-float {
    min-width: auto;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 22px;
    justify-content: center;
  }

  .wa-float::before {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .wa-float-text {
    display: none !important;
  }
}

/* =========================================================
   PRODUCTOS PREMIUM FINAL — imágenes protagonistas
   Pegar al FINAL del style.css para sobrescribir reglas anteriores.
========================================================= */

#productos {
  position: relative;
  background:
    radial-gradient(circle at 8% 8%, rgba(116, 198, 157, .10), transparent 34%),
    linear-gradient(180deg, #f8f6ef 0%, #f2efe7 100%) !important;
  overflow: hidden;
}

#productos .productos-header {
  align-items: center !important;
  margin-bottom: 54px !important;
}

#productos .galeria {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

/* Tarjeta base */
#productos .g-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(13, 40, 24, .08) !important;
  box-shadow: 0 18px 55px rgba(13, 40, 24, .10) !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
  cursor: default !important;
}

#productos .g-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(64, 145, 108, .24) !important;
  box-shadow: 0 30px 80px rgba(13, 40, 24, .18) !important;
}

/* La primera tarjeta sigue siendo protagonista */
#productos .g-card:nth-child(1) {
  grid-column: span 2 !important;
}

/* Contenedor de imagen: grande, elegante, sin deformar */
#productos .g-img {
  position: relative !important;
  width: 100% !important;
  min-height: 350px !important;
  height: 350px !important;
  aspect-ratio: auto !important;
  padding: 22px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .14), transparent 30%),
    linear-gradient(135deg, #070b09 0%, #121a16 48%, #23362d 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Imagen principal más alta */
#productos .g-card:nth-child(1) .g-img {
  min-height: 470px !important;
  height: 470px !important;
  padding: 26px !important;
}

/* Evita imágenes alargadas o cortadas */
#productos .g-img img {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  transform: scale(.98) !important;
  filter: contrast(1.05) saturate(1.04) drop-shadow(0 22px 28px rgba(0, 0, 0, .28)) !important;
  transition: transform .55s ease, filter .55s ease !important;
}

#productos .g-card:hover .g-img img {
  transform: scale(1.025) !important;
  filter: contrast(1.08) saturate(1.07) drop-shadow(0 28px 34px rgba(0, 0, 0, .34)) !important;
}

/* Brillo premium sutil encima de cada imagen */
#productos .g-img::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .10) 28%, transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(116, 198, 157, .12), transparent 42%) !important;
  opacity: .82 !important;
  pointer-events: none !important;
}

#productos .g-img::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  background:
    linear-gradient(to top, rgba(5, 20, 12, .18) 0%, transparent 42%),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 0%, transparent 25%) !important;
  pointer-events: none !important;
}

/* Información con más aire */
#productos .g-info {
  position: relative !important;
  z-index: 4 !important;
  padding: 24px 26px 28px !important;
  min-height: 176px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

#productos .g-tag {
  width: fit-content !important;
  background: rgba(216, 243, 220, .95) !important;
  color: #2d6a4f !important;
  border: 1px solid rgba(64, 145, 108, .14) !important;
  padding: 5px 12px !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  letter-spacing: .10em !important;
  margin-bottom: 12px !important;
}

#productos .g-info h3 {
  font-size: 1.28rem !important;
  letter-spacing: .025em !important;
  margin-bottom: 9px !important;
}

#productos .g-info p {
  font-size: .90rem !important;
  line-height: 1.62 !important;
  color: #4b5563 !important;
}

/* Tarjeta temporal de corte/servicio: queda premium aunque no tengas foto todavía */
#productos .service-img {
  min-height: 350px !important;
  height: 350px !important;
  background:
    radial-gradient(circle at 50% 35%, rgba(116, 198, 157, .30), transparent 30%),
    linear-gradient(135deg, #0d2818 0%, #1a3c2b 52%, #2d6a4f 100%) !important;
}

#productos .service-img i {
  position: relative !important;
  z-index: 2 !important;
  width: 96px !important;
  height: 96px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  color: rgba(255, 255, 255, .84) !important;
  font-size: 3rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 22px 42px rgba(0, 0, 0, .22) !important;
}

#productos .service-img span {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 16px !important;
  color: rgba(255, 255, 255, .88) !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  font-size: .86rem !important;
}

/* Responsive tablet */
@media (max-width: 1024px) {
  #productos .galeria {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }

  #productos .g-card:nth-child(1) {
    grid-column: span 2 !important;
  }

  #productos .g-card:nth-child(1) .g-img {
    height: 430px !important;
    min-height: 430px !important;
  }

  #productos .g-img,
  #productos .service-img {
    height: 330px !important;
    min-height: 330px !important;
  }
}

/* Responsive móvil */
@media (max-width: 640px) {
  #productos .productos-header {
    margin-bottom: 34px !important;
  }

  #productos .galeria {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  #productos .g-card:nth-child(1) {
    grid-column: span 1 !important;
  }

  #productos .g-card:nth-child(1) .g-img,
  #productos .g-img,
  #productos .service-img {
    height: 310px !important;
    min-height: 310px !important;
    padding: 16px !important;
  }

  #productos .g-info {
    padding: 22px 22px 25px !important;
    min-height: auto !important;
  }

  #productos .g-info h3 {
    font-size: 1.18rem !important;
  }

  #productos .g-info p {
    font-size: .86rem !important;
  }
}

@media (max-width: 420px) {

  #productos .g-card:nth-child(1) .g-img,
  #productos .g-img,
  #productos .service-img {
    height: 280px !important;
    min-height: 280px !important;
  }
}

/* PRODUCTOS — imagen protagonista sin marco interno */
.g-img {
  height: 380px !important;
  min-height: 380px !important;
  padding: 0 !important;
  background: #0d1712 !important;
  display: block !important;
  overflow: hidden !important;
}

.g-card:nth-child(1) .g-img {
  height: 460px !important;
  min-height: 460px !important;
}

.g-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.02) !important;
}

.g-card:hover .g-img img {
  transform: scale(1.08) !important;
}

.g-img::after {
  background: linear-gradient(to top,
      rgba(5, 20, 12, .35),
      rgba(5, 20, 12, .05),
      transparent) !important;
}

/* Si una imagen queda muy cortada, ajústala individualmente */
.g-card:nth-child(3) .g-img img,
.g-card:nth-child(4) .g-img img {
  transform: scale(1) !important;
}

/* =========================================================
   PRODUCTOS — FIX DEFINITIVO IMÁGENES PROTAGONISTAS
   Motivo: había reglas anteriores con #productos + !important
   que dejaban object-fit: contain y padding interno.
   Este bloque debe ir SIEMPRE al final del CSS.
========================================================= */
#productos .galeria {
  display: grid !important;
  grid-template-columns: 1.45fr 1fr !important;
  gap: 30px !important;
  align-items: stretch !important;
}

#productos .g-card {
  overflow: hidden !important;
  border-radius: 30px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(13, 40, 24, .12) !important;
  border: 1px solid rgba(13, 40, 24, .06) !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

#productos .g-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 34px 90px rgba(13, 40, 24, .18) !important;
  border-color: rgba(64, 145, 108, .22) !important;
}

#productos .g-card:nth-child(1) {
  grid-column: span 1 !important;
  grid-row: span 2 !important;
}

#productos .g-img,
#productos .service-img {
  position: relative !important;
  width: 100% !important;
  height: 360px !important;
  min-height: 360px !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #08130e !important;
}

#productos .g-card:nth-child(1) .g-img {
  height: 560px !important;
  min-height: 560px !important;
}

/* Esta es la regla clave: misma especificidad que la regla vieja, pero va al final */
#productos .g-img img {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.01) !important;
  filter: contrast(1.06) saturate(1.03) !important;
  transition: transform .65s ease, filter .65s ease !important;
}

#productos .g-card:hover .g-img img {
  transform: scale(1.075) !important;
  filter: contrast(1.1) saturate(1.07) !important;
}

/* Ajustes individuales para que cada producto quede bonito */
#productos .g-card:nth-child(1) .g-img img {
  object-position: center center !important;
}

#productos .g-card:nth-child(2) .g-img img {
  object-position: center center !important;
}

#productos .g-card:nth-child(3) .g-img img,
#productos .g-card:nth-child(4) .g-img img {
  object-position: center center !important;
  transform: scale(1.10) !important;
}

#productos .g-card:nth-child(3):hover .g-img img,
#productos .g-card:nth-child(4):hover .g-img img {
  transform: scale(1.17) !important;
}

#productos .g-img::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(to top, rgba(5, 20, 12, .38) 0%, rgba(5, 20, 12, .10) 42%, transparent 72%) !important;
  pointer-events: none !important;
}

#productos .g-img::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  background: radial-gradient(circle at 50% 30%, transparent 0%, transparent 48%, rgba(0,0,0,.18) 100%) !important;
  pointer-events: none !important;
}

#productos .g-info {
  padding: 26px 28px 30px !important;
  min-height: 190px !important;
}

#productos .g-info h3 {
  font-size: 1.34rem !important;
  margin-bottom: 10px !important;
}

#productos .g-info p {
  font-size: .94rem !important;
  line-height: 1.68 !important;
}

#productos .service-img {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  background:
    radial-gradient(circle at 50% 35%, rgba(116, 198, 157, .28), transparent 34%),
    linear-gradient(135deg, #0d2818 0%, #173b2b 52%, #2d6a4f 100%) !important;
}

@media (max-width: 1024px) {
  #productos .galeria {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #productos .g-card:nth-child(1) {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
  }

  #productos .g-card:nth-child(1) .g-img {
    height: 460px !important;
    min-height: 460px !important;
  }

  #productos .g-img,
  #productos .service-img {
    height: 340px !important;
    min-height: 340px !important;
  }
}

@media (max-width: 640px) {
  #productos .galeria {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  #productos .g-card:nth-child(1) {
    grid-column: span 1 !important;
  }

  #productos .g-card:nth-child(1) .g-img,
  #productos .g-img,
  #productos .service-img {
    height: 330px !important;
    min-height: 330px !important;
  }

  #productos .g-info {
    min-height: auto !important;
    padding: 24px 22px 27px !important;
  }
}


/* =========================================================
   HOVER PREMIUM PRODUCTOS — FINAL
   Efecto más fino, con brillo, elevación y microinteracciones.
========================================================= */

#productos .g-card {
  position: relative !important;
  overflow: hidden !important;
  transform: translateY(0) !important;
  border: 1px solid rgba(13, 40, 24, .08) !important;
  transition:
    transform .48s cubic-bezier(.22, 1, .36, 1),
    box-shadow .48s cubic-bezier(.22, 1, .36, 1),
    border-color .38s ease,
    filter .38s ease !important;
  will-change: transform;
}

#productos .g-card:hover {
  transform: translateY(-12px) !important;
  box-shadow:
    0 34px 90px rgba(13, 40, 24, .24),
    0 10px 26px rgba(13, 40, 24, .11) !important;
  border-color: rgba(116, 198, 157, .42) !important;
}

#productos .g-img {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

/* Zoom suave sin romper los ajustes individuales de imagen */
#productos .g-img img {
  transition:
    transform .9s cubic-bezier(.22, 1, .36, 1),
    filter .9s ease !important;
  will-change: transform, filter;
}

#productos .g-card:hover .g-img img {
  transform: scale(1.075) !important;
  filter: contrast(1.08) saturate(1.08) brightness(1.04) !important;
}

/* Barrido de luz premium */
#productos .g-img::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .20), transparent 28%),
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .16) 45%, transparent 72%) !important;
  opacity: 0 !important;
  transform: translateX(-48%) skewX(-10deg) !important;
  transition: opacity .45s ease, transform .95s cubic-bezier(.22, 1, .36, 1) !important;
  pointer-events: none !important;
}

#productos .g-card:hover .g-img::before {
  opacity: 1 !important;
  transform: translateX(42%) skewX(-10deg) !important;
}

/* Degradado de profundidad */
#productos .g-img::after {
  z-index: 3 !important;
  opacity: .78 !important;
  transition: opacity .45s ease !important;
}

#productos .g-card:hover .g-img::after {
  opacity: .98 !important;
}

/* Contenido con elevación suave */
#productos .g-info {
  position: relative !important;
  z-index: 5 !important;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1) !important;
}

#productos .g-card:hover .g-info {
  transform: translateY(-4px) !important;
}

#productos .g-tag {
  transition:
    background .35s ease,
    color .35s ease,
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s ease !important;
}

#productos .g-card:hover .g-tag {
  background: #123826 !important;
  color: #74c69d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 22px rgba(13, 40, 24, .16) !important;
}

#productos .g-info h3 {
  transition: color .35s ease, letter-spacing .35s ease !important;
}

#productos .g-card:hover .g-info h3 {
  color: #2d6a4f !important;
  letter-spacing: .025em !important;
}

/* Línea inferior decorativa */
#productos .g-card::after {
  content: "" !important;
  position: absolute !important;
  left: 24px !important;
  right: 24px !important;
  bottom: 0 !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #74c69d, #2d6a4f) !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform .48s cubic-bezier(.22, 1, .36, 1) !important;
  z-index: 8 !important;
}

#productos .g-card:hover::after {
  transform: scaleX(1) !important;
}

/* Servicio también con hover premium */
#productos .service-img {
  transition: background .58s ease !important;
}

#productos .g-card:hover .service-img {
  background:
    radial-gradient(circle at 50% 30%, rgba(116, 198, 157, .24), transparent 40%),
    linear-gradient(135deg, #0d2818, #2d6a4f) !important;
}

#productos .service-img i {
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .45s ease !important;
}

#productos .g-card:hover .service-img i {
  transform: translateY(-7px) scale(1.08) !important;
  opacity: .96 !important;
}

/* Respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  #productos .g-card,
  #productos .g-img img,
  #productos .g-img::before,
  #productos .g-info,
  #productos .g-tag,
  #productos .g-card::after {
    transition: none !important;
  }
}


/* =========================================================
   NAVBAR PREMIUM FINAL — Cristal industrial
========================================================= */

.nav,
.nav.scrolled {
  top: 16px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

.nav .container,
.nav.scrolled .container {
  width: min(1180px, calc(100% - 42px)) !important;
  min-height: 72px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(135deg, rgba(8, 35, 20, .86), rgba(13, 40, 24, .72)) !important;
  border: 1px solid rgba(116, 198, 157, .24) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  pointer-events: auto !important;
}

.nav.scrolled .container {
  min-height: 64px !important;
  background:
    linear-gradient(135deg, rgba(8, 35, 20, .94), rgba(13, 40, 24, .88)) !important;
  border-color: rgba(116, 198, 157, .30) !important;
}

.nav-logo-img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  object-fit: contain !important;
  padding: 5px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .75) !important;
  mix-blend-mode: normal !important;
}

.nav-links {
  gap: 4px !important;
  padding: 6px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .055) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
}

.nav-links a {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  color: rgba(255, 255, 255, .74) !important;
  transition: background .28s ease, color .28s ease, transform .28s ease !important;
}

.nav-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .10) !important;
  transform: translateY(-1px) !important;
}

.nav-cta {
  background: linear-gradient(135deg, #74c69d, #40916c) !important;
  color: #062214 !important;
  box-shadow:
    0 12px 28px rgba(116, 198, 157, .25),
    inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #8be0b3, #52b788) !important;
  color: #062214 !important;
}

.lang-switcher {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 999px !important;
  padding: 5px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.lang-btn {
  height: 36px !important;
  min-width: 42px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  transition: background .25s ease, color .25s ease, transform .25s ease !important;
}

.lang-btn:hover {
  transform: translateY(-1px) !important;
  color: #fff !important;
}

.lang-btn.active {
  background: #74c69d !important;
  color: #062214 !important;
  box-shadow: 0 8px 18px rgba(116, 198, 157, .18) !important;
}

.hero {
  padding-top: 150px !important;
}

@media (max-width: 1120px) {
  .nav,
  .nav.scrolled {
    top: 10px !important;
  }

  .nav .container,
  .nav.scrolled .container {
    width: calc(100% - 24px) !important;
    border-radius: 28px !important;
  }

  .nav-links.open {
    top: 0 !important;
    background: rgba(8, 35, 20, .98) !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 88px 24px 30px !important;
  }
}

@media (max-width: 768px) {
  .nav-logo-img {
    width: 44px !important;
    height: 44px !important;
  }

  .nav .container,
  .nav.scrolled .container {
    min-height: 64px !important;
  }
}
/* =========================================================
   NAVBAR MOBILE PREMIUM — TUBACROM
========================================================= */

@media (max-width: 768px) {
  .nav,
  .nav.scrolled {
    top: 12px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .nav .container,
  .nav.scrolled .container {
    width: calc(100% - 28px) !important;
    min-height: 68px !important;
    padding: 10px 14px !important;
    border-radius: 24px !important;
    background: rgba(8, 35, 20, .92) !important;
    border: 1px solid rgba(116, 198, 157, .22) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.22) !important;
    backdrop-filter: blur(16px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  }

  .nav-logo-img {
    width: 48px !important;
    height: 48px !important;
    padding: 5px !important;
    border-radius: 16px !important;
  }

  .hamburger {
    display: flex !important;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
  }

  .hamburger span {
    width: 22px;
    height: 2px;
    background: #ffffff;
  }

  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 92px !important;
    left: 14px !important;
    right: 14px !important;
    bottom: auto !important;
    padding: 16px !important;
    border-radius: 26px !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: rgba(8, 35, 20, .96) !important;
    border: 1px solid rgba(116, 198, 157, .20) !important;
    box-shadow: 0 28px 70px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
    opacity: 0;
    transform: translateY(-12px) scale(.98);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 10000 !important;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
    border-radius: 18px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: rgba(255,255,255,.88) !important;
    background: rgba(255,255,255,.045) !important;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(116,198,157,.16) !important;
    color: #ffffff !important;
  }

  .nav-cta {
    margin-top: 4px;
    background: linear-gradient(135deg, #74c69d, #40916c) !important;
    color: #062214 !important;
  }

  .lang-switcher {
    margin-left: auto;
    margin-right: 10px;
  }

  .hero {
    padding-top: 118px !important;
  }

  section {
    scroll-margin-top: 100px !important;
  }
}