
:root {
  --egm-primary: #0d6efd;
  --egm-dark: #10223a;
  --egm-text: #444;
  --egm-soft: #f4f8fb;
  --egm-border: #dbe4ee;
}
html { scroll-behavior: smooth; }
body { color: var(--egm-text); }
.topbar-seo { background: #0d1f33; color: #fff; font-size: 14px; }
.topbar-seo a, .topbar-seo span { color: #fff; }
.header-inner-pages { box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.hero-seo { min-height: 75vh; padding: 120px 0 70px; background: linear-gradient(135deg, rgba(16,34,58,.95), rgba(13,110,253,.8)), url('../img/fondo-bg.jpg') center/cover no-repeat; color: #fff; }
.hero-kicker { display: inline-block; margin-bottom: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); color:#fff; padding:8px 14px; border-radius:999px; font-size:14px; }
.hero-seo h1 { font-size: 46px; line-height: 1.15; color:#fff; margin-bottom: 18px; }
.hero-lead { font-size: 18px; max-width: 760px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin: 25px 0 20px; }
.btn-outline-seo { border:2px solid var(--egm-primary); color: var(--egm-primary); display:inline-flex; align-items:center; justify-content:center; padding: 10px 22px; border-radius: 4px; font-weight: 700; }
.btn-outline-seo:hover { background: var(--egm-primary); color:#fff; }
.hero-seo .btn-outline-seo { border-color:#fff; color:#fff; }
.hero-seo .btn-outline-seo:hover { background:#fff; color:var(--egm-dark); }
.hero-badges { display:flex; gap:18px; flex-wrap:wrap; font-size:15px; }
.hero-badges span { display:inline-flex; align-items:center; gap:8px; }
.section-padding { padding: 70px 0; }
.section-title p { max-width: 850px; margin: 0 auto; }
.service-card, .project-card, .blog-card, .content-box, .step-card, .value-box { background:#fff; border:1px solid var(--egm-border); border-radius:16px; padding:28px; box-shadow: 0 8px 20px rgba(15, 35, 55, 0.05); height:100%; }
.service-card h3 { font-size: 22px; line-height:1.35; min-height: 86px; }
.service-icon { width:58px; height:58px; border-radius:50%; background:#eef5ff; color:var(--egm-primary); display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:18px; }
.service-link { font-weight:700; display:inline-flex; align-items:center; gap:8px; margin-top:10px; }
.seo-list { padding-left: 1rem; }
.seo-list li { margin-bottom: 10px; }
.image-placeholder { display:flex; align-items:center; justify-content:center; text-align:center; border:0px dashed #a7b9cc; background:linear-gradient(180deg,#f9fbfd,#eef5fb); color:#59708a; border-radius:18px; padding: 26px; font-weight:700; min-height: 220px; }
.image-placeholder small { display:block; font-weight: 400; margin-top: 8px; }
.image-placeholder.md { min-height: 220px; }
.image-placeholder.lg { min-height: 320px; }
.image-placeholder.xl { min-height: 420px; }
.breadcrumbs-seo { padding: 110px 0 48px; background: linear-gradient(135deg, #10223a, #153f6e); color:#fff; }
.breadcrumbs-seo h1 { color:#fff; margin-bottom:12px; }
.count-box { padding:24px; background:#fff; border-radius:14px; border:1px solid var(--egm-border); height:100%; }
.count-box i { font-size:30px; color:var(--egm-primary); margin-bottom:12px; display:inline-block; }
.count-box h4 { font-size:34px; color:var(--egm-dark); margin-bottom:8px; }
.info-box, .cta-box { background:#fff; border:1px solid var(--egm-border); border-radius:16px; padding:28px; box-shadow: 0 8px 20px rgba(15, 35, 55, 0.05); }
.cta-box { background: linear-gradient(180deg, #f7fbff, #fff); }
.seo-contact-form { background:#fff; padding:30px; border-radius:16px; border:1px solid var(--egm-border); box-shadow: 0 8px 20px rgba(15, 35, 55, 0.05); }
.small-note { font-size: 14px; color:#6b7f93; }
.step-card span { display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; border-radius:50%; background:#eef5ff; color:var(--egm-primary); font-size:20px; font-weight:700; margin-bottom:16px; }
.seo-accordion .accordion-item { border:1px solid var(--egm-border); border-radius:12px; overflow:hidden; margin-bottom:12px; }
.seo-accordion .accordion-button { font-weight:700; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; display:flex; align-items:center; justify-content:center; background:#25D366; color:#fff; box-shadow: 0 10px 25px rgba(0,0,0,.18); font-size: 28px; }
#footer .footer-top { background:#0d1f33; }
#footer .footer-top, #footer .footer-top p, #footer .footer-top a, #footer .footer-top h3, #footer .footer-top h4 { color:#fff; }
#footer .footer-top .footer-links ul a { color:#d9e7ff; }
@media (max-width: 991px) {
  .hero-seo { padding-top: 150px; min-height: auto; }
  .hero-seo h1 { font-size: 34px; }
  .image-placeholder.xl { min-height: 300px; }
}
@media (max-width: 767px) {
  .topbar-seo .contact-info { gap:10px; justify-content:center; }
  .hero-lead { font-size:16px; }
  .service-card h3 { min-height: auto; font-size: 20px; }
}

.image-placeholder {
  width: 100%;
  height: 350px; /* ajusta altura */
  overflow: hidden;
  border-radius: 12px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 clave */
}