/* ===== VARIABLES ===== */
:root {
  --color-primary:   #FB4C7C;
  --color-secondary: #6B37D3;
  --color-text:      #414141;
  --color-dark:      #111111;
  --color-light:     #F8F8F8;
  --color-gray:      #D9D9D9;
  --color-footer:    #230660;
  --color-teal:      #28CCD3;
  --font-main:       'Mulish', sans-serif;
  --font-body:       'Poppins', sans-serif;
}

/* ===== ANIMACIONES PROFESIONALES 2026 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(251, 76, 124, 0.1); }
  50% { box-shadow: 0 6px 20px rgba(251, 76, 124, 0.15); }
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ===== BASE ===== */
html {
  overflow-x: hidden; /* Move here so fixed elements (navbar) are never clipped */
}
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7em;
  letter-spacing: -0.3px;
  color: var(--color-text);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-dark);
  line-height: 1.1em;
}
h2 { font-size: 52px; font-weight: 900; }
h3 { font-size: 42px; font-weight: 900; }
h4 { font-size: 32px; font-weight: 800; }
h5 { font-size: 24px; font-weight: 800; }
h6 { font-size: 18px; font-weight: 700; }

p { margin-bottom: 15px; }
p:last-child { margin-bottom: 0; }
a { color: var(--color-primary); transition: color .3s; }
a:hover { color: var(--color-teal); }

/* Prevent Bootstrap row negative-margin gutters from causing page-wide overflow */
section { overflow-x: hidden; }
.site-footer { overflow-x: visible; }

/* ===== ANIMACIONES DE SCROLL ===== */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.service-hero-img,
.feature-card,
.btn-cecoform,
h1, h2, h3,
.page-hero,
section {
  opacity: 0;
  transition: all 0.3s ease;
}

.fade-in-up {
  transform: translateY(40px);
}

.fade-in-left {
  transform: translateX(-50px);
}

.fade-in-right {
  transform: translateX(50px);
}

/* ===== ANIMACIONES PROFESIONALES AL ENTRAR EN VIEWPORT ===== */

/* Fade-in-up: Aparición suave hacia arriba */
.fade-in-up.visible,
.fade-in-up.animated {
  animation: fadeInUp 0.9s ease-out forwards !important;
}

/* Fade-in-left: Aparición suave desde izquierda */
.fade-in-left.visible,
.fade-in-left.animated {
  animation: fadeInLeft 0.9s ease-out forwards !important;
}

/* Fade-in-right: Aparición suave desde derecha */
.fade-in-right.visible,
.fade-in-right.animated {
  animation: fadeInRight 0.9s ease-out forwards !important;
}

/* Service Hero Images: Escala muy suave */
.service-hero-img.visible,
.service-hero-img.animated {
  animation: fadeInScale 1s ease-out forwards !important;
}

/* Feature Cards: Fade + escala minúscula */
.feature-card.visible,
.feature-card.animated {
  animation: fadeInUp 0.8s ease-out forwards !important;
}

/* Buttons: Aparición elegante */
.btn-cecoform.visible,
.btn-cecoform.animated {
  animation: fadeInScale 0.9s ease-out forwards !important;
}

/* Títulos H1: Fade suave */
h1.visible, h1.animated {
  animation: fadeInLeft 0.8s ease-out forwards !important;
}

/* Títulos H2: Fade + escala ligera */
h2.visible, h2.animated {
  animation: fadeInUp 0.8s ease-out forwards !important;
}

/* Títulos H3: Fade suave */
h3.visible, h3.animated {
  animation: fadeInUp 0.8s ease-out forwards !important;
}

/* Page Hero: Fade elegante */
.page-hero.visible,
.page-hero.animated {
  animation: fadeInUp 1s ease-out forwards !important;
}

/* Secciones: Fade sutil */
section.visible,
section.animated {
  animation: fadeInUp 0.9s ease-out forwards !important;
}

/* Inner Images: Fade suave */
.inner-img {
  opacity: 0;
}

.inner-img.visible,
.inner-img.animated {
  animation: fadeInScale 0.9s ease-out forwards !important;
}

/* CTA Section: Aparición suave */
.cta-section.visible,
.cta-section.animated {
  animation: fadeInUp 1s ease-out forwards !important;
}

/* ===== NAVBAR ===== */
.site-header {
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 14px 0;
  transition: all .3s;
  width: 100%;
  max-width: 100vw;
}
.site-header.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
}

@media (min-width: 992px) {
  .site-header .container-fluid {
    max-width: 1280px;
    margin: 0 auto;
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
}

.navbar-brand img { height: 62px; width: auto; }

.nav-link {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-secondary) !important;
  padding: 8px 12px !important;
  border-radius: 6px;
  transition: color .3s, background .3s !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary) !important;
  background: rgba(251,76,124,.08);
}

/* Indicador activo */
@media (min-width: 992px) {
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all .3s ease;
    transform: translateX(-50%);
  }
  .nav-link:hover::after, .nav-link.active::after {
    width: 60%;
  }
  .nav-cta::after { display: none !important; }
}

/* Botón Contacto */
.nav-cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: 25px;
  padding: 14px 34px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  box-shadow: 0 4px 15px rgba(251,76,124,.35);
}
.nav-cta:hover {
  background: var(--color-secondary) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(107,55,211,.4);
  transform: translateY(-2px);
}


/* Menú móvil desplegado */
.navbar-collapse .navbar-nav {
  padding: 12px 0 6px;
}
.navbar-collapse .nav-link {
  padding: 10px 8px !important;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.navbar-collapse .nav-link:last-child { border-bottom: none; }

/* Hamburguesa */
.navbar-toggler {
  padding: 6px 10px;
  flex-shrink: 0;
  min-width: 42px;
  min-height: 40px;
}
.navbar-toggler:focus { box-shadow: none; }

/* ===== BOTONES ===== */
.btn-cecoform,
.btn-cecoform:visited {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  border-radius: 25px;
  padding: 14px 28px;
  border: none;
  display: inline-block;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}
.btn-cecoform:hover {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(251, 76, 124, 0.4);
  animation: glow 2s ease-in-out infinite;
}
.btn-cecoform::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-cecoform:hover::before {
  left: 100%;
}
.btn-cecoform-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  border-radius: 25px;
  padding: 12px 28px;
  display: inline-block;
  text-decoration: none;
  transition: all .3s;
}
.btn-cecoform-outline:hover { background: var(--color-primary); color: #fff; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: url('../images/MicrosoftTeams-image-8.jpg') center/cover no-repeat;
  padding-top: 85px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.hero-content { position: relative; z-index: 1; padding-left: 60px; }
@media (min-width: 1200px) { .hero-content { padding-left: 70px; } }
.hero-image  { position: relative; z-index: 1; text-align: center; }
.hero-image img { max-width: 340px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

.hero h2 {
  color: #fff;
  font-size: 60px;
  font-weight: 900;
  line-height: 1.05em;
  animation: slideInLeft 1s ease-out;
}
.hero h2 span {
  color: var(--color-primary);
  animation: colorShift 3s ease-in-out infinite;
}
.hero p {
  color: rgba(255,255,255,.85);
  margin: 18px 0 24px;
  animation: slideInRight 1s ease-out 0.2s both;
}

.hero-list { list-style: none; padding: 0; margin-bottom: 28px; }
.hero-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.88);
  font-weight: 400;
  margin-bottom: 10px;
  font-size: 15px;
}
.hero-list .icon-circle {
  width: 36px; height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; flex-shrink: 0;
}

/* Badge ayuda 528€ */
.ayuda-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 14px;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: .5px;
  margin-left: 4px;
  box-shadow: 0 3px 12px rgba(251,76,124,.5);
}

/* Logo hero derecha */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(251,76,124,.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}
.hero-logo-wrap img {
  width: 340px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 50px rgba(107,55,211,.5)) drop-shadow(0 0 30px rgba(251,76,124,.3));
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%       { transform: scale(1.08); opacity: 1; }
}

/* Sidebar social abajo */
.hero-social-sidebar {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  flex-direction: row;
  gap: 14px;
  display: flex;
}
.hero-social-sidebar a {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.5);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none; border-bottom: none;
  backdrop-filter: blur(10px);
}
.hero-social-sidebar a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateX(8px) scale(1.1);
  color: #fff;
  box-shadow: 0 8px 25px rgba(251, 76, 124, .4);
}
.hero-social-sidebar a svg { width: 16px; height: 16px; fill: #fff; }

/* ===== SECTIONS ===== */
section { padding: 90px 0; }
.section-light { background: var(--color-light); }

/* Service tag */
.service-tag {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* Platform image overlay */
.platforms-img-wrap { position: relative; }
.platforms-img-wrap .img-overlay {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 75%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.platforms-img-wrap .img-main {
  width: 100%; border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

/* Feature box */
.feature-box { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.feature-box img { width: 35px; height: 35px; flex-shrink: 0; margin-top: 3px; }
.feature-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--color-dark); }
.feature-box p { font-size: 14px; color: var(--color-text); margin: 0; }

/* Cards */
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,.13); }
.card-img-wrap { position: relative; }
.card-img-wrap img { width: 100%; height: 200px; object-fit: cover; object-position: center top; }
.card-icon-badge {
  position: absolute; bottom: -18px; left: 16px;
  width: 38px; height: 38px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  padding: 4px;
}
.card-icon-badge img { width: 100%; height: 100%; object-fit: contain; }
.service-card .card-body { padding: 30px 16px 18px; }
.service-card .card-body h6 { font-size: 15px; margin-bottom: 6px; color: var(--color-dark); }
.service-card .card-body p  { font-size: 13px; color: var(--color-text); margin: 0; }

/* CTA section */
.section-cta {
  position: relative;
  padding: 110px 0;
  background: url('../images/MicrosoftTeams-image-8.jpg') center/cover no-repeat fixed;
}
.section-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(35,6,96,.75) 0%, rgba(35,6,96,.45) 55%, transparent 100%);
}
.section-cta .container { position: relative; z-index: 1; }
.section-cta h2 { color: #fff; }
.section-cta p  { color: rgba(255,255,255,.85); font-size: 16px; }

/* ===== PORTFOLIO ===== */
.section-portfolio {
  padding: 100px 0;
  background: linear-gradient(160deg, #f8f5ff 0%, #fff5f8 50%, #f0f8ff 100%);
}
.portfolio-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
}

.pf-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  transition: transform .35s, box-shadow .35s;
  height: 100%;
  display: flex; flex-direction: column;
}
.pf-card:hover { transform: translateY(-7px); }

.pf-img {
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.pf-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.pf-card:hover .pf-img img { transform: scale(1.06); }

.pf-body {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px 16px;
  margin: -28px 16px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
}
.pf-body h4 {
  font-size: 15px; font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 4px; line-height: 1.3;
}
.pf-body p {
  font-size: 12.5px; color: #888;
  margin: 0; line-height: 1.55;
}

/* Testimonial */
.testimonial-block {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border-left: 4px solid var(--color-primary);
}
.testimonial-block p { font-style: italic; margin-bottom: 14px; }
.testimonial-block a { font-family: var(--font-main); font-weight: 700; color: var(--color-primary); font-size: 14px; }
.testimonial-block a:hover { color: var(--color-secondary); }

/* ===== EDITORIAL MAIN SECTION ===== */
.editorial-main-section {
  background: #fff;
}

.editorial-main-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  transition: transform .3s ease;
}

.editorial-main-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,.15);
}

.editorial-main-section h2 {
  color: var(--color-dark);
  margin-bottom: 20px;
  font-size: 42px;
  font-weight: 900;
}

.editorial-main-section p {
  color: var(--color-text);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 16px;
}

.editorial-card {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: all .3s ease;
  border: 1px solid #f0f0f0;
}

.editorial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(251, 76, 124, .12);
  border-color: var(--color-primary);
}

.editorial-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(251, 76, 124, 0.35);
  transition: all .3s cubic-bezier(0.23, 1, 0.320, 1);
}

.editorial-card:hover .editorial-card-icon {
  transform: scale(1.12) rotate(3deg);
  box-shadow: 0 12px 36px rgba(251, 76, 124, 0.45);
}

.editorial-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  font-family: var(--font-main);
}

.editorial-card p {
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===== SERVICE HERO IMAGE ===== */
.service-hero-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: scaleUp 0.6s ease-out;
}

.service-hero-img:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 60px rgba(251, 76, 124, 0.2);
  filter: brightness(1.1);
}

.service-hero-img img {
  width: 100%;
  display: block;
}

.service-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff;
  padding: 40px 28px 28px;
  margin: 0;
  font-size: 32px;
  font-weight: 900;
}

.service-content p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

/* CTA Editorial - Edición y Contenidos */
.cta-section.cta-editorial {
  background: url('https://images.unsplash.com/photo-1512820790803-83ca734da794?w=1400&h=600&fit=crop') center/cover no-repeat,
              var(--color-footer);
}

/* CTA Plataformas Digitales - Tecnología */
.cta-section.cta-platforms {
  background: url('https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?w=1400&h=600&fit=crop') center/cover no-repeat,
              var(--color-footer);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 6, 96, 0.55) 0%, rgba(107, 55, 211, 0.55) 100%);
  z-index: 1;
}

.cta-section .container {
  z-index: 2;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-section {
  text-align: center !important;
}
.cta-section .btn-cecoform {
  text-align: center !important;
  background: #fff !important;
  color: var(--color-primary) !important;
  padding: 16px 44px !important;
  display: inline-block !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.25) !important;
}
.cta-section .btn-cecoform::before {
  display: none !important;
}
.cta-section .btn-cecoform:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 36px rgba(251,76,124,.45) !important;
}
.cta-section .btn-cecoform:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(251,76,124,.45);
}

@media (max-width: 767px) {
  .cta-section {
    padding: 60px 0;
  }
  .cta-section h2 {
    font-size: 32px;
  }
  .cta-section p {
    font-size: 15px;
  }
}

/* ===== SERVICE FEATURES ===== */
.service-features {
  border-top: 2px solid #f0f0f0;
  padding-top: 28px;
}

.feature-card {
  text-align: center;
  padding: 28px 24px;
  border-radius: 16px;
  background: #fafafa;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 76, 124, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover {
  background: linear-gradient(135deg, rgba(251, 76, 124, 0.08) 0%, rgba(107, 55, 211, 0.06) 100%);
  transform: translateY(-12px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: 0 20px 50px rgba(251, 76, 124, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
  animation: pulse 1.5s ease-in-out infinite;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(251, 76, 124, 0.35);
  transition: all .3s cubic-bezier(0.23, 1, 0.320, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(3deg);
  box-shadow: 0 12px 36px rgba(251, 76, 124, 0.45);
}

.feature-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.5;
  font-family: var(--font-main);
  letter-spacing: 0.2px;
}

/* ===== SERVICE CARDS FULL ===== */
.section-servicios {
  background: #fff;
}

.service-card-full {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-full:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(251, 76, 124, .15);
}

.service-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--color-light);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.service-card-full:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  font-family: var(--font-main);
}

.service-card-body p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-body .btn-cecoform {
  margin-top: auto;
  padding: 10px 18px;
  font-size: 12px;
}

/* ===== EDITORIAL HERO SECTION ===== */
.editorial-hero {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35, 6, 96, .5) 0%, rgba(107, 55, 211, .4) 100%);
  z-index: 1;
}
.editorial-hero .container {
  position: relative;
  z-index: 2;
}
.editorial-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.editorial-img {
  width: 100%;
  height: auto;
  display: block;
}
.editorial-title {
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0;
  text-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.editorial-content {
  background: #fff;
}
.editorial-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}
.editorial-content strong {
  color: var(--color-primary);
  font-weight: 700;
}

.editorial-services {
  background: var(--color-light);
}
.service-card-editorial {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: all .3s ease;
  height: 100%;
}
.service-card-editorial:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(251, 76, 124, .15);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 20px;
}
.service-card-editorial h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}
.service-card-editorial p {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 12px;
  animation: slideInLeft 0.8s ease-out;
}
.page-hero p {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  margin: 0;
  animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Inner sections */
.inner-section { padding: 80px 0; }

/* Section image (inner pages) */
.inner-img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

/* Feature list */
.features-list { list-style: none; padding: 0; margin: 20px 0; }
.features-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}
.features-list li:last-child { border-bottom: none; }
.features-list li i { color: var(--color-primary); }

/* ===== CONTACT PAGE ===== */
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--color-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.contact-map { margin-top: 28px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,.1); }
.contact-map iframe { width: 100%; height: 260px; border: none; display: block; }

.contact-form-wrap { background: var(--color-light); border-radius: 16px; padding: 40px; }
.form-control, .form-select {
  border-radius: 25px !important;
  border: 1px solid var(--color-gray) !important;
  padding: 12px 18px !important;
  font-family: var(--font-body);
  font-size: 14px;
}
textarea.form-control { border-radius: 16px !important; }
.form-control:focus, .form-select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(251,76,124,.15) !important;
}
.form-label { font-size: 13px; font-weight: 700; color: var(--color-dark); }

/* ===== PERFIL CONTRATANTE ===== */
.perfil-card {
  background: #fff; border-radius: 12px; padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border-top: 4px solid var(--color-primary);
  transition: transform .3s;
  height: 100%;
}
.perfil-card:hover { transform: translateY(-4px); }
.perfil-card .card-icon-top {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; margin-bottom: 16px;
}
.perfil-card h5 { margin-bottom: 10px; font-size: 18px; }
.perfil-card p  { font-size: 13px; color: var(--color-text); }

/* ===== FOOTER ===== */
.site-footer { background: var(--color-footer); color: #fff; padding: 0; margin-top: 0; display: block; }
.cta-section { margin-bottom: 0 !important; display: block; }
.cta-section + footer, section + footer { margin-top: 0 !important; }

.footer-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 80px 0 0;
}
.footer-col { flex: 1; }
.footer-col--brand { flex: 1.2; }

.footer-logo-img { max-width: 220px; display: block; margin-bottom: 18px; }
.footer-desc { color: var(--color-gray); font-size: 15px; line-height: 1.8; margin-bottom: 0; }

.footer-social { display: flex; gap: 12px; margin-top: 22px; align-items: center; }
.footer-social a {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; transition: all .3s ease;
  text-decoration: none !important;
  border-bottom: none !important;
  flex-shrink: 0;
}
.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(251, 76, 124, .35);
}
.footer-social a svg { width: 17px; height: 17px; fill: #fff; }

.footer-heading { color: #fff; margin-bottom: 20px; font-size: 17px; font-weight: 700; }
.footer-label { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 11px; }
.footer-nav li a { color: var(--color-gray); font-size: 15px; text-decoration: none; transition: color .3s; }
.footer-nav li a:hover { color: var(--color-primary); }

.footer-contact-email { margin-bottom: 20px; }
.footer-contact-email a { color: var(--color-primary); font-size: 15px; font-weight: 500; }
.footer-certif { margin-top: 18px; }
.footer-certif img { max-width: 100%; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; padding: 18px 0; margin-top: 60px;
}
.footer-bottom p { color: var(--color-gray); font-size: 13px; margin: 0; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-col--brand { text-align: center; }
  .footer-social { justify-content: center; }
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .3s ease;
  box-shadow: 0 6px 20px rgba(251, 76, 124, .45);
  z-index: 999;
}
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  background: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(107, 55, 211, .45);
}

/* ===== ANIMATIONS ===== */
.fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in-up   { transform: translateY(30px); }
.fade-in-left  { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }
.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible { opacity: 1; transform: translate(0); }

/* ===== RESPONSIVE ===== */

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 0;
  z-index: 1029;
  animation: slideUp .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  border-left: 5px solid var(--color-primary);
}

.cookie-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b9d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}

.cookie-content h6 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 8px 0;
  font-family: var(--font-main);
}

.cookie-content p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

.cookie-content a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color .3s;
}

.cookie-content a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent-banner .btn-sm {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all .3s ease;
  white-space: nowrap;
  border: none;
}

.cookie-consent-banner .btn-text {
  background: transparent;
  color: var(--color-text);
  padding: 10px 14px;
}

.cookie-consent-banner .btn-text:hover {
  background: var(--color-light);
  color: var(--color-text);
  transform: translateY(-1px);
}

.cookie-consent-banner .btn-outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid #ddd;
}

.cookie-consent-banner .btn-outline-dark:hover {
  background: var(--color-light);
  border-color: var(--color-text);
  color: var(--color-text);
  transform: translateY(-1px);
}

.cookie-consent-banner .btn-cecoform {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(251, 76, 124, .3);
}

.cookie-consent-banner .btn-cecoform:hover {
  background: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(107, 55, 211, .35);
  transform: translateY(-2px);
}

.cookie-consent-banner.hidden {
  display: none;
}

/* ===== MODAL DE COOKIES ===== */
.bg-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
}

.cookie-option-card {
  transition: all .3s ease;
  cursor: pointer;
}

.cookie-option-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.cookie-option-card h6 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

.cookie-option-card .form-check-input {
  width: 2.5rem;
  height: 1.3rem;
  cursor: pointer;
  border-radius: 0.5rem;
}

.cookie-option-card .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

#modalConfigCookies .modal-header {
  color: #fff;
}

#modalConfigCookies .modal-title {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-main);
}

/* Tablet (≤991px) */
@media (max-width: 991px) {
  h2 { font-size: 36px; }
  h3 { font-size: 28px; }
  .hero-social-sidebar { display: none !important; }
  .hero-content { padding-left: 0 !important; }
  .hero h2 { font-size: 38px; }
  .hero-image { display: none !important; }
  .page-hero h1 { font-size: 34px; }
  .section-cta { background-attachment: scroll; }
  .page-hero { background-attachment: scroll; }
  .platforms-img-wrap .img-overlay { display: none; }
}

/* Móvil grande (≤767px) */
@media (max-width: 767px) {
  /* Navbar móvil */
  .navbar-brand { flex-shrink: 1; min-width: 0; }
  .navbar-brand img { height: 34px; max-width: 130px; width: auto; }
  .navbar-toggler { flex-shrink: 0; margin-left: 8px; }
  .site-header .container-fluid { padding-left: 12px !important; padding-right: 12px !important; }

  /* Hero padding móvil */
  .hero .container { padding-left: 24px; padding-right: 24px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  h4 { font-size: 19px; }
  h5 { font-size: 16px; }
  section { padding: 50px 0; }

  /* Hero */
  .hero {
    min-height: 0;
    padding-top: 80px;
    padding-bottom: 48px;
    align-items: center;
  }
  .hero h2 { font-size: 28px; line-height: 1.15em; }
  .hero p  { font-size: 14px; margin: 12px 0 18px; }
  .hero-list { margin-bottom: 20px; }
  .hero-list li { font-size: 13px; gap: 10px; }
  .hero-list .icon-circle { width: 30px; height: 30px; font-size: 13px; }
  .ayuda-badge { font-size: 12px; padding: 2px 10px; }
  .btn-cecoform { padding: 12px 22px; font-size: 14px; }

  /* Page hero (páginas interiores) */
  .page-hero { padding: 100px 0 40px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p  { font-size: 14px; }

  /* Secciones interiores */
  .inner-section { padding: 40px 0; }

  /* Portfolio */
  .section-portfolio { padding: 50px 0; }
  .pf-card { height: auto; }
  .pf-img { height: 190px; }

  /* CTA */
  .section-cta { padding: 60px 0; }
  .section-cta h2 { font-size: 22px; }

  /* Servicios cards (2 columnas → 1) */
  .service-card { margin-bottom: 0; }

  /* Contact form */
  .contact-form-wrap { padding: 20px; }
  .phone-wrap select,
  .phone-wrap input[type=tel] { font-size: 13px; }

  /* Footer */
  .site-footer { padding: 60px 0 0; }
  .footer-certif img { max-width: 180px; }
}

/* Tablet y móvil - Service sections */
@media (max-width: 991px) {
  .service-hero-title { font-size: 24px; padding: 32px 24px 24px; }
}

@media (max-width: 767px) {
  .service-hero-title { font-size: 20px; padding: 28px 20px 20px; }
  .editorial-main-section h2 { font-size: 28px; }

  /* Feature cards en móvil: 2 columnas */
  .service-features .col-4 {
    max-width: 50%;
    flex: 0 0 50%;
  }
  .feature-card { padding: 22px 18px; }
  .feature-icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(251, 76, 124, 0.28); }
  .feature-card:hover .feature-icon { transform: scale(1.1) rotate(2deg); box-shadow: 0 10px 28px rgba(251, 76, 124, 0.35); }
  .feature-title { font-size: 13px; }
}

@media (max-width: 480px) {
  .service-hero-title { font-size: 18px; padding: 24px 16px 16px; }
  .editorial-main-section h2 { font-size: 24px; }

  /* Feature cards en móvil pequeño: 1 columna */
  .service-features .col-4 {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .feature-card { padding: 18px 16px; }
  .feature-icon { width: 48px; height: 48px; font-size: 20px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(251, 76, 124, 0.25); }
  .feature-card:hover .feature-icon { transform: scale(1.08) rotate(2deg); box-shadow: 0 8px 20px rgba(251, 76, 124, 0.32); }
  .feature-title { font-size: 12px; }

  /* Hero móvil pequeño */
  .hero h2 { font-size: 24px; }
  .navbar-brand img { height: 36px; max-width: 120px; }
  .page-hero h1 { font-size: 22px; }
  .btn-cecoform { padding: 11px 18px; font-size: 13px; }
  .pf-img { height: 170px; }
  .hero-list li { font-size: 12px; }
}

/* ===== STYLE 2026 - HERO ENHANCEMENTS ===== */
.hero-2026 { position: relative; overflow: hidden; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
  z-index: 1;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--color-primary), transparent 70%);
  top: -120px; right: -100px;
}
.hero-orb--2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--color-secondary), transparent 70%);
  bottom: -160px; left: -120px;
  animation-delay: -4s;
}
.hero-orb--3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--color-teal), transparent 70%);
  top: 40%; left: 35%;
  opacity: .25;
  animation-delay: -8s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.05); }
  66%      { transform: translate(-30px,30px) scale(.95); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(107,55,211,.15);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(251,76,124,.25);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(251,76,124,.25); }
  50%      { box-shadow: 0 0 0 8px rgba(251,76,124,.05); }
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-secondary);
  background: transparent;
  border: 2px solid rgba(107,55,211,.25);
  border-radius: 25px;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-ghost:hover {
  background: var(--color-secondary);
  color: #fff !important;
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}
.btn-ghost--light {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost--light:hover {
  background: #fff;
  color: var(--color-secondary) !important;
  border-color: #fff;
}

/* ===== EYEBROW ===== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}
.eyebrow--light { color: rgba(255,255,255,.9); }
.eyebrow--light::before { background: rgba(255,255,255,.9); }

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--color-footer) 0%, var(--color-secondary) 100%);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(251,76,124,.25), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(40,204,211,.18), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-item p {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.stat-num, .stat-plus {
  display: inline-block;
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #FFD9E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: var(--font-main);
}
.stat-plus { margin-left: 2px; }
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 24px; }
  .stat-num, .stat-plus { font-size: 42px; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ===== MARQUEE ===== */
.marquee-section {
  background: var(--color-footer);
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: .5px;
}
.marquee-track .dot {
  color: var(--color-primary);
  font-size: 12px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== PORTFOLIO LINK WRAPPER ===== */
.pf-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border-bottom: none !important;
}
.pf-card-link:hover { text-decoration: none !important; }

/* Scroll offset para anclas (navbar fijo) */
html { scroll-behavior: smooth; }
[id="edicion-integral"],
[id="coordinacion-proyectos"],
[id="diseno-maquetacion"],
[id="creacion-contenidos"],
[id="redaccion-digital"] {
  scroll-margin-top: 100px;
}

/* ===== PORTFOLIO OVERLAY ===== */
.pf-img { position: relative; overflow: hidden; }
.pf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(251,76,124,.85), rgba(107,55,211,.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
}
.pf-overlay span {
  width: 60px; height: 60px;
  background: #fff;
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transform: scale(.6);
  transition: transform .4s ease;
}
.pf-card:hover .pf-overlay { opacity: 1; }
.pf-card:hover .pf-overlay span { transform: scale(1); }

/* ===== WHY US / PROCESS ===== */
.why-us-section {
  padding: 90px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.why-us-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,76,124,.08), transparent 70%);
  border-radius: 50%;
}
.step-card {
  position: relative;
  padding: 36px 28px 28px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 20px;
  height: 100%;
  transition: all .4s ease;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.step-card > * { position: relative; z-index: 1; }
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(107,55,211,.2);
  border-color: transparent;
}
.step-card:hover::before { opacity: 1; }
.step-card:hover h5,
.step-card:hover p { color: #fff; }
.step-num {
  display: inline-block;
  font-size: 42px;
  font-weight: 900;
  font-family: var(--font-main);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  transition: all .4s ease;
}
.step-card:hover .step-num {
  background: rgba(255,255,255,.95);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step-card h5 {
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--color-secondary);
  transition: color .4s ease;
}
.step-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  transition: color .4s ease;
}

/* ===== FINAL CTA ===== */
.final-cta-section {
  padding: 80px 0;
  background: #fff;
}
.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--color-footer) 0%, var(--color-secondary) 60%, var(--color-primary) 130%);
  border-radius: 32px;
  padding: 80px 60px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 30px 80px rgba(107,55,211,.25);
}
.final-cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.final-cta-content h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  margin: 14px 0 18px;
  line-height: 1.15;
}
.final-cta-content p {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  margin-bottom: 32px;
}
.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.final-cta-actions .btn-cecoform,
.final-cta-actions .btn-ghost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 14px 42px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  height: 56px !important;
  border-radius: 25px !important;
  position: relative !important;
  overflow: visible !important;
}
.final-cta-actions .btn-cecoform::before {
  display: none !important;
}
@media (max-width: 768px) {
  .final-cta-card { padding: 50px 24px; border-radius: 24px; }
  .final-cta-content h2 { font-size: 28px; }
}

/* ===== FORCE BTN CECOFORM ROSA ===== */
.btn-cecoform {
  background: var(--color-primary) !important;
}
