/* ============================================================
   COMERCIAL AMITO E.I.R.L. — Main Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --primary: #476b60;
  --primary-dark: #324e45;
  --primary-light: #8fbca2;
  --secondary: #5e9c8e;
  --secondary-lt: #bdd1c7;
  --secondary-dk: #43786c;
  --dark: #1f332c;
  --light: #e0dbcd;
  --light-2: #c9c4b6;
  --text: #1a2a24;
  --text-lt: #4d5a56;
  --white: #ffffff;
  --sh-sm: 0 2px 12px rgba(0, 0, 0, .08);
  --sh: 0 4px 24px rgba(0, 0, 0, .12);
  --sh-lg: 0 8px 40px rgba(0, 0, 0, .17);
  --sh-xl: 0 16px 60px rgba(0, 0, 0, .20);
  --trans: all .3s ease;
  --trans-s: all .5s ease;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  transition: var(--trans);
}

.section-padding {
  padding: 90px 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: transparent;
  transition: var(--trans-s);
  padding: 18px 0;
  z-index: 1050;
}

#mainNav.scrolled {
  background: var(--primary-dark);
  padding: 12px 0;
  box-shadow: var(--sh-lg);
}

/* Brand */
.navbar-brand img {
  transition: var(--trans);
}

.navbar-brand:hover img {
  opacity: .85;
}

.navbar-logo-img {
  object-fit: contain;
  transition: opacity .3s;
}

.navbar-logo-img:hover {
  opacity: .85;
}

.footer-logo-img {
  object-fit: contain;
}

/* Nav links */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, .88) !important;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .3px;
  padding: .45rem 1rem !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--trans);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 65%;
}

.navbar-nav .nav-link.active {
  color: var(--secondary) !important;
}

/* CTA button in nav */
.nav-cta {
  background: var(--secondary) !important;
  color: var(--light) !important;
  border-radius: 50px;
  padding: .45rem 1.4rem !important;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .3px;
}

.nav-cta:hover {
  background: var(--secondary-lt) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(201, 160, 32, .4);
}

/* Toggler */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, .25);
  outline: none !important;
  box-shadow: none !important;
  padding: .35rem .6rem;
  border-radius: 8px;
  transition: border-color .2s;
}

.navbar-toggler:hover {
  border-color: var(--secondary);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu */
@media (max-width: 991px) {
  #mainNav {
    background: var(--primary-dark) !important;
    padding: 12px 0;
  }

  .navbar-collapse {
    padding: 8px 0 14px;
  }

  .navbar-collapse .navbar-nav {
    margin-left: 0 !important;
    width: 100%;
    gap: 0 !important;
  }

  .navbar-nav .nav-link {
    padding: .75rem .5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    font-size: .95rem !important;
    width: 100%;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none !important;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .nav-link:hover {
    color: var(--secondary) !important;
  }

  .nav-cta {
    display: block !important;
    text-align: center;
    margin: 12px 0 0 0;
    width: 100%;
    border-radius: 10px !important;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(135deg,
      rgba(10, 18, 24, 0.92) 0%,
      rgba(30, 45, 10, 0.84) 45%,
      rgba(10, 18, 24, 0.90) 100%),
    url('../assets/images/hero-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

/* Animated shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: .05;
}

.shape-1 {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -120px;
  animation: flt1 9s ease-in-out infinite;
}

.shape-2 {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -60px;
  animation: flt2 11s ease-in-out infinite;
}

.shape-3 {
  width: 220px;
  height: 220px;
  top: 35%;
  left: 22%;
  background: var(--secondary);
  opacity: .07;
  border-radius: 35% 65% 65% 35% / 35% 35% 65% 65%;
  animation: flt3 8s ease-in-out infinite;
}

.shape-4 {
  width: 160px;
  height: 160px;
  top: 18%;
  right: 28%;
  background: var(--secondary);
  opacity: .06;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: flt1 10s ease-in-out infinite reverse;
}

.shape-5 {
  width: 90px;
  height: 90px;
  bottom: 28%;
  right: 14%;
  animation: flt2 7s ease-in-out infinite;
}

.shape-6 {
  width: 55px;
  height: 55px;
  top: 62%;
  left: 9%;
  background: var(--secondary);
  opacity: .09;
  animation: flt3 12s ease-in-out infinite;
}

@keyframes flt1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-32px) rotate(12deg);
  }
}

@keyframes flt2 {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(28px) scale(1.06);
  }
}

@keyframes flt3 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  33% {
    transform: translateY(-22px) rotate(6deg) scale(1.08);
  }

  66% {
    transform: translateY(16px) rotate(-6deg) scale(.94);
  }
}

/* Hero content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(201, 160, 32, .18);
  color: var(--secondary-lt);
  border: 1px solid rgba(201, 160, 32, .3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .5px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin: 14px 0 0;
}

.text-highlight {
  color: var(--secondary);
  display: inline-block;
  position: relative;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, .72);
  max-width: 560px;
  line-height: 1.85;
  margin-top: 16px;
}

/* Buttons */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
  color: var(--light) !important;
  border: none;
  border-radius: 50px;
  padding: 13px 30px;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .3px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(201, 160, 32, .35);
  transition: var(--trans);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 160, 32, .5);
  background: linear-gradient(135deg, var(--secondary-lt), var(--secondary));
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, .38);
  border-radius: 50px;
  padding: 11px 28px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: var(--trans);
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .75);
  transform: translateY(-3px);
}

/* Feature tags */
.feature-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .82);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  gap: 6px;
}

.feature-tag i {
  color: var(--secondary);
}

/* Illustration */
.hero-illustration {
  animation: flt1 7s ease-in-out infinite;
}

.hero-illustration img {
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .35));
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
  font-size: .72rem;
  letter-spacing: 1px;
  z-index: 10;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, .5);
  border-radius: 2px;
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark));
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255, 255, 255, .07);
  color: var(--white);
}

.stat-last {
  border-right: none;
}

.stat-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.stat-plus {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ============================================================
   SECTION LABELS / TITLES
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  gap: 10px;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  flex-shrink: 0;
}

.label-light {
  color: rgba(201, 160, 32, .8);
}

.label-light::before {
  background: rgba(201, 160, 32, .6);
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-title span {
  color: var(--primary);
}

.text-white .section-title,
.section-title.text-white {
  color: var(--white);
}

.text-amber {
  color: var(--secondary) !important;
}

.section-text {
  font-size: .93rem;
  color: var(--text-lt);
  line-height: 1.9;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: .95rem;
  color: var(--text-lt);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--white);
}

.about-img-wrapper {
  position: relative;
  padding: 16px 16px 16px 0;
}

.about-img {
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
}

.about-badge {
  position: absolute;
  bottom: 30px;
  right: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
  color: var(--light);
  border-radius: var(--r);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--sh-lg);
}

.badge-number {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--light);
  border-radius: var(--r);
  border-left: 4px solid var(--primary);
  transition: var(--trans);
}

.about-feature-item:hover {
  transform: translateX(6px);
  box-shadow: var(--sh);
}

.af-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feature-item h6 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.about-feature-item p {
  font-size: .8rem;
  color: var(--text-lt);
  margin: 0;
}

/* Misión & Visión */
.mv-card {
  background: var(--white);
  border-radius: 18px;
  padding: 34px 30px;
  height: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.mv-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(30, 45, 10, .04);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
}

.mv-mision {
  border-top: 5px solid var(--primary);
}

.mv-vision {
  border-top: 5px solid var(--secondary);
}

.mv-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.mv-mision .mv-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.mv-vision .mv-icon {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-lt));
}

.mv-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.mv-mision .mv-title {
  color: var(--primary);
}

.mv-vision .mv-title {
  color: var(--secondary);
}

.mv-text {
  color: #64748b;
  font-size: .9rem;
  line-height: 1.75;
  margin: 0;
}

/* Wave dividers */
.wave-top,
.wave-bottom {
  height: 55px;
  line-height: 0;
  overflow: hidden;
}

.wave-top {
  background: var(--white);
}

.wave-bottom {
  background: var(--white);
}

.wave-top svg,
.wave-bottom svg {
  width: 100%;
  height: 100%;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: var(--light);
}

.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  height: 100%;
  border: 1px solid transparent;
  box-shadow: var(--sh-sm);
  transition: var(--trans-s);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--trans);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl);
  border-color: rgba(30, 45, 10, .1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(30, 45, 10, .09), rgba(30, 45, 10, .04));
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--trans);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.service-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: .86rem;
  color: var(--text-lt);
  line-height: 1.75;
  margin-bottom: 14px;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-size: .83rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--trans);
}

.service-link:hover {
  color: var(--secondary);
  gap: 10px;
}

/* ============================================================
   SECTORS
   ============================================================ */
.sectors-section {
  background: var(--white);
}

.sector-card {
  background: var(--light);
  border-radius: var(--r-lg);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--trans-s);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sector-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--trans-s);
  z-index: 0;
}

.sector-card>* {
  position: relative;
  z-index: 1;
}

.sector-card:hover::after {
  opacity: 1;
}

.sector-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-xl);
  border-color: var(--primary);
}

.sector-card:hover h5,
.sector-card:hover p {
  color: var(--white);
}

.sector-bg-icon {
  position: absolute;
  top: -18px;
  right: -18px;
  font-size: 7.5rem;
  color: rgba(30, 45, 10, .05);
  z-index: 0;
  transition: var(--trans-s);
}

.sector-card:hover .sector-bg-icon {
  color: rgba(255, 255, 255, .04);
}

.sector-icon {
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 20px;
  transition: var(--trans);
}

.sector-card:hover .sector-icon {
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}

.sector-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  transition: var(--trans);
}

.sector-card p {
  font-size: .85rem;
  color: var(--text-lt);
  line-height: 1.75;
  margin-bottom: 16px;
  transition: var(--trans);
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: auto;
}

.sector-tags span {
  background: rgba(30, 45, 10, .09);
  color: var(--primary);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: .74rem;
  font-weight: 600;
  transition: var(--trans);
}

.sector-card:hover .sector-tags span {
  background: rgba(255, 255, 255, .18);
  color: var(--white);
}

/* ============================================================
   WHY US
   ============================================================ */
.why-section {
  background: var(--light);
}

.why-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 28px;
  height: 100%;
  border: 1px solid transparent;
  box-shadow: var(--sh-sm);
  transition: var(--trans);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 32px rgba(201, 160, 32, .15);
}

.why-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
  color: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  transition: var(--trans);
}

.why-card:hover .why-icon {
  transform: rotate(8deg) scale(1.1);
}

.why-card h6 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-card p {
  font-size: .85rem;
  color: var(--text-lt);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.contact-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201, 160, 32, .06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(42, 64, 96, .15) 0%, transparent 50%);
  pointer-events: none;
}

/* Contact info */
.contact-info {
  padding-right: 24px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ci-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 160, 32, .12);
  color: var(--secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--trans);
}

.ci-item:hover .ci-icon {
  background: var(--secondary);
  color: var(--dark);
  transform: scale(1.1);
}

.ci-item h6 {
  font-size: .76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ci-item p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .82);
  margin: 0;
  line-height: 1.6;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .65);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .95rem;
  transition: var(--trans);
}

.social-btn:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

/* Contact form */
.contact-form {
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-xl);
  padding: 40px;
}

.form-label-custom {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 8px;
  letter-spacing: .3px;
}

.form-input {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .88rem;
  font-family: inherit;
  transition: var(--trans);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, .3);
}

.form-input:focus {
  background: rgba(255, 255, 255, .1);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 160, 32, .2);
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

select.form-input option {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-submit {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
  color: var(--dark);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(201, 160, 32, .35);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 160, 32, .5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
}

.footer-top {
  padding: 70px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-brand p {
  color: rgba(255, 255, 255, .45);
  font-size: .86rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .55);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .88rem;
  transition: var(--trans);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-heading {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, .45);
  text-decoration: none;
  font-size: .86rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.text-amber-sm {
  color: var(--secondary);
  font-size: .78rem;
}

.footer-contact {}

.footer-contact p {
  color: rgba(255, 255, 255, .45);
  font-size: .85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact p i {
  color: var(--secondary);
  width: 14px;
  flex-shrink: 0;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: var(--white) !important;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: .83rem;
  font-weight: 700;
  transition: var(--trans);
}

.wa-btn:hover {
  background: #1ab558;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(37, 211, 102, .3);
}

.footer-bottom {
  padding: 20px 0;
  background: rgba(0, 0, 0, .18);
}

.footer-bottom p {
  color: rgba(255, 255, 255, .25);
  font-size: .8rem;
  margin: 0;
}

.footer-bottom i {
  color: var(--secondary);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
  color: var(--dark);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  transition: var(--trans);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(201, 160, 32, .5);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-msg {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--primary-dark);
  color: var(--white);
  border: 1px solid var(--secondary);
  border-radius: 12px;
  padding: 13px 24px;
  font-size: .88rem;
  z-index: 9999;
  opacity: 0;
  transition: var(--trans-s);
  white-space: nowrap;
  box-shadow: var(--sh-xl);
  display: flex;
  align-items: center;
}

.toast-msg i {
  color: var(--secondary);
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .hero-section {
    padding: 110px 0 70px;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-form {
    padding: 30px 24px;
  }

  /* About */
  .about-section .row.g-5 {
    --bs-gutter-y: 2rem;
  }

  .about-img-wrapper {
    padding: 0 0 8px 0;
  }

  /* Misión/Visión */
  .mv-card {
    padding: 26px 22px;
  }

  /* Productos */
  .prod-card {
    margin-bottom: 4px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 56px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 22px 12px;
  }

  .stat-last {
    border-bottom: none;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .about-badge {
    display: none;
  }

  .back-top {
    bottom: 18px;
    left: 18px;
  }

  .toast-msg {
    font-size: .8rem;
    white-space: normal;
    max-width: 88vw;
    text-align: center;
    justify-content: center;
  }

  /* About SVG */
  .about-img {
    border-radius: 12px;
  }

  /* Misión/Visión en mobile */
  .mv-card {
    padding: 22px 18px;
  }

  .mv-title {
    font-size: 1.1rem;
  }

  .mv-text {
    font-size: .87rem;
  }

  /* Productos destacados */
  .prod-visual {
    height: 140px;
  }

  /* Carrusel marcas */
  .brands-strip-header {
    padding: 12px 0 2px;
  }

  .br-logo {
    height: 50px;
    padding: 4px 16px;
  }

  .br-logo img {
    max-height: 36px;
  }

  .br-logo-wide img {
    max-height: 28px;
    max-width: 90px;
  }

  /* Chat widget en mobile */
  .amito-chat {
    right: 12px;
    bottom: 16px;
  }

  .chat-fab {
    width: 52px;
    height: 52px;
  }

  .chat-panel {
    position: fixed;
    bottom: 78px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: 72vh;
    border-radius: 14px;
    z-index: 10000;
    transform: none !important;
    transition: opacity .3s, visibility .3s;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a {
    justify-content: center;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .footer-top {
    padding: 50px 0 30px;
  }

  /* About */
  .about-section .row.g-5 {
    --bs-gutter-y: 1.5rem;
  }

  /* Misión/Visión cards apiladas con menos margen */
  .mv-card {
    padding: 20px 16px;
  }

  /* Sección productos */
  .section-title {
    font-size: 1.6rem;
  }

  /* Features about */
  .about-feature-item {
    padding: 12px 14px;
  }
}

/* ============================================================
   BRANDS STRIP — rediseño oscuro
   ============================================================ */
.brands-strip {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  overflow: hidden;
  position: relative;
  padding: 52px 0 48px;
}

/* Fondo decorativo */
.brands-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 15% 50%, rgba(201, 160, 32, .06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 85% 30%, rgba(255, 255, 255, .03) 0%, transparent 55%);
  pointer-events: none;
}

/* Header */
.brands-strip-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.brands-strip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.brands-strip-eyebrow::before,
.brands-strip-eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--secondary);
  border-radius: 2px;
  opacity: .6;
}

.brands-strip-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 6px;
  line-height: 1.2;
}

.brands-strip-title span {
  color: var(--secondary);
}

.brands-strip-sub {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}

/* ── Carrusel scroll infinito ── */
.brands-tracks {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brands-tracks::before,
.brands-tracks::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.brands-tracks::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary-dark), transparent);
}

.brands-tracks::after {
  right: 0;
  background: linear-gradient(-90deg, var(--primary-dark), transparent);
}

.brands-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 14px;
  padding: 4px 0;
  will-change: transform;
}

.brands-track-fwd {
  animation: brandScrollFwd 55s linear infinite;
}

.brands-track-rev {
  animation: brandScrollRev 60s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

/* ── Modo estático (pocas marcas) ── */
.brands-static {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
}

/* ── Tarjeta de marca ── */
.br-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  width: 150px;
  padding: 18px 16px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
  cursor: default;
}

.br-logo:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(201, 160, 32, .5);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.br-logo-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}

.br-logo:hover .br-logo-img-wrap {
  transform: scale(1.08);
}

.br-logo-img-wrap img {
  max-width: 110px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  opacity: .88;
  transition: opacity .3s;
}

.br-logo:hover .br-logo-img-wrap img {
  opacity: 1;
}

/* Nombre de la marca */
.br-logo-name {
  font-size: .6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .45);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  transition: color .3s;
  white-space: nowrap;
}

.br-logo:hover .br-logo-name {
  color: var(--secondary);
}

/* Tarjeta solo texto */
.br-text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 0 24px;
  height: 88px;
  min-width: 100px;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: default;
  transition: background .3s, color .3s, border-color .3s;
}

.br-text:hover {
  background: rgba(201, 160, 32, .1);
  color: var(--secondary);
  border-color: rgba(201, 160, 32, .35);
}

.br-dot {
  display: none;
}

@keyframes brandScrollFwd {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes brandScrollRev {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .brands-strip {
    padding: 38px 0 34px;
  }

  .brands-strip-header {
    margin-bottom: 24px;
  }

  .br-logo {
    height: 58px;
    min-width: 90px;
    padding: 8px 16px;
  }

  .br-logo img {
    max-height: 34px;
    max-width: 90px;
  }

  .br-text {
    height: 58px;
    min-width: 78px;
    padding: 0 16px;
    font-size: .66rem;
  }

  .brands-tracks::before,
  .brands-tracks::after {
    width: 70px;
  }
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
  background: var(--light);
}

/* -- Category cards -- */
.cat-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 20px 16px 16px;
  height: 100%;
  border-top: 3px solid var(--cat-clr, var(--primary));
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform .25s, box-shadow .25s;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.cat-icon-bg {
  width: 44px;
  height: 44px;
  background: var(--cat-bg, rgba(30, 45, 10, .1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-clr, var(--primary));
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.cat-name {
  font-size: .84rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
}

.cat-brands {
  font-size: .72rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

.cat-cta {
  font-size: .76rem;
  font-weight: 600;
  color: var(--cat-clr, var(--primary));
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}

.cat-cta:hover {
  text-decoration: underline;
  gap: 8px;
}

.cat-cta i {
  font-size: .65rem;
}

/* -- Products divider -- */
.products-divider {
  position: relative;
  text-align: center;
  margin: 40px 0 4px;
}

.products-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, .1);
}

.products-divider span {
  position: relative;
  background: var(--light);
  padding: 6px 22px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 20px;
}

/* -- Featured product cards -- */
.prod-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}

.prod-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--sh-xl);
}

.prod-visual {
  position: relative;
  height: 158px;
  background: linear-gradient(140deg, var(--pv1, #1e2d0a), var(--pv2, #2d4415));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.pv-circles::before,
.pv-circles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.pv-circles::before {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, .06);
  top: -50px;
  right: -50px;
}

.pv-circles::after {
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, .04);
  bottom: -35px;
  left: -25px;
}

.prod-vi {
  font-size: 3.6rem;
  color: rgba(255, 255, 255, .82);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .28));
  transition: transform .3s;
}

.prod-card:hover .prod-vi {
  transform: scale(1.1);
}

.pv-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--primary);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.pv-badge-yellow {
  background: #fbbf24;
  color: #1e3a8a;
}

.pv-badge-red {
  background: #dc2626;
  color: #fff;
}

.pv-badge-orange {
  background: #f97316;
  color: #fff;
}

.prod-visual-img {
  background: transparent;
}

.prod-visual-img .prod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  box-sizing: border-box;
  object-position: center;
  transition: transform .3s;
}

.prod-card:hover .prod-visual-img .prod-img {
  transform: scale(1.04);
}

.prod-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.prod-category {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.prod-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.prod-desc {
  font-size: .85rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .75rem;
  color: #9ca3af;
  margin-top: 4px;
}

.prod-btn {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white) !important;
  border: none;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity .2s, transform .2s;
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}

.prod-btn:hover {
  opacity: .88;
  transform: translateY(-2px);
}

.btn-wa-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 2px solid #25d366;
  color: #167740 !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  padding: 11px 24px;
  transition: var(--trans);
}

.btn-wa-outline:hover {
  background: #25d366;
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .3);
}

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.amito-chat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* FAB button */
.chat-fab {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.45rem;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(30, 45, 10, .45);
  transition: transform .25s, box-shadow .25s, background .25s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(30, 45, 10, .55);
}

.chat-fab.open {
  background: linear-gradient(135deg, #475569, #334155);
}

.chat-fab-robot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-fab-close {
  display: none;
  font-size: 1.45rem;
}

.chat-fab.open .chat-fab-robot {
  display: none;
}

.chat-fab.open .chat-fab-close {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-fab-notif {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: var(--white);
  border-radius: 50%;
  font-size: .64rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  animation: notifPulse 2s ease-in-out infinite;
}

.chat-fab-notif.hidden {
  display: none;
}

@keyframes notifPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.25);
  }
}

/* Chat panel */
.chat-panel {
  width: 345px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.95);
  transition: opacity .3s, visibility .3s, transform .3s;
  max-height: 520px;
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Header */
.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  position: relative;
  flex-shrink: 0;
}

.online-pulse {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.chat-header-info {
  flex: 1;
  min-width: 0;
}

.chat-agent-name {
  font-weight: 700;
  font-size: .9rem;
}

.chat-agent-status {
  font-size: .7rem;
  opacity: .82;
  display: flex;
  align-items: center;
  gap: 5px;
}

.online-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.chat-close-btn {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, .3);
}

/* Messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  max-height: 290px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, .12) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .12);
  border-radius: 2px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.chat-bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: .82rem;
  line-height: 1.55;
}

.chat-msg.bot .chat-bubble {
  background: var(--light);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--white);
  flex-shrink: 0;
}

.chat-msg.bot .chat-msg-avatar {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.chat-msg.user .chat-msg-avatar {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
}

/* Typing indicator */
.typing-bubble {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--light);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-items: center;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typingBounce .9s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: .15s;
}

.typing-dot:nth-child(3) {
  animation-delay: .3s;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .5;
  }

  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* Quick replies */
.chat-quick-replies {
  padding: 0 12px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}

.chat-qr-btn {
  background: var(--white);
  border: 1.5px solid rgba(30, 45, 10, .2);
  color: var(--primary);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  white-space: nowrap;
}

.chat-qr-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Input row */
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(0, 0, 0, .07);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  border: 1.5px solid rgba(0, 0, 0, .12);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: .82rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  background: var(--white);
  color: var(--text);
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: .88rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, transform .2s;
}

.chat-send-btn:hover {
  opacity: .88;
  transform: scale(1.06);
}

/* Mobile adjustments for chat */
@media (max-width: 480px) {
  .chat-panel {
    right: 10px;
    left: 10px;
    bottom: 74px;
    transform: none !important;
  }

  .amito-chat {
    right: 10px;
    bottom: 14px;
  }
}

/* ============================================================
   PRODUCT SEARCH & FILTER ZONE
   ============================================================ */
.prod-filter-zone {
  margin-bottom: 40px;
}

/* Search Bar */
.prod-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 8px 8px 22px;
  box-shadow: var(--sh);
  transition: border-color .25s, box-shadow .25s;
  max-width: 660px;
  margin: 0 auto 28px;
}

.prod-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 45, 10, .12), var(--sh);
}

.prod-search-icon {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.prod-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  min-width: 0;
}

.prod-search-input::placeholder {
  color: #94a3b8;
}

.prod-search-clear {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lt);
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
  opacity: 0;
  pointer-events: none;
}

.prod-search-clear.show {
  opacity: 1;
  pointer-events: auto;
}

.prod-search-clear:hover {
  background: #e2e8f0;
  color: var(--primary);
}

/* Category filter tabs */
.cat-tabs-wrap {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 6px;
  scrollbar-width: none;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.cat-tabs-wrap::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .cat-tabs-wrap {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }
}

.cat-tab {
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  color: var(--text-lt);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: .82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .22s;
}

.cat-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(30, 45, 10, .04);
}

.cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30, 45, 10, .28);
}

/* Results meta bar */
.prod-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 8px;
}

.prod-count-badge {
  background: rgba(30, 45, 10, .08);
  color: var(--primary);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 700;
  display: none;
}

.prod-count-badge.show {
  display: inline-block;
}

.prod-reset-btn {
  background: none;
  border: 1.5px solid #e2e8f0;
  color: var(--text-lt);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}

.prod-reset-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

/* No results state */
.prod-no-results {
  display: none;
  text-align: center;
  padding: 64px 20px;
}

.prod-no-results.show {
  display: block;
}

.prod-no-results-icon {
  width: 88px;
  height: 88px;
  background: var(--light-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #94a3b8;
  margin: 0 auto 22px;
}

.prod-no-results h5 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.prod-no-results p {
  font-size: .9rem;
  color: var(--text-lt);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Outline dark button (for light backgrounds) */
.btn-outline-primary-dark {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 11px 28px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--trans);
}

.btn-outline-primary-dark:hover {
  background: var(--primary);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30, 45, 10, .25);
}

/* Prod item transition when filtered */
.prod-item {
  transition: opacity .2s, transform .2s;
}

.prod-item.hidden {
  display: none !important;
}

@media (max-width: 575px) {
  .prod-search-bar {
    padding: 7px 7px 7px 16px;
    margin-bottom: 20px;
  }

  .prod-search-input {
    font-size: .88rem;
  }

  .cat-tab {
    padding: 7px 16px;
    font-size: .79rem;
  }
}

/* ============================================================
   OFFERS SECTION - v2 redesign completo
   ============================================================ */

.offers-section {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(160deg, #050d02 0%, #0a1407 40%, #0f1e07 70%, #1e2d0a 100%);
  overflow: hidden;
}

.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201, 160, 32, .08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(30, 45, 10, .5) 0%, transparent 60%);
  pointer-events: none;
}

.offers-bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 22vw, 240px);
  font-weight: 900;
  letter-spacing: -8px;
  color: rgba(255, 255, 255, .025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.offers-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ocard {
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  transition: transform .35s cubic-bezier(.2, .8, .4, 1), box-shadow .35s ease;
  min-height: 220px;
}

.ocard:hover {
  transform: translateY(-6px) scale(1.01);
}

.ocard-amber {
  box-shadow: 0 20px 60px rgba(232, 160, 32, .25), 0 4px 20px rgba(0, 0, 0, .3);
}

.ocard-red {
  box-shadow: 0 20px 60px rgba(220, 53, 69, .30), 0 4px 20px rgba(0, 0, 0, .3);
}

.ocard-green {
  box-shadow: 0 20px 60px rgba(25, 135, 84, .25), 0 4px 20px rgba(0, 0, 0, .3);
}

.ocard-blue {
  box-shadow: 0 20px 60px rgba(13, 110, 253, .25), 0 4px 20px rgba(0, 0, 0, .3);
}

.ocard-purple {
  box-shadow: 0 20px 60px rgba(111, 66, 193, .25), 0 4px 20px rgba(0, 0, 0, .3);
}

.ocard-amber:hover {
  box-shadow: 0 30px 80px rgba(232, 160, 32, .45), 0 8px 30px rgba(0, 0, 0, .35);
}

.ocard-red:hover {
  box-shadow: 0 30px 80px rgba(220, 53, 69, .50), 0 8px 30px rgba(0, 0, 0, .35);
}

.ocard-green:hover {
  box-shadow: 0 30px 80px rgba(25, 135, 84, .45), 0 8px 30px rgba(0, 0, 0, .35);
}

.ocard-blue:hover {
  box-shadow: 0 30px 80px rgba(13, 110, 253, .45), 0 8px 30px rgba(0, 0, 0, .35);
}

.ocard-purple:hover {
  box-shadow: 0 30px 80px rgba(111, 66, 193, .45), 0 8px 30px rgba(0, 0, 0, .35);
}

/* LEFT colored panel */
.ocard-left {
  position: relative;
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  overflow: hidden;
}

.ocard-amber .ocard-left {
  background: linear-gradient(145deg, #7a6808 0%, #c9a020 55%, #e2c040 100%);
}

.ocard-red .ocard-left {
  background: linear-gradient(145deg, #7a0f1a 0%, #dc3545 55%, #f05060 100%);
}

.ocard-green .ocard-left {
  background: linear-gradient(145deg, #0a3d20 0%, #198754 55%, #20a866 100%);
}

.ocard-blue .ocard-left {
  background: linear-gradient(145deg, #082a70 0%, #0d6efd 55%, #4090ff 100%);
}

.ocard-purple .ocard-left {
  background: linear-gradient(145deg, #2d0e70 0%, #6f42c1 55%, #9060e0 100%);
}

.ocard-left::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  bottom: -60px;
  right: -60px;
}

.ocard-left::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  top: -30px;
  left: -30px;
}

.ocard-hot {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.ocard-hot i {
  animation: flicker 1.4s ease-in-out infinite alternate;
}

@keyframes flicker {
  from {
    opacity: .7;
    transform: scale(1) rotate(-10deg);
  }

  to {
    opacity: 1;
    transform: scale(1.25) rotate(10deg);
  }
}

.ocard-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, .15);
  padding: 6px;
  position: relative;
  z-index: 2;
}

.ocard-badge {
  position: relative;
  z-index: 2;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  text-align: center;
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, .3), 0 0 40px rgba(255, 255, 255, .1);
  }

  50% {
    text-shadow: 0 0 40px rgba(255, 255, 255, .6), 0 0 80px rgba(255, 255, 255, .3);
    transform: scale(1.05);
  }
}

.spark {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  z-index: 3;
}

.sp1 {
  width: 7px;
  height: 7px;
  top: 22%;
  right: 18%;
  animation: sparkle 2.0s .2s infinite;
}

.sp2 {
  width: 5px;
  height: 5px;
  bottom: 28%;
  right: 26%;
  animation: sparkle 2.0s .7s infinite;
}

.sp3 {
  width: 9px;
  height: 9px;
  top: 55%;
  left: 12%;
  animation: sparkle 2.0s 1.2s infinite;
}

.sp4 {
  width: 4px;
  height: 4px;
  bottom: 18%;
  left: 30%;
  animation: sparkle 2.0s 1.7s infinite;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }

  40%,
  60% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

/* RIGHT content panel */
.ocard-right {
  flex: 1;
  background: #fff;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.ocard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ocard-amber .ocard-eyebrow {
  color: #9e7c10;
}

.ocard-red .ocard-eyebrow {
  color: #b91c2e;
}

.ocard-green .ocard-eyebrow {
  color: #127040;
}

.ocard-blue .ocard-eyebrow {
  color: #0850c0;
}

.ocard-purple .ocard-eyebrow {
  color: #5530a0;
}

.ocard-title {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: #131e07;
  line-height: 1.25;
  margin: 0;
}

.ocard-subtitle {
  font-size: .88rem;
  color: #546270;
  line-height: 1.65;
  margin: 0;
}

.ocard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ocard-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1.5px solid;
}

.ocard-amber .ocard-chip {
  color: #8a6208;
  border-color: #c9a020;
  background: #fffbf0;
}

.ocard-red .ocard-chip {
  color: #a01020;
  border-color: #dc3545;
  background: #fff5f6;
}

.ocard-green .ocard-chip {
  color: #0a5030;
  border-color: #198754;
  background: #f0fff8;
}

.ocard-blue .ocard-chip {
  color: #083090;
  border-color: #0d6efd;
  background: #f0f6ff;
}

.ocard-purple .ocard-chip {
  color: #3d1a90;
  border-color: #6f42c1;
  background: #f8f5ff;
}

/* Countdown */
.ocard-countdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ocd-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #8090a8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ocd-blocks {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ocd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f0f4fa;
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 52px;
}

.ocd-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #131e07;
}

.ocd-lbl {
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8090a8;
  margin-top: 3px;
}

.ocd-colon {
  font-size: 1.4rem;
  font-weight: 800;
  color: #c0cce0;
  line-height: 1;
  align-self: flex-start;
  padding-top: 6px;
}

.ocard-amber .ocd-num {
  color: #b87000;
}

.ocard-red .ocd-num {
  color: #c01020;
}

.ocard-green .ocd-num {
  color: #0d6840;
}

.ocard-blue .ocd-num {
  color: #0850c0;
}

.ocard-purple .ocd-num {
  color: #5530a0;
}

/* CTA */
.ocard-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1aad4d 0%, #25d366 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  transition: all .3s ease;
  align-self: flex-start;
  margin-top: 4px;
}

.ocard-cta:hover {
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .55);
  transform: translateX(4px);
}

.ocard-cta-wa {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.ocard-cta-arrow {
  display: flex;
  align-items: center;
  transition: transform .25s ease;
}

.ocard-cta:hover .ocard-cta-arrow {
  transform: translateX(5px);
}

/* Navbar link */
.nav-link-oferta {
  color: var(--secondary) !important;
  font-weight: 700;
}

.nav-link-oferta:hover {
  color: #e2c040 !important;
}

/* Responsive */
@media (max-width: 767px) {
  .offers-section {
    padding: 72px 0 88px;
  }

  .ocard {
    flex-direction: column;
    min-height: auto;
  }

  .ocard-left {
    flex: none;
    min-height: 180px;
    padding: 28px 24px 24px;
  }

  .ocard-badge {
    font-size: 2.6rem;
  }

  .ocard-right {
    padding: 22px 24px;
  }

  .ocd-unit {
    min-width: 44px;
    padding: 7px 10px;
  }

  .ocd-num {
    font-size: 1.2rem;
  }

  .ocard-cta {
    align-self: stretch;
    justify-content: center;
  }

  .offers-bg-word {
    display: none;
  }
}

@media (min-width: 992px) {
  .offers-stack {
    max-width: 860px;
    margin: 0 auto;
  }
}

/* ─────────────────────────────────────────────────────────────────
   OFFER SPLASH OVERLAY
   ───────────────────────────────────────────────────────────────── */
.offer-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.offer-splash.splash-visible {
  opacity: 1;
  pointer-events: all;
}

.splash-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 35, .84);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* Card */
.splash-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  border-radius: 24px;
  overflow: hidden;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .07);
  transform: translateY(36px) scale(.96);
  transition: transform .48s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}

.offer-splash.splash-visible .splash-card {
  transform: translateY(0) scale(1);
}

/* Progress bar */
.splash-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 10;
  background: rgba(255, 255, 255, .15);
}

.splash-progress-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .5) 100%);
}

/* Close button */
.splash-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 11;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
}

.splash-close-btn:hover {
  background: rgba(255, 255, 255, .32);
  transform: scale(1.12);
}

/* Left panel */
.splash-left {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 20px 32px;
  position: relative;
}

.splash-more-badge {
  margin-top: 10px;
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .25);
  padding: 3px 12px;
  border-radius: 50px;
}

/* Right panel */
.splash-right {
  flex: 1;
  background: #fff;
  padding: 44px 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.splash-eyebrow {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a020;
  display: flex;
  align-items: center;
  gap: 6px;
}

.splash-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: #131e07;
  line-height: 1.2;
  margin: 0;
}

.splash-subtitle {
  font-size: .9rem;
  color: #546270;
  line-height: 1.65;
  margin: 0;
}

/* Actions */
.splash-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.splash-cta-wa {
  align-self: stretch;
  justify-content: center;
}

.splash-skip-btn {
  background: transparent;
  border: none;
  color: #8090a8;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  padding: 6px;
  transition: color .2s ease;
}

.splash-skip-btn:hover {
  color: #1e2d0a;
}

.splash-auto-text {
  font-size: .74rem;
  color: #b0bec5;
  text-align: center;
  margin-top: -4px;
}

.splash-auto-text strong {
  color: #8090a8;
}

/* Responsive */
@media (max-width: 640px) {
  .splash-card {
    flex-direction: column;
    max-height: 93vh;
    border-radius: 20px;
  }

  .splash-left {
    flex: none;
    min-height: 160px;
    padding: 36px 20px 20px;
  }

  .splash-right {
    padding: 24px 22px 24px;
    gap: 12px;
  }

  .splash-title {
    font-size: 1.4rem;
  }

  .splash-close-btn {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 400px) {
  .splash-right {
    padding: 20px 16px 20px;
  }

  .splash-title {
    font-size: 1.2rem;
  }
}

/* ============================================================
   WELCOME SECTOR MODAL (primera visita)
   ============================================================ */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.welcome-overlay.wv-visible {
  opacity: 1;
  pointer-events: all;
}

.welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 24, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Card */
.welcome-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: translateY(32px) scale(.97);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}

.welcome-overlay.wv-visible .welcome-card {
  transform: translateY(0) scale(1);
}

/* Header */
.welcome-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 32px 36px 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.welcome-header::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  top: -140px;
  right: -100px;
}

.welcome-header::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(201, 160, 32, .07);
  bottom: -80px;
  left: -50px;
}

.welcome-logo {
  width: 130px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  padding: 6px 14px;
  margin: 0 auto 18px;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.welcome-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.welcome-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.welcome-subtitle {
  font-size: .88rem;
  color: rgba(255, 255, 255, .62);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Body */
.welcome-body {
  padding: 28px 32px 32px;
}

.welcome-question {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-lt);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

/* Sector grid */
.welcome-sectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.wv-sector {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--light);
  border: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all .22s ease;
}

.wv-sector:hover {
  border-color: var(--primary);
  background: rgba(30, 45, 10, .05);
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.wv-sector-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all .22s;
}

.wv-sector:hover .wv-sector-icon {
  transform: scale(1.1) rotate(5deg);
}

.wv-sector-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.wv-sector-desc {
  font-size: .74rem;
  color: var(--text-lt);
}

/* "Ver todo" link */
.wv-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-lt);
  font-size: .82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: color .2s;
}

.wv-all:hover {
  color: var(--primary);
}

.wv-all i {
  font-size: .7rem;
}

/* Close btn */
.welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: background .2s;
}

.welcome-close:hover {
  background: rgba(255, 255, 255, .28);
}

@media (max-width: 560px) {
  .welcome-header {
    padding: 26px 22px 22px;
  }

  .welcome-body {
    padding: 22px 20px 24px;
  }

  .welcome-sectors {
    grid-template-columns: 1fr;
  }

  .wv-sector {
    padding: 13px 14px;
  }

  .welcome-card {
    border-radius: 18px;
  }
}

/* ── CHAT WIDGET ── */
.amito-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chat-fab {
  background: var(--primary, #476b60);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s;
}
.chat-fab:hover {
  transform: scale(1.05);
}
.chat-fab-robot {
  display: flex;
}
.chat-fab-close {
  display: none;
  font-size: 1.5rem;
}
.chat-fab.open .chat-fab-robot {
  display: none;
}
.chat-fab.open .chat-fab-close {
  display: block;
}
.chat-fab-notif {
  position: absolute;
  top: 0;
  right: 0;
  background: #e74c3c;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.chat-panel {
  display: none;
  flex-direction: column;
  background: white;
  width: 350px;
  height: 500px;
  max-height: calc(100vh - 100px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  margin-bottom: 20px;
  overflow: hidden;
}
.chat-panel.open {
  display: flex;
}
.chat-header {
  background: var(--primary, #476b60);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.chat-header-avatar {
  position: relative;
  background: rgba(255,255,255,0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.online-pulse {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #2ecc71;
  border-radius: 50%;
  border: 2px solid var(--primary, #476b60);
}
.chat-header-info {
  flex: 1;
}
.chat-agent-name {
  font-weight: 600;
  font-size: 1.1rem;
}
.chat-agent-status {
  font-size: 0.8rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}
.online-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  display: inline-block;
}
.chat-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f9f9f9;
}
.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
  word-wrap: break-word;
}
.chat-msg.agent {
  background: white;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.chat-msg.user {
  background: var(--primary, #476b60);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 20px;
  background: #f9f9f9;
}
.chat-qr-btn {
  background: white;
  border: 1px solid var(--primary, #476b60);
  color: var(--primary, #476b60);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-qr-btn:hover {
  background: var(--primary, #476b60);
  color: white;
}
.chat-input-row {
  display: flex;
  padding: 15px;
  background: white;
  border-top: 1px solid #eee;
  gap: 10px;
}
.chat-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 0.95rem;
  outline: none;
}
.chat-input:focus {
  border-color: var(--primary, #476b60);
}
.chat-send-btn {
  background: var(--primary, #476b60);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.chat-send-btn:hover {
  transform: scale(1.1);
}
@media (max-width: 480px) {
  .chat-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
    z-index: 10000;
  }
}
.pc-modal-box {
  position: relative;
  background: white;
  width: 90%;
  max-width: 850px;
  max-height: 90vh;
  border-radius: 24px;
  z-index: 2010;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.pc-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
  z-index: 2020;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.pc-modal-close:hover {
  background: white;
  color: #ef4444;
  transform: scale(1.05) rotate(90deg);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.pc-modal-inner {
  display: flex;
  flex-direction: row;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .pc-modal-inner {
    flex-direction: column;
  }
}
.pc-modal-visual {
  flex: 1.1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 300px;
  overflow: hidden;
  position: relative;
}
.pc-modal-visual::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.pc-modal-visual img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: zoom-in;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
}
.pc-modal-visual img:hover {
  transform: scale(1.15) translateY(-10px);
}
.pc-modal-visual-icon {
  font-size: 6rem;
  color: #e2e8f0;
  z-index: 1;
}
.pc-modal-info {
  flex: 1;
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  background: white;
}
.pc-modal-badges {
  margin-bottom: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pc-badge-cat {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #e2e8f0;
}
.pc-badge-brand {
  background: linear-gradient(135deg, var(--secondary, #5e9c8e), #477c70);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(94, 156, 142, 0.3);
}
.pc-modal-name {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.pc-modal-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.7;
}
.pc-modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 35px;
}
.pc-spec-tag {
  background: white;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.pc-modal-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pc-btn-wa, .pc-btn-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}
.pc-btn-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 6px 15px -3px rgba(37, 211, 102, 0.4);
}
.pc-btn-wa:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.5);
}
.pc-btn-quote {
  background: white;
  color: #334155;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.pc-btn-quote:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.pc-modal-overlay.open {
  display: flex;
}
.pc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}
