:root {
  --accent: #2b82ca;
  --accent-weak: #dbe29c;
  --surface: #0b3569;
  --surface-2: #0e3e7a;

  --primary-font-color: #182e43;

  --font-primary: "Funnel Sans", sans-serif;
  --font-secondary: "Funnel Display", sans-serif;

  
  --blue-dark: #0a2e5d;
  --blue-light: #1e90ff;
  --gray-main: #4b5563;
  --gray-sub: #6b7280;
  --white: #ffffff;
}
.editor-styles-wrapper .acf-block-component, html :where(.wp-block) {
  max-width: 100% !important;
  margin: 0 !important;
}
.wp-core-ui .button.button-hero,.acf-repeater .acf-actions .acf-button{
  width: auto;
  height: auto;
}

.editor-styles-wrapper .reveal,
.block-editor-block-list__layout .reveal {
  opacity: 1 !important;
  filter: unset !important;
  transition: none !important;
}
.block-editor-block-list__layout .d-flex{
  display: flex !important;
}
html {
  scroll-behavior: smooth;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
  color: white!important;
}
.pos-title{
  font-size: 2.25rem;     /* Tailwind text-4xl */
  font-weight: 700;       /* fw-bold */
  color: #1a3b5d;         /* brand-primary */
  margin-bottom: 1.5rem;  /* mb-6 */
  line-height: 1.2;
  text-align: center;
  margin:auto;
  max-width: 896px;
  font-family: var(--font-secondary);
}

body {
  font-family: var(--font-primary);
  color: #182e43;
}
.fc-primary {
  color: var(--primary-font-color);
}

.animation-up {
  transition: all 0.3s ease;
}
.animation-up:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.navbar{
  background-color: #182e43;
}
.navbar .nav-link{
  color: white;
  font-weight: 500;
  font-family: var(--font-secondary);
}
.hero {
  color: white;
  background-color: #182C43;
  /* background: linear-gradient(
    to bottom right,
    #ffffff,
    hsl(0, 0%, 95%),
    hsl(207, 65%, 48%, 0.05)
  ); */
  background-size: 160% 160%, 140% 140%;
  animation: heroDrift 18s ease-in-out infinite alternate;
  position: relative;
}
@keyframes heroDrift {
  0% {
    background-position: 0% 0%, 100% 20%;
  }
  100% {
    background-position: 20% 10%, 80% 40%;
  }
}
.hero-secondary{
  color:unset;
  background: linear-gradient(
    to bottom right,
    #ffffff,
    hsl(0, 0%, 95%),
    hsl(207, 65%, 48%, 0.05)
  );
  /* background: radial-gradient(1200px 400px at 20% 10%, #ecf5ff 0%, transparent 70%), radial-gradient(900px 300px at 80% 30%, #dff0ff 0%, transparent 70%); */
  background-size: 160% 160%, 140% 140%;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift{
  0%{background-position: 0% 0%, 100% 20%}
  100%{background-position: 20% 10%, 80% 40%}
}

.hero h1 {
  font-size: 72px;
  color: white;
  font-family: var(--font-secondary);
}

.hero-secondary h1 {
  font-size: 3.75rem;
  color: var(--primary-font-color);
}
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }
}

.hero .pre-title{
  font-size: 14px;
  color: #ffffffe6;
  backdrop-filter: blur(4px); 
  background-color:#fff3;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
  text-align: center;
  margin: auto;
  margin-bottom: 12px;
}

.hero .text{
  max-width: 896px;
  padding: 0 20px;
}
.hero-icons__title{
  color: var(--primary-font-color);
}
.hero-icons svg {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.hero-icons__roi {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border-radius: 50%;
  color: #f2f9ff;
  background: var(--accent);
}
.p-4_5 {
  padding: 2rem !important;
}
.py-4_5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}
.px-4_5 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-lg-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.g-4_5 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.accent {
  color: var(--accent);
}

/* Navbar: abrir dropdown en hover y mantener el padre como link */
@media (min-width: 992px) {
  /* Posicionar debajo del item padre para desktop */
  .navbar .dropdown > .dropdown-menu {
    top: 100%;
    left: 0;
    right: auto;
    margin-top: .25rem;
    transform: none !important; /* evitar desplazamiento lateral si hay estilos inline */
  }
  /* Submenús de segundo nivel en desktop */
  .navbar .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .25rem;
    margin-top: 0;
  }
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 992px) {
.navbar .container{
    max-height: 90vh;
    overflow-y: auto;
}

  /* Submenús de segundo nivel en desktop */
  .navbar .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .25rem;
    margin-top: 0;
  }
}
/* Asegurar que el menú se posicione correctamente */
.navbar .nav-item.dropdown > .dropdown-menu {
  margin-top: 0;
}
.accent.weak {
  color: var(--accent-weak);
}
.list-disc__weak {
  background-color: var(--accent-weak);
}
.card {
  border: none;
}

.separator {
  max-width: 480px;
  height: 50px;
  width: 100%;
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.kpi strong {
  display: block;
  font-size: 2.25rem;
  color: #4197dc;
  font-weight: 700;
}
.kpi span {
  font-size: 16px;
  color: white;
}

.kpi-secondary span {
  font-size: 16px;
  color: var(--primary-font-color);
}

.badge-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  /* background: #f0f7ff; */
  background: transparent;
  font-size: 22px;
}
.badge-ico__no-bg{
  background: transparent!important;
}
.logo-pill {
  padding: 10px 16px;
  border: 1px solid #e6eef9;
  background: #f8f8f8;
  color: #4b5563;
  font-weight: 600;
  /* box-shadow: 0 10px 20px rgba(15,27,48,.06); */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 27, 48, 0.08);
}

.case .chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4fbe9;
  color: #5c7c2f;
  font-size: 0.85rem;
  border: 1px solid #e3f3cc;
}

.feature-card .icon,
.contact-card .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  font-weight: 700;
}
.tone-a {
  background: #f2f9ff;
}
.tone-b {
  background: #f9fde9;
}

.section.alt {
  background: #fbfdff;
}

.section.secondary-bg {
  background-color: #F2F2F2;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--primary-font-color);
  position: relative;
  font-family: var(--font-secondary);
}
.section-head .h2_title-small {
  font-family: var(--font-secondary);
  font-size: clamp(22px, 4vw, 30px);
  color: var(--primary-font-color);
  position: relative;
}

/* .section-head h2::after{
  content:""; position:absolute; left:50%; bottom:-12px; width:120px; height:3px; background:linear-gradient(90deg, var(--accent), #86efac);
  border-radius:3px; transform: translateX(-50%);
} */

.btn .arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

#mainNav.shrink .container {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* CTA banner */
.cta-banner h2 {
  font-size: clamp(32px, 4vw, 60px);
  font-family: var(--font-secondary);
  color: var(--primary-font-color);
}

/* Espaciado general */
.contact-section {
  padding-left: 80px;
  display: flex;
  flex-direction: column;
  gap: 2rem; /* space-y-8 */
}
@media (max-width: 768px) {
  .contact-section {
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.contact-section h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: bold;
  color: var(--blue-dark);
  margin-bottom: 1.5rem; /* mb-6 */
  text-align: left;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* space-y-6 */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem; /* space-x-4 */
}

.icon-circle {
  background-color: var(--blue-light);
  border-radius: 50%;
  padding: 0.75rem; /* p-3 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 1.5rem; /* w-6 */
  height: 1.5rem; /* h-6 */
  color: var(--white);
}
.contact-item-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-item h4 {
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0;
}

.text-main {
  color: var(--gray-main);
  margin: 0.25rem 0;
}

.text-sub {
  font-size: 0.875rem; /* text-sm */
  color: var(--gray-sub);
  margin: 0;
}

/* Caja inferior */
.call-box {
  background-color: var(--blue-dark);
  border-radius: 0.75rem; /* rounded-xl */
  padding: 1.5rem; /* p-6 */
  color: var(--white);
}

.call-box h4 {
  font-weight: bold;
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 0.75rem;
}

.call-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.call-btn {
  width: 100%;
  background-color: var(--blue-light);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem; /* rounded-md */
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.call-btn:hover {
  background-color: var(--white);
  color: var(--blue-dark);
}


.contact-card {
  background: rgba(255, 255, 255, 0.12);
  color: var(--primary-font-color);
  backdrop-filter: blur(2px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
}
/* Testimonials */
.author-container{
  display: flex;
  align-items: center;
  margin-top: 12px;
}
.author-container img {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  object-fit: cover;
  margin-right: 12px;
}
.stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* industrias */

.badge-ico__industrias {
  width: 64px;
  height: 64px;
}
.badge-ico__industrias svg {
  width: 34px;
  height: 34px;
}
/* soluciones */

.badge-ico__soluciones {
  width: 64px;
  height: 64px;
  background-color: #EBF2FA;
}

.badge-ico__soluciones--secondary {
  color: #152B41;
  background-color: #F5F9E0;
}

.badge-ico__soluciones svg, .badge-ico__soluciones img {
  width: 34px;
  height: 34px;
}

/* equiop */

.team-icon svg {
  width: 64px;
  height: 64px;
  margin: auto;
}

/* footer */
/* 
.site-footer {
  background-color: #182e43;
}

.text-footer {
  color: #dbeafe;
}
.icon__footer svg {
  width: 16px;
  height: 16px;
}
.social_icon {
  background-color: #2b82ca33;
  color: white;
}
.social_icon svg {
  color: white;
}
.footer_ubication {
  display: flex;
  align-items: center;
}

 */

 /* Footer General */
.footer {
  background-color: #1B314B; /* Azul oscuro agencia */
  color: #fff;
  padding: 4rem 1rem;
  font-family: Arial, sans-serif;
  position: relative;
}
.footer-author{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid principal */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Columna principal */
.footer-about .footer-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-about .highlight {
  color: #c7f400; /* Verde lima agencia */
}

.footer-description {
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.footer-locations {
  margin-top: 1rem;
}

.footer-subtitle {
  color: #c7f400;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.footer-location {
  opacity: 0.8;
  margin: 0.3rem 0;
}
.footer-location a{
  color: inherit;
  text-decoration: none;
}

/* Columnas */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin: 0.4rem 0;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #fff;
}

/* Parte inferior */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Redes sociales */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social span {
  opacity: 0.8;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Legal */
.footer-legal {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-legal {
    text-align: right;
  }
}

.footer-legal-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

/*  CASOS DE EXITO */

.card-exito {
  border-radius: 0.5rem;              /* rounded-lg */
  border: 1px solid rgb(229 231 235); /* border (color puede depender del theme) */
  background-color: white;      /* bg-card */
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* shadow-sm */
  transition: box-shadow 0.3s;        /* transition-shadow duration-300 */
  border-left-width: 4px;             /* border-l-4 */
  border-left-color: var(--accent); /* border-l-posittion-cyan */
  font-size: 16px;
}
.card-exito:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
              0 4px 6px -4px rgba(0,0,0,0.1); /* hover:shadow-xl */
}

.card-content {
  padding: 2rem; /* p-8 */
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;          /* rounded-full */
  border: 1px solid transparent;  /* border-transparent */
  padding: 0.125rem 0.625rem;     /* py-0.5 px-2.5 */
  font-size: 0.75rem;             /* text-xs */
  font-weight: 600;               /* font-semibold */
  background-color: var(--accent-weak); /* bg-accent-weak */
  color: var(--primary-font-color);
  transition: all 0.2s;
}
.badge:hover {
  background-color: var(--primary-font-color); /* hover:bg-primary/80 */
  color:white;
}
.badge:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring),
              0 0 0 4px var(--ring-offset);
}

.space-y-4 > * + * {
  margin-top: 1rem; /* espacio vertical entre hijos */
}

.section-title {
  font-weight: 600; /* font-semibold */
  margin-bottom: 0.5rem; /* mb-2 */
  color: var(--primary-font-color);
  font-size: 16px;
}

.section-text {
  color: rgb(75 85 99); /* text-gray-600 */
  font-size: 16px;
}

.section-divider {
  padding-top: 1rem; /* pt-4 */
  border-top: 1px solid rgb(229 231 235); /* border-t */
}

.result-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 16px; /* text-lg */
}

.result-text {
  font-size: 16px; /* text-lg */
  font-weight: 700;    /* font-bold */
  color: var(--primary-font-color);
}


/* form */

/* === Card general === */
.card-form {
  border-radius: 0.5rem;               /* rounded-lg */
  border: 1px solid rgb(229 231 235);  /* border */
  color: var(--card-foreground);       /* text-card-foreground */
  background-color: #F2F2F2; /* bg-white/95 */
  backdrop-filter: blur(4px);          /* backdrop-blur-sm */
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); /* shadow-2xl */
}

.card-form__content {
  padding: 2rem; /* p-8 */
}
.card-form__content h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: bold;
  color: var(--blue-dark);
  margin-bottom: 1.5rem; /* mb-6 */
  text-align: left;
}
/* === Form === */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* space-y-6 */
}

/* === Grid de inputs === */
.form-grid {
  display: grid;
  gap: 1rem; /* gap-4 */
}
@media (min-width: 640px) { /* sm:grid-cols-2 */
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* === Input & Textarea === */
.input,
.textarea,
.custom-select {
  display: flex;
  width: 100%;
  border-radius: 0.375rem; /* rounded-md */
  border: 1px solid #b6b7b54d; /* border-posittion-gray-medium/30 */
  background-color: white;
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  font-size: 0.875rem; /* md:text-sm */
  line-height: 1.5;
  color: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--muted-foreground);
}
.input:focus,
.textarea:focus,.custom-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--ring-offset);
}
.input:disabled,
.textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.input {
  height: 3rem; /* h-12 */
}
.textarea {
  min-height: 120px; /* min-h-[120px] */
  resize: none;      /* resize-none */
}

/* === Botón === */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3.5rem;           /* h-14 */
  padding: 0.5rem 1rem;     /* px-4 py-2 */
  border-radius: 0.375rem;  /* rounded-md */
  background-color: var(--accent);
  color: #fff;
  font-size: 1.125rem;      /* text-lg */
  font-weight: 600;         /* font-semibold */
  transition: all 0.3s ease;
  border: none;
}
.button:hover {
  background-color: color-mix(in srgb, var(--accent) 90%, white); /* hover:bg-posittion-cyan/90 */
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
              0 4px 6px -4px rgba(0,0,0,0.1); /* hover:shadow-lg */
}
.button:disabled {
  pointer-events: none;
  opacity: 0.5;
}
.button svg {
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  margin-left: 0.5rem; /* ml-2 */
}

/* Mobile overflow guards */
@media (max-width: 575.98px) {
  /* Tame Bootstrap row gutters to prevent negative-margin overflow */
  .row { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
  .row.g-5, .row.gx-5, .row.g-4, .row.gx-4, .row.g-4_5, .row.gx-4_5 { --bs-gutter-x: 1rem; }
  /* Keep an intermediate vertical gutter for custom g-4_5 */
  .row.g-4_5, .row.gy-4_5 { --bs-gutter-y: 1.25rem; }

  /* Allow flex children (columns) to shrink inside rows */
  .row > * { min-width: 0; }

  /* Media should never exceed container width */
  img, svg, video { max-width: 100%; height: auto; }

  /* Last-resort guard for any accidental overflow */
  body { overflow-x: hidden; }
}


/*PAGE  SERVICIOS */
/*PAGE  SERVICIOS */
/*PAGE  SERVICIOS */
/*PAGE  SERVICIOS */
/*PAGE  SERVICIOS */

.work-process {
  padding: 80px 0;
  background: #fff;
}

.work-process .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: bold;
  color: #182c43;
}

.process-steps {
  display: grid;
  gap: 24px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid #ddd;
  border-left: 4px solid #007bff; /* color primario */
  border-radius: 8px;
  background: #fafafa;
  transition: box-shadow 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-content {
  flex-grow: 1;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.step-title h3 {
  font-size: 20px;
  color: #182c43;
  margin: 0;
}

.step-content p {
  font-size: 16px;
  color: rgba(0,0,0,0.7);
  margin: 0;
}

.icon {
  stroke: #007bff;
}

.section-footer {
  text-align: center;
  margin-top: 48px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #182c43;
  color: #fff;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #0f1e2e;
}

.cta-btn .icon {
  stroke: #fff;
}

.related-services {
  padding: 96px 0;
  background: #f8f9fb; /* fondo claro */
}

.related-services .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: bold;
  color: #182c43;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: rgba(0,0,0,0.7);
  max-width: 640px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.service-card:hover .card-icon {
  background: rgba(0, 123, 255, 0.2);
}

.card-icon svg {
  stroke: #007bff;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #182c43;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: rgba(0,0,0,0.7);
  margin: 0;
}

/* Blog single */
.post-hero { 
   background: linear-gradient(to bottom right, #1E3057 , #1E3057 , #52A0D8);
}
.post-hero .row{
  max-width: 864px;
  margin: auto;
}
.post-hero-title { 
  color: #fff; 
  font-size: 60px;
  font-family: var(--font-secondary, serif); 
}

.post-content img { 
  max-width: 100%; 
  height: auto; 
  border-radius: .5rem; 
}

.post-content figure { 
  margin: 1.5rem 0; 
}

.post-content h2, 
.post-content h3 { 
  color: var(--primary-font-color, #182e43); 
  margin-top: 2rem; 
}

.toc-card { 
  background: var(--posittion-gray, #f3f4f6); 
  border: 0; 
  border-radius: 1rem; 
}

.toc-card .card-body { 
  padding: 1.5rem; 
}

.toc-nav { 
  display: grid; 
  gap: .5rem; 
}
.toc-nav ul{
  padding-left: 0;
  list-style: disc;
}

.toc-link { 
   list-style-position: inside;
  width: 100%; 
  text-align: left; 
  list-style-type: disc;
  text-decoration: none; 
  padding: .5rem 0px .5rem 5px; 
  border-radius: .5rem; 
  font-size: .9rem; 
  color: var(--posittion-blue, #1E3057); 
  transition: background-color .2s ease, color .2s ease; 
}

.toc-link a{
  color:inherit; text-decoration:none;
}

.toc-link:hover { 
  background: #fff; 
  color: var(--posittion-blue, #1E3057); 
}

.toc-link.active { 
  background: var(--primary-font-color); 
  color: white; 
  box-shadow: 0 2px 8px rgba(0,0,0,.06); 
}

.toc-link.level-3 { 
  margin-left: 1rem; 
  opacity: .9; 
}

/* 📱 Responsividad */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
