/* =====================================================
   Web360 - Estilos personalizados (sobre Bootstrap 5)
   ===================================================== */

:root {
  --blue:       #0066FF;
  --blue-dark:  #0052CC;
  --blue-darker:#003D99;
  --blue-light: #00CCFF;
  --orange:     #FF6B35;
  --orange-light:#FF8C66;
  --green:      #10B981;
  --pink:       #E91E63;
  --purple:     #9333EA;
  --zinc-50:    #fafafa;
  --zinc-100:   #f4f4f5;
  --zinc-200:   #e4e4e7;
  --zinc-400:   #a1a1aa;
  --zinc-500:   #71717a;
  --zinc-600:   #52525b;
  --zinc-700:   #3f3f46;
  --zinc-900:   #18181b;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--zinc-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 900; line-height: 1.1; }
.fw-black { font-weight: 900 !important; }

/* ── Colors ── */
.text-blue   { color: var(--blue) !important; }
.text-orange { color: var(--orange) !important; }
.text-zinc-400 { color: var(--zinc-400) !important; }
.text-zinc-500 { color: var(--zinc-500) !important; }
.text-zinc-600 { color: var(--zinc-600) !important; }
.text-zinc-700 { color: var(--zinc-700) !important; }
.text-zinc-900 { color: var(--zinc-900) !important; }
.bg-zinc-50  { background-color: var(--zinc-50) !important; }
.bg-zinc-900 { background-color: var(--zinc-900) !important; }
.border-zinc-200 { border-color: var(--zinc-200) !important; }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--zinc-200);
  height: 80px;
}
#navbar .navbar-brand img { height: 64px; }
#navbar .nav-link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--zinc-700);
  transition: color .2s;
  padding: 0.5rem 0;
}
#navbar .nav-link:hover,
#navbar .nav-link.active { color: var(--zinc-900); }

/* Services dropdown */
.services-dropdown {
  position: relative;
}
.services-dropdown .dropdown-menu {
  min-width: 200px;
  border: 1px solid var(--zinc-200);
  border-radius: .75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  padding: .5rem 0;
  margin-top: 8px;
}
.services-dropdown .dropdown-item {
  font-size: .875rem;
  font-weight: 600;
  color: var(--zinc-700);
  padding: .5rem 1rem;
  transition: all .15s;
}
.services-dropdown .dropdown-item:hover {
  background: var(--zinc-50);
  color: var(--blue);
}
.btn-contact-nav {
  padding: .6rem 1.5rem;
  background: var(--blue);
  color: #fff !important;
  border-radius: .75rem;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  transition: background .2s;
  border: none;
}
.btn-contact-nav:hover { background: var(--blue-dark); color: #fff; }

/* Mobile menu */
.navbar-toggler { border: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Page offset for fixed nav (80px navbar) + mismo padding vertical que el hero ── */
section.page-top {
  padding: calc(35px + 3.5rem) 0 5.5rem;
}

/* ── Buttons ── */
.btn-primary-w360 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2rem;
  background: var(--blue);
  color: #fff;
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 8px 24px rgba(0,102,255,.2);
  border: none;
}
.btn-primary-w360:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-outline-w360 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2rem;
  background: #fff;
  color: var(--zinc-900);
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all .2s;
  border: 2px solid var(--zinc-200);
}
.btn-outline-w360:hover { background: var(--zinc-50); color: var(--zinc-900); }

/* ── Hero ── */
#hero {
  background: linear-gradient(to bottom, var(--zinc-50), #fff);
  padding: calc(35px + 3.5rem) 0 6.5rem;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: 80px; right: 0;
  width: 384px; height: 384px;
  background: rgba(0,102,255,.05);
  border-radius: 50%;
  filter: blur(80px);
}
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 384px; height: 384px;
  background: rgba(255,107,53,.05);
  border-radius: 50%;
  filter: blur(80px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  background: rgba(0,102,255,.1);
  border: 1px solid rgba(0,102,255,.2);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--zinc-900);
  margin-bottom: 1.5rem;
}
.hero-title .gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat-label { font-size: .875rem; font-weight: 600; color: var(--zinc-600); }

/* Partners strip */
.partners-strip {
  border-top: 1px solid var(--zinc-200);
  padding-top: 3.5rem;
  margin-top: 5rem;
}
.partners-strip img {
  height: 68px;
  width: auto;
  filter: grayscale(1) brightness(.55);
  opacity: .6;
  transition: opacity .3s;
}
.partners-strip:hover img { opacity: 1; }

/* ── Section commons ── */
section { padding: 7.5rem 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.section-label.blue {
  background: rgba(0,102,255,.1);
  border: 1px solid rgba(0,102,255,.2);
  color: var(--blue);
}
.section-label.orange {
  background: rgba(255,107,53,.1);
  border: 1px solid rgba(255,107,53,.2);
  color: var(--orange);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--zinc-900);
  margin-bottom: 1.25rem;
}

/* ── Client Logos ── */
#client-logos {
  padding: 7.5rem 0;
  border-top: 1px solid var(--zinc-200);
  border-bottom: 1px solid var(--zinc-200);
}
.logo-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
}
.logo-slide {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-track:hover .logo-slide { animation-play-state: paused; }
.logo-slide img {
  height: 48px;
  width: auto;
  filter: grayscale(1);
  opacity: .7;
  transition: opacity .3s;
  object-fit: contain;
}
.logo-slide img:hover { opacity: 1; }

/* ── What We Do ── */
#que-hacemos { background: #fff; }
.video-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--zinc-200);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  aspect-ratio: 4/3;
}
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-decoration-1 {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 8rem; height: 8rem;
  background: var(--orange);
  border-radius: 1rem;
  z-index: -1;
}
.video-decoration-2 {
  position: absolute;
  top: -1.5rem; left: -1.5rem;
  width: 8rem; height: 8rem;
  background: var(--blue);
  border-radius: 1rem;
  z-index: -1;
}
.what-we-do-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.what-we-do-icon {
  padding: .5rem;
  background: rgba(0,102,255,.1);
  border-radius: .5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.what-we-do-icon svg { width: 20px; height: 20px; color: var(--blue); }

/* ── Services Cards ── */
#servicios { background: #fff; }
.service-card {
  background: var(--zinc-50);
  border: 2px solid var(--zinc-200);
  border-radius: 1rem;
  padding: 2.5rem;
  cursor: pointer;
  transition: all .25s;
  height: 100%;
}
.service-card:hover {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 10px 40px rgba(0,102,255,.1);
  transform: translateY(-2px);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform .25s;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; color: var(--zinc-900); }
.service-card p { color: var(--zinc-600); line-height: 1.625; margin-bottom: 1rem; font-size: 1rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  opacity: 0;
  transition: opacity .2s;
}
.service-card:hover .service-link { opacity: 1; }

/* ── Growth System ── */
#crecimiento { background: #fff; }
.growth-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--zinc-50), #fff);
  border: 2px solid var(--zinc-200);
  transition: border-color .25s;
  height: 100%;
}
.growth-card:hover { border-color: var(--blue); }
.growth-icon-box {
  width: 56px; height: 56px;
  background: var(--blue);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform .25s;
}
.growth-card:hover .growth-icon-box { transform: scale(1.1); }
.growth-icon-box svg { width: 28px; height: 28px; color: #fff; }

/* ── Methodology ── */
#metodologia {
  background: var(--zinc-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
#metodologia::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 384px; height: 384px;
  background: rgba(0,102,255,.1);
  border-radius: 50%;
  filter: blur(80px);
}
#metodologia::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 384px; height: 384px;
  background: rgba(255,107,53,.1);
  border-radius: 50%;
  filter: blur(80px);
}
.method-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  transition: border-color .25s;
  height: 100%;
  position: relative;
  z-index: 1;
}
.method-card:hover { border-color: rgba(255,255,255,.3); }
.method-icon {
  width: 48px; height: 48px;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.method-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.08);
  line-height: 1;
  margin-bottom: 1rem;
}
.method-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.method-card p { color: var(--zinc-400); line-height: 1.7; }

/* ── Case Studies ── */
#casos { background: #fff; }
.case-card {
  border-radius: 1.5rem;
  background: var(--zinc-50);
  border: 2px solid var(--zinc-200);
  padding: 2.5rem;
  transition: border-color .25s;
  overflow: hidden;
}
.case-card:hover { border-color: var(--blue); }
.case-img {
  border-radius: 1rem;
  overflow: hidden;
  height: 700px;
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.case-card:hover .case-img img { transform: scale(1.05); }
.case-industry-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-radius: .5rem;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.case-metric-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--zinc-900);
  line-height: 1;
}
.case-metric-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--zinc-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.testimonial-quote {
  border-left: 4px solid var(--blue);
  padding-left: 1.25rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.testimonial-quote p { font-style: italic; color: var(--zinc-700); margin-bottom: .5rem; }
.testimonial-author { font-size: .875rem; font-weight: 600; color: var(--zinc-500); }

/* ── Experience ── */
.experience-img-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid var(--zinc-200);
  box-shadow: 0 25px 60px rgba(0,0,0,.15);
  aspect-ratio: 4/5;
}
.experience-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; top: 0; left: 0;
}
.stat-box {
  background: #fff;
  border: 2px solid var(--zinc-200);
  border-radius: .75rem;
  padding: 1.5rem;
}
.stat-box .stat-value { font-size: 1.75rem; font-weight: 900; color: var(--zinc-900); margin-bottom: .25rem; }
.stat-box .stat-label { font-size: .875rem; font-weight: 600; color: var(--zinc-600); }

/* ── CTA Section ── */
#contacto {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, var(--blue-darker) 100%);
  position: relative;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1.25rem;
  border-radius: 50px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
}
.contact-form-box {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 3rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.contact-form-box label { font-size: .875rem; font-weight: 700; color: var(--zinc-700); margin-bottom: .4rem; }
.contact-form-box .form-control,
.contact-form-box .form-select {
  border: 2px solid var(--zinc-200);
  border-radius: .75rem;
  padding: .875rem 1.125rem;
  font-size: 1rem;
  color: var(--zinc-900);
  transition: border-color .2s;
}
.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,.1);
  outline: none;
}
.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: .75rem;
  font-size: 1.125rem;
  font-weight: 900;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 8px 24px rgba(0,102,255,.3);
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.cta-check-list .check-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.9);
  font-size: .875rem;
  font-weight: 600;
}
.cta-check-list .check-item svg { color: var(--orange); }
.cta-deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.1);
  pointer-events: none;
}

/* ── Footer ── */
footer {
  background: var(--zinc-900);
  color: #fff;
  padding: 6rem 0 2.5rem;
}
footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; }
footer .footer-link {
  display: block;
  color: var(--zinc-400);
  text-decoration: none;
  font-size: .9375rem;
  padding: .25rem 0;
  transition: color .15s;
}
footer .footer-link:hover { color: #fff; }
footer .footer-desc { color: var(--zinc-400); line-height: 1.7; margin-bottom: 1.5rem; font-size: .9375rem; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.05);
  border-radius: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}
.social-btn:hover { background: var(--blue); color: #fff; }
.footer-cert-img { height: 48px; width: 48px; object-fit: contain; }
.footer-divider { border-top: 1px solid rgba(255,255,255,.1); margin: 2rem 0 1.5rem; }
.footer-copy { color: var(--zinc-500); font-size: .875rem; }
.footer-legal-link {
  color: var(--zinc-500);
  text-decoration: none;
  font-size: .875rem;
  transition: color .15s;
}
.footer-legal-link:hover { color: #fff; }

/* ── WhatsApp Button ── */
.wa-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  color: #fff;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); color: #fff; }
.wa-btn svg { width: 30px; height: 30px; }

/* ── Service Page Hero ── */
.layout-container{
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.service-page-hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(to bottom, var(--zinc-50), #fff);
}
.service-hero-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}
.service-hero-img {
  max-width: 380px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,102,255,.25));
}
.service-hero-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
/* Alineado a React: article max-w-4xl, h2 text-2xl, cuerpo text-base leading-relaxed */
.service-article { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; }
.service-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--zinc-900);
  line-height: 1.3;
  margin-bottom: 1rem;
  /* margin-top: 3rem; */
}
.service-article p {
  font-size: 1rem;
  color: var(--zinc-600);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}
.service-checklist { list-style: none; padding: 0; margin-bottom: 2rem; }
.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--zinc-600);
  margin-bottom: .75rem;
  line-height: 1.6;
}
.service-checklist li svg { flex-shrink: 0; margin-top: 2px; }

@media (min-width: 992px) {
  .service-article { padding: 0; }
  .layout-container { padding: 0 1.75rem; }
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Alerts ── */
.alert-success-custom {
  background: #dcfce7; color: #166534;
  border-radius: .75rem; padding: 1rem;
  font-weight: 600; text-align: center;
}
.alert-error-custom {
  background: #fee2e2; color: #991b1b;
  border-radius: .75rem; padding: 1rem;
  font-weight: 600; text-align: center;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  #navbar .nav-link { padding: .5rem 0; }
  #navbar .navbar-collapse {
    background: #fff;
    padding: 0.75rem 1rem 1.25rem;
    border-top: 1px solid var(--zinc-200);
    position: absolute;
    top: 80px; left: 0; right: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
  }
  .services-dropdown .dropdown-menu {
    position: static !important;
    box-shadow: none;
    border: none;
    background: var(--zinc-50);
    border-radius: .5rem;
    margin: 0;
    padding: .5rem .5rem;
  }
}
@media (max-width: 767.98px) {
  .hero-title { font-size: 2.2rem; }
  /* Secciones: menos aire vertical en móvil */
  section { padding: 3.25rem 0; }
  section.page-top {
    padding: calc(72px + 2.75rem) 0 3rem;
  }
  #hero { padding: calc(24px + 2.75rem) 0 3rem; }
  #client-logos { padding: 3.25rem 0; }
  .partners-strip {
    padding-top: 2rem;
    margin-top: 2.5rem;
  }
  .layout-container { padding: 25px 1rem; }
  .service-article { padding: 0 1rem; }
  .service-article h2 { margin-top: 2rem; }
  .service-hero-img-mobile { margin: 1.25rem auto 0; }
  .logo-track,
  .logo-slide { gap: 1.5rem; }
  .service-card,
  .growth-card,
  .method-card,
  .case-card { padding: 1.5rem; }
  .stat-box { padding: 1.125rem; }
  .contact-form-box {
    padding: 1.5rem;
    margin: 0 auto 2rem;
  }
  .cta-badge { margin-bottom: 1.25rem; }
  footer {
    padding: 3.5rem 0 1.75rem;
  }
  footer h4 { margin-bottom: 1rem; }
  footer .footer-desc { margin-bottom: 1rem; }
  .footer-divider { margin: 1.25rem 0 1rem; }
  footer .row.g-5 { --bs-gutter-y: 1.5rem; }
  .wa-btn {
    bottom: 1rem;
    right: 1rem;
  }
  .prose-legal h2 { margin-top: 1.35rem; }
  .case-img { height: 240px; }
  .experience-img-wrapper { aspect-ratio: 16/9; }
}

/* ── Service Pages ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .45; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: .65; transform: translate(-50%,-50%) scale(1.08); }
}

.service-hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
  overflow: visible;
  position: relative;
}

/* Contenedor ancho completo (como React ServicePageHero): la imagen se posiciona respecto a esto, no al layout-container */
.service-hero-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
  z-index: 0;
}

/* Texto: max-w-4xl centrado como en React; no invade el costado derecho donde flota la imagen */
.service-hero-text {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* Hero servicios: mismo rango que React text-4xl / lg:text-5xl (no el hero home más grande) */
.service-hero .hero-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
}

/* Imagen flotante — absolute right-0 top-1/2 -translate-y-1/3 (misma idea que Tailwind en React) */
.service-hero-float {
  display: none;
}
@media (min-width: 992px) {
  .service-hero-float {
    display: block;
    position: absolute;
    right: 0;
    top: -10%;
    width: 500px;
    max-width: min(500px, 44vw);
    margin-right: -6rem;
    z-index: 0;
    pointer-events: none;
  }
}
@media (min-width: 1200px) {
  .service-hero-float {
    margin-right: -4rem;
  }
}
@media (min-width: 1400px) {
  .service-hero-float {
    margin-right: -3rem;
  }
}

/* Imagen con animación flotante */
.service-hero-float img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.2));
  animation: float 4s ease-in-out infinite;
  border-radius: 1.5rem;
}

/* Glow blob detrás de la imagen */
.service-hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(64px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: glow-pulse 4s ease-in-out infinite;
}

/* Imagen mobile: debajo del texto */
.service-hero-img-mobile {
  display: block;
  max-width: 280px;
  margin: 2rem auto 0;
  border-radius: 1.25rem;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.15));
}
@media (min-width: 992px) {
  .service-hero-img-mobile { display: none; }
}
.service-checklist {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem;
  color: var(--zinc-700);
  font-weight: 500;
}
.service-checklist li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Legal Pages ── */
.prose-legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--zinc-900);
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.prose-legal p {
  color: var(--zinc-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.prose-legal ul {
  color: var(--zinc-600);
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.prose-legal ul li {
  margin-bottom: .5rem;
}
.prose-legal a {
  color: var(--blue);
  text-decoration: none;
}
.prose-legal a:hover {
  text-decoration: underline;
}
