@font-face {
    font-family: Inter;
    src: url("../fonts/inter.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --navy: #142d40;
    --blue: #265073;
    --blue-dark: #1b3f5d;
    --orange: #ef7d32;
    --orange-light: #ff9a59;
    --paper: #fff;
    --tint: #f0f4f7;
    --soft-blue: #e7eef3;
    --line: #d5e0e8;
    --muted: #526575;
    --bs-body-font-family: Inter, system-ui, sans-serif;
    --bs-body-color: var(--navy);
    --bs-body-bg: var(--paper);
    --bs-primary: var(--blue);
    --bs-primary-rgb: 38, 80, 115;
    --bs-link-color: var(--blue);
    --bs-link-color-rgb: 38, 80, 115;
    --bs-link-hover-color: var(--navy);
    --bs-link-hover-color-rgb: 20, 45, 64;
    --bs-focus-ring-color: rgb(38 80 115 / 30%);
}

html { scroll-padding-top: 94px; }
body { line-height: 1.65; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 5.35rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.55rem); }
h3 { font-size: 1.26rem; }
h1 em { color: var(--orange-light); font-style: normal; }
a { text-underline-offset: .19em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.section-space { padding: clamp(3.3rem, 7vw, 6.5rem) 0; }
.section-tint { background: var(--tint); }
.section-heading { max-width: 760px; margin-bottom: clamp(1.6rem, 3vw, 2.8rem); }
.section-lead { color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.2rem); }
.skip-link { position: fixed; z-index: 1040; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--paper); border-radius: .5rem; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.navbar { min-height: 76px; }
.brand-lockup { display: inline-flex; align-items: center; }
.brand-lockup img { display: block; width: 218px; height: auto; max-width: 100%; }
.nav-link { color: var(--navy); font-size: .94rem; font-weight: 650; }
.nav-link:hover, .nav-link:focus, .nav-link[aria-current] { color: var(--blue); text-decoration: underline; }
.navbar-toggler { min-width: 44px; min-height: 44px; border-color: var(--line); color: var(--navy); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .78rem 1.14rem; border-radius: .65rem; font-weight: 700; }
.btn-primary {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: var(--blue-dark);
    --bs-btn-hover-border-color: var(--blue-dark);
    --bs-btn-focus-shadow-rgb: 38, 80, 115;
    --bs-btn-active-bg: var(--navy);
    --bs-btn-active-border-color: var(--navy);
    --bs-btn-disabled-bg: var(--muted);
    --bs-btn-disabled-border-color: var(--muted);
}
.btn-login {
    --bs-btn-color: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-color: var(--navy);
    --bs-btn-hover-bg: var(--soft-blue);
    --bs-btn-hover-border-color: var(--blue);
    --bs-btn-active-color: var(--navy);
    --bs-btn-active-bg: var(--soft-blue);
    --bs-btn-active-border-color: var(--blue);
    --bs-btn-focus-shadow-rgb: 38, 80, 115;
    min-height: 44px;
    white-space: nowrap;
}
.btn-accent {
    --bs-btn-color: #17232e;
    --bs-btn-bg: var(--orange);
    --bs-btn-border-color: var(--orange);
    --bs-btn-hover-color: #17232e;
    --bs-btn-hover-bg: var(--orange-light);
    --bs-btn-hover-border-color: var(--orange-light);
    --bs-btn-active-color: #17232e;
    --bs-btn-active-bg: var(--orange-light);
    --bs-btn-active-border-color: var(--orange-light);
    --bs-btn-focus-shadow-rgb: 239, 125, 50;
}
.btn-on-dark {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #8597a5;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ffffff17;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ffffff30;
    --bs-btn-active-border-color: #fff;
    --bs-btn-focus-shadow-rgb: 231, 238, 243;
}

.home-hero, .detail-hero { color: #fff; background: linear-gradient(122deg, #142d40 28%, #234663 100%); }
.home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(34rem, 50vw, 46rem);
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.home-hero::before, .hero-photo { position: absolute; inset: 0; }
.home-hero::before {
    content: "";
    z-index: -1;
    background: linear-gradient(90deg, rgb(13 29 43 / 96%), rgb(13 29 43 / 85%) 32%, rgb(13 29 43 / 76%) 52%, rgb(13 29 43 / 20%) 76%, rgb(13 29 43 / 10%));
}
.hero-photo {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% center;
}
.home-hero h1 { max-width: 14.5ch; }
.home-hero .hero-lead { max-width: 36rem; }
.story-photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 1rem; aspect-ratio: 4 / 3; }
.kicker { display: flex; align-items: center; gap: .75rem; font-size: .76rem; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; color: var(--blue); }
.kicker span { display: block; flex: 0 0 1.45rem; height: 2px; background: var(--orange); }
.home-hero .kicker, .detail-hero .kicker { color: #e4edf4; }
.hero-lead, .detail-lead { color: #e4edf4; max-width: 44rem; font-size: clamp(1.04rem, 1.6vw, 1.22rem); margin: 1.25rem 0 1.65rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding-top: 1.4rem; color: #e4edf4; font-size: .85rem; font-weight: 630; }
.hero-points i, .check-list i { margin-right: .45rem; }
.hero-points i { color: var(--orange-light); }
.check-list li + li { margin-top: .5rem; }
.check-list i { color: var(--blue); }
.detail-hero { padding: 1.7rem 0 clamp(3.3rem, 6vw, 6.5rem); }
.detail-hero h1 { font-size: clamp(2.35rem, 5vw, 5rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: clamp(1.6rem, 4vw, 3.7rem); color: #d8e5ee; font-size: .87rem; }
.crumbs a { color: #fff; }
.crumbs i { font-size: .7rem; }
.detail-highlights { padding: clamp(1.25rem, 3vw, 2.3rem); border: 1px solid #ffffff44; border-radius: 1rem; background: #ffffff10; }
.detail-highlights .module-icon { color: var(--navy); background: var(--orange-light); }
.detail-highlights h2 { margin: 1.1rem 0 .9rem; font-size: 1.5rem; }
.detail-highlights li { display: flex; align-items: baseline; gap: .85rem; color: #e4edf4; }
.detail-highlights li + li { margin-top: .6rem; }
.detail-highlights li i { color: var(--orange-light); }

.catalog-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.15rem; }
.catalog-nav a { display: inline-flex; gap: .6em; align-items: center; min-height: 44px; padding: .45rem .8rem; color: var(--blue); background: var(--paper); border: 1px solid var(--line); border-radius: .6rem; font-size: .9rem; font-weight: 650; text-decoration: none; }
.catalog-nav a:hover { background: var(--soft-blue); border-color: #91aabe; }
.catalog-nav i { font-size: .72em; }
.catalog-group + .catalog-group { margin-top: clamp(2.3rem, 5vw, 4rem); }
.catalog-title { margin-bottom: 1rem; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.module-card, .feature-card { display: block; height: 100%; padding: clamp(1.2rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-radius: .95rem; background: var(--paper); }
.module-card { text-decoration: none; color: var(--navy); transition: border-color .16s ease, box-shadow .16s ease; }
.module-card:hover, .module-card:focus-visible { color: var(--navy); border-color: #91aabe; box-shadow: 0 9px 24px #142d4014; }
.module-card:hover h3 { text-decoration: underline; }
.module-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.module-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; border-radius: .6rem; color: var(--blue); background: var(--soft-blue); font-size: 1.05rem; }
.module-arrow { font-size: .84rem; color: var(--blue); }
.module-card p, .feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-card i { display: block; margin-bottom: 1rem; color: var(--blue); font-size: 1.1rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.02rem 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--blue); font-size: .82rem; }
.faq[open] summary i { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-right: 1.6rem; }
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; background: var(--navy); color: #fff; padding: clamp(1.4rem, 4vw, 3.25rem); border-radius: 1rem; }
.demo-banner h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.demo-banner p { color: #e4edf4; margin: 0; }

.contact-shell { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.contact-copy, .contact-form-wrap { padding: clamp(1.4rem, 4vw, 3.1rem); }
.contact-copy { background: var(--navy); color: #fff; }
.contact-copy h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); }
.contact-copy p, .contact-promise { color: #e4edf4; }
.contact-promise { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.3rem; font-size: .9rem; }
.contact-promise i { color: var(--orange-light); margin-top: .27rem; }
.contact-promise strong { display: block; color: #fff; }
.contact-form-wrap { background: var(--tint); }
.form-label { font-weight: 630; }
.form-control, .form-select { min-height: 46px; border-color: #91aabe; border-radius: .58rem; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.form-error { background: #fbece9; color: #842822; display: flex; gap: .6rem; align-items: baseline; padding: .85rem; border-radius: .6rem; }
.toast-container { z-index: 1080; max-width: 100%; }

.site-footer { background: var(--navy); color: #e4edf4; padding: 3rem 0 1.2rem; font-size: .87rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-main { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; padding-bottom: 2rem; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-surlinio h2 { margin-bottom: 1rem; font-size: 1.2rem; }
.footer-surlinio-grid { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-surlinio-grid address, .footer-surlinio-grid dl { margin: 0; }
.footer-company-details div { display: flex; flex-wrap: wrap; gap: .4rem; }
.footer-company-details dd { margin: 0; }
.footer-bottom { border-top: 1px solid #ffffff38; padding-top: 1rem; }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: .65rem 0 .9rem; }
    .site-header .btn-login { padding: .5rem .65rem; font-size: .9rem; }
    .home-hero { min-height: 0; padding-bottom: 8rem; }
    .home-hero::before { background: linear-gradient(180deg, rgb(13 29 43 / 96%), rgb(13 29 43 / 87%) 59%, rgb(13 29 43 / 72%) 76%, rgb(13 29 43 / 22%)); }
    .hero-photo { object-position: 72% center; }
}
@media (max-width: 575.98px) {
    .container { --bs-gutter-x: 2rem; }
    .navbar { min-height: 66px; }
    .brand-lockup img { width: 190px; }
    .site-header .brand-lockup { margin-right: .5rem; }
    .site-header .brand-lockup img { width: clamp(130px, 43vw, 190px); }
    .home-hero { padding-bottom: 7rem; }
    .hero-actions .btn { max-width: 100%; }
    .footer-surlinio-grid { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    .module-card { transition: none; }
}

.module-package {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    border-radius: .95rem;
    background: var(--navy);
    color: #fff;
}
.module-package h2 { margin-bottom: .35rem; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.module-package p { color: #e4edf4; }
.module-package-cost strong { color: var(--orange-light); font-size: clamp(1.7rem, 4vw, 2.75rem); }
.module-package-cost s { margin-left: .4rem; }
.module-package-cost p:last-child { font-size: .88rem; }
.catalog-price-note { margin: -.35rem 0 1rem; color: var(--muted); font-size: .9rem; }
.module-card { display: flex; flex-direction: column; }
.module-card p:not(.module-price) { flex: 1; }
.module-card .module-price, .detail-highlights .module-price {
    border-top: 1px solid var(--line);
    margin: 1rem 0 0;
    padding-top: .8rem;
    color: var(--navy);
}
.module-price strong { font-weight: 730; }
.module-price span { color: var(--muted); font-size: .82rem; }
.module-price strong:has(+ span) { margin-right: .2rem; font-size: 1.25rem; }
.detail-price { margin: .65rem 0 1.2rem; }
.detail-highlights .module-price { border-top: 0; margin-top: 0; padding-top: 0; }
.detail-highlights .module-price, .detail-highlights .detail-price p { color: #fff; }
.detail-highlights .module-price span { color: #e4edf4; }
