/* VBAC.ro — Design System Producție (Varianta 4: Modern Modular Sticky-Index)
 * Alb pur, Charcoal, Gri Oțel și Albastru Regal Închis; fonturi 100% self-hosted.
 */

:root {
    --white: #FFFFFF;
    --steel: #EEF1F5;
    --steel-light: #F7F8FA;
    --charcoal: #14181F;
    --charcoal-soft: #252C37;
    --royal: #1E3A8A;
    --royal-hover: #172E6E;
    --royal-soft: #EEF2FF;
    --ink: #14181F;
    --muted: #525D6D;
    --line: #DCE2EC;
    --display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    --container: 1240px;
    --radius: 10px;
    --transition: all 0.22s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: var(--charcoal);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, select, textarea {
    font-family: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--royal);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    background: var(--charcoal);
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    z-index: 2000;
}

.skip-link:focus {
    left: 16px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER MINIMALIST ALB PUR */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

.brand-square {
    width: 44px;
    height: 44px;
    background: var(--charcoal);
    color: #FFFFFF;
    border-radius: 8px;
    border: 1.5px solid var(--royal);
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    position: relative;
}

.brand-square::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 6px;
    height: 2.5px;
    border-radius: 2px;
    background: #3B82F6;
}

.brand-title strong {
    display: block;
    font-family: var(--display);
    font-size: 1.06rem;
    letter-spacing: 0.04em;
    color: var(--charcoal);
}

.brand-title span {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-list a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--royal);
}

.nav-cta {
    background: var(--charcoal);
    color: #FFFFFF !important;
    padding: 10px 18px;
    border-radius: 8px;
}

.nav-cta:hover {
    background: var(--royal) !important;
}

.nav-item-has-drop {
    position: relative;
}

.nav-caret {
    font-size: 0.72em;
    opacity: 0.75;
    margin-left: 2px;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 270px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    list-style: none;
    box-shadow: 0 18px 40px -16px rgba(20, 24, 31, 0.24);
    z-index: 1200;
}

.nav-item-has-drop::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.nav-item-has-drop:hover .nav-dropdown,
.nav-item-has-drop:focus-within .nav-dropdown {
    display: block;
}

.nav-dropdown li a {
    display: block;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink);
}

.nav-dropdown li a:hover,
.nav-dropdown li a.active {
    background: var(--royal-soft);
    color: var(--royal);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--steel-light);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.lang-link {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    padding: 5px 7px;
    border-radius: 5px;
    line-height: 1;
}

.lang-link:hover {
    color: var(--royal);
    background: var(--white);
}

.lang-link.active {
    background: var(--charcoal);
    color: #FFFFFF;
}

.burger {
    display: none;
    background: var(--steel-light);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--charcoal);
    cursor: pointer;
}

/* HERO ULTRA-AERISIT ALB PUR */
.hero {
    padding: 84px 0 74px;
    background: var(--white);
}

.hero-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    align-items: end;
}

.hero-main {
    grid-column: span 8;
}

.hero-aside {
    grid-column: span 4;
    border-left: 2px solid var(--royal);
    padding-left: 24px;
}

.mono-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--royal);
    background: var(--royal-soft);
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.15rem, 4vw, 3.35rem);
    color: var(--charcoal);
    margin-bottom: 22px;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 660px;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-royal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--royal);
    color: #FFFFFF;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid var(--royal);
    cursor: pointer;
}

.btn-royal:hover:not(:disabled) {
    background: var(--royal-hover);
    border-color: var(--royal-hover);
}

.btn-royal:disabled {
    opacity: 0.72;
    cursor: wait;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--steel-light);
    color: var(--charcoal);
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid var(--line);
}

.btn-light:hover {
    border-color: var(--charcoal);
}

.hero-aside small {
    display: block;
    font-family: var(--mono);
    font-size: 0.73rem;
    color: var(--royal);
    margin-bottom: 8px;
}

.hero-aside p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.hero-aside strong {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal);
    margin-bottom: 4px;
}

/* TRUST BAR CHARCOAL */
.trust-dark {
    background: var(--charcoal);
    color: #FFFFFF;
    padding: 32px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-stat strong {
    display: block;
    font-family: var(--display);
    font-size: 1.18rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.trust-stat span {
    font-size: 0.82rem;
    color: #A1AAB8;
}

/* STICKY LEFT RAIL + SCROLLING STACK */
.section {
    padding: 86px 0;
}

.section-steel {
    background: var(--steel-light);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sticky-layout {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    gap: 52px;
    align-items: start;
}

.sticky-rail {
    position: sticky;
    top: 106px;
}

.sticky-rail h2 {
    font-size: clamp(1.85rem, 2.8vw, 2.45rem);
    color: var(--charcoal);
    margin-bottom: 14px;
}

.sticky-rail p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.rail-index {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.rail-index a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
}

.rail-index a:hover {
    color: var(--royal);
}

.stack-cards {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mod-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.mod-card:hover {
    border-color: var(--royal);
    box-shadow: 0 18px 36px -22px rgba(20, 24, 31, 0.22);
}

.mod-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.mod-head-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mod-ico {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--royal-soft);
    color: var(--royal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mod-idx {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--royal);
}

.mod-mail {
    font-family: var(--mono);
    font-size: 0.78rem;
    background: var(--steel);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--charcoal);
}

.mod-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.mod-card p {
    font-size: 0.94rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.mod-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    list-style: none;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    margin-bottom: 18px;
}

.mod-cols li {
    font-size: 0.86rem;
    color: var(--ink);
    padding-left: 16px;
    position: relative;
}

.mod-cols li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--royal);
    font-weight: 700;
}

.mod-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
}

.mod-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--royal);
}

.mod-action:hover {
    text-decoration: underline;
}

.mod-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--charcoal);
    background: var(--steel-light);
    border: 1px solid var(--line);
    padding: 7px 12px;
    border-radius: 7px;
}

.mod-detail-link:hover {
    border-color: var(--royal);
    color: var(--royal);
    background: var(--royal-soft);
}

.leader-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.leader-photo {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--line);
    flex-shrink: 0;
}

.nela-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-top: 12px;
}

.nela-tags li {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--royal);
    background: var(--royal-soft);
    padding: 6px 11px;
    border-radius: 6px;
}

.office-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.office-photo-fig {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--steel-light);
}

.office-photo-fig img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.office-photo-fig figcaption {
    padding: 8px 11px;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* DESPRE & ACREDITARI */
.cred-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.cred-box {
    background: var(--steel-light);
    border: 1px solid var(--line);
    border-top: 3px solid var(--royal);
    border-radius: 8px;
    padding: 18px;
}

.cred-box strong {
    display: block;
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--royal);
    margin-bottom: 6px;
}

.cred-box h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.cred-box p {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0;
}

/* CONTACT */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: start;
    margin-top: 32px;
}

.form-panel,
.side-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}

.seg-control {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    background: var(--steel);
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.seg-btn {
    border: 0;
    background: transparent;
    padding: 9px 8px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
}

.seg-btn.active {
    background: var(--white);
    color: var(--royal);
    box-shadow: 0 2px 6px rgba(20, 24, 31, 0.08);
}

.dest-bar {
    font-size: 0.84rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.dest-bar strong {
    font-family: var(--mono);
    color: var(--royal);
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fg {
    margin-bottom: 14px;
}

.fg label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--charcoal);
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--steel-light);
    color: var(--ink);
    font-size: 0.93rem;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    outline: none;
    border-color: var(--royal);
    background: var(--white);
}

.fg textarea {
    min-height: 115px;
    resize: vertical;
}

.form-feedback {
    display: none;
    padding: 13px 15px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.89rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-feedback.ok {
    display: block;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-feedback.err {
    display: block;
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.gdpr-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 18px;
    cursor: pointer;
}

.gdpr-row input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--royal);
}

.gdpr-row a {
    color: var(--royal);
    text-decoration: underline;
    font-weight: 600;
}

.dept-email-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 18px;
}

.dept-email-item {
    background: var(--steel-light);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px 11px;
    transition: var(--transition);
}

.dept-email-item.active {
    border-color: var(--royal);
    background: var(--royal-soft);
}

.dept-email-item small {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
}

.dept-email-item a {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--royal);
    word-break: break-all;
}

.side-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.side-row:first-child {
    padding-top: 0;
}

.side-row small {
    display: block;
    font-family: var(--mono);
    font-size: 0.71rem;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.side-row strong,
.side-row a {
    font-size: 0.94rem;
    font-weight: 600;
}

.side-row a:hover {
    color: var(--royal);
}

.map-card {
    display: block;
    position: relative;
    margin-top: 16px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #F2F5F9;
}

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.map-card:hover img {
    transform: scale(1.03);
}

.map-open-pill {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(20, 24, 31, 0.92);
    color: #FFFFFF;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.55);
}

.map-card:hover .map-open-pill {
    background: var(--royal);
    border-color: var(--royal);
}

.office-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: var(--steel);
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.office-tab {
    border: 0;
    background: transparent;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
}

.office-tab.active {
    background: var(--white);
    color: var(--royal);
    box-shadow: 0 2px 6px rgba(20, 24, 31, 0.08);
}

.office-pane {
    display: none;
}

.office-pane.active {
    display: block;
}

.map-link-note {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--royal);
}

/* ANPC SAL / SOL & NOTIFICARE 100% FARA COOKIE-URI */
.footer-anpc {
    margin-top: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-anpc a {
    display: inline-flex;
    background: #FFFFFF;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-anpc a:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.footer-anpc img {
    display: block;
    height: 38px;
    width: auto;
}

.footer-nocookie {
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: 9px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(52, 211, 153, 0.30);
    color: #D1FAE5;
    font-size: 0.81rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-nocookie strong {
    color: #FFFFFF;
}

.footer-nocookie a {
    color: #6EE7B7;
    text-decoration: underline;
    font-weight: 600;
}

.nocookie-toast {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9990;
    max-width: 365px;
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
    border-left: 4px solid #10B981;
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 18px 40px -14px rgba(20, 24, 31, 0.28);
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.8rem;
    line-height: 1.45;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nocookie-toast.hide {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.nocookie-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ECFDF5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.nocookie-body strong {
    display: block;
    font-family: var(--display);
    font-size: 0.84rem;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.nocookie-body p {
    margin: 0 0 8px;
    color: var(--muted);
}

.nocookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nocookie-ok {
    background: #059669;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.nocookie-ok:hover {
    background: #047857;
}

.nocookie-link {
    color: var(--royal);
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nocookie-toast {
        left: 12px;
        right: 12px;
        bottom: 14px;
        max-width: none;
    }
}

/* FOOTER */
.site-footer {
    background: var(--charcoal);
    color: #A1AAB8;
    padding: 58px 0 26px;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h4 {
    color: #FFFFFF;
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.site-footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer ul a:hover {
    color: #FFFFFF;
}

.footer-bot {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8rem;
}

.footer-credit a {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* REVEAL ANIMATION SUBTILA */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* PAGINA GDPR */
.legal-wrap {
    max-width: 900px;
    margin: 42px auto 72px;
    padding: 0 24px;
}

.legal-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--royal);
    border-radius: var(--radius);
    padding: 40px 44px;
}

.legal-card h1 {
    font-size: clamp(1.65rem, 2.8vw, 2.2rem);
    margin-bottom: 8px;
}

.legal-meta {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--muted);
    padding-bottom: 20px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.legal-card h2 {
    font-size: 1.2rem;
    margin: 28px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--royal);
}

.legal-card p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.legal-card ul {
    margin: 8px 0 16px 22px;
    color: var(--muted);
    font-size: 0.94rem;
}

.legal-card li {
    margin-bottom: 6px;
}

.legal-info-box {
    background: var(--steel-light);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 14px 0 18px;
    font-size: 0.92rem;
}

/* PAGINI DEDICATE SERVICII SEO */
.svc-hero {
    padding: 62px 0 54px;
    background: var(--white);
}

.svc-hero h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    max-width: 820px;
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.76rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumb a:hover {
    color: var(--royal);
    text-decoration: underline;
}

.svc-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.svc-main-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.svc-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.svc-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--steel-light);
    border: 1px solid var(--line);
}

.svc-step-num {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--royal);
    border-radius: 6px;
    padding: 5px 9px;
    flex-shrink: 0;
}

.svc-step h3 {
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--steel-light);
    padding: 14px 16px;
}

.faq-item summary {
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--charcoal);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-family: var(--mono);
    font-size: 1.1rem;
    color: var(--royal);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 10px 0 0;
    font-size: 0.89rem;
    color: var(--muted);
}

.svc-side-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 102px;
}

.svc-side-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.svc-side-cta {
    border-top: 4px solid var(--royal);
}

.svc-side-card p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 8px 0 14px;
}

.svc-side-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    margin-bottom: 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    font-weight: 600;
}

.svc-side-contacts a:hover {
    color: var(--royal);
}

.svc-side-mail {
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--royal);
}

.svc-coord-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
}

.other-svcs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.other-svcs a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 7px;
    background: var(--steel-light);
    border: 1px solid var(--line);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--charcoal);
}

.other-svcs a:hover {
    border-color: var(--royal);
    color: var(--royal);
    background: var(--royal-soft);
}

/* RESPONSIVE */
@media (max-width: 1020px) {
    .hero-main,
    .hero-aside {
        grid-column: span 12;
    }
    .hero-aside {
        border-left: 0;
        border-top: 2px solid var(--royal);
        padding-left: 0;
        padding-top: 18px;
    }
    .sticky-layout,
    .contact-wrap,
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .sticky-rail,
    .svc-side-col {
        position: static;
    }
    .trust-grid,
    .cred-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 40px;
        max-width: 155px;
    }
    .nav-list {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        border-bottom: 1px solid var(--line);
        gap: 14px;
        box-shadow: 0 14px 28px -18px rgba(20, 24, 31, 0.25);
    }
    .nav-list.open {
        display: flex;
    }
    .nav-item-has-drop {
        width: 100%;
    }
    .nav-dropdown {
        display: block;
        position: static;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        margin: 8px 0 2px 6px;
        padding: 2px 0 2px 10px;
    }
    .nav-dropdown li a {
        padding: 6px 8px;
        font-size: 0.84rem;
    }
    .office-gallery-grid {
        grid-template-columns: 1fr;
    }
    .burger {
        display: inline-flex;
    }
    .trust-grid,
    .mod-cols,
    .cred-grid,
    .seg-control,
    .frow,
    .dept-email-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .legal-card {
        padding: 26px 20px;
    }
}
