*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --naranja: #f38118;
  --naranja-oscuro: #d96e0a;
  --naranja-claro: #fef3e6;
  --gris: #1e1e1e;
  --gris-medio: #555;
  --gris-claro: #f5f5f5;
  --gris-borde: #e0e0e0;
  --blanco: #ffffff;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gris);
  background: var(--blanco);
  overflow-x: hidden;
}

/* ==============================
   BOTÓN FLOTANTE WHATSAPP
============================== */
.float-wpp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-wpp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.float-wpp i {
  font-size: 32px;
  color: white;
}

/* ==============================
   TÍTULO CON FONDO MOSAICO/CARTEL
============================== */
.hero-title-bg {
  background-image: url('https://www.transparenttextures.com/patterns/black-felt.png');
  background-color: #1a1a1a;
  background-blend-mode: overlay;
  border-radius: 24px;
  padding: 48px 32px;
  margin: 24px 0 32px 0;
  text-align: center;
  border: 1px solid rgba(243, 129, 24, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero-title-overlay {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ==============================
   NAVBAR
============================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.35s, background 0.35s;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1001;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gris-medio);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--naranja); background: var(--naranja-claro); }

.btn-nav {
  background: var(--naranja) !important;
  color: var(--blanco) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 14px !important;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(243, 129, 24, 0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

.btn-nav:hover {
  background: var(--naranja-oscuro) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(243, 129, 24, 0.4) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  border-radius: 10px;
  transition: background 0.2s;
  padding: 6px;
}

.nav-hamburger:hover { background: var(--naranja-claro); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gris);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.2s, width 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.show { opacity: 1; }

/* ==============================
   HERO
============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #111;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(243,129,24,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(243,129,24,0.10) 0%, transparent 50%),
    linear-gradient(145deg, #0e0e0e 0%, #1c1c1c 60%, #0e0e0e 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, #f38118 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-text { animation: fadeUp 0.9s ease both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243,129,24,0.15);
  border: 1px solid rgba(243,129,24,0.3);
  color: var(--naranja);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  color: var(--blanco);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-title span {
  color: var(--naranja);
  display: block;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--naranja);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15.5px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(243,129,24,0.38);
}

.btn-primary:hover {
  background: var(--naranja-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(243,129,24,0.48);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.14);
  transition: all 0.2s;
}

.btn-secondary:hover {
  color: white;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.07);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(20px);
  text-align: center;
  max-width: 340px;
  width: 100%;
}

.hero-logo-wrap {
  width: 120px;
  height: 120px;
  background: #0e0e0e;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 14px;
  border: 1px solid rgba(243,129,24,0.2);
}

.hero-logo-wrap img { width: 100%; height: auto; }

.hero-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.hero-card-sub { font-size: 13px; color: rgba(255,255,255,0.45); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--naranja);
}

.stat-box span { font-size: 11px; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ==============================
   SECCIONES COMUNES
============================== */
.section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--naranja);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--naranja);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--gris);
  line-height: 1.13;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--gris-medio);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 64px;
}

.context-image-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 420px;
}

.context-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.context-image-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,0.3) 0%, transparent 40%, rgba(17,17,17,0.05) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.32s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--naranja);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(243,129,24,0.2);
  box-shadow: 0 24px 64px rgba(243,129,24,0.11);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 58px;
  height: 58px;
  background: var(--naranja-claro);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--naranja);
  margin-bottom: 22px;
  transition: background 0.2s, color 0.2s;
}

.service-card:hover .service-icon { background: var(--naranja); color: white; }

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gris);
}

.service-card p { font-size: 14.5px; color: var(--gris-medio); line-height: 1.65; }

.section-image-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 56px;
  height: 320px;
  position: relative;
}

.section-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.section-image-wrap:hover img { transform: scale(1.03); }

.trust-section {
  background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
  padding: 100px 48px;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trust-text .section-title { color: white; }
.trust-text .section-sub { color: rgba(255,255,255,0.55); }

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 15.5px;
  line-height: 1.6;
}

.trust-list li i { color: var(--naranja); font-size: 17px; margin-top: 3px; flex-shrink: 0; }

.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 28px 22px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.trust-card:hover {
  border-color: rgba(243,129,24,0.3);
  background: rgba(243,129,24,0.05);
  transform: translateY(-4px);
}

.trust-card i { font-size: 26px; color: var(--naranja); margin-bottom: 12px; display: block; }

.trust-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 7px;
}

.trust-card p { font-size: 15px; color: var(--naranja); line-height: 1.6; }

.proceso-section {
  background: var(--gris-claro);
  padding: 100px 48px;
}

.proceso-inner { max-width: 1200px; margin: 0 auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--naranja) 0%, rgba(243,129,24,0.2) 100%);
  z-index: 0;
}

.step { text-align: center; position: relative; z-index: 1; }

.step-num {
  width: 72px;
  height: 72px;
  background: var(--naranja);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(243,129,24,0.3);
}

.step h3 { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--gris); }
.step p { font-size: 14px; color: var(--gris-medio); line-height: 1.6; }

.cta-section {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--naranja) 0%, #e06a00 100%);
  border-radius: 32px;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -8%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.09);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--naranja);
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(0,0,0,0.2); }

footer {
  background: #0e0e0e;
  padding: 56px 48px;
  text-align: center;
}

.footer-logo {
  height: 64px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

footer p { color: rgba(255,255,255,0.3); font-size: 14px; margin-bottom: 8px; }
footer a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--naranja); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.detalle-precio {
  background: var(--naranja-claro);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  margin: 48px 0;
  border: 1px solid rgba(243,129,24,0.2);
}

.precio-numero {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--naranja);
}

.incluye-lista {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 48px;
}

.incluye-lista li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--gris-borde);
  font-size: 14.5px;
}

.incluye-lista li i { color: var(--naranja); font-size: 18px; flex-shrink: 0; }

.info-extra {
  background: var(--gris-claro);
  border-radius: 24px;
  padding: 32px;
  margin: 48px 0;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 48px 0;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 18px 38px;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,0.4); }

.btn-email {
  background: #D14836;
  color: white;
  text-decoration: none;
  padding: 18px 38px;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(209,72,54,0.28);
}

.btn-email:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(209,72,54,0.38); }

.contacto-cards { max-width: 600px; margin: 0 auto; }
.contact-info-extra { margin-top: 48px; color: var(--gris-medio); }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 900px) {
  nav { padding: 0 20px; }

  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 82vw);
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 28px) 28px 48px;
    gap: 4px;
    box-shadow: -12px 0 60px rgba(0,0,0,0.14);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 13px 16px;
    border-radius: 10px;
  }

  .btn-nav {
    margin-top: 12px;
    text-align: center !important;
    border-radius: 50px !important;
    padding: 14px 24px !important;
  }

  .nav-overlay { display: block; pointer-events: none; }
  .nav-overlay.show { pointer-events: auto; }

  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px; text-align: center; }
  .hero-text { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .section, .proceso-section { padding: 64px 20px; }
  .trust-section { padding: 64px 20px; }
  .trust-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps::before { display: none; }
  .cta-section { padding: 40px 20px; }
  .cta-box { padding: 48px 24px; }
  footer { padding: 40px 20px; }
  .footer-logo { height: 52px; }
  .btn-whatsapp, .btn-email { padding: 14px 28px; font-size: 16px; }
  .precio-numero { font-size: 40px; }
  .context-image-section { height: 260px; }
  .hero-title-bg { padding: 32px 20px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .btn-whatsapp, .btn-email { padding: 12px 22px; font-size: 15px; }
  .precio-numero { font-size: 32px; }
  .incluye-lista li { font-size: 13.5px; }
  .steps { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
  .section-image-wrap { height: 220px; }
  .float-wpp { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .float-wpp i { font-size: 26px; }
}