/* ============================================================
   JAVIER FÉNIX — styles.css
   Paleta: Azul médico (#0f3460) + Blanco + Acento naranja (#e8720c)
   ============================================================ */

/* ---- Variables ---- */
:root {
  --azul:       #0f3460;
  --azul-oscuro:#071e3d;
  --azul-medio: #1a5276;
  --naranja:    #e8720c;
  --naranja-hover: #cf640b;
  --blanco:     #ffffff;
  --gris-claro: #f4f6f9;
  --gris-borde: #e2e8f0;
  --texto:      #1a202c;
  --texto-suave:#64748b;
  --verde-wa:   #25d366;
  --verde-wa-hover: #1eba57;
  --radio:      6px;
  --sombra:     0 2px 16px rgba(0,0,0,.08);
  --sombra-md:  0 4px 24px rgba(0,0,0,.12);
  --transicion: .25s ease;
}

/* ---- Reset y base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Animaciones al hacer scroll ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease-out, transform .65s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radio);
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--transicion), transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary   { background: var(--azul); color: var(--blanco); }
.btn--primary:hover { background: var(--azul-medio); }
.btn--accent    { background: var(--naranja); color: var(--blanco); }
.btn--accent:hover  { background: var(--naranja-hover); }
.btn--white     { background: var(--blanco); color: var(--azul); }
.btn--white:hover   { background: #e8f0ff; }
.btn--whatsapp  { background: var(--verde-wa); color: var(--blanco); }
.btn--whatsapp:hover { background: var(--verde-wa-hover); }
.btn--outline   { border: 1.5px solid var(--gris-borde); color: var(--texto-suave); }
.btn--outline:hover { border-color: var(--azul); color: var(--azul); }
.btn--full      { width: 100%; justify-content: center; padding: 1rem; }
.btn--link      { color: var(--azul); font-size: .875rem; text-decoration: underline; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--blanco);
  transition: box-shadow var(--transicion);
}
.navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.1); }

.top-bar {
  background: var(--azul-oscuro);
  padding: .35rem 0;
  display: none; /* visible desde md */
}
.top-bar__inner {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}
.top-bar__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: #b8ccee;
  transition: color var(--transicion);
}
.top-bar__link:hover { color: var(--naranja); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.nav__logo-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--azul);
  color: var(--naranja);
  font-weight: 900;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__logo-name {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: var(--azul);
  line-height: 1.1;
}
.nav__logo-sub {
  display: block;
  font-size: .65rem;
  color: var(--texto-suave);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Menú */
.nav__menu {
  display: none;
  gap: 1.75rem;
}
.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--texto-suave);
  transition: color var(--transicion);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--naranja);
  transition: width var(--transicion);
}
.nav__link:hover { color: var(--azul); }
.nav__link:hover::after { width: 100%; }

/* Acciones */
.nav__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav__cotizacion-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--texto-suave);
  transition: color var(--transicion);
  position: relative;
  padding: .4rem;
}
.nav__cotizacion-btn:hover { color: var(--azul); }
.nav__cotizacion-icon { font-size: 1.25rem; }
.nav__cotizacion-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--naranja);
  color: var(--blanco);
  font-size: .6rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
}
.nav__cta { display: none; }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: .5rem;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* Menú móvil */
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blanco);
  border-top: 1px solid var(--gris-borde);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-link {
  display: block;
  padding: .75rem 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--texto-suave);
  border-bottom: 1px solid var(--gris-borde);
  transition: color var(--transicion);
}
.nav__mobile-link:hover { color: var(--azul); }
.nav__mobile-cta {
  margin-top: 1rem;
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #071e3d 0%, #0f3460 50%, #1a5276 100%);
}

/* Círculos decorativos */
.hero__circles {
  position: absolute;
  inset: 0;
  opacity: .05;
}
.hero__circles::before,
.hero__circles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--blanco);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero__circles::before { width: 500px; height: 500px; }
.hero__circles::after  { width: 800px; height: 800px; }

.hero__glow {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 55%;
  background: radial-gradient(ellipse at right center, #e8720c33 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

/* Contenido del hero */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .75rem;
  color: #b8ccee;
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--naranja);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.2); }
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--blanco);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__title--accent { color: var(--naranja); }

.hero__subtitle {
  font-size: 1.05rem;
  color: #b8ccee;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero__stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--naranja);
}
.hero__stat-label {
  font-size: .7rem;
  color: #7a9cc7;
  margin-top: .1rem;
}

/* Panel visual derecho */
.hero__visual {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
}

.hero__img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  /* El PNG tiene fondo transparente — drop-shadow da profundidad sin caja */
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .55));
  /* Sutil animación de levitación */
  animation: flotar 4s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Tarjetas flotantes de confianza */
.hero__float {
  position: absolute;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  z-index: 2;
}
.hero__float--top    { top: 8%;  right: -16px; }
.hero__float--bottom { bottom: 8%; left: -16px; }
.hero__float-icon    { font-size: 1.25rem; }
.hero__float-title   { font-size: .75rem; font-weight: 700; color: var(--azul); }
.hero__float-sub     { font-size: .65rem; color: var(--texto-suave); }

/* Flecha scroll */
.hero__scroll-arrow {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  color: rgba(255,255,255,.3);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 2rem;
  background: rgba(255,255,255,.2);
}
.hero__arrow-bounce {
  font-size: 1.1rem;
  animation: bounceDown 1.5s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ============================================================
   BARRA DE CONFIANZA
   ============================================================ */
.trust-bar {
  background: var(--blanco);
  border-bottom: 1px solid var(--gris-borde);
  padding: 2.5rem 0;
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radio);
  transition: background var(--transicion);
}
.trust-item:hover { background: #f0f5ff; }
.trust-item__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(15,52,96,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-item__title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--azul);
}
.trust-item__desc {
  font-size: .75rem;
  color: var(--texto-suave);
  line-height: 1.4;
  margin-top: .1rem;
}

/* ============================================================
   SECCIONES COMUNES
   ============================================================ */
.section { padding: 5rem 0; }
.section--gray { background: var(--gris-claro); }

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section__label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--naranja);
  margin-bottom: .75rem;
}
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--azul);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.section__desc {
  font-size: .95rem;
  color: var(--texto-suave);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   CATÁLOGO DE PRODUCTOS
   ============================================================ */
/* Filtros */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 500;
  border: 1.5px solid var(--gris-borde);
  color: var(--texto-suave);
  transition: all var(--transicion);
}
.filter-btn:hover, .filter-btn--active {
  border-color: var(--azul);
  color: var(--azul);
  background: rgba(15,52,96,.05);
}
.filter-btn--active {
  background: var(--azul);
  color: var(--blanco);
  border-color: var(--azul);
}
.filter-btn--active:hover { background: var(--azul); color: var(--blanco); }

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Tarjeta de producto */
.product-card {
  background: var(--blanco);
  border-radius: 12px;
  border: 1px solid var(--gris-borde);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transicion), transform var(--transicion);
  opacity: 0;
  transform: translateY(20px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transicion), border-color var(--transicion);
}
.product-card:hover {
  box-shadow: var(--sombra-md);
  transform: translateY(-4px);
  border-color: rgba(15,52,96,.15);
}

/* Imagen / placeholder de producto */
.product-card__image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-card__emoji { font-size: 4rem; }
.product-card__badge {
  position: absolute;
  top: .75rem; right: .75rem;
  background: var(--naranja);
  color: var(--blanco);
  font-size: .65rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 100px;
}

/* Cuerpo de la tarjeta */
.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: .5rem;
}
.product-card__desc {
  font-size: .8rem;
  color: var(--texto-suave);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}
.product-card__items {
  margin-bottom: 1.25rem;
}
.product-card__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: #4a5568;
  margin-bottom: .3rem;
}
.product-card__item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--naranja);
  flex-shrink: 0;
}
.product-card__actions {
  display: flex;
  gap: .5rem;
}
.btn-agregar {
  flex: 1;
  padding: .6rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radio);
  background: var(--azul);
  color: var(--blanco);
  transition: background var(--transicion), color var(--transicion);
  text-align: center;
}
.btn-agregar:hover { background: var(--azul-medio); }
.btn-agregar--added {
  background: #f0fff4;
  color: #276749;
  border: 1.5px solid #9ae6b4;
}
.btn-agregar--added:hover { background: #f0fff4; }
.btn-consultar {
  padding: .6rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radio);
  border: 1.5px solid var(--gris-borde);
  color: var(--texto-suave);
  transition: all var(--transicion);
  white-space: nowrap;
}
.btn-consultar:hover { border-color: var(--azul); color: var(--azul); }

/* CTA extra debajo del catálogo */
.products-cta {
  text-align: center;
  margin-top: 3rem;
}
.products-cta p {
  font-size: .9rem;
  color: var(--texto-suave);
  margin-bottom: 1rem;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--gris-borde);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transicion), border-color var(--transicion), transform var(--transicion);
}
.service-card:hover {
  border-color: rgba(15,52,96,.2);
  box-shadow: var(--sombra);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(15,52,96,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: background var(--transicion);
}
.service-card:hover .service-card__icon { background: rgba(15,52,96,.1); }
.service-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: .5rem;
}
.service-card__desc {
  font-size: .82rem;
  color: var(--texto-suave);
  line-height: 1.6;
}

/* Tarjeta CTA de servicios */
.service-card--cta {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
  color: var(--blanco);
  border-color: transparent;
  justify-content: space-between;
}
.service-card--cta:hover { border-color: transparent; }
.service-card--cta__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #90b8e0;
  margin-bottom: .75rem;
}
.service-card--cta__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: .6rem;
}
.service-card--cta__desc {
  font-size: .82rem;
  color: #b8ccee;
  line-height: 1.6;
}
.service-card--cta__btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Visual */
.about__img-placeholder {
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  gap: 1rem;
  font-size: .8rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.about__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }

/* Contenedor fénix en sección Nosotros */
.about__img-fenix {
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about__fenix-img {
  width: 85%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.5));
  animation: flotar 4s ease-in-out infinite;
}
.about__img-icon { font-size: 5rem; opacity: .3; }
.about__img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(7,30,61,.8) 0%, transparent 100%);
}
.about__img-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanco);
}
.about__img-sub {
  font-size: .75rem;
  color: #90b8e0;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.about__stat {
  background: var(--blanco);
  border-radius: 10px;
  border: 1px solid var(--gris-borde);
  padding: 1rem;
  text-align: center;
}
.about__stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--naranja);
}
.about__stat-label {
  font-size: .7rem;
  color: var(--texto-suave);
  margin-top: .2rem;
}

/* Contenido de Nosotros */
.about__content .section__title { text-align: left; }
.about__content .section__label { text-align: left; }
.about__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: .9rem;
  color: var(--texto-suave);
  line-height: 1.75;
  margin: 1.5rem 0;
}
.about__text strong { color: var(--texto); }
.accent { color: var(--naranja) !important; font-weight: 700; }

.about__boxes {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.about__box {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--naranja);
  background: #fff8f3;
  border-radius: 0 var(--radio) var(--radio) 0;
}
.about__box strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: .3rem;
}
.about__box p {
  font-size: .8rem;
  color: var(--texto-suave);
  line-height: 1.55;
}

/* ============================================================
   LOGOS Y TESTIMONIOS
   ============================================================ */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.logo-placeholder {
  height: 64px;
  border-radius: var(--radio);
  border: 1px solid var(--gris-borde);
  background: var(--gris-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--texto-suave);
  font-weight: 500;
  transition: border-color var(--transicion);
}
.logo-placeholder:hover { border-color: #bbc; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testimonial {
  background: var(--gris-claro);
  border-radius: 12px;
  border: 1px solid var(--gris-borde);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transicion);
}
.testimonial:hover { box-shadow: var(--sombra); }
.testimonial__quote {
  font-size: 2.5rem;
  color: var(--naranja);
  line-height: .8;
  margin-bottom: 1rem;
}
.testimonial__text {
  font-size: .85rem;
  color: var(--texto-suave);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--blanco);
  font-weight: 700;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial__name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--azul);
}
.testimonial__role {
  font-size: .72rem;
  color: var(--texto-suave);
  margin-top: .1rem;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-info__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 1.5rem;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  margin-bottom: .75rem;
  transition: border-color var(--transicion), box-shadow var(--transicion);
}
.contact-card:hover {
  border-color: rgba(15,52,96,.25);
  box-shadow: 0 2px 8px rgba(15,52,96,.08);
}
.contact-card__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(15,52,96,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card__label {
  font-size: .72rem;
  color: var(--texto-suave);
  font-weight: 500;
}
.contact-card__value {
  font-size: .875rem;
  font-weight: 700;
  color: var(--azul);
  margin-top: .15rem;
}
.contact-hours {
  background: var(--azul);
  color: var(--blanco);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: .5rem;
  font-size: .82rem;
  line-height: 1.7;
}
.contact-hours__title { font-weight: 700; margin-bottom: .3rem; }
.contact-hours__note { color: #90b8e0; font-size: .75rem; margin-top: .5rem; }

/* Formulario de contacto */
.contact-form-wrap {
  background: var(--blanco);
  border-radius: 16px;
  border: 1px solid var(--gris-borde);
  padding: 2rem;
  box-shadow: var(--sombra);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--texto-suave);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.cotizacion-form input,
.cotizacion-form textarea {
  width: 100%;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: .65rem .9rem;
  font-size: .875rem;
  font-family: inherit;
  color: var(--texto);
  background: var(--blanco);
  transition: border-color var(--transicion), box-shadow var(--transicion);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.cotizacion-form input:focus,
.cotizacion-form textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(15,52,96,.1);
}
.form-group textarea,
.cotizacion-form textarea {
  min-height: 110px;
  resize: vertical;
}
.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--texto-suave);
  margin-top: .75rem;
}
.form-note__link { color: var(--verde-wa); font-weight: 600; }

.contact-success {
  text-align: center;
  padding: 3rem 1rem;
}
.contact-success__icon { font-size: 3.5rem; margin-bottom: 1rem; }
.contact-success h3 { font-size: 1.25rem; font-weight: 700; color: var(--azul); margin-bottom: .5rem; }
.contact-success p { font-size: .875rem; color: var(--texto-suave); margin-bottom: 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer__logo-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--naranja);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: .95rem;
  flex-shrink: 0;
}
.footer__logo-name {
  font-weight: 700;
  font-size: .95rem;
}
.footer__logo-sub {
  font-size: .7rem;
  color: #90b8e0;
}
.footer__desc {
  font-size: .82rem;
  color: #90b8e0;
  line-height: 1.7;
  margin-bottom: .75rem;
}
.footer__nit {
  font-size: .75rem;
  color: #5a7ea8;
  margin-bottom: 1rem;
}
.footer__social {
  display: flex;
  gap: .5rem;
}
.footer__social-link {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background var(--transicion);
}
.footer__social-link:hover { background: rgba(255,255,255,.18); }

.footer__col-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 1rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer__links li,
.footer__links a {
  font-size: .82rem;
  color: #90b8e0;
  transition: color var(--transicion);
}
.footer__links a:hover { color: var(--naranja); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .72rem;
  color: #5a7ea8;
}
.footer__legal { color: #4a6a8a; }

/* ============================================================
   PANEL DE COTIZACIÓN
   ============================================================ */
.cotizacion-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
  z-index: 200;
}
.cotizacion-overlay.open { display: block; }

.cotizacion-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--blanco);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow: hidden;
}
.cotizacion-panel.open {
  transform: translateX(0);
}

.cotizacion-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gris-borde);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: var(--blanco);
  z-index: 1;
}
.cotizacion-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul);
}
.cotizacion-panel__count {
  font-size: .72rem;
  color: var(--texto-suave);
  margin-top: .1rem;
}
.cotizacion-panel__close {
  color: var(--texto-suave);
  font-size: 1.1rem;
  padding: .4rem;
  border-radius: var(--radio);
  transition: color var(--transicion), background var(--transicion);
}
.cotizacion-panel__close:hover { color: var(--texto); background: var(--gris-claro); }

.cotizacion-step {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

/* Lista vacía */
.cotizacion-empty {
  padding: 4rem 1rem;
  text-align: center;
}
.cotizacion-empty__icon { font-size: 3.5rem; margin-bottom: 1rem; }
.cotizacion-empty p { font-size: .875rem; color: var(--texto-suave); }
.cotizacion-empty__hint { font-size: .78rem; margin-top: .3rem; }
.cotizacion-empty .btn--link { margin-top: 1.5rem; }

/* Items de cotización */
.cotizacion-list { display: flex; flex-direction: column; gap: .75rem; }
.cotizacion-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--gris-borde);
  transition: border-color var(--transicion);
}
.cotizacion-item:hover { border-color: rgba(15,52,96,.2); }
.cotizacion-item__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--gris-claro);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.cotizacion-item__name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--azul);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cotizacion-item__qty {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .3rem;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 4px;
  border: 1.5px solid var(--gris-borde);
  font-size: .85rem;
  font-weight: 700;
  color: var(--texto-suave);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transicion);
}
.qty-btn:hover { background: var(--gris-claro); }
.qty-value {
  font-size: .85rem;
  font-weight: 600;
  min-width: 1.5rem;
  text-align: center;
}
.qty-label { font-size: .7rem; color: var(--texto-suave); }
.cotizacion-item__del {
  color: #cbd5e0;
  font-size: .9rem;
  padding: .3rem;
  border-radius: var(--radio);
  transition: color var(--transicion), background var(--transicion);
}
.cotizacion-item__del:hover { color: #e53e3e; background: #fff5f5; }

/* Formulario dentro del panel */
.cotizacion-form__hint {
  font-size: .8rem;
  color: var(--texto-suave);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.cotizacion-form .form-group { margin-bottom: .85rem; }
.cotizacion-form label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--texto-suave);
  margin-bottom: .3rem;
  display: block;
}
.cotizacion-form textarea { min-height: 70px; }

.cotizacion-preview {
  background: var(--gris-claro);
  border-radius: var(--radio);
  padding: .85rem 1rem;
  margin-top: .5rem;
}
.cotizacion-preview__title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--texto-suave);
  margin-bottom: .5rem;
}
.cotizacion-preview__item {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: #4a5568;
  padding: .2rem 0;
}
.cotizacion-preview__qty { font-weight: 600; }

/* Footer del panel */
.cotizacion-panel__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gris-borde);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  flex-shrink: 0;
  background: var(--blanco);
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 56px; height: 56px;
  background: var(--verde-wa);
  color: var(--blanco);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.whatsapp-fab:hover {
  background: var(--verde-wa-hover);
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .logos-grid { grid-template-columns: repeat(6, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .top-bar { display: flex; }
  .nav__menu { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__hamburger { display: none; }
  .nav__cotizacion-label { display: inline; }
  .hero__visual { display: flex; }
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 2fr 3fr; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav__cotizacion-label { display: none; }
}
