/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1565C0;
  --blue-dark: #0D47A1;
  --blue-light: #1976D2;
  --blue-xlight: #E3F2FD;
  --white: #ffffff;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --green-wa: #25D366;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(21,101,192,.12);
  --shadow-lg: 0 8px 40px rgba(21,101,192,.18);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; color: var(--gray-800); line-height: 1.65; background: var(--white); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa {
  background: var(--green-wa);
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}
.btn--wa:hover { background: #1ebe5a; box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.btn--ghost {
  background: rgba(255,255,255,.15);
  color: white;
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.25); border-color: white; }
.btn--primary {
  background: var(--green-wa);
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn--primary:hover { background: #1ebe5a; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header--light h2, .section-header--light .section-desc { color: white; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-xlight);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-eyebrow--light { color: white; background: rgba(255,255,255,.2); }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gray-800); margin-bottom: 14px; }
.section-desc { color: var(--gray-600); max-width: 580px; margin: 0 auto; }
.section-desc--light { color: rgba(255,255,255,.85); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  gap: 24px;
}
.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__logo-img { width: 120px; height: 120px; object-fit: contain; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-imb { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--blue); }
.logo-sub { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .62rem; letter-spacing: .05em; color: var(--blue); }
.logo-name { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: .6rem; color: var(--gray-600); font-style: italic; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--blue); background: var(--blue-xlight); }
.nav__cta { background: var(--blue) !important; color: white !important; border-radius: 50px !important; padding: 9px 20px !important; }
.nav__cta:hover { background: var(--blue-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--blue); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO / CARRUSEL ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

/* Carousel track */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.slide.prev {
  opacity: 0;
  z-index: 0;
}

.slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,35,80,.82) 0%,
    rgba(13,71,161,.6) 50%,
    rgba(21,101,192,.3) 100%
  );
}

.slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  max-width: 760px;
  animation: slideIn .7s ease both;
}
.slide:not(.active) .slide__content { animation: none; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide__tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  width: fit-content;
}

.slide__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 18px;
  line-height: 1.15;
}
.slide__title em { font-style: normal; color: #90CAF9; }

.slide__desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.slide__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Carousel arrows */
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.3);
  color: white;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  line-height: 1;
}
.carousel__prev { left: 20px; }
.carousel__next { right: 20px; }
.carousel__prev:hover,
.carousel__next:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-50%) scale(1.08);
}

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  transition: background .3s, transform .3s, border-color .3s;
  padding: 0;
}
.dot.active {
  background: white;
  border-color: white;
  transform: scale(1.3);
}
.dot:hover { border-color: white; }

/* Progress bar */
.carousel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,.6);
  z-index: 10;
  animation: progress var(--slide-duration, 5s) linear infinite;
}
@keyframes progress {
  from { width: 0; }
  to   { width: 100%; }
}

/* Stats strip */
.hero__stats-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(13,71,161,.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat-s {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 40px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-s:last-child { border-right: none; }
.stat-s strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}
.stat-s span { font-size: .75rem; color: rgba(255,255,255,.7); font-weight: 500; }

/* ===== BADGES ===== */
.badges { padding: 48px 0; background: white; border-bottom: 1px solid var(--gray-100); }
.badges__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.badge {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; padding: 24px 16px; border-radius: var(--radius);
  background: var(--blue-xlight); transition: transform .2s;
}
.badge:hover { transform: translateY(-3px); }
.badge span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .88rem; color: var(--blue-dark); }

/* ===== SERVICES ===== */
.services { padding: 96px 0; background: var(--gray-50); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: white; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card--featured { border: 2px solid var(--blue); }
.service-card__badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--blue); color: white;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .7rem;
  padding: 4px 10px; border-radius: 50px;
}
.service-card__icon {
  width: 64px; height: 64px; background: var(--blue-xlight);
  border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card__icon svg { width: 38px; height: 38px; }
.service-card h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: 10px; }
.service-card p { font-size: .92rem; color: var(--gray-600); }

/* ===== WHY ===== */
.why { padding: 96px 0; background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); }
.why .section-header h2 { color: white; }
.why__grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; }
.why-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.why-item:last-child { border-bottom: none; }
.why-item__check {
  width: 32px; height: 32px; background: rgba(255,255,255,.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: white; flex-shrink: 0; font-size: 1rem;
}
.why-item--highlight .why-item__check { background: rgba(255,255,255,.3); color: #FFD700; }
.why-item h3 { font-size: 1rem; color: white; margin-bottom: 4px; }
.why-item p { font-size: .88rem; color: rgba(255,255,255,.75); }

.why__visual { display: flex; align-items: center; justify-content: center; }
.ojo-buey__outer {
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 8px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(0,0,0,.3), inset 0 0 40px rgba(255,255,255,.05);
}
.ojo-buey__inner {
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 4px solid rgba(255,255,255,.8);
  overflow: hidden;
}

/* ===== PROCESS ===== */
.process { padding: 96px 0; background: white; }
.process__steps { display: flex; align-items: flex-start; gap: 8px; justify-content: center; flex-wrap: wrap; }
.step { flex: 1; min-width: 150px; max-width: 200px; text-align: center; padding: 28px 16px; background: var(--gray-50); border-radius: var(--radius); }
.step__num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2rem; color: var(--blue); margin-bottom: 10px; opacity: .3; }
.step h3 { font-size: .95rem; color: var(--blue-dark); margin-bottom: 6px; }
.step p { font-size: .82rem; color: var(--gray-600); }
.step__arrow { font-size: 1.5rem; color: var(--blue); opacity: .4; margin-top: 36px; flex-shrink: 0; }

/* ===== FAQ ===== */
.faq { padding: 96px 0; background: var(--gray-50); }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: white; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; list-style: none; cursor: pointer;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q h3 { font-size: 1rem; color: var(--blue-dark); font-weight: 700; }
.faq-item__icon {
  font-size: 1.4rem; font-weight: 300; color: var(--blue);
  transition: transform .3s; flex-shrink: 0;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-xlight); border-radius: 50%;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { padding: 0 24px 20px; border-top: 1px solid var(--gray-100); }
.faq-item__a p { color: var(--gray-600); padding-top: 16px; }

/* ===== CONTACT ===== */
.contact { padding: 96px 0; background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 18px 20px; transition: background .2s, transform .2s; cursor: pointer;
}
.contact-card:hover { background: rgba(255,255,255,.18); transform: translateX(4px); }
.contact-card--static { cursor: default; }
.contact-card--static:hover { transform: none; }
.contact-card__icon {
  width: 52px; height: 52px; background: var(--green-wa);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card__icon--blue { background: rgba(255,255,255,.2); }
.contact-card__icon--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.contact-card strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; color: white; font-size: .95rem; }
.contact-card span { display: block; font-size: .8rem; color: rgba(255,255,255,.65); }
.contact-card em { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; color: rgba(255,255,255,.9); font-size: .9rem; font-style: normal; margin-top: 2px; }
.contact__cta-box { background: white; border-radius: 20px; padding: 40px 36px; box-shadow: var(--shadow-lg); }
.contact__cta-box h3 { font-size: 1.5rem; color: var(--blue-dark); margin-bottom: 14px; }
.contact__cta-box p { color: var(--gray-600); margin-bottom: 28px; }
.contact__cta-note { margin-top: 16px !important; font-size: .82rem !important; text-align: center; }

/* ===== FOOTER ===== */
.footer { background: var(--blue-dark); padding: 40px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem; color: white; }
.footer__brand-sub { font-size: .8rem; color: rgba(255,255,255,.6); }
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer__nav a { font-size: .85rem; color: rgba(255,255,255,.65); font-family: 'Montserrat', sans-serif; font-weight: 500; transition: color .2s; }
.footer__nav a:hover { color: white; }
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.4); }

/* ===== WA FLOTANTE ===== */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: var(--green-wa); color: white;
  padding: 14px 20px; border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
  animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 32px rgba(37,211,102,.55); animation: none; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 36px rgba(37,211,102,.7); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stat-s { padding: 14px 24px; }
}

@media (max-width: 900px) {
  .badges__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .why__visual { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .step__arrow { display: none; }
  .slide__content { padding: 0 40px; }
  .hero__stats-strip { display: none; }
  .carousel__dots { bottom: 24px; }
}

@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: white; box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 16px; z-index: 99;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { display: block; padding: 12px 16px; }

  .hero { max-height: 100vh; }
  .slide__content { padding: 0 20px; padding-bottom: 60px; }
  .slide__title { font-size: 1.8rem; }
  .slide__desc { font-size: .93rem; }
  .slide__btns { flex-direction: column; gap: 10px; }
  .slide__btns .btn { justify-content: center; }

  .carousel__prev { left: 10px; width: 40px; height: 40px; font-size: 1.5rem; }
  .carousel__next { right: 10px; width: 40px; height: 40px; font-size: 1.5rem; }

  .badges__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .contact__cta-box { padding: 28px 20px; }
  .wa-float span { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
}
