/* ============================================================
   KIBUU — styles.css
   ============================================================ */

/* ---- Variables ---- */
:root {
  --navbar-h:    72px;
  --pink:        #EC71A4;
  --pink-dark:   #D45A8C;
  --navy:        #1D4686;
  --navy-dark:   #142F5E;
  --navy-panel:  rgba(29, 70, 134, 0.92);
  --blue-bg:     #EBF4FD;
  --white:       #FFFFFF;
  --gray-light:  #F5F5F5;
  --text-dark:   #1D4686;
  --text-body:   #444;
  --text-muted:  #777;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 30px rgba(0,0,0,0.12);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.18);
  --container:   1240px;
  --transition:  0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* ---- Utilidades ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.text-pink   { color: var(--pink) !important; }
.text-navy   { color: var(--navy) !important; }

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-presupuesto {
  background: linear-gradient(90deg, #1D4686 0%, #EC71A4 100%);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 16px rgba(236,113,164,0.30);
}
.btn-presupuesto:hover {
  background: linear-gradient(90deg, #142F5E 0%, #D45A8C 100%);
  box-shadow: 0 5px 22px rgba(236,113,164,0.40);
}

.btn-hero {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 36px;
  box-shadow: var(--shadow-sm);
}
.btn-hero:hover { background: var(--gray-light); box-shadow: var(--shadow-md); }

.btn-pink {
  background: var(--pink);
  color: var(--white);
}
.btn-pink:hover { background: var(--pink-dark); box-shadow: var(--shadow-sm); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-white-outline {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  border: 2px solid var(--white);
}
.btn-white-outline:hover { background: transparent; color: var(--white); }

.btn-white-pill {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 48px;
  box-shadow: var(--shadow-md);
}
.btn-white-pill:hover { background: var(--gray-light); box-shadow: var(--shadow-lg); }

/* ---- Section header ---- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header h2 em  { font-style: italic; color: var(--navy); }
.section-header h2 em.text-pink { color: var(--pink); }
.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
}
.section-header--white h2,
.section-header--white p { color: var(--white); }
.section-header--white h2 em { color: var(--white); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--pink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 24px;
  text-align: center;
  position: relative;
  z-index: 1001;
}
.ticker-wrap  { width: 100%; }
.ticker-text  { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-text span:last-child { display: none; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  transition: box-shadow var(--transition);
  /* Necesario para que el hero se vea detrás */
  isolation: isolate;
}

.navbar-container {
  background: var(--white);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 28px rgba(29,70,134,0.12);
  max-width: 100%;
  padding-inline: 0;
  transition: box-shadow var(--transition);
}
.site-header.scrolled .navbar-container {
  box-shadow: 0 8px 36px rgba(29,70,134,0.18);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 36px;
  max-width: var(--container);
  margin-inline: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-img--lg { height: 52px; }
.prefooter-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-menu li { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--blue-bg); color: var(--pink); }
.nav-link svg   { flex-shrink: 0; transition: transform var(--transition); }
.nav-link:hover svg { transform: rotate(180deg); }

.nav-cta-desktop { flex-shrink: 0; margin-left: 8px; }
.nav-cta-mobile  { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--blue-bg); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  width: 22px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
  /* Sube para quedar detrás del navbar */
  margin-top: calc(-1 * var(--navbar-h));
  padding-top: var(--navbar-h);
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 22, 64, 0.80) 0%,
    rgba(30, 15, 80, 0.75) 50%,
    rgba(9, 22, 64, 0.70) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 1000px;
  margin-inline: auto;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.hero-title mark {
  background: var(--pink);
  color: var(--white);
  padding: 0 10px 4px;
  border-radius: 4px;
  font-style: normal;
  display: inline;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SOLUCIONES
   ============================================================ */
.soluciones {
  background: var(--blue-bg);
  padding: 80px 0 0;
}
.productos-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  margin-top: 16px;
}
.productos-swiper {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.producto-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/2;
  max-width: 440px;
  max-height: 295px;
  margin-inline: auto;
  background: #ddd;
}
.producto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.producto-card:hover img { transform: scale(1.04); }
.producto-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Botones carousel productos */
.prod-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 3px 14px rgba(236,113,164,0.35);
  z-index: 2;
}
.prod-btn:hover {
  background: var(--pink-dark);
  box-shadow: 0 5px 20px rgba(236,113,164,0.50);
  transform: scale(1.08);
}
.prod-btn:active { transform: scale(0.96); }

/* Divider icon */
.section-divider-icon {
  display: flex;
  justify-content: center;
  padding: 40px 0 20px;
}
.section-divider-icon img { width: 180px; max-width: 40vw; }

/* ============================================================
   USOS LED
   ============================================================ */
.usos-led {
  background: var(--white);
  padding: 70px 0 0;
}
.usos-sectores-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 36px 0 52px;
  flex-wrap: wrap;
}
.sector-text-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.sector-text-item img { width: 22px; height: 22px; object-fit: contain; }

/* Sectores nav wrapper */
.sectores-nav-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}
.sectores-nav-wrap .usos-sectores-text {
  flex: 1;
}
.sector-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(29,70,134,0.25);
  background: transparent;
  color: var(--pink);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}
.sector-btn:hover {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

/* ---- Strips de scroll infinito ---- */
.usos-strip {
  overflow: hidden;
  width: 100%;
  padding: 5px 0;
}
.strip-track {
  display: flex;
  gap: 10px;
  width: max-content;
  will-change: transform;
}
/* Las strips se mueven por JS con scroll */

.strip-img {
  width: 340px;
  height: 230px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.strip-img:hover img { transform: scale(1.04); }


/* ============================================================
   PINK CTA BAND
   ============================================================ */
.cta-band {
  background: var(--pink);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-band__sub {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.92;
  letter-spacing: 0.01em;
}
.cta-band__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ============================================================
   CLIENTES
   ============================================================ */
.clientes {
  background: var(--white);
  padding: 80px 0;
}
.clientes-carousel-wrap {
  padding: 0;
  margin-bottom: 40px;
}
.clientes-swiper { overflow: hidden; padding: 20px 0; }
.clientes-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.clientes-swiper .swiper-slide:hover { opacity: 1; }
.clientes-swiper .swiper-slide img {
  max-height: 110px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition);
}
.clientes-swiper .swiper-slide:hover img { filter: none; }

.clientes-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ============================================================
   ¿POR QUÉ KIBUU?
   ============================================================ */
.porque-kibuu {
  background: var(--white);
  padding-bottom: 0;
}
.porque-kibuu .section-header { margin-bottom: 40px; }

.porque-grid { width: 100%; }

.porque-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.porque-row--reverse .porque-text  { order: -1; }
.porque-row--reverse .porque-photo { order: 1; }

.porque-cell { position: relative; overflow: hidden; }

/* Celda foto */
.porque-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.porque-photo:hover img { transform: scale(1.03); }

/* Celda texto */
.porque-text {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
}
.porque-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 22, 64, 0.65);
  z-index: 0;
}
.porque-text-inner {
  position: relative;
  z-index: 1;
  padding: 56px 52px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.porque-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 24px;
}
.porque-text-inner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.porque-text-inner p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  max-width: 380px;
}

/* ============================================================
   CONTACT CTA (PINK)
   ============================================================ */
.contact-cta {
  background: var(--pink);
  padding: 60px 0;
  overflow: hidden;
}
.contact-cta__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.contact-cta__text {
  flex: 1;
  color: var(--white);
}
.contact-cta__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.contact-cta__text h2 em { font-style: italic; }
.contact-cta__text p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.contact-cta__img {
  flex-shrink: 0;
  width: 340px;
  max-width: 40%;
}
.contact-cta__img img { width: 100%; object-fit: contain; }

/* ============================================================
   SERVICIOS COMPLEMENTARIOS
   ============================================================ */
.servicios-comp {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1D4686 100%);
  padding: 80px 0;
}
.servicios-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 16px;
}
.servicios-img {
  flex-shrink: 0;
  width: 420px;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.servicios-img img { width: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }

.servicios-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.servicios-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.servicio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.servicio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.servicio-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.servicio-icon img { width: 64px; height: 64px; object-fit: contain; }
.servicio-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.servicio-content p {
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   PRE-FOOTER CTA
   ============================================================ */
.prefooter-cta {
  background: linear-gradient(120deg, #3B5CC4 0%, #7955C0 40%, #C07BAF 75%, #D4889C 100%);
  padding: 100px 24px 90px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.prefooter-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 0;
}
.prefooter-waves svg {
  display: block;
  width: 100%;
  height: auto;
}
.prefooter-inner { position: relative; z-index: 1; }
.prefooter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 680px;
  margin-inline: auto;
}
.prefooter-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
}
.prefooter-sub {
  font-size: 1.1rem;
  opacity: 0.9;
}
.prefooter-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px 0;
}
.prefooter-tagline {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--white); }

.footer-main { padding: 56px 0 40px; border-bottom: 1px solid #e8edf5; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

/* Brand col */
.footer-col--brand .logo { margin-bottom: 20px; }
.footer-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #dde2ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-link:hover { background: var(--pink); color: var(--white); border-color: var(--pink); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.87rem;
  color: var(--text-body);
}
.footer-contact a { color: var(--pink); transition: opacity var(--transition); }
.footer-contact a:hover { opacity: 0.8; }

/* Links col */
.footer-col-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--pink);
  transition: opacity var(--transition);
}
.footer-links a:hover { opacity: 0.75; }

/* Article col */
.footer-article {
  display: flex;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.footer-article__media {
  width: 110px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a0a40 0%, #3B1A7A 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-article__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-article__media--logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.9;
}
.footer-article__badge {
  flex: 1;
  background: linear-gradient(135deg, var(--pink) 0%, #9b27af 100%);
  padding: 14px 16px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.footer-article__badge p { font-size: 0.78rem; font-weight: 700; line-height: 1.3; }
.footer-article__badge-sub { font-size: 0.7rem !important; font-weight: 400 !important; opacity: 0.85; }
.footer-article__logo {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.footer-article__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.footer-article__title a { color: var(--navy); transition: color var(--transition); }
.footer-article__title a:hover { color: var(--pink); }

/* Legal bar */
.footer-legal {
  background: var(--navy);
  padding: 16px 0;
}
.footer-legal__inner {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-legal__inner a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-legal__inner a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .navbar { flex-wrap: wrap; }
  .nav-menu { gap: 2px; }
  .nav-link { padding: 8px 8px; font-size: 0.85rem; }

  .porque-text-inner { padding: 40px 36px; }
  .porque-icon { width: 80px; height: 80px; }

  .servicios-layout { gap: 36px; }
  .servicios-img { width: 320px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--article { grid-column: 1 / -1; }

  .contact-cta__img { width: 280px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav toggle */
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile  { display: list-item; padding: 12px 16px; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    box-shadow: 0 12px 32px rgba(29,70,134,0.15);
    border-radius: 0 0 28px 28px;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
  .navbar-container { border-radius: 0 0 28px 28px; }
  :root { --navbar-h: 64px; }

  /* Hero */
  .hero { min-height: 75vh; }
  .hero-content { padding: 60px 20px 48px; }
  .hero-buttons { gap: 10px; }
  .btn-hero { padding: 12px 22px; font-size: 0.88rem; }

  /* Soluciones */
  .soluciones { padding: 56px 0 0; }
  .productos-carousel-wrap { padding: 0 16px; gap: 12px; }
  .prod-btn { width: 38px; height: 38px; }

  /* Usos strips */
  .strip-img { width: 220px; height: 160px; }

  /* Por qué Kibuu */
  .porque-row,
  .porque-row--reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .porque-row--reverse .porque-text  { order: 0; }
  .porque-row--reverse .porque-photo { order: 1; }
  .porque-photo { min-height: 260px; }
  .porque-text-inner { padding: 40px 28px; }
  .porque-icon { width: 70px; height: 70px; }
  .porque-text-inner h3 { font-size: 1.3rem; }

  /* Contact CTA */
  .contact-cta__inner { flex-direction: column; text-align: center; }
  .contact-cta__img { max-width: 60%; margin-inline: auto; }

  /* Servicios */
  .servicios-layout { flex-direction: column; }
  .servicios-img { width: 100%; max-width: 320px; margin-inline: auto; }
  .servicios-cards { width: 100%; }
  .servicios-cards-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col--article { grid-column: auto; }
  .footer-legal__inner { gap: 14px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-hero { width: 100%; max-width: 260px; }

  .productos-carousel-wrap { padding: 0 12px; gap: 8px; }
  .prod-btn { width: 34px; height: 34px; }

  .cta-band { padding: 36px 0; }
  .clientes-ctas { flex-direction: column; align-items: center; }
  .contact-cta__img { max-width: 80%; }

  .strip-img { width: 180px; height: 130px; }
}
