/* Cabecera y pie basados en la referencia de Refrival. */
header { background: rgb(17 67 94 / 97%); }
header .bar { width: min(100%, 1498px); min-height: 75px; padding: 0 17px; }
header .brand img { display: block; width: 188px; height: auto; }
header nav { gap: clamp(22px, 2vw, 40px); min-height: 75px; font-size: 18px; font-weight: 700; }
header nav > a, header .nav-group > a { position: relative; text-decoration: none; padding-block: 10px; }
header .nav-group { min-height: 75px; }
header nav :is(a:hover, a[aria-current="page"]), header .nav-group:has(.nav-flyout:not([hidden])) > a { color: #a9d0df; }
header nav > a::after, header .nav-group > a::after { content: ''; position: absolute; bottom: 2px; height: 3px; left: 0; right: 0; background: currentColor; opacity: 0; }
header nav > a:is(:hover,[aria-current="page"])::after, header .nav-group:has(.nav-flyout:not([hidden])) > a::after, header .nav-group > a[aria-current="page"]::after { opacity: 1; }
header .sub-toggle { min-width: 24px; width: 24px; margin-right: -9px; opacity: 0; }
header .sub-toggle:focus-visible { opacity: 1; }
header .nav-flyout { width: 350px; left: -22px; border: 0; background: #0d4059; color: #b3cbd7; box-shadow: none; }
header .nav-flyout a { padding: 18px 38px; font-size: 20px; font-weight: 400; min-height: 63px; }
header .nav-flyout a + a { border-color: #ffffff2e; }
header .nav-flyout a:is(:hover,:focus-visible,[aria-current="page"]) { background: #10506f; color: white; }
header .search-toggle { display: grid; place-items: center; border: 0; color: white; background: transparent; padding: 6px; }
header svg { display: block; width: 25px; height: 25px; }
header #search { display: none; position: absolute; top: 100%; right: 14px; width: min(330px, calc(100vw - 32px)); margin: 0; }
header #search.is-open { display: flex; }
header #search input { flex: 1; width: 100%; padding: 11px 12px; font-weight: 400; }
header #results { top: calc(100% + 52px); right: 14px; }
header .hamburger { display: block; width: 23px; height: 16px; border-block: 2px solid currentColor; position: relative; }
header .hamburger::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; border-top: 2px solid currentColor; }

.site-footer { color: white; }
.social-strip { min-height: 78px; background: #dedede; color: #465f6e; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3.5vw, 64px); padding: 12px 24px; }
.social-strip p { margin: 0; font-size: 20px; }
.social-links { display: flex; gap: 24px; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; background: #4a5157; transition: background-color .2s; }
.social-links a:hover { background: #0b4260; }
.social-links img { display: block; }
.footer-body { background: linear-gradient(105deg,#007b9e 0%,#005574 56%,#004867 100%); padding: 70px 3.15% 10px; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: center; }
.footer-brand { width: min(100%, 410px); margin-left: 12px; }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-legal, .footer-services { display: grid; gap: 3px; font-size: 20px; }
.footer-services { text-align: right; }
.footer-columns a { text-decoration: none; }
.footer-columns a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: clamp(42px, 4.5vw, 85px); gap: 18px; }
.footer-bottom small { font-size: 18px; font-style: italic; font-weight: 300; }
.cookie-toggle { display: inline-flex; align-items: center; gap: 12px; color: white; background: #003c58a0; border: 0; border-radius: 6px; padding: 12px 22px; font-size: 16px; }
.cookie-toggle:hover { background: #00344e; }
.cookie-toggle span { font-size: 23px; line-height: 1; }
#cookie-settings h2 { font-size: 24px; letter-spacing: 0; text-transform: none; }

@media(max-width:950px) {
 header .bar { min-height: 72px; padding-inline: 23px; }
 header .toggle { border: 0; color: white; }
 header nav { min-height: 0; font-size: 16px; font-weight: 400; }
 header nav > a { padding: 14px 24px; }
 header .nav-group { min-height: 0; }
 header .nav-group > a { padding-block: 14px; }
 header .sub-toggle { min-width: 36px; opacity: 1; }
 header .nav-flyout { width: auto; }
 header .nav-flyout a { min-height: 0; padding: 13px 17px; font-size: 16px; }
 header .search-toggle { display: none; }
 header #search { display:flex; position:static; width:auto; margin: 14px 24px; }
 .footer-body { padding: 44px 24px 18px; }
 .footer-brand { margin-left: 0; }
 .footer-columns { grid-template-columns: 1fr 1fr; align-items: start; }
 .footer-brand { grid-column: 1/-1; max-width: 300px; margin-bottom: 8px; }
 .footer-legal,.footer-services { text-align: left; font-size: 16px; gap: 8px; }
}
@media(max-width:455px) {
 .social-strip { justify-content: space-between; gap: 14px; }
 .social-strip p { font-size: 16px; }
 .social-links { gap: 12px; }
 .footer-columns { grid-template-columns: 1fr; gap: 16px; }
 .footer-brand { width: min(80%, 275px); }
 .footer-bottom { flex-wrap: wrap; margin-top: 30px; }
}
