:root {
  --cp-blue: #003f63;
  --cp-blue-deep: #003653;
  --cp-blue-button: #075f93;
  --cp-sky: #36aaf4;
  --cp-light: #eefbfe;
  --cp-card: #def4fb;
  --cp-ink: #111827;
  --cp-footer: #1d1d1f;
  --cp-white: #ffffff;
  --cp-shell: 1510px;
  --cp-header-height: 108px;
  --cp-shadow: 0 6px 16px rgba(0, 54, 83, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cp-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 99999; top: 8px; left: 8px;
  transform: translateY(-150%);
  background: #fff; color: var(--cp-blue); padding: 10px 14px;
}
.skip-link:focus { transform: none; }

.section-shell { width: min(calc(100% - 64px), var(--cp-shell)); margin-inline: auto; }
.section-shell--narrow { max-width: 1400px; }

.site-header {
  width: 100%; z-index: 1000;
  color: #fff;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header--overlay { position: absolute; top: 0; left: 0; background: var(--cp-blue); box-shadow: 0 3px 12px rgba(0,0,0,.16); }
.site-header--solid,
.site-header.is-scrolled { position: fixed; top: 0; left: 0; background: var(--cp-blue); box-shadow: 0 3px 12px rgba(0,0,0,.16); }
.admin-bar .site-header.is-scrolled,
.admin-bar .site-header--solid { top: 32px; }
.site-header__inner {
  width: min(calc(100% - 64px), var(--cp-shell));
  min-height: var(--cp-header-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; width: 185px; align-items: center; }
.brand img { width: 100%; }
.desktop-navigation { justify-self: end; }
.desktop-navigation > ul {
  display: flex; align-items: center; gap: 28px;
  margin: 0; padding: 0; list-style: none;
}
.desktop-navigation a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
}
.desktop-navigation a:hover, .desktop-navigation a:focus-visible { color: #d9f2ff; }
.desktop-navigation .has-submenu > a { display:inline-flex; align-items:center; }
.submenu-arrow {
  display:inline-block; width:8px; height:8px; margin-left:1px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  position:relative; top:-2px; transform:rotate(45deg); transform-origin:center;
  flex:0 0 auto;
}
.has-submenu { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 15px); left: -10px; width: 380px;
  margin: 0; padding: 8px 0; list-style: none;
  background: rgba(0, 54, 83, .96);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: .18s ease; box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.submenu::before { content:""; position:absolute; left:0; right:0; top:-18px; height:18px; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity:1; visibility:visible; transform:none; }
.submenu a { display:block; padding: 5px 14px; font-size: 16px; text-transform:none; font-weight: 500; }
.header-contact { display:flex; gap: 20px; align-items:center; }
.header-contact a { width: 32px; height: 32px; display:grid; place-items:center; }
.header-contact svg,
.header-contact img { width: 30px; height: 30px; fill:#fff; object-fit:contain; }
.header-contact a { transition: opacity .18s ease, transform .18s ease; }
.header-contact a:hover,
.header-contact a:focus-visible { opacity:.82; transform:translateY(-1px); }
.menu-toggle, .mobile-navigation { display:none; }

.hero {
  position: relative;
  min-height: 650px;
  display: flex; align-items: center;
  color: #fff;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.hero__overlay {
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(92, 170, 205, .78) 0%, rgba(33, 104, 147, .54) 48%, rgba(0, 42, 70, .50) 100%);
}
.hero__content { position:relative; z-index:1; padding-top: 88px; }
.hero__eyebrow { margin:0 0 8px; font-size:16px; font-weight:800; letter-spacing:.04em; }
.hero h1 { margin:0 0 22px; max-width: 680px; font-size: 45px; line-height: 1.02; color:#fff; }

.button {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height: 48px; padding: 10px 28px;
  border: 2px solid transparent; border-radius: 3px;
  font-size: 16px; line-height:1.2;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { min-width: 230px; background: var(--cp-blue); color:#fff; }
.button--secondary { background: var(--cp-blue-button); color:#fff; }
.button--outline { border-color:#fff; color:#fff; background:transparent; }

.intro-section { padding: 42px 0 54px; text-align:center; background:#fff; }
.intro-section h2 { margin:0 auto 12px; color:var(--cp-blue); font-size: 34px; line-height:1.1; }
.intro-section h3 { margin:0 0 14px; color:var(--cp-blue); font-size: 27px; }
.intro-section p { margin:0 auto; max-width: 1280px; font-size: 21px; line-height:1.45; }

.about-section { background:var(--cp-blue); color:#fff; padding: 30px 0 34px; }
.about-grid { display:grid; grid-template-columns: 1fr 1.15fr; align-items:center; gap:54px; }
.about-copy h2 { margin:0 0 25px; font-size:40px; line-height:1.08; color:#fff; }
.about-copy p { margin:0 0 42px; font-size:21px; font-weight:700; }
.button-row { display:flex; justify-content:center; gap: 110px; }
.about-image-wrap { border-radius:16px; overflow:hidden; box-shadow: 0 8px 15px rgba(0,0,0,.42); }
.about-image-wrap img { width:100%; aspect-ratio: 1.52; object-fit:cover; }

.services-section { position:relative; padding: 56px 0 0; background:#fff; }
.services-background {
  position:absolute; top:0; left:0; right:0; height: 500px;
  background-image: var(--services-background);
  background-size: cover; background-position:center;
}
.services-panel {
  position:relative; z-index:1;
  padding: 30px 44px 42px;
  background: rgba(255,255,255,.90);
  border-top-right-radius: 68px;
}
.services-panel > h2 { margin:0 0 25px; color:var(--cp-blue); font-size:34px; }
.services-grid { display:grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 230px 230px; gap:20px; }
.service-card {
  position:relative; overflow:hidden;
  min-height: 230px; border:2px solid #fff;
  background-image: var(--service-image); background-size:cover; background-position:center;
  box-shadow: 0 2px 8px rgba(0,0,0,.24);
}
.service-card--featured { grid-row: span 2; }
.service-card__shade { position:absolute; inset:0; background:rgba(0,56,91,.36); }
.service-card__content {
  position:absolute; inset:0; z-index:1;
  display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-end;
  padding: 18px 22px; text-align:right; color:#fff;
}
.service-card h3 { margin:0 0 12px; max-width: 95%; font-size:25px; line-height:1.12; color:#fff; }
.button--service { min-width: 134px; min-height:43px; padding:7px 20px; border-color:#fff; color:#fff; background:rgba(0,41,69,.16); }

.why-section { background:var(--cp-light); padding: 60px 0 62px; }
.section-heading { text-align:center; }
.section-heading h2 { margin:0 0 14px; color:var(--cp-blue); font-size:36px; line-height:1.15; }
.section-heading__script { margin:0 0 30px !important; font-family: Georgia, 'Times New Roman', serif; font-style:italic; font-size:27px !important; }
.section-heading > p:last-child { margin:0 auto 34px; max-width:1250px; font-size:20px; }
.benefits-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.benefit-card {
  min-height: 275px; padding: 48px 24px 28px;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  text-align:center; background:var(--cp-card); box-shadow:var(--cp-shadow);
}
.benefit-icon { width:108px; height:108px; border-radius:50%; background:var(--cp-blue); display:grid; place-items:center; margin-bottom:22px; }
.benefit-icon svg { width:64px; height:64px; fill:none; stroke:#fff; stroke-width:5; stroke-linecap:round; stroke-linejoin:round; }
.benefit-icon text { fill:#fff; stroke:none; font-size:18px; font-weight:800; }
.benefit-card h3 { margin:0; color:var(--cp-blue); font-size:23px; line-height:1.08; }
.stats-grid { display:grid; grid-template-columns:repeat(3,1fr); margin: 48px 0 36px; }
.stat-item { display:flex; flex-direction:column; align-items:center; text-align:center; padding: 0 30px; }
.stat-item + .stat-item { border-left:1px solid rgba(0,63,99,.18); }
.stat-item strong { color:var(--cp-blue); font-size:68px; line-height:1; }
.stat-item span { margin-top:8px; font-size:19px; }
.accordions { display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.accordion-item { background:#fff; border:1px solid #c7dce8; box-shadow: 0 16px 30px rgba(0,63,99,.07); }
.accordion-trigger {
  width:100%; min-height:74px; padding:19px 38px;
  display:flex; align-items:center; justify-content:space-between;
  border:0; background:#fff; cursor:pointer; text-align:left;
  color:var(--cp-blue); font-weight:700; font-size:23px;
}
.accordion-chevron { width:15px; height:15px; border-right:1.5px solid var(--cp-blue); border-bottom:1.5px solid var(--cp-blue); transform:rotate(45deg) translateY(-4px); transition:.2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform:rotate(225deg) translate(-2px,-2px); }
.accordion-panel { padding: 0 38px 28px; }
.accordion-panel p { margin:0; font-size:17px; line-height:1.5; }

.contact-cta { padding: 50px 0 52px; background:#fff; text-align:center; }
.contact-cta__inner { width:min(calc(100% - 40px), 620px); margin-inline:auto; color:#17224d; }
.cta-mark { width:104px; height:104px; margin:0 auto 12px; }
.cta-mark img { display:block; width:100%; height:100%; object-fit:contain; }
.contact-cta h2 { margin:0 0 3px; font-size:37px; }
.contact-cta h3 { margin:0 0 16px; font-size:21px; line-height:1.5; }
.contact-cta p { margin:0 auto 14px; max-width:470px; font-size:17px; line-height:1.4; }
.cta-contact-icons { display:flex; justify-content:center; gap:24px; margin-bottom:18px; font-size:28px; }
.button--cta { min-width:330px; min-height:56px; border-radius:25px; background:var(--cp-blue); color:#fff; }

.site-footer { color:#fff; background:var(--cp-footer); border-top:3px solid var(--cp-sky); }
.footer-grid { display:grid; grid-template-columns:.85fr .95fr 1.2fr 1fr; gap:48px; padding-top:52px; padding-bottom:50px; }
.footer-grid h2 { margin:0 0 18px; color:var(--cp-sky); font-size:19px; }
.footer-grid p, .footer-grid li { font-size:15px; line-height:1.45; }
.footer-grid ul { margin:0; padding:0; list-style:none; }
.footer-grid li { margin:0 0 8px; }
.footer-brand > img { width:180px; margin-bottom:12px; }
.footer-brand > p { max-width:245px; margin:0; color:rgba(255,255,255,.78); line-height:1.6; }
.footer-contact-list li { margin:0; }
.footer-contact-list a { display:flex; align-items:flex-start; gap:10px; color:#fff; text-decoration:none; }
.footer-contact-list a:hover,
.footer-contact-list a:focus-visible { color:#36aaf4; }
.footer-contact-list a span { min-width:0; }
.footer-contact-label { color:var(--cp-sky); font-weight:700; }
.footer-contact-icon { width:20px; height:20px; flex:0 0 20px; object-fit:contain; margin-top:1px; }
.footer-contact-icon--mail { width:21px; flex-basis:21px; }
.footer-contact-icon--location { width:18px; flex-basis:18px; }
.footer-indicators .contaplus-indicators__date { margin:0 0 4px; }
.footer-indicators .contaplus-indicators__list { list-style:none; margin:0; padding:0; }
.indicator-placeholder { color:#d7d7d7; }
.footer-bottom { background:var(--cp-blue); }
.footer-bottom__inner { min-height:76px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding-top:12px; padding-bottom:12px; text-align:center; }
.footer-bottom p { margin:0; font-size:15px; }
.footer-bottom__privacy { font-size:14px !important; }

.footer-bottom a { color:#fff; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color:var(--cp-sky); }
.footer-bottom__separator { display:none; }

.content-area { min-height:70vh; padding: calc(var(--cp-header-height) + 70px) 0 80px; background:#f5fafc; }
.content-shell { max-width:1050px; }
.content-card { padding:40px; background:#fff; box-shadow:0 10px 30px rgba(0,0,0,.08); }
.content-card h1 { margin-top:0; color:var(--cp-blue); }
.content-card--center { text-align:center; }
.entry-content img { height:auto; max-width:100%; }

@media (max-width: 1300px) {
  :root { --cp-header-height: 108px; }
  .desktop-navigation > ul { gap:18px; }
  .desktop-navigation a { font-size:15px; }
  .site-header__inner { grid-template-columns:195px 1fr auto; }
  .brand { width:170px; }
  .about-copy h2 { font-size:36px; }
  .button-row { gap:80px; }
  .service-card h3 { font-size:22px; }
  .footer-grid { gap:38px; }
}

@media (max-width: 980px) {
  :root { --cp-header-height: 96px; }
  .section-shell { width:min(calc(100% - 40px), var(--cp-shell)); }
  .site-header--overlay { background:rgba(0,63,99,.82); }
  .site-header__inner { width:calc(100% - 30px); min-height:var(--cp-header-height); grid-template-columns:64px 1fr 82px; gap:12px; }
  .desktop-navigation { display:none; }
  .menu-toggle {
    display:flex; width:54px; height:50px; padding:8px 3px;
    flex-direction:column; justify-content:center; gap:8px;
    border:0; background:transparent; cursor:pointer;
    opacity:.94;
    transition:opacity .2s ease;
  }
  .menu-toggle:hover,
  .menu-toggle:focus-visible { opacity:1; }
  .menu-toggle span:not(.screen-reader-text) {
    display:block; width:38px; height:2px; border-radius:999px; background:#fff;
    transform-origin:center;
    transition:transform .28s cubic-bezier(.4,0,.2,1), opacity .18s ease, width .28s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { width:30px; transform:translateY(10px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity:0; transform:scaleX(.35); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { width:30px; transform:translateY(-10px) rotate(-45deg); }
  .brand { justify-self:center; width:min(100%, 205px); }
  .header-contact { gap:12px; }
  .header-contact a { width:34px; height:34px; }
  .header-contact svg, .header-contact img { width:28px; height:28px; }
  .mobile-navigation {
    display:block; position:fixed; z-index:1001; top:var(--cp-header-height); left:0; right:0; bottom:0;
    overflow:auto; background:rgba(0,63,99,.84); color:#fff; padding:30px 28px 50px;
    -webkit-backdrop-filter:saturate(120%) blur(10px);
    backdrop-filter:saturate(120%) blur(10px);
    border-top:1px solid rgba(255,255,255,.08);
  }
  .admin-bar .mobile-navigation { top:calc(var(--cp-header-height) + 46px); }
  .mobile-navigation[hidden] { display:none; }
  .mobile-navigation ul { margin:0; padding:0; list-style:none; }
  .mobile-navigation a, .mobile-navigation button {
    display:flex; width:100%; justify-content:space-between; align-items:center;
    padding:13px 0; border:0; border-bottom:1px solid rgba(255,255,255,.12);
    background:transparent; color:#fff; font-size:21px; text-align:left;
  }
  .mobile-submenu { padding-left:20px !important; }
  .mobile-submenu a { font-size:17px; color:#d9edf7; }
  .hero { min-height: 570px; background-position: 59% center; }
  .hero__content { padding-top:100px; }
  .hero h1 { font-size:42px; max-width:570px; }
  .intro-section h2 { font-size:32px; }
  .intro-section h3 { font-size:26px; }
  .intro-section p { font-size:19px; }
  .about-grid { grid-template-columns:1fr; gap:55px; }
  .about-copy { text-align:center; }
  .about-copy h2 { font-size:38px; }
  .about-copy p { margin-bottom:34px; }
  .button-row { gap:35px; }
  .services-grid { grid-template-columns:1fr; grid-template-rows:none; }
  .service-card, .service-card--featured { grid-row:auto; min-height:300px; }
  .services-panel { padding:25px 20px 40px; border-top-right-radius:50px; }
  .benefits-grid { grid-template-columns:1fr 1fr; }
  .accordions { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .site-header.is-scrolled, .admin-bar .site-header--solid { top:46px; }
}

@media (max-width: 640px) {
  :root { --cp-header-height: 96px; }
  body { font-size:15px; }
  .section-shell { width:calc(100% - 28px); }
  .site-header__inner { grid-template-columns:50px 1fr 74px; gap:8px; }
  .menu-toggle { width:48px; }
  .menu-toggle span:not(.screen-reader-text) { width:34px; height:2px; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2),
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { width:27px; }
  .brand { width:185px; max-width:100%; }
  .header-contact { gap:8px; }
  .header-contact a { width:31px; }
  .header-contact svg, .header-contact img { width:25px; }
  .hero { min-height: 540px; align-items:flex-start; background-position:62% center; }
  .hero__content { padding-top: 205px; }
  .hero__eyebrow { font-size:14px; }
  .hero h1 { margin-bottom:20px; font-size:35px; line-height:1.02; }
  .button { font-size:15px; }
  .button--primary { min-width: 194px; }
  .intro-section { padding:34px 0 42px; }
  .intro-section h2 { font-size:27px; line-height:1.04; }
  .intro-section h3 { margin-top:24px; font-size:24px; line-height:1.15; }
  .intro-section p { font-size:17px; line-height:1.45; }
  .about-section { padding:28px 0 32px; }
  .about-copy h2 { font-size:33px; line-height:1.05; }
  .about-copy p { font-size:18px; line-height:1.5; }
  .button-row { flex-direction:column; align-items:center; gap:18px; }
  .button-row .button { min-width: 170px; }
  .about-image-wrap { border-radius:13px; }
  .about-image-wrap img { aspect-ratio:1.35; }
  .services-section { padding-top:110px; }
  .services-background { height:300px; background-position:center; }
  .services-panel { width:calc(100% - 38px); padding:0 20px 42px; border-top-right-radius:38px; }
  .services-panel > h2 { margin:0 0 22px; padding-top:0; font-size:25px; }
  .services-grid { gap:16px; }
  .service-card, .service-card--featured { min-height:230px; }
  .service-card__content { padding:18px 20px; }
  .service-card h3 { font-size:21px; }
  .button--service { min-width:118px; min-height:42px; padding:7px 15px; }
  .why-section { padding:52px 0 48px; }
  .section-heading h2 { font-size:31px; line-height:1.05; }
  .section-heading__script { margin-bottom:26px !important; font-size:24px !important; line-height:1.35; }
  .section-heading > p:last-child { font-size:18px; line-height:1.45; }
  .benefits-grid { grid-template-columns:1fr; gap:20px; }
  .benefit-card { min-height:220px; padding:30px 20px 28px; }
  .benefit-icon { width:90px; height:90px; margin-bottom:18px; }
  .benefit-icon svg { width:54px; height:54px; }
  .benefit-card h3 { font-size:20px; }
  .stats-grid { grid-template-columns:1fr 1fr; row-gap:34px; margin-top:34px; }
  .stat-item { padding:0 8px; }
  .stat-item + .stat-item { border-left:0; }
  .stat-item:nth-child(2) { border-left:1px solid rgba(0,63,99,.18); }
  .stat-item:nth-child(3) { grid-column:1 / -1; }
  .stat-item strong { font-size:55px; }
  .stat-item span { font-size:17px; }
  .accordion-trigger { min-height:66px; padding:16px 20px; font-size:20px; }
  .accordion-panel { padding:0 20px 22px; }
  .accordion-panel p { font-size:16px; }
  .contact-cta { padding:42px 0 46px; }
  .cta-mark { width:92px; height:92px; }
  .contact-cta h2 { font-size:33px; }
  .contact-cta h3 { font-size:20px; line-height:1.5; }
  .contact-cta p { font-size:16px; }
  .button--cta { min-width:0; width:100%; min-height:58px; font-weight:700; }
  .footer-grid { grid-template-columns:1fr; gap:32px; padding-top:40px; padding-bottom:38px; }
  .footer-brand > img { width:190px; max-width:72%; margin-inline:auto; }
  .footer-brand > p { max-width:420px; margin-inline:auto; text-align:center; }
  .footer-grid h2 { font-size:20px; }
  .footer-grid p, .footer-grid li { font-size:16px; }
  .footer-bottom__inner { min-height:82px; justify-content:center; text-align:center; }
  .footer-bottom p { font-size:14px; }
  .content-area { padding-top:calc(var(--cp-header-height) + 45px); }
  .content-card { padding:26px 20px; }
}

@media (max-width: 390px) {
  .brand { width:165px; }
  .hero h1 { font-size:32px; }
  .about-copy h2 { font-size:30px; }
  .service-card, .service-card--featured { min-height:215px; }
}

/* CTA: iconos de contacto cargados como archivos del tema */
.cta-contact-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}
.cta-contact-icons .cta-contact-icon,
.cta-contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  line-height: 1;
}
.cta-contact-icons img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cta-contact-icons .cta-contact-icon--mail {
  width: 32px;
}
.cta-contact-icons a {
  border-radius:50%;
  transition:opacity .18s ease, transform .18s ease;
}
.cta-contact-icons a:hover,
.cta-contact-icons a:focus-visible {
  opacity:.78;
  transform:translateY(-2px);
}
@media (max-width: 767px) {
  .cta-contact-icons { gap: 20px; }
  .cta-contact-icons .cta-contact-icon,
  .cta-contact-icons a { width: 28px; height: 28px; }
  .cta-contact-icons .cta-contact-icon--mail { width: 30px; }
}


/* 0.2.11: el mismo auricular se gira 90° en sentido horario.
   No se reemplaza ni refleja: solo cambia su orientación para que coincida
   con el icono de referencia, mirando hacia la derecha y hacia arriba. */
.header-contact a[href^="tel:"] img,
.footer-contact-list a[href^="tel:"] img,
.cta-contact-icons .cta-contact-icon--phone img,
.cta-contact-icons a[href^="tel:"] img {
  transform: rotate(90deg);
  transform-origin: center;
}

/* 0.2.13: cabecera translúcida en escritorio y móvil + menú móvil más liviano. */
.site-header--overlay,
.site-header--solid,
.site-header.is-scrolled {
  background: rgba(0, 63, 99, .76);
  -webkit-backdrop-filter: saturate(125%) blur(9px);
  backdrop-filter: saturate(125%) blur(9px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

@media (max-width: 980px) {
  .site-header--overlay,
  .site-header--solid,
  .site-header.is-scrolled {
    background: rgba(0, 63, 99, .72);
  }

  .mobile-navigation {
    background: rgba(0, 63, 99, .68);
    -webkit-backdrop-filter: saturate(125%) blur(12px);
    backdrop-filter: saturate(125%) blur(12px);
  }

  .menu-toggle {
    gap: 7px;
  }

  .menu-toggle span:not(.screen-reader-text) {
    height: 1.5px;
    opacity: .92;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    width: 25px;
    transform: translateY(8.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
    transform: scaleX(.15);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
    width: 25px;
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2),
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
    width: 23px;
  }
}

/* 0.2.14: transparencia solo al inicio de la portada.
   Al desplazarse, y en todas las páginas interiores, la cabecera vuelve a ser sólida. */
.site-header--overlay:not(.is-scrolled) {
  background: rgba(0, 63, 99, .52);
  -webkit-backdrop-filter: saturate(120%) blur(7px);
  backdrop-filter: saturate(120%) blur(7px);
  box-shadow: none;
}

.site-header--solid,
.site-header.is-scrolled {
  background: var(--cp-blue);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
}

@media (max-width: 980px) {
  .site-header--overlay:not(.is-scrolled) {
    background: rgba(0, 63, 99, .48);
  }

  /* El panel móvil mantiene una transparencia moderada, pero todos sus
     elementos se fuerzan visibles y apilados para evitar que solo aparezca Inicio. */
  .mobile-navigation {
    display: block;
    pointer-events: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: max(50px, env(safe-area-inset-bottom));
  }

  .mobile-navigation[hidden] {
    display: none !important;
  }

  .mobile-navigation.is-open {
    display: block !important;
  }

  .mobile-navigation > ul {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .mobile-navigation > ul > li {
    display: block !important;
    width: 100%;
    flex: 0 0 auto;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-navigation > ul > li > a,
  .mobile-navigation > ul > li > button {
    min-height: 52px;
    opacity: 1;
    visibility: visible;
  }
}


/* 0.2.15: al abrir el menú móvil sobre el hero, se desactiva temporalmente
   el desenfoque del header. backdrop-filter convertía el header en el
   contenedor del panel fixed y dejaba el menú sin altura hasta hacer scroll. */
@media (max-width: 980px) {
  body.menu-open .site-header--overlay:not(.is-scrolled) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* =========================================================
   Página Nosotros — 0.2.16
   El contenido se administra desde Páginas > Nosotros.
   ========================================================= */
.page-code-content {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.cp-nosotros-page {
  padding-top: var(--cp-header-height);
  background: #fff;
  color: #171717;
}

.cp-nosotros-page h1,
.cp-nosotros-page h2,
.cp-nosotros-page h3,
.cp-nosotros-page p,
.cp-nosotros-page figure,
.cp-nosotros-page blockquote {
  margin-top: 0;
}

.cp-nosotros-shell {
  width: min(calc(100% - 64px), 1380px);
  margin-inline: auto;
}

.cp-nosotros-shell--text {
  max-width: 980px;
  text-align: center;
}

.cp-nosotros-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--cp-blue);
}

.cp-nosotros-hero__image,
.cp-nosotros-quote__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-nosotros-hero__image {
  object-position: center 43%;
  filter: grayscale(1);
}

.cp-nosotros-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 63, 99, .72);
}

.cp-nosotros-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cp-nosotros-hero h1 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.cp-nosotros-intro {
  padding: 56px 0 64px;
  background: #fff;
}

.cp-nosotros-intro h2,
.cp-nosotros-support h2,
.cp-nosotros-final h2 {
  margin-bottom: 22px;
  color: var(--cp-blue);
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.cp-nosotros-intro p {
  margin: 0 auto 26px;
  max-width: 880px;
  font-size: 20px;
  line-height: 1.55;
}

.cp-nosotros-intro p:last-child {
  margin-bottom: 0;
}

.cp-nosotros-overview {
  padding: 48px 0 66px;
  background: #fff;
}

.cp-nosotros-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(320px, .96fr);
  grid-template-areas: "women man copy";
  gap: 38px;
  align-items: start;
}

.cp-nosotros-overview__image {
  margin-bottom: 0;
  overflow: hidden;
  background: #dfeaf0;
}

.cp-nosotros-overview__image--women { grid-area: women; }
.cp-nosotros-overview__image--man { grid-area: man; }
.cp-nosotros-overview__copy { grid-area: copy; }

.cp-nosotros-overview__image img {
  width: 100%;
  aspect-ratio: .79;
  object-fit: cover;
  filter: saturate(.72) sepia(.08) hue-rotate(155deg);
}

.cp-nosotros-overview__copy h2 {
  margin-bottom: 24px;
  color: #171717;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
}

.cp-nosotros-overview__copy h3 {
  margin-bottom: 24px;
  padding-left: 28px;
  border-left: 4px solid var(--cp-sky);
  color: var(--cp-blue);
  font-size: 26px;
  line-height: 1.08;
}

.cp-nosotros-overview__copy p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.52;
}

.cp-nosotros-overview__copy p:last-child {
  margin-bottom: 0;
}

.cp-nosotros-values {
  padding: 42px 0 64px;
  background: #fff;
}

.cp-nosotros-values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cp-nosotros-value-card {
  min-height: 430px;
  padding: 52px 62px;
  border-left: 4px solid var(--cp-sky);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 63, 99, .07);
}

.cp-nosotros-value-card h2 {
  margin-bottom: 26px;
  color: var(--cp-blue);
  font-size: 25px;
}

.cp-nosotros-value-card p,
.cp-nosotros-value-card li {
  font-size: 17px;
  line-height: 1.55;
}

.cp-nosotros-value-card > ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.cp-nosotros-value-card ul ul {
  margin-top: 16px;
  padding-left: 36px;
}

.cp-nosotros-value-card li + li {
  margin-top: 13px;
}

.cp-nosotros-value-card p:last-child {
  margin-bottom: 0;
}

.cp-nosotros-quote {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #151638;
  color: #fff;
}

.cp-nosotros-quote__image {
  object-position: center;
}

.cp-nosotros-quote__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 63, .76);
}

.cp-nosotros-quote__content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin-block: 0;
  text-align: center;
}

.cp-nosotros-quote__content p {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(40px, 5vw, 65px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.cp-nosotros-quote__content cite {
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  font-style: normal;
}

.cp-nosotros-team {
  padding: 64px 0 76px;
  background: #fff;
  scroll-margin-top: calc(var(--cp-header-height) + 24px);
}

.cp-nosotros-team__heading {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.cp-nosotros-team__heading h2 {
  margin-bottom: 20px;
  color: #171717;
  font-size: 34px;
  line-height: 1.1;
}

.cp-nosotros-team__heading p {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.55;
}

.cp-nosotros-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.cp-nosotros-person {
  text-align: center;
}

.cp-nosotros-person > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  background: #eee;
}

.cp-nosotros-person__body {
  padding: 18px 8px 0;
}

.cp-nosotros-person h3 {
  margin-bottom: 2px;
  color: var(--cp-blue);
  font-size: 27px;
  line-height: 1.1;
}

.cp-nosotros-person__role {
  margin-bottom: 18px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

.cp-nosotros-person p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.5;
}

.cp-nosotros-person p:last-child {
  margin-bottom: 0;
}

.cp-nosotros-support {
  padding: 54px 0 58px;
  background: #edf6fa;
}

.cp-nosotros-support h2 {
  max-width: 850px;
  margin-inline: auto;
}

.cp-nosotros-support p,
.cp-nosotros-final p {
  margin: 0 auto 14px;
  max-width: 900px;
  font-size: 20px;
  line-height: 1.5;
}

.cp-nosotros-support p:last-child,
.cp-nosotros-final p:last-child {
  margin-bottom: 0;
}

.cp-nosotros-final {
  padding: 58px 0 66px;
  background: #fff;
}

.cp-nosotros-final h2 {
  max-width: 750px;
  margin-inline: auto;
}

.cp-nosotros-final h3 {
  max-width: 850px;
  margin: 0 auto 22px;
  color: var(--cp-blue);
  font-size: 29px;
  line-height: 1.12;
}

@media (max-width: 1100px) {
  .cp-nosotros-overview__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy copy"
      "women man";
  }

  .cp-nosotros-overview__copy {
    max-width: 800px;
    margin: 0 auto 10px;
  }

  .cp-nosotros-values__grid,
  .cp-nosotros-team__grid {
    gap: 22px;
  }

  .cp-nosotros-value-card {
    padding: 44px 42px;
  }
}

@media (max-width: 760px) {
  .cp-nosotros-shell {
    width: calc(100% - 38px);
  }

  .cp-nosotros-hero {
    min-height: 430px;
  }

  .cp-nosotros-hero__image {
    object-position: center;
  }

  .cp-nosotros-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .cp-nosotros-intro,
  .cp-nosotros-overview,
  .cp-nosotros-team,
  .cp-nosotros-final {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .cp-nosotros-intro h2,
  .cp-nosotros-support h2,
  .cp-nosotros-final h2 {
    margin-bottom: 20px;
    font-size: clamp(32px, 9vw, 40px);
  }

  .cp-nosotros-intro p,
  .cp-nosotros-support p,
  .cp-nosotros-final p {
    font-size: 18px;
    line-height: 1.55;
  }

  .cp-nosotros-overview__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "man"
      "women";
    gap: 20px;
  }

  .cp-nosotros-overview__copy {
    margin-bottom: 18px;
  }

  .cp-nosotros-overview__copy h2 {
    font-size: 31px;
    line-height: 1.08;
  }

  .cp-nosotros-overview__copy h3 {
    padding-left: 20px;
    font-size: 25px;
  }

  .cp-nosotros-overview__copy p {
    font-size: 17px;
  }

  .cp-nosotros-overview__image img {
    aspect-ratio: .92;
  }

  .cp-nosotros-values {
    padding: 26px 0 54px;
  }

  .cp-nosotros-values__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cp-nosotros-value-card {
    min-height: 0;
    padding: 38px 34px 42px;
    box-shadow: 0 8px 24px rgba(0, 63, 99, .06);
  }

  .cp-nosotros-value-card + .cp-nosotros-value-card {
    border-top: 1px solid #eef1f3;
  }

  .cp-nosotros-value-card h2 {
    font-size: 26px;
  }

  .cp-nosotros-value-card p,
  .cp-nosotros-value-card li {
    font-size: 17px;
  }

  .cp-nosotros-quote {
    min-height: 410px;
  }

  .cp-nosotros-quote__content p {
    font-size: clamp(32px, 9vw, 43px);
    line-height: 1.18;
  }

  .cp-nosotros-team__heading {
    margin-bottom: 34px;
  }

  .cp-nosotros-team__heading h2 {
    font-size: 34px;
  }

  .cp-nosotros-team__heading p {
    font-size: 18px;
  }

  .cp-nosotros-team__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cp-nosotros-person {
    max-width: 680px;
    margin-inline: auto;
  }

  .cp-nosotros-person__body {
    padding: 20px 4px 0;
  }

  .cp-nosotros-person h3 {
    font-size: 30px;
  }

  .cp-nosotros-person__role {
    font-size: 17px !important;
  }

  .cp-nosotros-person p {
    font-size: 17px;
    line-height: 1.58;
  }

  .cp-nosotros-support {
    padding: 50px 0 54px;
  }

  .cp-nosotros-final h3 {
    font-size: 27px;
  }
}

@media (max-width: 420px) {
  .cp-nosotros-shell {
    width: calc(100% - 28px);
  }

  .cp-nosotros-hero {
    min-height: 395px;
  }

  .cp-nosotros-hero h1 {
    font-size: 34px;
  }

  .cp-nosotros-intro h2,
  .cp-nosotros-support h2,
  .cp-nosotros-final h2 {
    font-size: 33px;
  }

  .cp-nosotros-overview__copy h2 {
    font-size: 29px;
  }

  .cp-nosotros-overview__copy h3 {
    font-size: 23px;
  }

  .cp-nosotros-value-card {
    padding: 34px 26px 38px;
  }

  .cp-nosotros-value-card ul ul {
    padding-left: 24px;
  }

  .cp-nosotros-quote__content p {
    font-size: 32px;
  }

  .cp-nosotros-person h3 {
    font-size: 28px;
  }
}


/* =========================================================
   0.2.17 — Nosotros alineado con la identidad tipográfica de Inicio
   y cabecera superpuesta sobre su hero, sólida al desplazarse.
   ========================================================= */
.cp-nosotros-page {
  padding-top: 0;
  font-family: inherit;
  font-size: inherit;
}

/* Misma escala principal utilizada en Inicio. */
.cp-nosotros-hero h1 {
  font-size: 45px;
  line-height: 1.02;
  letter-spacing: 0;
}

.cp-nosotros-intro h2,
.cp-nosotros-support h2,
.cp-nosotros-final h2 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

.cp-nosotros-intro p {
  font-size: 21px;
  line-height: 1.45;
}

.cp-nosotros-overview__copy h2 {
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
}

.cp-nosotros-overview__copy h3 {
  font-size: 26px;
  line-height: 1.12;
}

.cp-nosotros-overview__copy p,
.cp-nosotros-value-card p,
.cp-nosotros-value-card li {
  font-size: 17px;
  line-height: 1.5;
}

.cp-nosotros-quote__content p {
  font-size: 45px;
  line-height: 1.16;
  letter-spacing: 0;
}

.cp-nosotros-team__heading h2 {
  font-size: 34px;
  line-height: 1.1;
}

.cp-nosotros-team__heading p {
  font-size: 18px;
  line-height: 1.5;
}

.cp-nosotros-person h3 {
  font-size: 27px;
}

.cp-nosotros-support p,
.cp-nosotros-final p {
  font-size: 20px;
  line-height: 1.45;
}

.cp-nosotros-final h3 {
  font-size: 27px;
  line-height: 1.15;
}

@media (max-width: 980px) {
  .cp-nosotros-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 760px) {
  .cp-nosotros-hero h1 {
    font-size: 35px;
    line-height: 1.02;
  }

  .cp-nosotros-intro h2,
  .cp-nosotros-support h2,
  .cp-nosotros-final h2 {
    font-size: 27px;
    line-height: 1.04;
  }

  .cp-nosotros-intro p,
  .cp-nosotros-support p,
  .cp-nosotros-final p {
    font-size: 17px;
    line-height: 1.45;
  }

  .cp-nosotros-overview__copy h2 {
    font-size: 27px;
    line-height: 1.08;
  }

  .cp-nosotros-overview__copy h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  .cp-nosotros-overview__copy p,
  .cp-nosotros-value-card p,
  .cp-nosotros-value-card li,
  .cp-nosotros-team__heading p,
  .cp-nosotros-person p {
    font-size: 17px;
  }

  .cp-nosotros-quote__content p {
    font-size: 32px;
    line-height: 1.16;
  }

  .cp-nosotros-team__heading h2 {
    font-size: 27px;
  }

  .cp-nosotros-person h3 {
    font-size: 24px;
  }

  .cp-nosotros-person__role {
    font-size: 16px !important;
  }

  .cp-nosotros-final h3 {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .cp-nosotros-hero h1 { font-size: 32px; }
  .cp-nosotros-intro h2,
  .cp-nosotros-support h2,
  .cp-nosotros-final h2 { font-size: 27px; }
  .cp-nosotros-overview__copy h2 { font-size: 26px; }
  .cp-nosotros-overview__copy h3 { font-size: 23px; }
  .cp-nosotros-quote__content p { font-size: 30px; }
  .cp-nosotros-person h3 { font-size: 24px; }
}

/* =========================================================
   Página Servicios — 0.2.18
   Contenido administrado desde Páginas > Servicios.
   ========================================================= */
.cp-servicios-page {
  padding-top: 0;
  background: #fff;
  color: var(--cp-ink);
  font-family: inherit;
}

.cp-servicios-page h1,
.cp-servicios-page h2,
.cp-servicios-page h3,
.cp-servicios-page p,
.cp-servicios-page figure {
  margin-top: 0;
}

.cp-servicios-shell {
  width: min(calc(100% - 64px), 1510px);
  margin-inline: auto;
}

.cp-servicios-hero {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--cp-blue);
}

.cp-servicios-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.cp-servicios-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 63, 99, .58);
}

.cp-servicios-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  text-align: center;
}

.cp-servicios-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 45px;
  line-height: 1.02;
  letter-spacing: 0;
}

.cp-servicios-intro {
  padding: 54px 0 28px;
  background: #fff;
}

.cp-servicios-intro h2 {
  margin: 0 auto 28px;
  max-width: 1380px;
  color: var(--cp-blue);
  font-size: 34px;
  line-height: 1.18;
  text-align: center;
}

.cp-servicios-intro p {
  margin: 0;
  max-width: 1370px;
  font-size: 21px;
  line-height: 1.5;
}

.cp-servicios-catalog {
  padding: 8px 0 58px;
  background: #fff;
}

.cp-servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 20px;
}

.cp-servicios-grid .service-card--featured {
  grid-row: span 2;
}

.cp-servicios-grid .service-card__shade {
  background: rgba(0, 56, 91, .38);
}

.cp-servicios-grid .button--service {
  min-width: 154px;
}

@media (max-width: 980px) {
  .cp-servicios-hero {
    min-height: 440px;
  }

  .cp-servicios-hero h1 {
    font-size: 42px;
  }

  .cp-servicios-intro h2 {
    font-size: 32px;
  }

  .cp-servicios-intro p {
    font-size: 19px;
  }

  .cp-servicios-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .cp-servicios-grid .service-card,
  .cp-servicios-grid .service-card--featured {
    grid-row: auto;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .cp-servicios-shell {
    width: calc(100% - 38px);
  }

  .cp-servicios-hero {
    min-height: 500px;
  }

  .cp-servicios-hero__image {
    object-position: 57% center;
  }

  .cp-servicios-hero__content {
    padding-top: 92px;
  }

  .cp-servicios-hero h1 {
    font-size: 35px;
  }

  .cp-servicios-intro {
    padding: 42px 0 30px;
  }

  .cp-servicios-intro h2 {
    margin-bottom: 26px;
    font-size: 27px;
    line-height: 1.18;
  }

  .cp-servicios-intro p {
    font-size: 17px;
    line-height: 1.5;
  }

  .cp-servicios-catalog {
    padding: 0 0 44px;
  }

  .cp-servicios-grid {
    gap: 16px;
  }

  .cp-servicios-grid .service-card,
  .cp-servicios-grid .service-card--featured {
    min-height: 250px;
  }

  .cp-servicios-grid .service-card h3 {
    font-size: 21px;
  }

  .cp-servicios-grid .button--service {
    min-width: 144px;
  }
}

@media (max-width: 420px) {
  .cp-servicios-hero h1 {
    font-size: 32px;
  }

  .cp-servicios-intro h2 {
    font-size: 26px;
  }
}

/* =========================================================
   Página Auditoría — 0.2.19
   Contenido administrado desde Páginas > Auditoría.
   ========================================================= */
.cp-auditoria-page {
  padding-top: 0;
  overflow: hidden;
  background: #fff;
  color: var(--cp-ink);
  font-family: inherit;
}

.cp-auditoria-page h1,
.cp-auditoria-page h2,
.cp-auditoria-page h3,
.cp-auditoria-page p,
.cp-auditoria-page ul,
.cp-auditoria-page figure {
  margin-top: 0;
}

.cp-auditoria-shell {
  width: min(calc(100% - 64px), 1400px);
  margin-inline: auto;
}

.cp-auditoria-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--cp-blue);
}

.cp-auditoria-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.cp-auditoria-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 63, 99, .55);
}

.cp-auditoria-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  padding-top: 78px;
  text-align: center;
}

.cp-auditoria-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.cp-auditoria-intro {
  padding: 58px 0 64px;
  background: #fff;
}

.cp-auditoria-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.cp-auditoria-intro__lead {
  padding: 8px 0 8px 28px;
  border-left: 5px solid var(--cp-sky);
}

.cp-auditoria-intro__lead h2 {
  margin-bottom: 0;
  color: var(--cp-blue);
  font-size: clamp(32px, 3.2vw, 47px);
  line-height: 1.24;
  letter-spacing: -.015em;
}

.cp-auditoria-intro__copy > p {
  margin-bottom: 26px;
  font-size: 20px;
  line-height: 1.55;
}

.cp-auditoria-checklist {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-auditoria-checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 19px;
  line-height: 1.35;
}

.cp-auditoria-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .25em;
  width: 14px;
  height: 8px;
  border-left: 4px solid var(--cp-blue);
  border-bottom: 4px solid var(--cp-blue);
  transform: rotate(-45deg);
}

.cp-auditoria-types {
  padding: 56px 0 68px;
  background: #eef9fd;
}

.cp-auditoria-heading {
  max-width: 940px;
  margin: 0 auto 42px;
  text-align: center;
}

.cp-auditoria-heading h2 {
  margin-bottom: 14px;
  color: var(--cp-blue);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.cp-auditoria-heading h3 {
  margin-bottom: 24px;
  color: var(--cp-blue);
  font-size: clamp(25px, 2.8vw, 36px);
  line-height: 1.14;
}

.cp-auditoria-heading p {
  margin: 0 auto 18px;
  max-width: 820px;
  font-size: 19px;
  line-height: 1.5;
}

.cp-auditoria-heading p:last-of-type {
  margin-bottom: 26px;
  font-weight: 700;
  font-style: italic;
}

.cp-auditoria-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 3px;
  background: var(--cp-blue);
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease;
}

.cp-auditoria-button:hover,
.cp-auditoria-button:focus-visible {
  background: var(--cp-blue-button);
  transform: translateY(-2px);
}

.cp-auditoria-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.cp-auditoria-card {
  min-height: 445px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 38px 30px 34px;
  border: 3px solid var(--cp-blue);
  border-radius: 20px;
  background: #f1fbff;
  box-shadow: 0 7px 15px rgba(0, 54, 83, .23);
  text-align: center;
}

.cp-auditoria-card__icon {
  width: 118px;
  height: 118px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--cp-blue);
}

.cp-auditoria-card__icon svg {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cp-auditoria-card__icon svg.is-filled {
  fill: #fff;
  stroke: none;
}

.cp-auditoria-card h3 {
  margin-bottom: 20px;
  color: var(--cp-blue);
  font-size: 28px;
  line-height: 1.08;
}

.cp-auditoria-card p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.5;
}

.cp-auditoria-deliverables {
  padding: 56px 0 58px;
  background: #fff;
}

.cp-auditoria-deliverables__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
  max-width: 1050px;
  margin-inline: auto;
}

.cp-auditoria-deliverables__copy h2 {
  margin-bottom: 28px;
  color: var(--cp-blue);
  font-size: clamp(31px, 3.3vw, 44px);
  line-height: 1.06;
  text-align: center;
}

.cp-auditoria-deliverables .cp-auditoria-checklist {
  max-width: 380px;
  margin-inline: auto;
  gap: 20px;
}

.cp-auditoria-deliverables .cp-auditoria-checklist li {
  font-size: 22px;
}

.cp-auditoria-deliverables__image {
  overflow: hidden;
}

.cp-auditoria-deliverables__image img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  object-position: center;
}

.cp-auditoria-cta {
  padding: 50px 0 54px;
  background: #eef9fd;
  text-align: center;
}

.cp-auditoria-cta h2 {
  max-width: 920px;
  margin: 0 auto 16px;
  color: var(--cp-blue);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
}

.cp-auditoria-cta h3 {
  max-width: 860px;
  margin: 0 auto 18px;
  color: var(--cp-blue);
  font-size: clamp(25px, 2.8vw, 36px);
  line-height: 1.14;
}

.cp-auditoria-cta p {
  margin: 0 auto 26px;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.5;
}

.cp-auditoria-button--cta {
  min-width: 365px;
  font-size: 19px;
}

@media (max-width: 1050px) {
  .cp-auditoria-intro__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .cp-auditoria-intro__lead {
    max-width: 780px;
  }

  .cp-auditoria-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cp-auditoria-shell {
    width: calc(100% - 38px);
  }

  .cp-auditoria-hero {
    min-height: 500px;
  }

  .cp-auditoria-hero__image {
    object-position: 54% center;
  }

  .cp-auditoria-hero__content {
    padding-top: 92px;
  }

  .cp-auditoria-hero h1 {
    font-size: 35px;
    line-height: 1.08;
  }

  .cp-auditoria-intro {
    padding: 46px 0 50px;
  }

  .cp-auditoria-intro__grid {
    gap: 36px;
  }

  .cp-auditoria-intro__lead {
    padding-left: 20px;
    border-left-width: 4px;
  }

  .cp-auditoria-intro__lead h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .cp-auditoria-intro__copy > p,
  .cp-auditoria-checklist li,
  .cp-auditoria-heading p,
  .cp-auditoria-cta p {
    font-size: 17px;
  }

  .cp-auditoria-types {
    padding: 46px 0 52px;
  }

  .cp-auditoria-heading {
    margin-bottom: 34px;
  }

  .cp-auditoria-heading h2 {
    font-size: 29px;
  }

  .cp-auditoria-heading h3 {
    font-size: 24px;
  }

  .cp-auditoria-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-auditoria-card {
    min-height: 0;
    padding: 34px 24px 36px;
    border-width: 2px;
    border-radius: 18px;
  }

  .cp-auditoria-card__icon {
    width: 105px;
    height: 105px;
    margin-bottom: 22px;
  }

  .cp-auditoria-card__icon svg {
    width: 58px;
    height: 58px;
  }

  .cp-auditoria-card h3 {
    font-size: 25px;
  }

  .cp-auditoria-card p {
    font-size: 17px;
  }

  .cp-auditoria-deliverables {
    padding: 46px 0 0;
  }

  .cp-auditoria-deliverables__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cp-auditoria-deliverables__copy h2 {
    font-size: 29px;
  }

  .cp-auditoria-deliverables .cp-auditoria-checklist li {
    font-size: 19px;
  }

  .cp-auditoria-deliverables__image {
    width: calc(100% + 38px);
    margin-left: -19px;
  }

  .cp-auditoria-deliverables__image img {
    aspect-ratio: 1.45;
  }

  .cp-auditoria-cta {
    padding: 46px 0 50px;
  }

  .cp-auditoria-cta h2 {
    font-size: 30px;
  }

  .cp-auditoria-cta h3 {
    font-size: 24px;
  }

  .cp-auditoria-button--cta {
    min-width: 0;
    width: 100%;
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .cp-auditoria-shell {
    width: calc(100% - 28px);
  }

  .cp-auditoria-hero h1 {
    font-size: 32px;
  }

  .cp-auditoria-intro__lead h2,
  .cp-auditoria-heading h2,
  .cp-auditoria-deliverables__copy h2,
  .cp-auditoria-cta h2 {
    font-size: 27px;
  }

  .cp-auditoria-card h3 {
    font-size: 24px;
  }
}

/* =========================================================
   Página Asesoría Tributaria — 0.2.21
   Contenido administrado desde Páginas > Asesoría Tributaria.
   ========================================================= */
.cp-tributaria-page {
  padding-top: 0;
  overflow: hidden;
  background: #fff;
  color: var(--cp-ink);
  font-family: inherit;
}

.cp-tributaria-page h1,
.cp-tributaria-page h2,
.cp-tributaria-page h3,
.cp-tributaria-page p,
.cp-tributaria-page ul,
.cp-tributaria-page figure {
  margin-top: 0;
}

.cp-tributaria-shell {
  width: min(calc(100% - 64px), 1400px);
  margin-inline: auto;
}

.cp-tributaria-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--cp-blue);
}

.cp-tributaria-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.cp-tributaria-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 63, 99, .50);
}

.cp-tributaria-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  padding-top: 86px;
  text-align: center;
}

.cp-tributaria-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.cp-tributaria-intro {
  padding: 60px 0 66px;
  background: #fff;
}

.cp-tributaria-intro__grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.45fr);
  gap: 74px;
  align-items: start;
}

.cp-tributaria-intro__lead {
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--cp-sky);
}

.cp-tributaria-intro__lead h2 {
  margin-bottom: 0;
  color: var(--cp-blue);
  font-size: clamp(29px, 2.55vw, 39px);
  line-height: 1.34;
}

.cp-tributaria-intro__copy > p {
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.58;
}

.cp-tributaria-checklist {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-tributaria-checklist li {
  position: relative;
  padding-left: 36px;
  font-size: 20px;
  line-height: 1.4;
}

.cp-tributaria-checklist li::before {
  content: "✓";
  position: absolute;
  top: -.07em;
  left: 0;
  color: var(--cp-blue);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
}

.cp-tributaria-services {
  padding: 58px 0 66px;
  background: #eef9fd;
}

.cp-tributaria-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.cp-tributaria-card {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 30px 34px;
  border: 3px solid var(--cp-blue);
  border-radius: 20px;
  background: #f1fbff;
  box-shadow: 0 7px 15px rgba(0, 54, 83, .23);
  text-align: center;
}

.cp-tributaria-card__icon {
  width: 118px;
  height: 118px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: var(--cp-blue);
}

.cp-tributaria-card__icon svg {
  width: 66px;
  height: 66px;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cp-tributaria-card__icon svg.is-filled {
  fill: #fff;
  stroke: none;
}

.cp-tributaria-card h3 {
  margin-bottom: 22px;
  color: var(--cp-blue);
  font-size: 28px;
  line-height: 1.12;
  text-wrap: balance;
}

.cp-tributaria-card p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.53;
}

.cp-tributaria-cta {
  padding: 58px 0 62px;
  background: #eef9fd;
  border-bottom: 3px solid var(--cp-sky);
  text-align: center;
}

.cp-tributaria-cta h2 {
  max-width: 900px;
  margin: 0 auto 16px;
  color: var(--cp-blue);
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.06;
  text-wrap: balance;
}

.cp-tributaria-cta h3 {
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--cp-blue);
  font-size: clamp(25px, 2.8vw, 36px);
  line-height: 1.12;
  text-wrap: balance;
}

.cp-tributaria-cta p {
  max-width: 840px;
  margin: 0 auto 28px;
  font-size: 19px;
  line-height: 1.5;
}

.cp-tributaria-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 4px;
  background: var(--cp-blue);
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
  transition: transform .18s ease, background-color .18s ease;
}

.cp-tributaria-button:hover,
.cp-tributaria-button:focus-visible {
  background: var(--cp-blue-button);
  transform: translateY(-2px);
}

@media (max-width: 1050px) {
  .cp-tributaria-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cp-tributaria-intro__lead {
    max-width: 800px;
  }

  .cp-tributaria-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cp-tributaria-shell {
    width: calc(100% - 38px);
  }

  .cp-tributaria-hero {
    min-height: 500px;
  }

  .cp-tributaria-hero__image {
    object-position: 58% center;
  }

  .cp-tributaria-hero__content {
    padding-top: 88px;
  }

  .cp-tributaria-hero h1 {
    font-size: 35px;
    line-height: 1.1;
  }

  .cp-tributaria-intro {
    padding: 46px 0 50px;
  }

  .cp-tributaria-intro__grid {
    gap: 34px;
  }

  .cp-tributaria-intro__lead {
    padding-left: 20px;
    border-left-width: 4px;
  }

  .cp-tributaria-intro__lead h2 {
    font-size: 28px;
    line-height: 1.23;
  }

  .cp-tributaria-intro__copy > p,
  .cp-tributaria-checklist li {
    font-size: 17px;
  }

  .cp-tributaria-checklist {
    gap: 14px;
  }

  .cp-tributaria-checklist li {
    padding-left: 32px;
  }

  .cp-tributaria-checklist li::before {
    font-size: 27px;
  }

  .cp-tributaria-services {
    padding: 46px 0 52px;
  }

  .cp-tributaria-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-tributaria-card {
    min-height: 0;
    padding: 34px 24px 36px;
    border-width: 2px;
    border-radius: 18px;
  }

  .cp-tributaria-card__icon {
    width: 105px;
    height: 105px;
    margin-bottom: 22px;
  }

  .cp-tributaria-card__icon svg {
    width: 58px;
    height: 58px;
  }

  .cp-tributaria-card h3 {
    font-size: 25px;
  }

  .cp-tributaria-card p {
    font-size: 17px;
  }

  .cp-tributaria-cta {
    padding: 46px 0 50px;
  }

  .cp-tributaria-cta h2 {
    font-size: 30px;
  }

  .cp-tributaria-cta h3 {
    font-size: 24px;
  }

  .cp-tributaria-cta p {
    font-size: 17px;
  }

  .cp-tributaria-button {
    width: 100%;
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .cp-tributaria-shell {
    width: calc(100% - 28px);
  }

  .cp-tributaria-hero h1 {
    font-size: 32px;
  }

  .cp-tributaria-intro__lead h2,
  .cp-tributaria-cta h2 {
    font-size: 27px;
  }

  .cp-tributaria-card h3 {
    font-size: 24px;
  }
}


/* =========================================================
   Navegación consolidada — 0.2.26
   En móvil, el texto Servicios navega a la página general y
   la flecha independiente abre/cierra el submenú.
   ========================================================= */
.footer-grid a {
  color: inherit;
  transition: color .18s ease, opacity .18s ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #d9f2ff;
}

@media (max-width: 980px) {
  .mobile-services-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .mobile-navigation .mobile-services-row > a {
    min-width: 0;
    border-bottom: 0;
  }

  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle {
    width: 58px;
    min-height: 52px;
    justify-content: center;
    padding: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(255,255,255,.12);
  }

  .mobile-submenu-toggle .submenu-arrow {
    width: 10px;
    height: 10px;
    margin: 0;
    top: -2px;
    transition: transform .2s ease, top .2s ease;
  }

  .mobile-submenu-toggle.is-expanded .submenu-arrow,
  .mobile-submenu-toggle[aria-expanded="true"] .submenu-arrow {
    top: 2px;
    transform: rotate(225deg);
  }

  .mobile-services-item > .mobile-submenu {
    padding: 9px 0 10px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .mobile-services-item > .mobile-submenu[hidden] {
    display: none !important;
  }

  .mobile-services-item > .mobile-submenu a {
    min-height: 44px;
    padding: 9px 0;
    border-bottom: 0;
  }
}


/* Links de interés enlazados — 0.2.27 */
.footer-interest-links a {
  display: inline;
  text-underline-offset: 3px;
}

.footer-interest-links a::after {
  content: " ↗";
  color: var(--cp-sky);
  font-size: .8em;
  opacity: .8;
}

.footer-interest-links a:hover,
.footer-interest-links a:focus-visible {
  text-decoration: underline;
}


/* =========================================================
   Cabecera y footer refinados — 0.2.28
   - Logo a la izquierda y navegación a la derecha.
   - Sin iconos de teléfono/correo en el header.
   - Servicios funciona como enlace directo, sin submenú.
   - Menú móvil alineado a la derecha.
   - Links externos sin flechas decorativas.
   ========================================================= */

.site-header__inner {
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: space-between;
}

.brand {
  justify-self: start;
}

.desktop-navigation {
  justify-self: end;
}

.footer-interest-links a::after {
  content: none;
}

.footer-interest-links a:hover,
.footer-interest-links a:focus-visible {
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .brand {
    justify-self: start;
    width: min(205px, 72vw);
  }

  .menu-toggle {
    justify-self: end;
    align-items: flex-end;
  }

  .mobile-navigation > ul {
    align-items: stretch;
  }

  .mobile-navigation a,
  .mobile-navigation button,
  .mobile-navigation > ul > li > a,
  .mobile-navigation > ul > li > button {
    justify-content: flex-end;
    text-align: right;
  }
}


/* =========================================================
   Menú de Servicios elegante — 0.2.29
   - El texto Servicios conserva su enlace a la página general.
   - Desplegable sin líneas divisorias.
   - Aparición suave con opacidad, desplazamiento y escala.
   - En móvil la flecha abre el listado de forma independiente.
   ========================================================= */

/* Escritorio */
@media (min-width: 981px) {
  .desktop-navigation .has-submenu {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: -18px;
  }

  .desktop-navigation .has-submenu > a {
    gap: 9px;
  }

  .desktop-navigation .submenu-arrow {
    width: 8px;
    height: 8px;
    top: -2px;
    border-width: 0 2px 2px 0;
    transition: transform .25s cubic-bezier(.22, .61, .36, 1), top .25s ease;
  }

  .desktop-navigation .submenu {
    top: calc(100% + 12px);
    left: auto;
    right: -20px;
    width: min(390px, 35vw);
    padding: 12px;
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(0, 76, 112, .98), rgba(0, 48, 75, .98));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    box-shadow:
      0 18px 45px rgba(0, 26, 42, .28),
      0 3px 12px rgba(0, 26, 42, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.975);
    transform-origin: top right;
    transition:
      opacity .24s ease,
      transform .28s cubic-bezier(.22, .61, .36, 1),
      visibility 0s linear .28s;
  }

  .desktop-navigation .submenu::before {
    top: -24px;
    height: 24px;
  }

  .desktop-navigation .submenu::after {
    content: "";
    position: absolute;
    top: -7px;
    right: 34px;
    width: 14px;
    height: 14px;
    background: rgba(0, 72, 107, .98);
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 1px solid rgba(255, 255, 255, .12);
    transform: rotate(45deg);
  }

  .desktop-navigation .has-submenu:hover .submenu,
  .desktop-navigation .has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .desktop-navigation .has-submenu:hover > a .submenu-arrow,
  .desktop-navigation .has-submenu:focus-within > a .submenu-arrow {
    top: 2px;
    transform: rotate(225deg);
  }

  .desktop-navigation .submenu li {
    position: relative;
    z-index: 1;
  }

  .desktop-navigation .submenu a {
    display: block;
    padding: 11px 14px;
    color: rgba(255, 255, 255, .9);
    border: 0;
    border-radius: 9px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition:
      color .18s ease,
      background-color .18s ease,
      transform .18s ease;
  }

  .desktop-navigation .submenu a:hover,
  .desktop-navigation .submenu a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .105);
    transform: translateX(-3px);
  }
}

/* Móvil y tablet */
@media (max-width: 980px) {
  .mobile-navigation {
    padding-top: 26px;
  }

  .mobile-navigation > ul {
    gap: 5px;
  }

  .mobile-navigation > ul > li {
    border: 0;
  }

  .mobile-navigation > ul > li > a,
  .mobile-navigation > ul > li > button,
  .mobile-navigation .mobile-services-row > a,
  .mobile-navigation .mobile-services-row > button {
    border: 0;
    border-radius: 10px;
  }

  .mobile-navigation > ul > li > a {
    padding: 13px 14px;
    transition: background-color .18s ease, transform .18s ease;
  }

  .mobile-navigation > ul > li > a:hover,
  .mobile-navigation > ul > li > a:focus-visible {
    background: rgba(255, 255, 255, .075);
    transform: translateX(-3px);
  }

  .mobile-services-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 4px;
    border: 0;
  }

  .mobile-navigation .mobile-services-row > a {
    min-width: 0;
    padding: 13px 14px;
    justify-content: flex-end;
    text-align: right;
  }

  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle {
    width: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    transition: background-color .18s ease;
  }

  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle:hover,
  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle:focus-visible {
    background: rgba(255, 255, 255, .12);
  }

  .mobile-submenu-toggle .submenu-arrow {
    width: 10px;
    height: 10px;
    margin: 0;
    top: -2px;
    border-width: 0 2px 2px 0;
    transition: transform .26s cubic-bezier(.22, .61, .36, 1), top .22s ease;
  }

  .mobile-submenu-toggle.is-expanded .submenu-arrow,
  .mobile-submenu-toggle[aria-expanded="true"] .submenu-arrow {
    top: 2px;
    transform: rotate(225deg);
  }

  .mobile-services-item > .mobile-submenu {
    max-height: 0;
    margin: 4px 0 3px !important;
    padding: 0 10px !important;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 39, 61, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      max-height .32s cubic-bezier(.22, .61, .36, 1),
      opacity .22s ease,
      transform .28s cubic-bezier(.22, .61, .36, 1),
      padding .28s ease;
  }

  .mobile-services-item > .mobile-submenu[hidden] {
    display: none !important;
  }

  .mobile-services-item > .mobile-submenu.is-open {
    max-height: 470px;
    padding: 8px 10px 10px !important;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-services-item > .mobile-submenu li {
    border: 0;
  }

  .mobile-services-item > .mobile-submenu a {
    min-height: 0;
    padding: 10px 12px;
    justify-content: flex-end;
    color: rgba(226, 245, 253, .94);
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.35;
    text-align: right;
    transition:
      color .18s ease,
      background-color .18s ease,
      transform .18s ease;
  }

  .mobile-services-item > .mobile-submenu a:hover,
  .mobile-services-item > .mobile-submenu a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transform: translateX(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-navigation .submenu,
  .desktop-navigation .submenu-arrow,
  .mobile-services-item > .mobile-submenu,
  .mobile-submenu-toggle .submenu-arrow {
    transition: none !important;
  }
}


/* =========================================================
   Refinamiento del menú animado — 0.2.30
   - Chevron SVG más limpio en la versión responsive.
   - Entrada escalonada de opciones principales.
   - Entrada escalonada de servicios en escritorio y móvil.
   ========================================================= */

@keyframes cp-menu-item-enter {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cp-submenu-item-enter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Servicios de escritorio: aparecen uno después de otro. */
@media (min-width: 981px) {
  .desktop-navigation .submenu > li {
    opacity: 0;
    transform: translateY(-6px);
  }

  .desktop-navigation .has-submenu:hover .submenu > li,
  .desktop-navigation .has-submenu:focus-within .submenu > li {
    animation: cp-submenu-item-enter .26s cubic-bezier(.22, .61, .36, 1) both;
  }

  .desktop-navigation .has-submenu:hover .submenu > li:nth-child(1),
  .desktop-navigation .has-submenu:focus-within .submenu > li:nth-child(1) {
    animation-delay: .035s;
  }

  .desktop-navigation .has-submenu:hover .submenu > li:nth-child(2),
  .desktop-navigation .has-submenu:focus-within .submenu > li:nth-child(2) {
    animation-delay: .075s;
  }

  .desktop-navigation .has-submenu:hover .submenu > li:nth-child(3),
  .desktop-navigation .has-submenu:focus-within .submenu > li:nth-child(3) {
    animation-delay: .115s;
  }

  .desktop-navigation .has-submenu:hover .submenu > li:nth-child(4),
  .desktop-navigation .has-submenu:focus-within .submenu > li:nth-child(4) {
    animation-delay: .155s;
  }

  .desktop-navigation .has-submenu:hover .submenu > li:nth-child(5),
  .desktop-navigation .has-submenu:focus-within .submenu > li:nth-child(5) {
    animation-delay: .195s;
  }
}

/* Menú responsive. */
@media (max-width: 980px) {
  .mobile-navigation.is-open > ul > li {
    opacity: 0;
    animation: cp-menu-item-enter .28s cubic-bezier(.22, .61, .36, 1) both;
  }

  .mobile-navigation.is-open > ul > li:nth-child(1) {
    animation-delay: .035s;
  }

  .mobile-navigation.is-open > ul > li:nth-child(2) {
    animation-delay: .085s;
  }

  .mobile-navigation.is-open > ul > li:nth-child(3) {
    animation-delay: .135s;
  }

  .mobile-navigation.is-open > ul > li:nth-child(4) {
    animation-delay: .185s;
  }

  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle {
    width: 40px;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    transition:
      background-color .18s ease,
      transform .18s ease;
  }

  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle:hover,
  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle:focus-visible {
    background: rgba(255, 255, 255, .085);
  }

  .mobile-submenu-chevron {
    width: 21px;
    height: 21px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(0deg);
    transition: transform .27s cubic-bezier(.22, .61, .36, 1);
  }

  .mobile-submenu-toggle.is-expanded .mobile-submenu-chevron,
  .mobile-submenu-toggle[aria-expanded="true"] .mobile-submenu-chevron {
    transform: rotate(180deg);
  }

  .mobile-services-item > .mobile-submenu > li {
    opacity: 0;
    transform: translateY(-6px);
  }

  .mobile-services-item > .mobile-submenu.is-open > li {
    animation: cp-submenu-item-enter .26s cubic-bezier(.22, .61, .36, 1) both;
  }

  .mobile-services-item > .mobile-submenu.is-open > li:nth-child(1) {
    animation-delay: .045s;
  }

  .mobile-services-item > .mobile-submenu.is-open > li:nth-child(2) {
    animation-delay: .085s;
  }

  .mobile-services-item > .mobile-submenu.is-open > li:nth-child(3) {
    animation-delay: .125s;
  }

  .mobile-services-item > .mobile-submenu.is-open > li:nth-child(4) {
    animation-delay: .165s;
  }

  .mobile-services-item > .mobile-submenu.is-open > li:nth-child(5) {
    animation-delay: .205s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-navigation.is-open > ul > li,
  .desktop-navigation .has-submenu:hover .submenu > li,
  .desktop-navigation .has-submenu:focus-within .submenu > li,
  .mobile-services-item > .mobile-submenu.is-open > li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .mobile-submenu-chevron {
    transition: none !important;
  }
}


/* =========================================================
   Ajuste flecha Servicios responsive — 0.2.31
   La flecha queda a la izquierda del texto y el conjunto
   permanece alineado al lado derecho del menú.
   ========================================================= */

@media (max-width: 980px) {
  .mobile-services-row {
    grid-template-columns: 40px auto;
    justify-content: end;
    gap: 5px;
  }

  .mobile-navigation .mobile-services-row > .mobile-submenu-toggle {
    order: 1;
  }

  .mobile-navigation .mobile-services-row > a {
    order: 2;
    width: auto;
    justify-self: end;
    padding-left: 7px;
    padding-right: 14px;
  }
}


/* =========================================================
   Blog Contaplus — 0.2.32
   Portada dinámica, archivos y artículos individuales.
   ========================================================= */

.cp-blog-page,
.cp-article-page {
  --cp-blog-blue: #003f63;
  --cp-blog-dark: #062b45;
  --cp-blog-sky: #2ea8e6;
  --cp-blog-soft: #eff7fb;
  --cp-blog-text: #17242d;
  --cp-blog-muted: #66757f;
  color: var(--cp-blog-text);
  background: #fff;
}

.cp-blog-shell,
.cp-article-shell {
  width: min(calc(100% - 64px), 1320px);
  margin-inline: auto;
}

.cp-blog-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--cp-header-height) + 92px) 0 84px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 24%, rgba(46, 168, 230, .2), transparent 29%),
    radial-gradient(circle at 86% 78%, rgba(46, 168, 230, .13), transparent 32%),
    linear-gradient(135deg, #062b45 0%, #003f63 58%, #05283e 100%);
}

.cp-blog-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -150px;
  bottom: -245px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.cp-blog-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: center;
}

.cp-blog-eyebrow {
  margin: 0 0 10px;
  color: var(--cp-blog-sky);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cp-blog-hero .cp-blog-eyebrow {
  color: #bdeaff;
}

.cp-blog-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -.025em;
}

.cp-blog-hero__lead {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.cp-blog-topics {
  background: #fff;
  border-bottom: 1px solid rgba(0, 63, 99, .1);
}

.cp-blog-topics__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cp-blog-topics__inner::-webkit-scrollbar {
  display: none;
}

.cp-blog-topic {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--cp-blog-blue);
  background: var(--cp-blog-soft);
  border: 1px solid rgba(0, 63, 99, .1);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .18s ease, color .18s ease, background-color .18s ease;
}

.cp-blog-topic:hover,
.cp-blog-topic:focus-visible,
.cp-blog-topic.is-active {
  color: #fff;
  background: var(--cp-blog-blue);
  transform: translateY(-1px);
}

.cp-blog-content {
  padding: 72px 0 88px;
  background: var(--cp-blog-soft);
}

.cp-blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  overflow: hidden;
  margin-bottom: 76px;
  background: #fff;
  border: 1px solid rgba(0, 63, 99, .1);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 54, 82, .12);
}

.cp-blog-featured__media,
.cp-blog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeef7, #eef8fc);
}

.cp-blog-featured__media {
  min-height: 430px;
}

.cp-blog-featured__media > img,
.cp-blog-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.cp-blog-featured:hover .cp-blog-featured__media > img,
.cp-blog-card:hover .cp-blog-card__media > img {
  transform: scale(1.035);
}

.cp-blog-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 28%, rgba(46, 168, 230, .18), transparent 28%),
    linear-gradient(135deg, #dceef7, #f6fbfd);
}

.cp-blog-placeholder::before,
.cp-blog-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 63, 99, .1);
  border-radius: 50%;
}

.cp-blog-placeholder::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -70px;
}

.cp-blog-placeholder::after {
  width: 180px;
  height: 180px;
  left: -75px;
  bottom: -90px;
}

.cp-blog-placeholder img {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  object-fit: contain;
  opacity: .76;
}

.cp-blog-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 50px;
}

.cp-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--cp-blog-muted);
  font-size: 13px;
  line-height: 1.35;
}

.cp-blog-category {
  color: var(--cp-blog-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.cp-blog-featured h2,
.cp-blog-card h3 {
  color: var(--cp-blog-dark);
}

.cp-blog-featured h2 {
  margin: 18px 0 18px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.cp-blog-featured__body > p {
  margin: 0 0 24px;
  color: #52616b;
  font-size: 17px;
  line-height: 1.7;
}

.cp-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  color: var(--cp-blog-blue);
  font-size: 15px;
  font-weight: 800;
}

.cp-blog-read-more span {
  transition: transform .18s ease;
}

.cp-blog-read-more:hover span,
.cp-blog-read-more:focus-visible span {
  transform: translateX(4px);
}

.cp-blog-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.cp-blog-section-head h2 {
  margin: 0;
  color: var(--cp-blog-dark);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}

.cp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.cp-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(0, 63, 99, .1);
  border-radius: 17px;
  box-shadow: 0 10px 26px rgba(0, 54, 82, .075);
  transition: transform .22s ease, box-shadow .22s ease;
}

.cp-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(0, 54, 82, .12);
}

.cp-blog-card__media {
  aspect-ratio: 16 / 9;
}

.cp-blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 24px 24px;
}

.cp-blog-card h3 {
  margin: 15px 0 13px;
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -.012em;
}

.cp-blog-card__body > p {
  margin: 0 0 22px;
  color: #5c6b74;
  font-size: 15px;
  line-height: 1.65;
}

.cp-blog-card .cp-blog-read-more {
  margin-top: auto;
}

.cp-blog-pagination {
  margin-top: 48px;
}

.cp-blog-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-blog-pagination a,
.cp-blog-pagination span {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 7px 11px;
  color: var(--cp-blog-blue);
  background: #fff;
  border: 1px solid rgba(0, 63, 99, .13);
  border-radius: 9px;
  font-weight: 700;
}

.cp-blog-pagination .current,
.cp-blog-pagination a:hover,
.cp-blog-pagination a:focus-visible {
  color: #fff;
  background: var(--cp-blog-blue);
}

.cp-blog-empty {
  padding: 60px 30px;
  background: #fff;
  border-radius: 17px;
  text-align: center;
}

.cp-blog-cta {
  padding: 0 0 88px;
  background: var(--cp-blog-soft);
}

.cp-blog-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 44px 48px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(46, 168, 230, .2), transparent 30%),
    linear-gradient(135deg, var(--cp-blog-dark), var(--cp-blog-blue));
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(0, 54, 82, .16);
}

.cp-blog-cta__box h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.13;
}

.cp-blog-cta__box p:not(.cp-blog-eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 16px;
  line-height: 1.6;
}

.cp-blog-cta__box > a {
  flex: 0 0 auto;
  padding: 14px 22px;
  color: var(--cp-blog-blue);
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .18s ease;
}

.cp-blog-cta__box > a:hover,
.cp-blog-cta__box > a:focus-visible {
  transform: translateY(-2px);
}

/* Artículo individual */

.cp-article-hero {
  padding: calc(var(--cp-header-height) + 88px) 0 74px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(46, 168, 230, .17), transparent 31%),
    linear-gradient(135deg, var(--cp-blog-dark), var(--cp-blog-blue));
}

.cp-article-hero__inner {
  max-width: 980px;
}

.cp-article-back {
  display: inline-block;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 700;
}

.cp-article-hero .cp-blog-meta {
  color: rgba(255, 255, 255, .73);
}

.cp-article-hero .cp-blog-category {
  color: #bdeaff;
}

.cp-article-hero h1 {
  max-width: 980px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.cp-article-hero__excerpt {
  max-width: 800px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  line-height: 1.6;
}

.cp-article-featured {
  overflow: hidden;
  max-width: 1180px;
  margin-top: 58px;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 54, 82, .15);
}

.cp-article-featured img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.cp-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(270px, 340px);
  justify-content: center;
  gap: 70px;
  padding-top: 68px;
  padding-bottom: 68px;
}

.cp-article-content {
  min-width: 0;
  color: #2f3d46;
  font-size: 18px;
  line-height: 1.78;
}

.cp-article-content h2,
.cp-article-content h3,
.cp-article-content h4 {
  color: var(--cp-blog-dark);
  line-height: 1.25;
}

.cp-article-content h2 {
  margin-top: 42px;
  font-size: 34px;
}

.cp-article-content h3 {
  margin-top: 32px;
  font-size: 27px;
}

.cp-article-content a {
  color: var(--cp-blog-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cp-article-content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  color: var(--cp-blog-dark);
  background: var(--cp-blog-soft);
  border-left: 4px solid var(--cp-blog-sky);
  border-radius: 0 12px 12px 0;
}

.cp-article-content img {
  margin: 30px auto;
  border-radius: 12px;
}

.cp-article-aside__box {
  position: sticky;
  top: calc(var(--cp-header-height) + 30px);
  padding: 28px;
  color: #fff;
  background: linear-gradient(145deg, var(--cp-blog-dark), var(--cp-blog-blue));
  border-radius: 17px;
}

.cp-article-aside__box h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
}

.cp-article-aside__box p:not(.cp-blog-eyebrow) {
  margin: 0 0 21px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.55;
}

.cp-article-aside__box a {
  display: inline-flex;
  padding: 12px 17px;
  color: var(--cp-blog-blue);
  background: #fff;
  border-radius: 7px;
  font-weight: 800;
}

.cp-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(0, 63, 99, .12);
}

.cp-article-tags a {
  padding: 7px 12px;
  color: var(--cp-blog-blue);
  background: var(--cp-blog-soft);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}

.cp-article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 74px;
}

.cp-article-navigation > div:last-child {
  text-align: right;
}

.cp-article-navigation a {
  color: var(--cp-blog-blue);
  font-weight: 800;
}

.cp-article-related {
  padding: 72px 0 88px;
  background: var(--cp-blog-soft);
}

@media (max-width: 1120px) {
  .cp-blog-featured {
    grid-template-columns: 1fr 1fr;
  }

  .cp-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cp-article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .cp-article-aside__box {
    position: static;
  }
}

@media (max-width: 767px) {
  .cp-blog-shell,
  .cp-article-shell {
    width: min(calc(100% - 34px), 680px);
  }

  .cp-blog-hero {
    padding: calc(var(--cp-header-height) + 62px) 0 62px;
  }

  .cp-blog-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .cp-blog-topics__inner {
    width: 100%;
    justify-content: flex-start;
    padding: 0 17px;
  }

  .cp-blog-content {
    padding: 48px 0 66px;
  }

  .cp-blog-featured {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
    border-radius: 17px;
  }

  .cp-blog-featured__media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .cp-blog-featured__body {
    padding: 28px 23px 30px;
  }

  .cp-blog-featured h2 {
    font-size: 30px;
  }

  .cp-blog-featured__body > p {
    font-size: 16px;
  }

  .cp-blog-section-head h2 {
    font-size: 35px;
  }

  .cp-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-blog-card h3 {
    font-size: 22px;
  }

  .cp-blog-cta {
    padding-bottom: 66px;
  }

  .cp-blog-cta__box {
    align-items: stretch;
    flex-direction: column;
    padding: 34px 24px;
    border-radius: 17px;
  }

  .cp-blog-cta__box > a {
    text-align: center;
  }

  .cp-article-hero {
    padding: calc(var(--cp-header-height) + 56px) 0 58px;
  }

  .cp-article-hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .cp-article-featured {
    width: calc(100% - 34px);
    margin-top: 34px;
    border-radius: 14px;
  }

  .cp-article-layout {
    gap: 40px;
    padding-top: 45px;
    padding-bottom: 50px;
  }

  .cp-article-content {
    font-size: 17px;
    line-height: 1.72;
  }

  .cp-article-content h2 {
    font-size: 29px;
  }

  .cp-article-content h3 {
    font-size: 24px;
  }

  .cp-article-navigation {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 58px;
  }

  .cp-article-navigation > div:last-child {
    text-align: left;
  }

  .cp-article-related {
    padding: 56px 0 66px;
  }
}


/* =========================================================
   Blog Contaplus — lista única de noticias — 0.2.33
   ========================================================= */

.cp-blog-content--single-list {
  padding-top: 68px;
}

.cp-blog-section-head--single-list {
  max-width: 850px;
  margin-bottom: 34px;
}

.cp-blog-section-head__lead {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--cp-blog-muted);
  font-size: 17px;
  line-height: 1.65;
}

.cp-blog-list {
  display: grid;
  gap: 24px;
}

.cp-blog-list-card {
  display: grid;
  grid-template-columns: minmax(310px, 38%) minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 63, 99, .1);
  border-radius: 19px;
  box-shadow: 0 11px 30px rgba(0, 54, 82, .075);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.cp-blog-list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 63, 99, .18);
  box-shadow: 0 17px 40px rgba(0, 54, 82, .12);
}

.cp-blog-list-card__media {
  position: relative;
  display: block;
  min-height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeef7, #eef8fc);
}

.cp-blog-list-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.cp-blog-list-card:hover .cp-blog-list-card__media > img {
  transform: scale(1.035);
}

.cp-blog-list-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 42px;
}

.cp-blog-list-card__body h2 {
  margin: 17px 0 15px;
  color: var(--cp-blog-dark);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.14;
  letter-spacing: -.018em;
}

.cp-blog-list-card__body > p {
  max-width: 760px;
  margin: 0 0 22px;
  color: #596871;
  font-size: 16px;
  line-height: 1.7;
}

.cp-blog-list-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 38%);
}

.cp-blog-list-card:nth-child(even) .cp-blog-list-card__media {
  order: 2;
}

.cp-blog-list-card:nth-child(even) .cp-blog-list-card__body {
  order: 1;
}

@media (max-width: 900px) {
  .cp-blog-list-card,
  .cp-blog-list-card:nth-child(even) {
    grid-template-columns: minmax(250px, 38%) minmax(0, 1fr);
  }

  .cp-blog-list-card:nth-child(even) .cp-blog-list-card__media,
  .cp-blog-list-card:nth-child(even) .cp-blog-list-card__body {
    order: initial;
  }

  .cp-blog-list-card__body {
    padding: 30px 28px;
  }
}

@media (max-width: 767px) {
  .cp-blog-content--single-list {
    padding-top: 48px;
  }

  .cp-blog-section-head--single-list {
    margin-bottom: 27px;
  }

  .cp-blog-section-head__lead {
    font-size: 16px;
  }

  .cp-blog-list {
    gap: 20px;
  }

  .cp-blog-list-card,
  .cp-blog-list-card:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 16px;
  }

  .cp-blog-list-card__media,
  .cp-blog-list-card:nth-child(even) .cp-blog-list-card__media {
    order: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .cp-blog-list-card__body,
  .cp-blog-list-card:nth-child(even) .cp-blog-list-card__body {
    order: 2;
    padding: 25px 22px 27px;
  }

  .cp-blog-list-card__body h2 {
    margin-top: 14px;
    font-size: 27px;
  }

  .cp-blog-list-card__body > p {
    font-size: 15.5px;
  }
}


/* =========================================================
   Correcciones de Noticias — 0.2.34
   ========================================================= */

.cp-blog-list-card--no-image,
.cp-blog-list-card--no-image:nth-child(even) {
  position: relative;
  grid-template-columns: 1fr;
  min-height: 0;
}

.cp-blog-list-card--no-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cp-blog-sky), var(--cp-blog-blue));
}

.cp-blog-list-card--no-image .cp-blog-list-card__body,
.cp-blog-list-card--no-image:nth-child(even) .cp-blog-list-card__body {
  order: initial;
  padding: 40px 48px 42px 52px;
}

.cp-blog-list-card--no-image .cp-blog-list-card__body h2 {
  max-width: 1000px;
}

.cp-blog-list-card--no-image .cp-blog-list-card__body > p {
  max-width: 980px;
}

@media (max-width: 767px) {
  .cp-blog-list-card--no-image .cp-blog-list-card__body,
  .cp-blog-list-card--no-image:nth-child(even) .cp-blog-list-card__body {
    padding: 27px 22px 29px 27px;
  }

  .cp-blog-list-card--no-image::before {
    width: 5px;
  }
}


/* =========================================================
   Botones de llamada a la acción dentro de las noticias
   ========================================================= */

.cp-article-content .wp-block-button__link,
.cp-article-content .wp-element-button,
.cp-article-content a.button,
.cp-article-content a.btn,
.cp-article-content a[class*="cta"],
.cp-article-content a[style*="background-color"],
.cp-article-content a[style*="background:"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 15px 24px;
  color: #fff !important;
  background: #00496b !important;
  border-color: #00496b !important;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.cp-article-content .wp-block-button__link:hover,
.cp-article-content .wp-block-button__link:focus-visible,
.cp-article-content .wp-element-button:hover,
.cp-article-content .wp-element-button:focus-visible,
.cp-article-content a.button:hover,
.cp-article-content a.button:focus-visible,
.cp-article-content a.btn:hover,
.cp-article-content a.btn:focus-visible,
.cp-article-content a[class*="cta"]:hover,
.cp-article-content a[class*="cta"]:focus-visible,
.cp-article-content a[style*="background-color"]:hover,
.cp-article-content a[style*="background-color"]:focus-visible,
.cp-article-content a[style*="background:"]:hover,
.cp-article-content a[style*="background:"]:focus-visible {
  color: #fff !important;
  background: #003653 !important;
  border-color: #003653 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 54, 83, .18);
}

@media (max-width: 767px) {
  .cp-article-content .wp-block-button,
  .cp-article-content .wp-block-button__link,
  .cp-article-content .wp-element-button,
  .cp-article-content a.button,
  .cp-article-content a.btn,
  .cp-article-content a[class*="cta"],
  .cp-article-content a[style*="background-color"],
  .cp-article-content a[style*="background:"] {
    width: 100%;
  }
}


/* =========================================================
   Cabeceras interiores uniformes — 0.2.36
   Base visual: cabecera de la página Nosotros.
   ========================================================= */

/*
 * Altura común en escritorio y tablet.
 * Se utiliza !important porque algunas páginas incluyen estilos
 * propios dentro de su contenido de WordPress.
 */
.cp-nosotros-hero,
.cp-servicios-hero,
.cp-auditoria-hero,
.cp-contables-hero,
.cp-tributaria-hero,
.cp-laboral-hero,
.cp-apr-hero,
.cp-contact-hero,
.cp-faq-hero,
.cp-blog-hero {
  width: 100% !important;
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  box-sizing: border-box !important;
}

/*
 * Las páginas con contenido más amplio en la cabecera conservan
 * todo su contenido dentro de la altura común.
 */
.cp-laboral-hero__content,
.cp-apr-hero__content,
.cp-contact-hero__content,
.cp-faq-hero__content {
  box-sizing: border-box !important;
  max-height: 100% !important;
  padding-top: 92px !important;
  padding-bottom: 24px !important;
}

/* Portada de Noticias: convierte el padding anterior en una altura fija. */
.cp-blog-hero {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
}

.cp-blog-hero__inner {
  box-sizing: border-box !important;
  padding-top: 82px !important;
  padding-bottom: 22px !important;
}

/* Ajuste de títulos extensos para que no aumenten la altura del hero. */
.cp-laboral-hero h1,
.cp-apr-hero h1,
.cp-contact-hero h1,
.cp-faq-hero h1,
.cp-blog-hero h1 {
  margin-top: 0 !important;
}

/* Móvil: misma referencia utilizada actualmente por Nosotros. */
@media (max-width: 760px) {
  .cp-nosotros-hero,
  .cp-servicios-hero,
  .cp-auditoria-hero,
  .cp-contables-hero,
  .cp-tributaria-hero,
  .cp-laboral-hero,
  .cp-apr-hero,
  .cp-contact-hero,
  .cp-faq-hero,
  .cp-blog-hero {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
  }

  .cp-laboral-hero__content,
  .cp-apr-hero__content,
  .cp-contact-hero__content,
  .cp-faq-hero__content {
    width: min(100% - 34px, 720px) !important;
    padding: 82px 0 20px !important;
  }

  .cp-blog-hero__inner {
    padding: 78px 0 20px !important;
  }

  .cp-contact-hero h1 {
    margin-bottom: 18px !important;
  }

  .cp-contact-data {
    gap: 9px !important;
  }

  .cp-faq-hero__eyebrow {
    margin-bottom: 11px !important;
  }

  .cp-faq-hero h1 {
    margin-bottom: 12px !important;
  }

  .cp-faq-hero p {
    line-height: 1.48 !important;
  }
}

@media (max-width: 420px) {
  .cp-nosotros-hero,
  .cp-servicios-hero,
  .cp-auditoria-hero,
  .cp-contables-hero,
  .cp-tributaria-hero,
  .cp-laboral-hero,
  .cp-apr-hero,
  .cp-contact-hero,
  .cp-faq-hero,
  .cp-blog-hero {
    height: 395px !important;
    min-height: 395px !important;
    max-height: 395px !important;
  }

  .cp-laboral-hero__content,
  .cp-apr-hero__content,
  .cp-contact-hero__content,
  .cp-faq-hero__content {
    padding-top: 72px !important;
    padding-bottom: 16px !important;
  }

  .cp-blog-hero__inner {
    padding-top: 68px !important;
    padding-bottom: 16px !important;
  }

  .cp-contact-hero h1 {
    font-size: 38px !important;
  }

  .cp-contact-data__item,
  .cp-contact-data__item--address {
    font-size: 14px !important;
  }

  .cp-faq-hero h1 {
    font-size: 39px !important;
  }

  .cp-faq-hero p,
  .cp-blog-hero__lead {
    font-size: 15px !important;
  }

  .cp-blog-hero h1 {
    font-size: 43px !important;
  }
}


/* =========================================================
   Cabecera de Inicio uniforme — 0.2.37
   Misma altura utilizada por la cabecera de Nosotros.
   ========================================================= */

.hero {
  width: 100% !important;
  height: 430px !important;
  min-height: 430px !important;
  max-height: 430px !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.hero__content {
  box-sizing: border-box !important;
  padding-top: 88px !important;
  padding-bottom: 18px !important;
}

.hero__eyebrow {
  margin-bottom: 6px !important;
}

.hero h1 {
  margin-bottom: 18px !important;
}

@media (max-width: 760px) {
  .hero {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    align-items: center !important;
  }

  .hero__content {
    padding-top: 70px !important;
    padding-bottom: 14px !important;
  }

  .hero h1 {
    font-size: clamp(33px, 8vw, 42px) !important;
  }
}

@media (max-width: 420px) {
  .hero {
    height: 395px !important;
    min-height: 395px !important;
    max-height: 395px !important;
  }

  .hero__content {
    padding-top: 54px !important;
    padding-bottom: 10px !important;
  }

  .hero__eyebrow {
    font-size: 13px !important;
  }

  .hero h1 {
    margin-bottom: 16px !important;
    font-size: clamp(30px, 8.7vw, 35px) !important;
  }

  .hero .button--primary {
    min-height: 45px !important;
  }
}


/* =========================================================
   Unión uniforme entre contenido y footer — 0.2.38
   ========================================================= */

.page-code-content {
  margin: 0 !important;
  padding: 0 !important;
}

.page-code-content > :last-child {
  margin-bottom: 0 !important;
}

.page-code-content > p:empty,
.page-code-content > p:last-child:has(> br:only-child),
.page-code-content > br:last-child {
  display: none !important;
}

.page-code-content [class$="-page"],
.page-code-content [class$="-cta"] {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

.site-footer {
  margin-top: 0 !important;
  border-top: 3px solid var(--cp-sky) !important;
}


/* =========================================================
   Tipografía uniforme para Noticias y artículos — 0.2.39
   Misma escala visual utilizada en Inicio y Nosotros.
   ========================================================= */

/* Portada de Noticias */
.cp-blog-hero h1 {
  font-size: 45px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.cp-blog-hero__lead {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.cp-blog-section-head h2,
.cp-blog-cta__box h2 {
  font-size: 34px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

.cp-blog-section-head__lead,
.cp-blog-cta__box p:not(.cp-blog-eyebrow) {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.cp-blog-list-card__body h2 {
  font-size: 27px !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

.cp-blog-list-card__body > p {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.cp-blog-card h3 {
  font-size: 23px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.cp-blog-card__body > p {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Artículos individuales */
.cp-article-hero h1 {
  font-size: 45px !important;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
}

.cp-article-hero__excerpt {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.cp-article-content,
.cp-article-content p,
.cp-article-content li {
  font-size: 17px !important;
  line-height: 1.65 !important;
}

.cp-article-content h2 {
  font-size: 34px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

.cp-article-content h3 {
  font-size: 27px !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

.cp-article-content h4 {
  font-size: 23px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.cp-article-content blockquote,
.cp-article-content blockquote p {
  font-size: 17px !important;
  line-height: 1.6 !important;
}

.cp-article-aside__box h2 {
  font-size: 23px !important;
  line-height: 1.15 !important;
}

.cp-article-aside__box p:not(.cp-blog-eyebrow) {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

@media (max-width: 980px) {
  .cp-blog-hero h1,
  .cp-article-hero h1 {
    font-size: 42px !important;
  }
}

@media (max-width: 760px) {
  .cp-blog-hero h1,
  .cp-article-hero h1 {
    font-size: 35px !important;
    line-height: 1.02 !important;
  }

  .cp-blog-section-head h2,
  .cp-blog-cta__box h2,
  .cp-article-content h2 {
    font-size: 27px !important;
    line-height: 1.04 !important;
  }

  .cp-blog-list-card__body h2 {
    font-size: 23px !important;
    line-height: 1.12 !important;
  }

  .cp-article-content h3 {
    font-size: 24px !important;
  }

  .cp-article-content h4,
  .cp-article-aside__box h2 {
    font-size: 21px !important;
  }

  .cp-blog-hero__lead,
  .cp-blog-section-head__lead,
  .cp-blog-cta__box p:not(.cp-blog-eyebrow),
  .cp-article-hero__excerpt,
  .cp-article-content,
  .cp-article-content p,
  .cp-article-content li {
    font-size: 17px !important;
  }
}

@media (max-width: 420px) {
  .cp-blog-hero h1,
  .cp-article-hero h1 {
    font-size: 32px !important;
  }
}


