/* IPPROLAW version 028 — intact CSS rules, in original order. */

/* assets/navigation-accessibility.css */
/* IPP-04: shared disclosure controls, focus indication, and hidden panels. */
header .nav-disclosure {
appearance: none;
border: 0;
background: transparent;
padding: 0;
margin: 0;
position: relative;
color: var(--muted, #5c6074);
font: inherit;
line-height: inherit;
white-space: nowrap;
cursor: pointer;
}
header .nav-disclosure::after {
content: "";
position: absolute;
left: 0;
bottom: -6px;
width: 0;
height: 2px;
background: var(--accent, #1f3f77);
transition: width .2s ease;
}
header .nav-disclosure:hover::after,
header .nav-disclosure:focus-visible::after,
header .nav-disclosure[aria-expanded="true"]::after { width: 100%; }
header a:focus-visible,
header button:focus-visible {
outline: 3px solid var(--accent, #1f3f77);
outline-offset: 4px;
border-radius: 3px;
}
header .submenu[hidden],
header .mobile-submenu[hidden],
header .mobile-nav[hidden] { display: none !important; }
header .nav-item { position: relative; }
header .nav-item.is-open > .submenu {
visibility: visible;
opacity: 1;
transform: translateY(0);
pointer-events: auto;
transition: opacity .2s ease, transform .2s ease;
}
/* Preserve the pointer route across the old 12 px submenu margin. */
header .nav-item.is-open::before {
content: "";
position: absolute;
top: 100%;
left: 0;
right: 0;
height: 16px;
}
@media (prefers-reduced-motion: reduce) {
header .nav-disclosure::after,
header .submenu,
header .menu-toggle span,
header .mobile-submenu-toggle { transition: none !important; }
}


/* assets/navigation-responsive.css */
/* Shared responsive layout for the existing IPPRO header. */
header .topline {
box-sizing: border-box;
min-width: 0;
gap: clamp(12px, 1.4vw, 24px);
}
header .brand {
min-width: 0;
flex: 0 1 280px;
}
header .brand > a {
display: block;
min-width: 0;
width: 100%;
}
header .brand img {
display: block;
width: 100%;
max-width: 280px;
height: auto;
}
header .cta,
header .lang-switch,
header .menu-toggle {
flex-shrink: 0;
}
header .lang-button {
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
}
header .topline > nav {
align-items: center;
min-width: 0;
gap: clamp(10px, 1.05vw, 16px);
}
header .submenu {
min-width: 260px;
max-width: min(400px, calc(100vw - 32px));
}
header .submenu a {
white-space: normal;
overflow-wrap: anywhere;
}
.mobile-nav {
box-sizing: border-box;
width: 100%;
max-width: 100%;
top: var(--ippro-header-height, 82px);
max-height: calc(100vh - var(--ippro-header-height, 82px));
max-height: calc(100dvh - var(--ippro-header-height, 82px));
overscroll-behavior: contain;
}
.mobile-nav-item,
.mobile-nav-item-wrapper,
.mobile-nav-link,
.mobile-submenu {
min-width: 0;
}
.mobile-nav-link,
.mobile-submenu a {
white-space: normal;
overflow-wrap: anywhere;
}
.mobile-submenu-toggle {
flex: 0 0 44px;
min-width: 44px;
min-height: 44px;
}
@media (min-width: 1101px) {
header .topline > nav { display: flex; }
header .menu-toggle { display: none; }
.mobile-nav,
.mobile-nav.active { display: none; }
}
@media (max-width: 1100px) {
header .topline {
width: min(1180px, calc(100% - 32px));
padding-block: 14px;
}
header .topline > nav { display: none; }
header .menu-toggle {
display: flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
padding: 10px;
}
header .brand {
flex-basis: 280px;
max-width: 280px;
}
header .cta { gap: 10px; }
header .lang-switch { gap: 6px; }
.mobile-nav { padding: 16px; }
}
@media (max-width: 480px) {
header .topline {
width: calc(100% - 24px);
gap: 8px;
padding-block: 10px;
}
header .brand {
flex: 1 1 180px;
max-width: 220px;
}
header .cta { gap: 4px; }
header .lang-switch { gap: 4px; }
header .lang-button {
min-width: 34px;
min-height: 36px;
padding: 6px 7px;
font-size: 11px;
letter-spacing: 0;
}
.mobile-nav { padding: 12px; }
.mobile-nav-link { font-size: 17px; }
.mobile-submenu { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
header .menu-toggle span,
.mobile-submenu-toggle { transition: none; }
}


/* assets/contact-form.css */
.ippro-form-status{grid-column:1 / -1;margin:0;padding:12px 14px;border-radius:8px;font-size:15px;line-height:1.5;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere}
.ippro-form-status[hidden]{display:none}
.ippro-form-status[data-state="sending"]{background:#eef3fa;color:#1f3f77}
.ippro-form-status[data-state="success"]{background:#eaf5ed;color:#145528}
.ippro-form-status[data-state="error"]{background:#fff0f0;color:#8b1f28}
.ippro-form-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
form[data-ippro-contact] button[type="submit"]:disabled{opacity:.65;cursor:wait}
.consent-group label.ippro-consent-copy{font-size:13px;line-height:1.6;letter-spacing:normal;text-transform:none;color:var(--muted,#5c6074);cursor:pointer}


/* assets/analytics.css */
.ippro-metrica-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }

