:root {
    --site-ink: #0f1c2b;
    --site-ink-soft: #203448;
    --site-brand: #163f61;
    --site-brand-strong: #0f2f49;
    --site-accent: #d8ab45;
    --site-accent-soft: #f5e2a8;
    --site-sand: #f3ede3;
    --site-mist: #e6eef4;
    --site-paper: #fcfaf7;
    --site-white: #ffffff;
    --site-muted: #66778a;
    --site-line: rgba(15, 28, 43, 0.12);
    --site-shadow: 0 18px 50px rgba(11, 30, 46, 0.12);
    --site-radius-xl: 2rem;
    --site-radius-lg: 1.5rem;
    --site-radius-md: 1rem;
    --site-max: 1240px;
}

.ye {
    color: #d8ab45;
}

.yeba {
    background: radial-gradient(circle at center, rgb(225, 185, 55) 0%, rgb(214, 178, 11) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Source Sans 3", sans-serif;
    color: var(--site-ink);
    min-height: 100vh;
    background-image: url('../brand/hmsmaskin-icon.svg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    background-color: #012542;
    background-position: center center;
}

a {
    color: var(--site-brand);
    text-decoration: none;
}

a:hover {
    color: #635d28;
}

img {
    max-width: 100%;
    height: auto;
}

.site-shell {
    position: relative;
    overflow: hidden;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
}

.site-shell::before {
    top: 6rem;
    right: -10rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: rgba(2, 20, 43, 0.12);
    filter: blur(10px);
}

.site-shell::after {
    left: -8rem;
    bottom: 8rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(22, 63, 97, 0.08);
    filter: blur(10px);
}

.container-site {
    max-width: var(--site-max);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(184, 195, 204, 0.64);
    color: var(--site-brand);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--site-accent);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled .topbar,
.site-header.is-scrolled .navbar-wrap {
    box-shadow: var(--site-shadow);
}

.topbar {
    background: rgba(15, 28, 43, 0.92);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.topbar a {
    color: #fff;
}

.topbar a:hover {
    color: #d7ac62;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar-wrap {
    background: #032033;
    border-bottom: 1px solid rgba(15, 28, 43, 0.08);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 90%;
    max-width: 310px;
}

.brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    object-fit: contain;
    background: linear-gradient(135deg, var(--site-brand), var(--site-brand-strong));
    padding: 0.55rem;
    box-shadow: 0 12px 24px rgba(22, 63, 97, 0.18);
}

.nav-link {
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    padding-inline: 0.95rem !important;
    font-family: 'Oswald', sans-serif;
    background-color: #0a2d40;
    color: #e5cb90;
    border-radius: 8px;
}

.nav-link a {
    color: #dadaa1;
}

.nav-link:focus,
a.nav-link:hover {
    color: #d8ab45;
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(22, 63, 97, 0.07);
}

.nav-link.active {
    color: var(--site-brand);
    background: rgba(22, 63, 97, 0.12);
}

.navbar-toggler {
    padding: 0.45rem 0.6rem;
    border-radius: 0.2rem;
    background: rgba(0, 0, 0, 0.96);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    background: rgba(216, 171, 69, 0.24);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(216, 171, 69, 0.18);
}

.navbar-toggler-icon {
    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%28229, 203, 144, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero {
    position: relative;
    padding: 5rem 0 3rem;
}

.hero-surface {
    position: relative;
    overflow: hidden;
    border-radius: var(--site-radius-xl);
    background: linear-gradient(173deg, rgba(15, 28, 43, 0.97) 0%, rgba(2, 47, 85, 0.92) 100%);
    color: #fff;
    box-shadow: var(--site-shadow);
}

.hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding: clamp(2rem, 4vw, 4rem);
}

.hero-media {
    min-height: 21rem;
    background: var(--hero-image, none) center/cover no-repeat;
}

.hero-kicker,
.section-kicker {
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 1.5em;
}

.hero h1,
.page-hero h1,
.section-title,
.footer-title,
.display-word {
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.2;
    margin: 1rem 0 1.25rem;
    color: #d8ab45;
}

.hero p.lead,
.page-hero p.lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-card {
    border-radius: var(--site-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    text-align: center;
}

.hero-chip-list,
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-chip,
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.chip {
    background: var(--site-white);
    color: var(--site-brand);
    border: 1px solid rgba(22, 63, 97, 0.12);
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 0.9rem;
}

.section-copy {
    color: var(--site-brand-strong);
    max-width: 48rem;
}

.surface-card,
.service-card,
.info-card,
.quote-card,
.gallery-card,
.contact-card {
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--site-shadow);
}

.surface-card,
.service-card,
.info-card,
.quote-card,
.contact-card {
    padding: 1.6rem;
}

.service-card {
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(11, 30, 46, 0.16);
}

.service-card .service-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1.15rem;
    margin-bottom: 1rem;
}

.service-card h3,
.info-card h3,
.quote-card h3,
.contact-card h3,
.gallery-card h3 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

.accent-bar {
    width: 80%;
    height: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(0, 67, 104) 0%, rgba(124, 161, 188, 0.84) 48%, rgb(35, 65, 95) 100%);
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(22, 63, 97, 0.95), rgba(15, 28, 43, 0.95));
    color: #fff;
    padding: 1.35rem;
    box-shadow: var(--site-shadow);
    text-align: center;
}

.stat-card strong {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 1.6rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.split-panel {
    overflow: hidden;
    border-radius: var(--site-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88));
    border: 1px solid rgba(15, 28, 43, 0.08);
    box-shadow: var(--site-shadow);
}

.split-panel-copy {
    padding: clamp(1.75rem, 4vw, 3rem);
}

.split-panel-media {
    min-height: 20rem;
    background: center/cover no-repeat;
}

.list-check {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.list-check li {
    position: relative;
    padding-left: 1.65rem;
    margin-bottom: 0.85rem;
    color: var(--site-brand-strong);
}

.list-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgb(216, 171, 69) 0%, rgb(235, 170, 23) 100%);
}

.area-map {
    padding: 2rem;
    border-radius: var(--site-radius-lg);
    color: #fff;
    box-shadow: var(--site-shadow);
    background-image: linear-gradient(160deg, rgb(5, 36, 65) 0%, rgba(5, 36, 65, 0.85) 97%);
}

.area-map p,
.area-map li {
    color: rgba(255, 255, 255, 0.84);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-button {
    padding: 0;
    border: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 1.2rem;
    box-shadow: var(--site-shadow);
    background: transparent;
}

.gallery-button img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-button:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    display: block;
    padding-top: 0.55rem;
    color: var(--site-muted);
    font-size: 0.95rem;
}

.placeholder-form .form-control,
.placeholder-form .form-select {
    min-height: 3.2rem;
    border-radius: 1rem;
    border-color: rgba(15, 28, 43, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.placeholder-form textarea.form-control {
    min-height: 10rem;
}

.placeholder-note {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(216, 171, 69, 0.14);
    color: var(--site-ink-soft);
    border: 1px solid rgba(216, 171, 69, 0.24);
}

.form-embed-frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    overflow: hidden;
}

.partner-logo {
    border-radius: 1.2rem;
    background: #fff;
    padding: 1.35rem;
    min-height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 28, 43, 0.08);
}

.page-hero {
    padding: 3rem 0 2rem;
}

.page-hero-surface {
    position: relative;
    overflow: hidden;
    border-radius: var(--site-radius-xl);
    background: linear-gradient(135deg, rgba(15, 28, 43, 0.9), rgba(22, 63, 97, 0.84)),
        var(--hero-image, none) center/cover no-repeat;
    color: #fff;
    box-shadow: var(--site-shadow);
}

.page-hero-copy {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3.2rem);
}

.page-hero-copy p {
    max-width: 42rem;
}

.cta-band {
    border-radius: var(--site-radius-xl);
    background: linear-gradient(135deg, var(--site-brand), var(--site-brand-strong));
    color: #fff;
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: var(--site-shadow);
}

.cta-band a:not(.btn) {
    color: #fff;
}

.btn-primary {
    --bs-btn-bg: var(--site-brand);
    --bs-btn-border-color: var(--site-brand);
    --bs-btn-hover-bg: var(--site-brand-strong);
    --bs-btn-hover-border-color: var(--site-brand-strong);
    --bs-btn-active-bg: var(--site-brand-strong);
    --bs-btn-active-border-color: var(--site-brand-strong);
}

.btn-accent {
    --bs-btn-color: var(--site-ink);
    --bs-btn-bg: var(--site-accent);
    --bs-btn-border-color: var(--site-accent);
    --bs-btn-hover-color: var(--site-ink);
    --bs-btn-hover-bg: #e4bb63;
    --bs-btn-hover-border-color: #e4bb63;
    --bs-btn-active-color: var(--site-ink);
    --bs-btn-active-bg: #e4bb63;
    --bs-btn-active-border-color: #e4bb63;
}

.btn-outline-light:hover {
    color: var(--site-ink);
}

.modal-content {
    border: 0;
    border-radius: 1.5rem;
    overflow: hidden;
}

.modal-header,
.modal-footer {
    border: 0;
}

.site-footer {
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.91);
    background-color: rgba(0, 0, 0, 0.93);
}

.site-footer a {
    color: #fff;
}

.footer-card {
    height: 100%;
    border-radius: var(--site-radius-lg);
    padding: 1.5rem;
    background: rgba(5, 22, 45, 0.776);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
    font-size: 1.45rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li + li {
    margin-top: 0.6rem;
}

.footer-bottom {
    padding-top: 1.2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fine-print {
    color: var(--site-muted);
    font-size: 0.96rem;
}

@media (max-width: 991.98px) {
    .stat-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        padding-top: 3rem;
    }

    .topbar {
        font-size: 0.88rem;
    }

    .navbar-wrap .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1rem;
        background: rgba(7, 32, 49, 0.98);
        border: 1px solid rgba(229, 203, 144, 0.14);
    }

    .navbar-wrap .navbar-collapse:not(.show) {
        display: none;
    }

    .navbar-wrap .navbar-collapse.show {
        display: block;
    }

    .navbar-wrap .navbar-nav {
        gap: 0.5rem;
    }

    .navbar-wrap .nav-link {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem !important;
        background: rgba(10, 45, 64, 0.9);
    }

    .navbar-wrap .nav-link.active {
        color: #f4df21;
        background: rgba(216, 171, 69, 0.16);
    }
}

@media (max-width: 767.98px) {
    .stat-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .page-hero-copy,
    .split-panel-copy,
    .area-map,
    .surface-card,
    .service-card,
    .info-card,
    .quote-card,
    .contact-card,
    .cta-band {
        padding: 1.35rem;
    }

    .hero-media,
    .split-panel-media {
        min-height: 16rem;
    }

    .brand-logo {
        width: 11rem;
    }
}

.btn {
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.fotlanks li {
    transition: transform 0.60s ease;
}

.fotlanks li:hover {
    background-color: #0e1a28;
    transform: scale(1.05);
}
