/********** Template CSS **********/
:root {
    --primary: #0B2B57;
    --secondary: #2ED8FF;
    --cyan: #2ED8FF;
    --cyan-soft: #7EEBFF;
    --sky: #3A8DFF;
    --navy: #12305D;
    --navy-deep: #082042;
    --page: #F4F9FE;
    --soft: #EAF4FF;
    --muted: #5C7394;
    --border-soft: #D9E7F5;
    --light: #F4F9FE;
    --dark: #082042;
    /* Tighter corners site-wide */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
}

html {
    overflow-x: clip;
}
body {
    overflow-x: clip;
}

/* LAYOUT */
body > .main{
    @apply w-full min-h-full max-w-full
}
body > .main > #app{
    @apply min-h-full max-w-full;
}
.mainWrapper{
    @apply w-full min-h-[100vh] flex flex-1 flex-col justify-between max-w-full
}
.mainWrapper .layout{
    @apply mx-auto max-w-full md:max-w-7xl w-full flex flex-1 justify-between mt-[70px] lg:mt-[100px] relative z-[996];
}
.mainWrapper .layout.full{
    @apply max-w-none w-full
}
.mainWrapper .layout .sidebar{
    @apply py-10 border-r-2 border-r-gray-100 relative transition-all ease-in-out hidden lg:block
}
.mainWrapper .layout .sidebar.expanded{
    @apply w-1/5 pr-6 pl-4
}
.mainWrapper .layout .sidebar.collapsed{
    @apply w-0 pr-0
}
.mainWrapper .layout .sidebar .expandSidebar{
    @apply absolute top-10 -right-5 w-10 h-10 rounded-full bg-white shadow-md flex justify-center items-center text-primary hover:text-secondary
}
.mainWrapper .layout .sidebar > div{
    @apply w-full overflow-hidden
}
.mainWrapper .layout .mainContent{
    @apply px-4 pl-4 lg:pl-8 transition-all ease-in-out max-w-full
}
.mainWrapper .layout .mainContent.regular{
    @apply w-full lg:w-4/5 pt-6  xl:pl-8
}
.mainWrapper .layout .mainContent.full{
    @apply w-full pt-6 xl:pl-8
}
.mainWrapper .layout .mainContent.no-sidebar{
    @apply w-full pl-4 !pt-0
}

.container{
    @apply max-w-7xl mx-auto px-4
}
.mainWrapper .layout .mainContent.no-sidebar .container{
    @apply !px-0
}


/* NAVIGATION VERTICAL */
._navigationVertical > ul{
    @apply min-w-[210px] flex flex-col gap-4 w-full
}
._navigationVertical > ul li{
    @apply flex flex-wrap justify-between items-center gap-3 w-full relative
}
._navigationVertical > ul li button:not(.aItem){
    @apply text-xs opacity-40 hover:opacity-100
}
._navigationVertical  li.active > a{
    @apply text-primary
}
._navigationVertical > ul > li > a,
._navigationVertical > ul > li > .aItem{
    @apply flex justify-start items-center gap-3 text-[#50555b] hover:text-primary text-base uppercase tracking-[1px] font-bold
}
._navigationVertical > ul > li.active > a,
._navigationVertical > ul > li.active > .aItem{
    @apply text-primary
}
._navigationVertical > ul > li > ul > li a,
._navigationVertical > ul > li > ul > li .aItem{
    @apply flex justify-start items-center gap-3 text-[#50555b] hover:text-primary text-base normal-case tracking-[.5px] font-bold py-1
}
._navigationVertical > ul > li > a > [class^="icon-"],
._navigationVertical > ul > li > .aItem > [class^="icon-"]{
    @apply text-[22px]
}
._navigationVertical > ul > li > a > span,
._navigationVertical > ul > li > .aItem > span{
    @apply max-w-[calc(100%-20px)]
}
._navigationVertical > ul > li > a ._badge,
._navigationVertical > ul > li > .aItem ._badge{
    @apply self-end;
}
._navigationVertical > ul > li > ul{
    @apply pl-[38px] hidden w-full
}
._navigationVertical > ul > li > ul.expanded{
    @apply block
}
._navigationVertical > ul > li > ul > li > ul{
    @apply pl-[20px] hidden w-full
}
._navigationVertical > ul > li > ul > li > ul.expanded{
    @apply block
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: var(--radius-xl);
}


/*** Navbar ***/
/* Legacy template offset — do not apply to site header */
.navbar.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: var(--radius-xl);
    background: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}

.case-item:hover img {
    transform: scale(1.2);
}

.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: var(--radius-xl);
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    transition: .5s;
}

.team-item:hover {

    border-color: var(--primary);
}


/*** Footer ***/

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: var(--radius-xl);
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.dropZone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-width: 2px;
    border-radius: 2px;
    border-color: #eeeeee;
    border-style: dashed;
    background-color: #fafafa;
    color: #bdbdbd;
    outline: none;
    transition: border .24s ease-in-out;
    cursor: pointer;
}

.dropZoneSinglePreview {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
    justify-content: center;
}

.dz-thumb{
    display: inline-flex;
    border-radius: 2px;
    border: 1px solid #eaeaea;
    margin-bottom: 8px;
    margin-right: 8px;
    width: 100px;
    height: 100px;
    padding: 4px;
    box-sizing: border-box;
}
.dz-thumbInner{
    display: flex;
    min-width: 0px;
    overflow: hidden;
}
.dz-imagePreview{
    display: block;
    width: auto;
    height: 100%;
}

/*** Landing – RogosNautica ***/
/* Global tighter corners (buttons, inputs, cards, pills) */
.btn,
.form-control,
.form-select,
.form-check-input,
.card,
.modal-content,
.dropdown-menu,
.alert,
.list-group-item:first-child,
.list-group-item:last-child {
    border-radius: var(--radius-md) !important;
}
.btn-lg,
.form-control-lg {
    border-radius: var(--radius-lg) !important;
}
.btn-sm,
.form-control-sm {
    border-radius: var(--radius-sm) !important;
}
.rounded-pill {
    border-radius: var(--radius-lg) !important;
}
.rounded-3,
.rounded-4,
.rounded-5 {
    border-radius: var(--radius-md) !important;
}


body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--navy);
    background: var(--page);
}

.bg-primary {
    background-color: var(--primary) !important;
}
.bg-dark {
    background-color: var(--navy-deep) !important;
}
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--cyan) !important;
}

.text-navy { color: var(--navy) !important; }
.text-cyan { color: var(--cyan) !important; }

.btn-cyan {
    background: var(--cyan);
    border: none;
    color: var(--navy-deep);
    font-weight: 700;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.4rem;
    box-shadow: 0 10px 24px rgba(46, 216, 255, 0.28);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-cyan:hover,
.btn-cyan:focus {
    background: var(--cyan-soft);
    color: var(--navy-deep);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(46, 216, 255, 0.35);
}

.btn-outline-cyan {
    border-radius: var(--radius-md);
    border: 1.5px solid var(--cyan);
    color: #fff;
    font-weight: 600;
    background: rgba(8, 32, 66, 0.28);
    backdrop-filter: blur(4px);
}
.btn-outline-cyan:hover,
.btn-outline-cyan:focus {
    background: rgba(46, 216, 255, 0.16);
    border-color: var(--cyan-soft);
    color: #fff;
}

/* —— Modern floating glass header —— */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    pointer-events: none;
}
.site-header__shell {
    padding: 0.85rem 1rem 0;
    pointer-events: none;
}
.site-header__shell.sticky-top {
    position: relative;
    top: auto;
}
.site-header__bar {
    pointer-events: auto;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 64px;
    padding: 0.55rem 0.7rem 0.55rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(8, 32, 66, 0.42);
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 10px 40px rgba(4, 16, 36, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.site-header--stuck .site-header__shell {
    padding-top: 0.65rem;
}
.site-header--stuck .site-header__bar {
    background: rgba(8, 32, 66, 0.88);
    border-color: rgba(46, 216, 255, 0.18);
    box-shadow:
        0 14px 36px rgba(4, 16, 36, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0.15rem 0.25rem;
}
.site-header__mark {
    height: 32px;
    width: auto;
    display: block;
}
.site-header__name {
    color: #fff;
    font-weight: 750;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1;
}

.site-header__toggler {
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.6rem;
    background: transparent;
}
.site-header__toggler:focus {
    box-shadow: 0 0 0 3px rgba(46, 216, 255, 0.28);
    outline: none;
}
.site-header__toggler .navbar-toggler-icon {
    display: inline-block;
    width: 1.35rem;
    height: 1.35rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.site-header__collapse {
    display: none;
}
@media (min-width: 992px) {
    .site-header__collapse {
        display: flex !important;
        flex: 1;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        min-width: 0;
    }
    .site-header__toggler {
        display: none;
    }
}

.site-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex: 1;
    margin: 0 0.5rem;
}
.site-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-lg);
    transition: color .2s ease, background .2s ease;
    white-space: nowrap;
}
.site-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.site-nav-link.active {
    color: #fff;
    background: rgba(46, 216, 255, 0.12);
}
.site-nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 18px;
    height: 3px;
    margin-left: -9px;
    border-radius: 3px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(46, 216, 255, 0.55);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.site-header__auth {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding-right: 0.35rem;
    margin-right: 0.15rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header__auth-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.45rem 0.7rem;
    border-radius: var(--radius-lg);
    transition: color .2s ease, background .2s ease;
}
.site-header__auth-link:hover,
.site-header__auth-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.site-header__auth-link--muted {
    color: rgba(255, 255, 255, 0.62);
}

.site-header__cta {
    border-radius: var(--radius-lg) !important;
    padding: 0.65rem 1.2rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(46, 216, 255, 0.32) !important;
}

@media (max-width: 991.98px) {
    .site-header__shell {
        padding: 0.65rem 0.75rem 0;
    }
    .site-header__bar {
        flex-wrap: wrap;
        border-radius: var(--radius-lg);
        padding: 0.65rem 0.75rem;
        min-height: 0;
    }
    .site-header__collapse {
        width: 100%;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem 0.25rem 0.35rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }
    .site-header__collapse.show,
    .site-header__collapse.collapsing {
        display: flex !important;
    }
    .site-header__nav {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        gap: 0.2rem;
    }
    .site-nav-link {
        padding: 0.75rem 0.9rem;
        border-radius: var(--radius-md);
    }
    .site-nav-link.active::after {
        display: none;
    }
    .site-header__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }
    .site-header__auth {
        justify-content: center;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0 0 0.55rem;
        margin: 0;
    }
    .site-header__cta {
        text-align: center;
        justify-content: center;
    }
}

.landing-eyebrow {
    color: var(--sky);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.landing-eyebrow__dots::before,
.landing-eyebrow__dots::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(58, 141, 255, 0.45);
    margin-right: 3px;
}
.landing-eyebrow__dots::after {
    width: 6px;
    height: 6px;
    background: var(--sky);
}

.landing-h2 {
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.landing-h3 {
    color: var(--navy);
    font-weight: 600;
    font-size: 1.25rem;
}
.landing-muted { color: var(--muted); }

.landing-section {
    position: relative;
    padding: 5rem 0;
    background: #fff;
    overflow: hidden;
}
.landing-section--soft {
    background: linear-gradient(180deg, #fff 0%, var(--soft) 42%, #fff 100%);
}

.has-wave-depth,
.wave-stack,
.hero-wave,
.site-header {
    overflow-x: clip;
}
.has-wave-depth {
    isolation: isolate;
}
.wave-content {
    z-index: 2;
}
.wave-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* SVG wave stacks — PHASE_A vs PHASE_B cancel (GORE-DOLE vs DOLE-GORE) */
.wave-stack {
    position: absolute;
    left: -3%;
    right: -3%;
    height: clamp(160px, 24vw, 260px);
    pointer-events: none;
}
.wave-stack--bottom {
    bottom: -1px;
}
.wave-stack--top {
    top: -1px;
    transform: scaleY(-1);
    transform-origin: center top;
}
.wave-stack__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Gentle opposite sway — keep phase cancel readable */
@media (prefers-reduced-motion: no-preference) {
    .wave-stack__band--0 {
        animation: wave-sway-a 18s ease-in-out infinite alternate;
    }
    .wave-stack__band--1 {
        animation: wave-sway-b 22s ease-in-out infinite alternate;
    }
    .wave-stack__band--2 {
        animation: wave-sway-a 26s ease-in-out infinite alternate;
    }
    .wave-stack__band--3 {
        animation: wave-sway-b 30s ease-in-out infinite alternate;
    }
    .wave-stack__band--seal {
        animation: wave-sway-b 20s ease-in-out infinite alternate;
    }
}

@keyframes wave-sway-a {
    from { transform: translateX(-10px); }
    to { transform: translateX(10px); }
}
@keyframes wave-sway-b {
    from { transform: translateX(10px); }
    to { transform: translateX(-10px); }
}

.sea-wave-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Literally cuts the element edge into a sea wave (not an overlay) */
.sea-clip-bottom {
    -webkit-clip-path: url(#sea-wave-bottom);
    clip-path: url(#sea-wave-bottom);
}
.sea-clip-photo {
    -webkit-clip-path: url(#sea-wave-photo);
    clip-path: url(#sea-wave-photo);
}

.landing-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    margin-top: -88px;
    overflow: hidden;
    color: #fff;
    padding-bottom: 5.5rem;
}
.landing-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 55% center;
}
.landing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(4, 16, 38, 0.97) 0%,
        rgba(6, 24, 52, 0.92) 28%,
        rgba(8, 32, 66, 0.72) 48%,
        rgba(11, 43, 87, 0.28) 72%,
        rgba(11, 43, 87, 0.08) 100%
    );
}
.landing-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8.5rem 0 5.5rem;
}
.landing-hero__title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    font-size: clamp(3rem, 6.2vw, 5rem);
    max-width: 18ch;
}
.landing-hero__title-accent {
    color: var(--cyan);
    display: block;
}
.landing-hero__lead {
    font-size: 1.12rem;
    max-width: 36rem;
    opacity: 0.96;
    line-height: 1.55;
}
.landing-hero__trust {
    position: relative;
    z-index: 2;
}
.landing-hero__trust .landing-icon-circle {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
    background: rgba(46, 216, 255, 0.14);
    border: 1.5px solid var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 0 1px rgba(46, 216, 255, 0.12);
}
.landing-hero__trust-title {
    margin: 0 0 0.2rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.25;
}
.landing-hero__trust-text {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.35;
}

/* Hero bottom wave cut — white front + cyan depth bands */
.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}
.hero-wave__svg {
    display: block;
    width: 100%;
    height: clamp(120px, 16vw, 168px);
}
.hero-wave__band--3 { opacity: 0.55; }
.hero-wave__band--2 { opacity: 0.75; }
.hero-wave__band--1 { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
    .hero-wave__band--3 {
        animation: hero-wave-drift 18s ease-in-out infinite alternate;
    }
    .hero-wave__band--2 {
        animation: hero-wave-drift 22s ease-in-out infinite alternate-reverse;
    }
}

@keyframes hero-wave-drift {
    from { transform: translateX(-1%); }
    to { transform: translateX(1%); }
}

.landing-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cyan);
    color: var(--navy-deep);
}
.landing-icon-circle--sm {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
}

.about-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(11, 43, 87, 0.16);
    min-height: 320px;
    height: 100%;
}
.about-photo__img {
    object-fit: cover;
    object-position: center;
}
.about-badge {
    position: absolute;
    left: 1.1rem;
    bottom: 1.1rem;
    background: #fff;
    color: var(--navy);
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(11, 43, 87, 0.14);
    max-width: calc(100% - 2.2rem);
}

.mission-card {
    background: rgba(234, 244, 255, 0.85);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    min-height: 100%;
    box-shadow: 0 16px 36px rgba(11, 43, 87, 0.08);
}
.mission-card__quote {
    color: var(--navy);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.45;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(11, 43, 87, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(11, 43, 87, 0.14);
}
.service-card__media {
    position: relative;
}
.service-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.service-card__icon {
    position: absolute;
    left: 1.1rem;
    bottom: -18px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--sky);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(11, 43, 87, 0.12);
    border: 1px solid var(--border-soft);
}
.service-card__body {
    position: relative;
    padding: 2rem 1.35rem 1.35rem;
}
.service-card__body h5 {
    color: var(--navy);
    font-weight: 800;
}
.service-card__arrow {
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(46, 216, 255, 0.22);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.service-card__arrow:hover {
    background: var(--cyan);
    color: var(--navy-deep);
}

.landing-why {
    position: relative;
    padding: 5.5rem 0 6.5rem;
    background: var(--navy-deep);
    overflow: hidden;
}
.landing-why__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(8,32,66,.96) 0%, rgba(11,43,87,.88) 42%, rgba(11,43,87,.45) 100%),
        url(/img/rogos/bg/10_golden_hour_marina_shipyard.png) right center / cover no-repeat;
}
.landing-why__photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.landing-why__photo-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.stat-card {
    background: rgba(8, 32, 66, 0.55);
    border: 1px solid rgba(126, 235, 255, 0.22);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    backdrop-filter: blur(6px);
}

.form-panel {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(11, 43, 87, 0.08);
}
.form-panel .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 700;
}
.form-panel .btn-primary:hover {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
}

.contact-aside {
    position: relative;
    background: linear-gradient(160deg, var(--primary), var(--navy-deep));
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem 5rem;
    box-shadow: 0 18px 40px rgba(11, 43, 87, 0.22);
    overflow: hidden;
}
.contact-aside__art {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    pointer-events: none;
}

.map-strip {
    position: relative;
    background: linear-gradient(180deg, #e8f3fc 0%, #d7eaf8 100%);
    padding: 0.35rem 0 1.1rem;
    overflow: hidden;
}
.map-strip--compact .wave-stack {
    height: clamp(90px, 12vw, 140px);
}
/* Soft elevated deck behind the three cards */
.map-strip__deck {
    position: relative;
    padding: 1rem;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.72) 0%, rgba(236, 246, 255, 0.45) 100%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
        0 36px 70px rgba(11, 43, 87, 0.18),
        0 14px 28px rgba(11, 43, 87, 0.1),
        0 2px 0 rgba(255, 255, 255, 0.8) inset;
}
.map-strip__deck::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -10px;
    height: 22px;
    border-radius: 50%;
    background: rgba(11, 43, 87, 0.12);
    filter: blur(14px);
    z-index: 0;
    pointer-events: none;
}
.map-strip__deck > .row {
    position: relative;
    z-index: 1;
}
.map-strip__photo,
.map-strip__embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    box-shadow:
        0 20px 44px rgba(11, 43, 87, 0.16),
        0 6px 14px rgba(11, 43, 87, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: #fff;
}
.map-strip__photo-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}
.map-strip__card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.1rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow:
        0 20px 44px rgba(11, 43, 87, 0.16),
        0 6px 14px rgba(11, 43, 87, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.map-strip__card h3 {
    color: var(--navy);
    font-weight: 800;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
}
.map-strip__embed iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: block;
}
@media (max-width: 767.98px) {
    .map-strip {
        padding: 0.25rem 0 0.9rem;
    }
    .map-strip__deck {
        padding: 0.7rem;
        border-radius: var(--radius-lg);
    }
    .map-strip__photo,
    .map-strip__embed,
    .map-strip__card {
        min-height: 300px;
    }
    .map-strip__photo-img,
    .map-strip__embed iframe {
        min-height: 300px;
    }
}

.landing-faq .accordion-item {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background: #fff;
}
.landing-faq .accordion-button {
    font-weight: 700;
    color: var(--navy);
    background: #fff;
    box-shadow: none;
}
.landing-faq .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--soft);
}
.landing-faq .accordion-body {
    color: var(--muted);
    padding: 0.35rem 1.15rem 1.15rem !important;
}


.footer .btn.btn-link {
    display: block;
    margin-bottom: 0.35rem;
    padding: 0;
    text-align: left;
    text-decoration: none;
}
.footer .btn.btn-link:hover {
    color: var(--secondary) !important;
}
.footer-credit-link {
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
}
.footer-credit-link:hover {
    color: var(--cyan-soft);
    text-decoration: underline;
}
.footer-legal-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}
@media (min-width: 768px) {
    .footer-legal-links {
        justify-content: flex-end;
    }
}
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.875em;
    white-space: nowrap;
}
.footer-legal-links a + a {
    margin-left: 0.25rem;
}
.footer-legal-links a:hover {
    color: var(--cyan);
}

.legal-doc {
    max-width: 820px;
    margin: 0 auto;
}
.legal-doc__body {
    color: #334155;
    font-size: 1rem;
    line-height: 1.65;
}
.legal-doc__updated {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.legal-doc__body h2 {
    margin: 1.75rem 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-deep);
}
.legal-doc__body p,
.legal-doc__body ul {
    margin: 0 0 0.85rem;
}
.legal-doc__body ul {
    padding-left: 1.2rem;
}
.legal-doc__body a {
    color: var(--sky);
    font-weight: 650;
    text-decoration: none;
}
.legal-doc__body a:hover {
    color: var(--navy);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .landing-hero {
        min-height: auto;
        align-items: flex-start;
        margin-top: -80px;
        padding-bottom: 3.25rem;
    }
    .landing-hero__content {
        /* clear fixed header + comfortable gap under bar */
        padding: calc(12.75rem + env(safe-area-inset-top, 0px)) 0 2.75rem;
    }
    .landing-hero__title {
        max-width: none;
        font-size: clamp(2.2rem, 8.2vw, 3.1rem);
        line-height: 1.12;
    }
    .landing-hero__lead {
        font-size: 1.02rem;
        max-width: none;
    }
    .landing-hero__bg {
        background-position: 60% center;
    }
    .hero-wave__svg {
        height: clamp(96px, 22vw, 140px);
    }
    /* Depth bands look like sharp teeth when squeezed — keep clean white edge */
    .hero-wave__band--3,
    .hero-wave__band--2 {
        display: none;
        animation: none;
    }
    .about-badge {
        position: static;
        margin: 1rem;
        max-width: none;
    }
    .form-panel {
        padding: 1.35rem;
    }
    .landing-why__photo {
        min-height: 240px;
    }
}

@media (max-width: 575.98px) {
    .landing-hero {
        margin-top: -76px;
        padding-bottom: 2.75rem;
    }
    .landing-hero__content {
        padding: calc(12rem + env(safe-area-inset-top, 0px)) 0 2.5rem;
    }
    .landing-hero__title {
        font-size: clamp(2rem, 9vw, 2.55rem);
    }
    .landing-hero .d-flex.flex-wrap.gap-3 {
        gap: 0.75rem !important;
    }
    .landing-hero .btn-lg {
        padding: 0.7rem 1.15rem;
        font-size: 0.98rem;
    }
    .landing-hero__trust {
        row-gap: 1.1rem !important;
    }
    .hero-wave__svg {
        height: 110px;
    }
}

/*** Admin panel shell ***/
body.admin-mode {
    background: #eef3f8;
}
body.admin-mode .mainLayout--admin,
body.admin-mode .mainLayout--admin .layout,
body.admin-mode .mainLayout--admin .mainContent {
    min-height: 0;
}
body.admin-mode .site-header__shell {
    padding: 0;
}
body.admin-mode .site-header__bar--admin,
body.admin-mode .site-header__bar {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 32, 66, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(8, 32, 66, 0.2);
    min-height: 64px;
    padding: 0.55rem 1.25rem;
}
body.admin-mode .site-header--admin {
    position: sticky;
    top: 0;
    z-index: 1040;
}

.admin-topbar__badge {
    margin-left: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    background: rgba(46, 216, 255, 0.18);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.admin-topbar__badge--serviser {
    background: rgba(58, 141, 255, 0.22);
    color: #9ec5ff;
}
.admin-topbar__badge--client {
    background: rgba(255, 255, 255, 0.12);
    color: #dce9f8;
}
.admin-profile-form {
    max-width: 820px;
}
.site-header__collapse--admin {
    justify-content: flex-end !important;
}
.admin-topbar__tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}
.admin-topbar__search {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 210px;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}
.admin-topbar__search input {
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    width: 100%;
    font-size: 0.88rem;
}
.admin-topbar__search input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.admin-topbar__icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.admin-topbar__dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 2px rgba(8, 32, 66, 0.9);
}
.admin-topbar__user {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: #fff;
    padding: 0.2rem 0.35rem 0.2rem 0.2rem;
    border-radius: var(--radius-md);
}
.admin-topbar__user:hover {
    background: rgba(255, 255, 255, 0.08);
}
.admin-topbar__avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--cyan), var(--sky));
    color: var(--navy-deep);
    font-weight: 800;
}
.admin-topbar__user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.admin-topbar__user-meta strong {
    font-size: 0.86rem;
}
.admin-topbar__user-meta small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
}
.admin-topbar__cta {
    padding: 0.55rem 0.9rem !important;
}

.admin-shell {
    display: grid;
    grid-template-columns: 248px 1fr;
    min-height: calc(100vh - 64px);
    background: #eef3f8;
}
.admin-sidebar {
    display: flex;
    flex-direction: column;
    background: #0b2b57;
    color: #fff;
    padding: 1.25rem 0.9rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}
.admin-sidebar__brand {
    padding: 0.35rem 0.75rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.85rem;
}
.admin-sidebar__eyebrow {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(126, 235, 255, 0.85);
    margin-bottom: 0.2rem;
}
.admin-sidebar__brand strong {
    font-size: 1.05rem;
}
.admin-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}
.admin-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.8rem;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
}
.admin-sidebar__link i {
    width: 1.15rem;
    text-align: center;
    font-size: 1.05rem;
}
.admin-sidebar__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.admin-sidebar__link.is-active {
    color: var(--navy-deep);
    background: var(--cyan);
}
.admin-sidebar__footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.admin-sidebar__user {
    padding: 0.35rem 0.8rem 0.55rem;
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}
.admin-sidebar__link--btn {
    cursor: pointer;
}

.admin-content {
    min-width: 0;
    padding: 1.25rem 1.35rem 2rem;
}
.admin-content__inner {
    max-width: none;
    width: 100%;
}

/* Master–detail workspace */
.admin-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 38%);
    gap: 1rem;
    align-items: stretch;
    min-height: calc(100vh - 180px);
}
.admin-split__list,
.admin-split__detail {
    min-width: 0;
    min-height: 100%;
}
.admin-split__detail {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 96px);
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(11, 43, 87, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 28px rgba(11, 43, 87, 0.05);
}
.admin-split__empty {
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}
.admin-split__empty i {
    font-size: 1.8rem;
    color: rgba(11, 43, 87, 0.28);
    margin-bottom: 0.35rem;
}
.admin-split__empty strong {
    color: var(--navy);
    font-size: 1.05rem;
}
.admin-split__empty p {
    margin: 0;
    max-width: 26ch;
    font-size: 0.9rem;
}
.admin-preview {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.admin-preview__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(11, 43, 87, 0.06);
    background: #fbfcfe;
}
.admin-preview__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-deep);
}
.admin-preview__sub {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}
.admin-preview__body {
    padding: 1.15rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.admin-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.95rem 1.25rem 1.2rem;
    border-top: 1px solid rgba(11, 43, 87, 0.06);
    background: #fbfcfe;
    margin-top: auto;
}
.admin-kv {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.35rem 0.75rem;
    font-size: 0.92rem;
}
.admin-kv dt {
    color: var(--muted);
    font-weight: 650;
}
.admin-kv dd {
    margin: 0;
    color: var(--navy);
    font-weight: 600;
}
.admin-preview__block {
    border: 1px solid rgba(11, 43, 87, 0.07);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.95rem;
    background: #f7fafc;
}
.admin-preview__block h4 {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.admin-preview__message {
    white-space: pre-wrap;
    margin: 0;
    color: #334155;
    line-height: 1.55;
}
.admin-row-btn {
    cursor: pointer;
}
.admin-row-btn.is-selected {
    background: #eaf4ff !important;
}
.admin-row-btn.is-selected td {
    box-shadow: inset 3px 0 0 var(--cyan);
}
.admin-inbox__item {
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.admin-inbox__item.is-selected {
    border-color: rgba(46, 216, 255, 0.55);
    box-shadow: 0 12px 28px rgba(46, 216, 255, 0.12);
}

.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}
.admin-page-header__title {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    font-weight: 800;
    color: var(--navy-deep);
}
.admin-page-header__desc {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}
.admin-page-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.admin-page-header__actions .d-flex {
    align-items: center;
}
.admin-page-header__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    font-weight: 650;
}
.admin-page-header__actions .btn-sm {
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
}
.admin-page-header__actions .btn-lg,
.admin-page-header__actions .service-add-btn {
    min-height: 2.75rem;
    padding: 0.7rem 1.25rem;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.admin-dash-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    align-items: start;
}
.admin-stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.15rem 1.1rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(11, 43, 87, 0.08);
    box-shadow: 0 10px 28px rgba(11, 43, 87, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 43, 87, 0.1);
    color: inherit;
}
.admin-stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.admin-stat-card--sky .admin-stat-card__icon { background: #e7f0ff; color: #2b7fe0; }
.admin-stat-card--cyan .admin-stat-card__icon { background: #e4f9ff; color: #0aa8c9; }
.admin-stat-card--navy .admin-stat-card__icon { background: #e8eef8; color: #0b2b57; }
.admin-stat-card--soft .admin-stat-card__icon { background: #fff4e8; color: #d07a1a; }
.admin-stat-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.admin-stat-card__label {
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 600;
}
.admin-stat-card__value {
    font-size: 1.7rem;
    line-height: 1.1;
    color: var(--navy-deep);
}
.admin-stat-card__note {
    font-size: 0.8rem;
    color: var(--muted);
}
.admin-stat-card__go {
    margin-left: auto;
    color: rgba(11, 43, 87, 0.35);
}

.admin-panel {
    background: #fff;
    border: 1px solid rgba(11, 43, 87, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 28px rgba(11, 43, 87, 0.05);
    overflow: hidden;
}
.admin-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid rgba(11, 43, 87, 0.06);
    background: #fbfcfe;
}
.admin-panel__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
    color: var(--navy-deep);
}
.admin-panel__meta {
    font-size: 0.82rem;
    color: var(--muted);
}
.admin-panel__body {
    padding: 1.15rem;
}

.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}
.admin-quick-action {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-md);
    background: #f4f8fc;
    border: 1px solid rgba(11, 43, 87, 0.06);
    color: var(--navy);
    text-decoration: none;
    font-weight: 650;
    font-size: 0.92rem;
}
.admin-quick-action:hover {
    background: #eaf4ff;
    color: var(--navy-deep);
}
.admin-quick-action i {
    color: var(--sky);
}

.admin-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}
.admin-table th,
.admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(11, 43, 87, 0.06);
    vertical-align: middle;
    font-size: 0.92rem;
}
.admin-table th {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f8fafc;
}
.admin-table tbody tr:hover {
    background: #f7fbff;
}
.admin-table__empty {
    text-align: center;
    color: var(--muted);
    padding: 2rem 1rem !important;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}
.admin-badge--ok { background: #e7f8ee; color: #147a3c; }
.admin-badge--warn { background: #fff4db; color: #9a6b00; }
.admin-badge--info { background: #e7f0ff; color: #1d5bbf; }
.admin-badge--soft { background: #eef2f7; color: #44586f; }

.admin-state {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(11, 43, 87, 0.08);
    color: var(--muted);
}
.admin-state--error {
    color: #b42318;
    background: #fff5f5;
    border-color: #f3c1c1;
}

.admin-inbox {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.admin-inbox--compact {
    gap: 0.55rem;
    padding: 0.85rem;
}
.admin-inbox__item {
    background: #fff;
    border: 1px solid rgba(11, 43, 87, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.2rem;
    box-shadow: 0 8px 22px rgba(11, 43, 87, 0.04);
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
}
.admin-inbox__message--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0 !important;
}
.admin-engine-list,
.admin-item-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.admin-engine-list li,
.admin-item-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(11, 43, 87, 0.06);
}
.admin-engine-list li:last-child,
.admin-item-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.admin-engine-list span,
.admin-item-list span {
    color: var(--muted);
    font-size: 0.84rem;
}
.admin-engine-list small,
.admin-item-list small {
    color: #64748b;
    font-size: 0.78rem;
}
.admin-item-list li > div {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}
.admin-item-list p {
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
}
.admin-service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.admin-service-list li {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(11, 43, 87, 0.06);
}
.admin-service-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.admin-service-list__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.admin-service-list p {
    margin: 0.3rem 0 0.35rem;
    font-size: 0.86rem;
    color: #475569;
}
.admin-service-list__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.admin-service-list__meta small {
    color: var(--muted);
}
.admin-service-list__meta a {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sky);
    text-decoration: none;
}
.admin-service-list__meta a:hover {
    text-decoration: underline;
}

/* Ship preview — clearer scan hierarchy */
.ship-preview__head {
    gap: 0.75rem;
}
.ship-preview__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}
.ship-preview__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: var(--radius-sm);
    background: #eef3f8;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}
.ship-preview__chip--type {
    background: rgba(46, 216, 255, 0.16);
    color: #0a6f86;
}
.ship-preview__chip--muted {
    color: var(--muted);
    font-weight: 650;
}
.ship-preview__reg {
    font-weight: 750;
    color: var(--navy);
    letter-spacing: 0.02em;
}
.ship-preview__body {
    gap: 1.15rem !important;
}
.ship-preview__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}
.ship-preview__metric {
    background: #f4f8fc;
    border: 1px solid rgba(11, 43, 87, 0.06);
    border-radius: var(--radius-md);
    padding: 0.7rem 0.55rem;
    text-align: center;
}
.ship-preview__metric span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 0.2rem;
}
.ship-preview__metric strong {
    font-size: 1.25rem;
    line-height: 1;
    color: var(--navy-deep);
}
.ship-preview__metric small {
    display: inline-block;
    margin-left: 0.15rem;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 650;
}
.ship-preview__owner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid rgba(11, 43, 87, 0.08);
}
.ship-preview__avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--cyan), var(--sky));
    color: var(--navy-deep);
    font-weight: 800;
    flex-shrink: 0;
}
.ship-preview__section-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 0.1rem;
}
.ship-preview__owner strong {
    display: block;
    color: var(--navy-deep);
    font-size: 0.98rem;
}
.ship-preview__owner a {
    display: block;
    font-size: 0.84rem;
    color: var(--sky);
    text-decoration: none;
}
.ship-preview__owner a:hover {
    text-decoration: underline;
}
.ship-preview__section {
    border-top: 1px solid rgba(11, 43, 87, 0.07);
    padding-top: 0.9rem;
}
.ship-preview__section--focus {
    background: #f3fbff;
    border: 1px solid rgba(46, 216, 255, 0.28);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.9rem;
}
.ship-preview__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}
.ship-preview__section-head h4 {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 750;
    color: var(--navy-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.ship-preview__section-head h4 i {
    color: var(--sky);
}
.ship-preview__section-head span {
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 43, 87, 0.08);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 800;
}
.ship-preview__empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}
.ship-preview__engines {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
.ship-preview__engine {
    display: grid;
    gap: 0.1rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
    background: #f7fafc;
    border: 1px solid rgba(11, 43, 87, 0.06);
}
.ship-preview__engine strong {
    color: var(--navy-deep);
    font-size: 0.92rem;
}
.ship-preview__engine span {
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 650;
}
.ship-preview__engine small {
    color: var(--muted);
    font-size: 0.76rem;
}
.ship-preview__services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.ship-preview__services li {
    padding: 0.75rem 0.8rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid rgba(11, 43, 87, 0.08);
}
.ship-preview__services--past li {
    background: #fafbfc;
}
.ship-preview__service-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}
.ship-preview__service-main > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}
.ship-preview__service-main strong {
    color: var(--navy-deep);
    font-size: 0.92rem;
}
.ship-preview__service-main em {
    font-style: normal;
    font-weight: 800;
    font-size: 1.05rem;
    color: #0a6f86;
    white-space: nowrap;
}
.ship-preview__services p {
    margin: 0.35rem 0 0.45rem;
    font-size: 0.84rem;
    color: #5b6b7c;
    line-height: 1.4;
}
.ship-preview__service-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.ship-preview__service-foot small {
    color: var(--muted);
    font-size: 0.78rem;
}
.ship-preview__service-foot a {
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--sky);
    text-decoration: none;
}
.ship-preview__service-foot a:hover {
    text-decoration: underline;
}
.ship-preview__added {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
}
@media (max-width: 575.98px) {
    .ship-preview__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Service detail + new order drawer */
.service-add-btn {
    padding: 0.7rem 1.25rem !important;
    font-weight: 750 !important;
}
.service-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.service-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(11, 43, 87, 0.07);
}
.service-status-row .form-select {
    max-width: 260px;
}
.service-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.service-item-card {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(11, 43, 87, 0.08);
    border-radius: var(--radius-md);
    background: #fbfcfe;
}
.service-item-card__top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.35rem;
}
.service-item-card p {
    margin: 0 0 0.5rem;
    color: #475569;
}
.service-item-card__materials {
    margin: 0 0 0.55rem;
    padding-left: 1.1rem;
    color: var(--navy);
    font-size: 0.9rem;
}
.service-drawer-form {
    gap: 0.85rem !important;
}
.service-drawer-materials h4 {
    font-size: 0.86rem;
    font-weight: 750;
    color: var(--navy-deep);
}
.service-drawer-material {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px dashed rgba(11, 43, 87, 0.1);
}
.service-drawer-material__row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.4rem;
}

/* Ship form (page + drawer) */
.ship-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.ship-page-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    max-width: 720px;
    margin: 0 auto;
}
.ship-drawer-form {
    gap: 0.85rem !important;
}
.ship-drawer-form .ship-flag-select,
.ship-page-form .ship-flag-select {
    width: 100%;
    padding-bottom: 0 !important;
}
.ship-drawer-form .ship-flag-select button,
.ship-page-form .ship-flag-select button {
    width: 100%;
    border-radius: var(--radius-md) !important;
    border-color: rgba(11, 43, 87, 0.14) !important;
}
@media (max-width: 575.98px) {
    .ship-form-grid {
        grid-template-columns: 1fr;
    }
}
.admin-inbox__item.is-unread {
    border-color: rgba(46, 216, 255, 0.45);
    box-shadow: 0 10px 28px rgba(46, 216, 255, 0.08);
}
.admin-inbox__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}
.admin-inbox__subject {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--navy-deep);
}
.admin-inbox__meta {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}
.admin-inbox__message {
    white-space: pre-wrap;
    color: #334155;
    margin-bottom: 0.85rem;
}

@media (max-width: 1199.98px) {
    .admin-stat-grid,
    .admin-quick-actions,
    .admin-dash-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-dash-grid {
        grid-template-columns: 1fr;
    }
    .admin-topbar__search { display: none; }
    .admin-topbar__user-meta { display: none; }
    .admin-split {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
    }
}
@media (max-width: 1100px) {
    .admin-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .admin-split__detail {
        position: relative;
        top: 0;
        max-height: none;
        min-height: 360px;
    }
}
@media (max-width: 991.98px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: relative;
        top: 0;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding: 0.65rem 0.75rem;
    }
    .admin-sidebar__brand {
        width: 100%;
        margin-bottom: 0.15rem;
    }
    .admin-sidebar__brand strong {
        font-size: 0.95rem;
    }
    .admin-sidebar__footer {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
        align-items: center;
        margin-top: 0.25rem;
        padding-top: 0.45rem;
    }
    .admin-sidebar__user {
        width: 100%;
        margin: 0 0 0.15rem;
        font-size: 0.8rem;
    }
    .admin-sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 0.3rem;
    }
    .admin-sidebar__link {
        width: auto;
        padding: 0.45rem 0.7rem;
        font-size: 0.86rem;
    }
    .admin-sidebar__footer .admin-sidebar__link {
        padding: 0.4rem 0.65rem;
    }
}
@media (max-width: 575.98px) {
    .admin-stat-grid,
    .admin-quick-actions {
        grid-template-columns: 1fr;
    }
    .admin-content {
        padding: 1rem;
    }
}

/*** Auth landing (prijava) ***/
body.auth-mode {
    background: var(--navy-deep);
}
body.auth-mode .mainLayout--auth,
body.auth-mode .mainLayout--auth .layout,
body.auth-mode .mainLayout--auth .mainContent {
    max-width: none !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}
.auth-landing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 46%);
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
}
.auth-landing__visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    color: #fff;
}
.auth-landing__bg {
    object-fit: cover;
    object-position: center 40%;
    animation: auth-bg-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes auth-bg-in {
    from { transform: scale(1.04); filter: saturate(0.9); opacity: 0.85; }
    to { transform: scale(1); filter: saturate(1); opacity: 1; }
}
.auth-landing__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 32, 66, 0.78) 6%, rgba(8, 32, 66, 0.28) 58%, rgba(8, 32, 66, 0.12) 100%),
        linear-gradient(180deg, rgba(8, 32, 66, 0.08) 0%, rgba(8, 32, 66, 0.68) 100%);
    z-index: 1;
}
.auth-landing__copy {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(2rem, 5vw, 4.25rem);
    max-width: 34rem;
    animation: auth-copy-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
@keyframes auth-copy-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-landing__brand {
    width: auto;
    height: 52px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}
.auth-landing__title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #fff;
}
.auth-landing__lead {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    max-width: 32ch;
}
.auth-landing__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
    background: #fff;
    border-left: 1px solid rgba(11, 43, 87, 0.06);
    animation: auth-panel-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
@keyframes auth-panel-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}
.auth-landing__form-wrap {
    width: 100%;
    max-width: 400px;
}
.auth-landing__home-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
    text-decoration: none;
    color: var(--navy-deep);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}
.auth-landing__home-mark:hover {
    color: var(--navy);
}
.auth-landing__form-mark {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.auth-landing__form-title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.85rem, 2.8vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy-deep);
}
.auth-landing__form-lead {
    margin: 0 0 1.65rem;
    color: #5a6b82;
    font-size: 0.95rem;
    line-height: 1.45;
}
.auth-landing__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.auth-landing__form .form-floating > .form-control {
    border-color: rgba(11, 43, 87, 0.14);
    background: #f8fafc;
    min-height: 3.35rem;
}
.auth-landing__form .form-floating > .form-control:focus {
    background: #fff;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(46, 216, 255, 0.22);
}
.auth-landing__submit {
    margin-top: 0.45rem;
    padding: 0.95rem 1.2rem !important;
    font-weight: 750 !important;
    font-size: 1.02rem !important;
}
.auth-landing__footer {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: #5a6b82;
    font-size: 0.92rem;
}
.auth-landing__footer p {
    margin: 0;
}
.auth-landing__footer a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}
.auth-landing__footer a:hover {
    color: var(--sky);
}
.auth-landing__back {
    font-weight: 650 !important;
    color: #5a6b82 !important;
}
.auth-landing__back:hover {
    color: var(--navy) !important;
}

@media (max-width: 991.98px) {
    .auth-landing {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .auth-landing__visual {
        min-height: 38vh;
    }
    .auth-landing__copy {
        justify-content: flex-end;
        padding: 1.5rem 1.25rem 1.75rem;
    }
    .auth-landing__brand {
        height: 34px;
        margin-bottom: 0.85rem;
    }
    .auth-landing__title {
        font-size: clamp(1.85rem, 7vw, 2.4rem);
    }
    .auth-landing__lead {
        font-size: 0.98rem;
        max-width: none;
    }
    .auth-landing__panel {
        border-left: 0;
        border-top: 1px solid rgba(11, 43, 87, 0.06);
        min-height: 62vh;
        align-items: flex-start;
        padding-top: 2rem;
    }
    .auth-landing__home-mark {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-landing__bg,
    .auth-landing__copy,
    .auth-landing__panel {
        animation: none;
    }
}

.success-panel__icon {
    display: inline-block;
    font-size: 2.4rem;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}
.ship-detail-photo {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 43, 87, 0.08);
}
