:root {
    --p-blue: #405078;
    --p-navy: #112844;
    --p-ink: #10253d;
    --p-muted: #56677c;
    --p-border: #e1e7ee;
    --p-paper: #fff;
    --p-font: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--p-ink); font: 400 16px/1.55 var(--p-font); overflow-wrap: break-word; }
button, input, textarea, select { font: inherit; font-size: max(16px, 1rem); }
a { color: inherit; }
button, a, select, input, textarea { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #317fd1; outline-offset: 3px; }
.perfodom-skip-link { position: fixed; inset: 8px auto auto 8px; z-index: 9999; background: var(--p-navy); color: #fff; padding: 14px 18px; transform: translateY(-150%); }
.perfodom-skip-link:focus { transform: translateY(0); }
.perfodom-header { position: relative; z-index: 100; background: var(--p-paper); border-bottom: 1px solid var(--p-border); }
.perfodom-header__inner { width: min(calc(100% - 48px), 1280px); margin-inline: auto; min-height: 104px; display: flex; gap: clamp(15px, 2vw, 28px); align-items: center; justify-content: space-between; }
.perfodom-brand { display: block; flex: 0 0 auto; text-decoration: none; width: 184px; }
.perfodom-brand__image { display: block; width: 100%; height: auto; object-fit: contain; }
.perfodom-header__desktop { min-width: 0; margin-left: auto; }
.perfodom-nav--desktop .perfodom-menu { display: flex; align-items: center; column-gap: clamp(12px, 1.55vw, 24px); }
.perfodom-menu, .perfodom-submenu { margin: 0; padding: 0; list-style: none; }
.perfodom-menu__item { position: relative; }
.perfodom-menu__primary { display: flex; align-items: center; }
.perfodom-menu__link { display: inline-flex; align-items: center; padding-block: 14px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; line-height: 1.45; }
.perfodom-menu__link:hover, .perfodom-menu__item.is-current > .perfodom-menu__primary .perfodom-menu__link, .perfodom-submenu a:hover { color: var(--p-blue); }
.perfodom-menu__item.is-current > .perfodom-menu__primary .perfodom-menu__link { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.perfodom-nav--desktop .perfodom-submenu { position: absolute; z-index: 200; inset: calc(100% + 3px) auto auto -18px; width: 320px; padding: 9px; background: #fff; box-shadow: 0 18px 42px rgba(17,40,68,.14); border: 1px solid var(--p-border); }
.perfodom-submenu a { display: block; padding: 12px 13px; font-size: 15px; line-height: 1.5; text-decoration: none; border-radius: 2px; }
.perfodom-submenu a:hover, .perfodom-submenu a:focus-visible { background: #f0f3f8; }
.perfodom-header__cta { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 11px; min-height: 47px; padding: 9px 18px; color: #fff; background: var(--p-blue); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .18s ease; }
.perfodom-header__cta:hover { background: var(--p-navy); }
.perfodom-mobile-trigger { display: none; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; background: #fff; color: var(--p-ink); border: 1px solid var(--p-border); }
.perfodom-mobile-panel { display: none; }
.perfodom-mobile-backdrop { position: fixed; z-index: 270; inset: 0; background: rgba(5,17,32,.52); }
body.perfodom-nav-open { overflow: hidden; }
.perfodom-main { min-height: 60vh; }
.perfodom-content-shell { width: min(calc(100% - 48px), 1280px); margin: 0 auto; padding: 72px 0; }
.perfodom-content-shell h1 { max-width: 900px; margin: 0; font-size: clamp(32px,5vw,56px); line-height: 1.15; letter-spacing: -.035em; }
.perfodom-page-body { max-width: 76ch; margin-top: 32px; font-size: 16px; }
.perfodom-page-body p { margin: 0 0 1em; }
@media (max-width: 1199px) {
    .perfodom-header__inner { width: min(calc(100% - 36px), 1280px); min-height: 88px; }
    .perfodom-brand { width: 155px; }
    .perfodom-header__desktop, .perfodom-header__cta { display: none; }
    .perfodom-mobile-trigger { display: inline-flex; margin-left: auto; }
    .perfodom-mobile-panel:not([hidden]) { display: flex; }
    .perfodom-mobile-panel { position: fixed; z-index: 280; inset: 0 0 0 auto; width: min(100%, 410px); height: 100dvh; height: 100vh; height: 100dvh; flex-direction: column; background: #fff; box-shadow: -15px 0 40px rgba(5,17,32,.14); overflow-y: auto; overscroll-behavior: contain; padding: 24px 25px max(24px,env(safe-area-inset-bottom)); }
    .perfodom-mobile-panel__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--p-border); }
    .perfodom-mobile-panel__title { font-size: 23px; line-height: 1.2; }
    .perfodom-mobile-close { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--p-border); background: #fff; }
    .perfodom-nav--mobile .perfodom-menu__item { border-bottom: 1px solid var(--p-border); }
    .perfodom-nav--mobile .perfodom-menu__primary { justify-content: space-between; min-height: 57px; }
    .perfodom-nav--mobile .perfodom-menu__link { display: flex; flex: 1 1 auto; white-space: normal; padding: 14px 0; font-size: 17px; }
    .perfodom-nav--mobile .perfodom-submenu { position: static; padding: 0 0 13px 16px; margin: -2px 0 0; border-left: 2px solid #c9d4e0; }
    .perfodom-nav--mobile .perfodom-submenu a { font-size: 16px; padding: 12px 8px; white-space: normal; }
    .perfodom-mobile-panel__cta { margin-top: 25px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 17px; background: var(--p-blue); color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; }
}
@media (max-width: 375px) {
    .perfodom-header__inner { width: calc(100% - 28px); min-height: 82px; }
    .perfodom-brand { width: 142px; }
    .perfodom-mobile-panel { padding-left: 18px; padding-right: 18px; }
    .perfodom-content-shell { width: calc(100% - 32px); padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* v1.0.1: el texto completo de cada sección padre, junto con el chevron,
   constituye un único control. La URL general aparece dentro del submenu. */
.perfodom-menu__trigger {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 13px 0;
    border: 0;
    background: transparent;
    color: var(--p-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
    cursor: pointer;
    transition: color 180ms ease;
}
.perfodom-menu__trigger:hover,
.perfodom-menu__trigger[aria-expanded="true"],
.perfodom-menu__item.is-current > .perfodom-menu__primary .perfodom-menu__trigger {
    color: var(--p-blue);
}
.perfodom-menu__chevron {
    flex: 0 0 17px;
    transition: transform 200ms cubic-bezier(.2, .75, .3, 1);
}
.perfodom-menu__trigger[aria-expanded="true"] .perfodom-menu__chevron {
    transform: rotate(180deg);
}
.perfodom-nav--desktop .perfodom-submenu__overview {
    border-bottom: 1px solid var(--p-border);
    margin-bottom: 6px;
    padding-bottom: 6px;
}
.perfodom-submenu__overview a {
    font-weight: 700;
    color: var(--p-blue);
}
.perfodom-nav--desktop .perfodom-submenu:not([hidden]) {
    animation: perfodom-submenu-in 180ms cubic-bezier(.2,.75,.3,1) both;
}
@keyframes perfodom-submenu-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* La experiencia táctil conserva los tamaños y permite ampliar manualmente. */
.perfodom-mobile-trigger__lines {
    width: 22px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.perfodom-mobile-trigger__lines > span {
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform-origin: center;
    transition: transform 220ms cubic-bezier(.2,.75,.3,1), opacity 150ms ease;
}
.perfodom-mobile-trigger[aria-expanded="true"] .perfodom-mobile-trigger__lines > span:first-child { transform: translateY(6.5px) rotate(45deg); }
.perfodom-mobile-trigger[aria-expanded="true"] .perfodom-mobile-trigger__lines > span:nth-child(2) { opacity: 0; transform: scaleX(.6); }
.perfodom-mobile-trigger[aria-expanded="true"] .perfodom-mobile-trigger__lines > span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1199px) {
    .perfodom-mobile-backdrop {
        opacity: 0;
        transition: opacity 260ms ease;
    }
    .perfodom-mobile-backdrop.is-open { opacity: 1; }
    .perfodom-mobile-panel {
        transform: translate3d(102%,0,0);
        transition: transform 340ms cubic-bezier(.22,1,.36,1);
        will-change: transform;
        padding-top: max(24px,env(safe-area-inset-top));
    }
    .perfodom-mobile-panel.is-open { transform: translate3d(0,0,0); }
    .perfodom-mobile-panel__top,
    .perfodom-mobile-panel .perfodom-nav,
    .perfodom-mobile-panel__cta {
        opacity: 0;
        transform: translateY(7px);
        transition: opacity 230ms ease 65ms, transform 280ms ease 65ms;
    }
    .perfodom-mobile-panel.is-open .perfodom-mobile-panel__top,
    .perfodom-mobile-panel.is-open .perfodom-nav,
    .perfodom-mobile-panel.is-open .perfodom-mobile-panel__cta {
        opacity: 1;
        transform: translateY(0);
    }
    .perfodom-nav--mobile .perfodom-menu__trigger {
        min-height: 57px;
        width: 100%;
        font-size: 17px;
        font-weight: 600;
        text-align: left;
        padding: 14px 0;
        white-space: normal;
    }
    .perfodom-nav--mobile .perfodom-submenu__overview {
        border-bottom: 1px solid var(--p-border);
        margin-bottom: 5px;
    }
    .perfodom-nav--mobile .perfodom-submenu:not([hidden]) {
        animation: perfodom-submenu-in 190ms cubic-bezier(.2,.75,.3,1) both;
    }
    .perfodom-mobile-close svg { transition: transform 190ms ease; }
    .perfodom-mobile-close:hover svg { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
    .perfodom-mobile-backdrop,
    .perfodom-mobile-panel,
    .perfodom-mobile-panel__top,
    .perfodom-mobile-panel .perfodom-nav,
    .perfodom-mobile-panel__cta,
    .perfodom-menu__chevron,
    .perfodom-mobile-trigger__lines > span {
        animation: none !important;
        transition: none !important;
    }
}


/* PERFODOM V1.0.2 — Footer global: fotografía REAL, identidad azul, sin librerías externas. */
.perfodom-footer { --pf-bg:#061d31; --pf-bg2:#082338; --pf-accent:#67c2ff; --pf-white:#f7faff; --pf-muted:#c5d4e4; color:var(--pf-white); background:var(--pf-bg); font-size:16px; line-height:1.6; }
.perfodom-footer a { text-decoration:none; color:inherit; }
.perfodom-footer a:hover { color:var(--pf-accent); }
.perfodom-footer a:focus-visible { outline:3px solid #9edcff; outline-offset:4px; }
.perfodom-footer-cta { position:relative; isolation:isolate; overflow:hidden; min-height:255px; background:linear-gradient(100deg,#092c4b 0%,#082a48 55%,#103955 100%); }
.perfodom-footer-cta__image { position:absolute; z-index:-2; inset:0 0 0 49%; background-image:url('../images/perfodom-footer-operaciones.webp'); background-size:cover; background-position:center 47%; }
.perfodom-footer-cta::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#082a48 0%,#082a48 37%,rgba(8,42,72,.96) 49%,rgba(8,42,72,.56) 72%,rgba(8,42,72,.08) 100%); }
.perfodom-footer-cta__inner { width:min(calc(100% - 64px),1280px); margin:0 auto; min-height:255px; padding:42px 0; display:flex; gap:52px; align-items:center; justify-content:space-between; }
.perfodom-footer-cta__copy { max-width:650px; }
.perfodom-footer-cta__eyebrow { margin:0 0 10px; text-transform:uppercase; color:#a7cef3; font-size:14px; font-weight:700; letter-spacing:.14em; }
.perfodom-footer-cta h2 { margin:0 0 12px; max-width:680px; font-size:clamp(30px,3.4vw,46px); font-weight:750; letter-spacing:-.035em; line-height:1.12; color:#fff; }
.perfodom-footer-cta__copy > p:last-child { margin:0; max-width:630px; font-size:clamp(16px,1.3vw,18px); line-height:1.6; color:#e1edfa; }
.perfodom-footer-cta__button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; gap:18px; padding:14px 23px; min-height:54px; background:#fff; color:#092642 !important; font-size:16px; font-weight:750; white-space:nowrap; transition:background-color .18s ease, transform .18s ease; }
.perfodom-footer-cta__button:hover { color:#092642 !important; background:#dceeff; transform:translateY(-2px); }
.perfodom-footer-cta__button svg { width:20px; height:20px; flex-shrink:0; }
.perfodom-footer__main { background:#061d31; }
.perfodom-footer__inner { display:grid; grid-template-columns:minmax(0,1.36fr) minmax(0,1fr) minmax(0,.88fr) minmax(0,1.06fr); gap:clamp(24px,3vw,48px); width:min(calc(100% - 64px),1280px); margin:0 auto; padding:66px 0 72px; }
.perfodom-footer__brand { padding-right:clamp(0px,1.5vw,20px); }
.perfodom-footer__logo-link { display:block; width:min(100%,290px); background:#fff; padding:13px 14px 9px; margin:0 0 24px; }
.perfodom-footer__logo { display:block; width:100%; height:auto; max-height:130px; object-fit:contain; }
.perfodom-footer__brand p { max-width:350px; margin:0; color:var(--pf-muted); font-size:16px; line-height:1.65; }
.perfodom-footer__heading { position:relative; margin:5px 0 26px; padding-bottom:13px; font-size:19px; font-weight:750; line-height:1.25; color:#fff; }
.perfodom-footer__heading::after { content:""; position:absolute; bottom:0; left:0; width:32px; height:2px; background:#54b7ef; }
.perfodom-footer__links,.perfodom-footer__contacts { list-style:none; padding:0; margin:0; }
.perfodom-footer__links { display:grid; gap:13px; }
.perfodom-footer__links a { display:inline-block; padding:3px 0; font-size:15px; line-height:1.55; color:var(--pf-muted); transition:color .17s ease; }
.perfodom-footer__links a:hover { color:#fff; text-decoration:underline; text-decoration-color:var(--pf-accent); text-underline-offset:4px; }
.perfodom-footer__all { display:inline-flex; align-items:center; gap:9px; margin-top:19px; font-weight:700; font-size:15px; color:var(--pf-accent) !important; }
.perfodom-footer__all:hover { text-decoration:underline; text-underline-offset:4px; }
.perfodom-footer__all svg { width:17px; height:17px; transition:transform .18s ease; }
.perfodom-footer__all:hover svg { transform:translateX(3px); }
.perfodom-footer__secondary-nav { margin-top:45px; }
.perfodom-footer__contacts { display:grid; gap:18px; }
.perfodom-footer__contacts li { display:grid; grid-template-columns:21px minmax(0,1fr); gap:12px; align-items:start; color:var(--pf-muted); font-size:15px; line-height:1.55; }
.perfodom-footer__contacts svg { width:20px; height:20px; margin-top:2px; color:#89c9f0; }
.perfodom-footer__contacts a { overflow-wrap:anywhere; }
.perfodom-footer__contact-note { display:block; font-size:14px; color:#8fb6d5; }
.perfodom-footer__hours-break { display:block; }
.perfodom-footer__bottom { border-top:1px solid rgba(255,255,255,.17); background:#05192a; }
.perfodom-footer__bottom-inner { width:min(calc(100% - 64px),1280px); min-height:82px; padding:20px 0; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px 30px; }
.perfodom-footer__bottom p { margin:0; font-size:14px; color:#bed0df; }
.perfodom-footer__legal { display:flex; align-items:center; gap:30px; flex-wrap:wrap; }
.perfodom-footer__legal a { font-size:14px; color:#d6e4f1; }
@media (max-width:1150px) {
  .perfodom-footer__inner { grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 56px; }
  .perfodom-footer__brand { padding:0; }
  .perfodom-footer__logo-link { width:290px; }
  .perfodom-footer__secondary-nav { margin-top:36px; }
  .perfodom-footer-cta__inner { gap:24px; }
  .perfodom-footer-cta__copy { max-width:550px; }
}
@media (max-width:767px) {
  .perfodom-footer-cta { min-height:0; }
  .perfodom-footer-cta__image { inset:0; background-position:62% 50%; opacity:.57; }
  .perfodom-footer-cta::before { background:linear-gradient(90deg,rgba(5,28,49,.97),rgba(5,28,49,.82) 57%,rgba(5,28,49,.58)); }
  .perfodom-footer-cta__inner { width:calc(100% - 40px); min-height:310px; padding:48px 0; display:block; }
  .perfodom-footer-cta h2 { font-size:clamp(30px,7vw,39px); }
  .perfodom-footer-cta__copy > p:last-child { max-width:520px; }
  .perfodom-footer-cta__button { margin-top:24px; min-height:52px; }
  .perfodom-footer__inner { width:calc(100% - 40px); grid-template-columns:repeat(2,minmax(0,1fr)); gap:37px 22px; padding:49px 0 52px; }
  .perfodom-footer__brand { grid-column:1/-1; }
  .perfodom-footer__brand p { max-width:560px; }
  .perfodom-footer__contact { grid-column:1/-1; border-top:1px solid rgba(255,255,255,.13); padding-top:28px; }
  .perfodom-footer__secondary-nav { margin-top:33px; }
  .perfodom-footer__heading { font-size:18px; }
  .perfodom-footer__links a, .perfodom-footer__contacts li { font-size:15px; }
  .perfodom-footer__bottom-inner { width:calc(100% - 40px); display:block; padding:24px 0 27px; }
  .perfodom-footer__legal { gap:12px 25px; margin-top:15px; }
}
@media (max-width:380px) {
  .perfodom-footer__inner { gap:33px 14px; }
  .perfodom-footer__logo-link { width:min(100%,265px); }
  .perfodom-footer__heading { font-size:17px; }
  .perfodom-footer__links a { font-size:14px; }
  .perfodom-footer__all { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) {
  .perfodom-footer-cta__button,.perfodom-footer__all svg,.perfodom-footer__links a { transition:none !important; transform:none !important; }
}
