:root {
  --brand: #4066f0;
  --brand-dark: #2446c7;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #5f6b7a;
  --dark: #111827;
  --radius: 16px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  z-index: 9999;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(64, 102, 240, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 15px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255,255,255,.18);
}

.contenido {
  width: min(1150px, calc(100% - 32px));
  margin: 0 auto;
  padding: 60px 0;
}

.contenido-small {
  padding: 40px 0;
}

.hero,
.page-hero {
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.page-hero {
  min-height: 48vh;
}

.hero-overlay {
  min-height: inherit;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.45), rgba(0,0,0,.35));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.hero-content {
  max-width: 850px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.1;
  margin: 20px 0;
}

.hero-content p {
  font-size: 1.12rem;
  max-width: 780px;
  margin: 0 auto 25px;
  color: rgba(255,255,255,.92);
}

.badge,
.section-label {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}

.section-label {
  margin-bottom: 10px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  color: var(--brand);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.16);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:hover {
  background: var(--brand-dark);
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.75);
}

.btn.secondary:hover {
  background: #fff;
  color: var(--brand);
}

.section-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}

.section-intro.left {
  text-align: left;
  margin-left: 0;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 8px 0 10px;
}

.section-intro p {
  color: var(--muted);
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stat {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat h2 {
  color: var(--brand);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin: 0;
}

.stat p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.servicio-card,
.catalog-card,
.testimonio,
.contact-card,
.contact-info,
.ventaja {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.servicio-card {
  overflow: hidden;
  transition: var(--transition);
}

.servicio-card:hover {
  transform: translateY(-10px);
}

.servicio-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  margin: 0 0 8px;
}

.card-body p {
  color: var(--muted);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #000;
}

.carousel-track {
  display: flex;
  transition: transform 450ms ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 35px 35px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
}

.carousel-caption span {
  display: inline-block;
  background: var(--brand);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 10px;
}

.carousel-caption h3 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.carousel-caption p {
  margin: 0;
  max-width: 700px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--brand);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-indicators button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  cursor: pointer;
}

.carousel-indicators button[aria-current="true"] {
  background: var(--brand);
}

.carousel-counter {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.ventajas {
  background: #eef2ff;
  padding: 70px 0;
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ventaja {
  padding: 26px 20px;
  text-align: center;
}

.ventaja span {
  font-size: 2.2rem;
}

.ventaja h3 {
  margin: 12px 0 8px;
}

.ventaja p {
  color: var(--muted);
  margin: 0;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonio {
  padding: 24px;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-weight: 800;
}

.testimonio p {
  color: var(--muted);
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 80px 20px;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 10px;
}

.cta p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.9);
}

.cta-btn {
  background: #fff;
  color: var(--brand);
}

.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--brand);
  color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalog-card {
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.catalog-card:hover {
  transform: translateY(-8px);
}

.catalog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.catalog-info {
  padding: 20px;
}

.catalog-info span {
  color: var(--brand);
  font-weight: 800;
  font-size: .9rem;
}

.catalog-info h3 {
  margin: 7px 0;
}

.catalog-info p {
  margin: 0;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 99999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 14px;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  border: 0;
  background: #fff;
  color: #000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 24px;
  align-items: start;
}

.contact-card,
.contact-info {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9deea;
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(64,102,240,.15);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  color: var(--muted);
  font-weight: 700;
}

.contact-info hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 22px 0;
}

.social-buttons {
  display: grid;
  gap: 10px;
}

.social {
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 800;
}

.social.instagram {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af);
}

.social.facebook {
  background: #1877f2;
}

.social.tiktok {
  background: linear-gradient(45deg,#69C9D0,#EE1D52);
}

.servicio-detalle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.servicio-img img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.servicio-texto h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 10px 0;
}

.servicio-texto p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.check-list li {
  background: #fff;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(0,0,0,.06);
}

.check-list li::before {
  content: "✅ ";
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.site-footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 22px 14px;
}

.whatsapp-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 30px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 950px) {
  .stats,
  .servicios-grid,
  .catalog-grid,
  .testimonios-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ventajas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout,
  .servicio-detalle {
    grid-template-columns: 1fr;
  }

  .carousel-slide img {
    height: 430px;
  }
}

@media (max-width: 620px) {
  .main-nav {
    gap: 8px;
    padding: 12px 8px;
  }

  .main-nav a {
    font-size: .9rem;
    padding: 7px 9px;
  }

  .stats,
  .servicios-grid,
  .catalog-grid,
  .testimonios-grid,
  .gallery-grid,
  .ventajas-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: 70vh;
  }

  .page-hero {
    min-height: 42vh;
  }

  .hero-overlay {
    padding: 22px 16px;
  }

  .carousel-slide img {
    height: 330px;
  }

  .carousel-caption {
    padding: 70px 20px 28px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .whatsapp-btn {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }
}