/* ==========================================================================
   HAJŠL
   Montáže VTZ / revize / inženýring TZB

   Styl:
   technický / profesionální / čistý / robustní / důvěryhodný
   ========================================================================== */


/* --------------------------------------------------------------------------
   0) Project palette
   -------------------------------------------------------------------------- */

:root {
    /* Logo / firemní barvy */
    --project: #4E8A7E;
    --project-dark: #3B6E63;
    --project-deep: #28544C;
    --project-light: #BFD8D1;
    --project-soft: #E8F3F0;

    --accent-yellow: #FFED00;
    --accent-yellow-dark: #E5D400;

    --accent-red: #E41E26;
    --accent-red-dark: #BD171D;

    --technical-gray: #A0A0A0;
    --technical-gray-dark: #737373;

    /* Backgrounds */
    --bg-body: #FFFFFF;
    --bg-soft: #F5F7F7;
    --bg-soft-green: #F1F7F5;
    --bg-card: #FFFFFF;

    --bg-dark: #1F2933;
    --bg-deep: #121B23;
    --bg-black: #0D141A;

    /* Typography */
    --text-body: #1F2933;
    --text-muted: #66727C;
    --text-soft: #87919A;
    --text-light: #FFFFFF;

    /* Borders */
    --border-base: rgba(31, 41, 51, .12);
    --border-soft: rgba(31, 41, 51, .07);
    --border-green: rgba(78, 138, 126, .24);

    /* Shadows */
    --shadow-xs: 0 4px 14px rgba(18, 27, 35, .05);
    --shadow-soft: 0 12px 34px rgba(18, 27, 35, .08);
    --shadow-card: 0 20px 55px rgba(18, 27, 35, .13);
    --shadow-project: 0 15px 34px rgba(78, 138, 126, .22);
    --shadow-yellow: 0 14px 32px rgba(255, 237, 0, .22);

    /* Gradients */
    --gradient-project:
        linear-gradient(
            135deg,
            #57988B 0%,
            #4E8A7E 48%,
            #3B6E63 100%
        );

    --gradient-dark:
        linear-gradient(
            135deg,
            #1F2933 0%,
            #121B23 100%
        );

    --gradient-hero:
        linear-gradient(
            90deg,
            rgba(25, 70, 61, .98) 0%,
            rgba(30, 79, 69, .93) 30%,
            rgba(26, 61, 55, .76) 52%,
            rgba(18, 27, 35, .28) 76%,
            rgba(18, 27, 35, .05) 100%
        );

    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;

    --header-height: 88px;
}


/* --------------------------------------------------------------------------
   1) Base
   -------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg-body);
    color: var(--text-body);
}

body {
    overflow-x: hidden;

    font-family:
        "Poppins",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        opacity .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

a:hover {
    color: var(--project-dark);
}

img {
    display: block;
    max-width: 100%;
}

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

::selection {
    background: rgba(78, 138, 126, .25);
    color: var(--text-body);
}

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

.bg-project {
    background: var(--project) !important;
    color: #fff !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-body);
    font-weight: 800;
    letter-spacing: -.035em;
}

.section-space {
    position: relative;
    padding: 6rem 0;
}

.section-space-sm {
    position: relative;
    padding: 4.5rem 0;
}

.section-soft-bg {
    background: var(--bg-soft);
}


/* --------------------------------------------------------------------------
   2) Section headings
   -------------------------------------------------------------------------- */

.section-head {
    max-width: 880px;
    margin: 0 0 3rem;
}

.section-head.text-center {
    margin-right: auto;
    margin-left: auto;
}

.section-head h2 {
    margin: 0 0 1rem;

    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 900;
    line-height: 1.08;
}

.section-head p:not(.section-kicker) {
    max-width: 760px;
    margin-bottom: 0;

    color: var(--text-muted);

    font-size: 1.03rem;
    line-height: 1.72;
}

.section-head.text-center p:not(.section-kicker) {
    margin-right: auto;
    margin-left: auto;
}

.section-kicker,
.kicker {
    display: block;

    margin: 0 0 .7rem;

    color: var(--project-dark);

    font-size: .79rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.section-kicker::after {
    content: "";

    display: block;

    width: 38px;
    height: 3px;

    margin-top: .65rem;

    background: var(--accent-red);
}

.text-center .section-kicker::after,
.section-head.text-center .section-kicker::after {
    margin-right: auto;
    margin-left: auto;
}


/* --------------------------------------------------------------------------
   3) Header / navigation
   -------------------------------------------------------------------------- */

#site-header {
    position: relative;
    z-index: 1000;

    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--border-soft);

    box-shadow: 0 4px 16px rgba(18, 27, 35, .04);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-nav,
#site-header .navbar {
    min-height: var(--header-height);
}

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

.navbar-brand img {
    width: auto;
    max-height: 62px;
}

.nav-link {
    position: relative;

    padding-right: .9rem !important;
    padding-left: .9rem !important;

    color: var(--text-body) !important;

    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--project-dark) !important;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    right: .9rem;
    bottom: .15rem;
    left: .9rem;

    height: 2px;

    background: var(--project);
}

.navbar-toggler {
    width: 48px;
    height: 44px;

    padding: .5rem;

    border: 1px solid var(--border-base);
    border-radius: var(--radius-sm);

    background: #fff;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(78, 138, 126, .14);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    padding: .78rem 1.05rem;

    border-radius: var(--radius-sm);

    background: var(--accent-yellow);

    color: var(--bg-deep);

    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.header-phone:hover {
    background: var(--accent-yellow-dark);
    color: var(--bg-deep);
}


/* --------------------------------------------------------------------------
   4) Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;

    border-radius: var(--radius-sm);

    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .01em;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-project {
    border: 1px solid var(--accent-yellow) !important;

    background: var(--accent-yellow) !important;

    color: var(--bg-deep) !important;

    box-shadow: var(--shadow-yellow);
}

.btn-project:hover,
.btn-project:focus {
    border-color: var(--accent-yellow-dark) !important;

    background: var(--accent-yellow-dark) !important;

    color: var(--bg-deep) !important;

    box-shadow: 0 16px 34px rgba(255, 237, 0, .28);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, .55) !important;

    background: rgba(18, 27, 35, .16) !important;

    color: #fff !important;

    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    border-color: #fff !important;

    background: #fff !important;

    color: var(--bg-deep) !important;
}

.btn-dark {
    border: 1px solid var(--bg-deep) !important;

    background: var(--bg-deep) !important;

    color: #fff !important;
}

.btn-dark:hover {
    background: var(--project-deep) !important;
    border-color: var(--project-deep) !important;
    color: #fff !important;
}

.btn-lg {
    min-height: 54px;
    padding: .9rem 1.35rem;
}


/* --------------------------------------------------------------------------
   5) Hero
   -------------------------------------------------------------------------- */

.home-hero {
    position: relative;

    min-height: 620px;

    overflow: hidden;

    background: var(--bg-deep);
}

.home-hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-hero-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center right;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    pointer-events: none;

    background:
        var(--gradient-hero),
        linear-gradient(
            180deg,
            rgba(18, 27, 35, .08) 0%,
            rgba(18, 27, 35, .05) 65%,
            rgba(18, 27, 35, .18) 100%
        );
}

.home-hero-container {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;

    min-height: 620px;

    padding-top: 4rem;
    padding-bottom: 4rem;
}

.home-hero-copy {
    width: min(760px, 68%);
}

.hero-title {
    max-width: 18ch;

    margin: 0 0 1.5rem;

    color: #fff;

    font-size: clamp(2.7rem, 4.7vw, 4.7rem);
    font-weight: 900;

    line-height: 1.04;
    letter-spacing: -.045em;

    text-transform: uppercase;
}

.hero-title span {
    color: var(--accent-yellow);
}

.hero-professions {
    display: flex;
    flex-wrap: wrap;
    gap: 0;

    margin: 0 0 1.5rem;
}

.hero-profession {
    display: inline-flex;
    align-items: center;
    gap: .6rem;

    padding: .35rem 1.3rem;

    border-right: 1px solid rgba(255, 255, 255, .28);

    color: #fff;

    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-profession:first-child {
    padding-left: 0;
}

.hero-profession:last-child {
    border-right: 0;
}

.hero-profession i {
    color: var(--accent-yellow);
    font-size: 1.35rem;
}

.hero-profession:first-child i {
    color: #fff;
}

.hero-text {
    max-width: 650px;

    margin: 0 0 1.9rem;

    color: rgba(255, 255, 255, .89);

    font-size: 1.04rem;
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}


/* Hero emergency */

.hero-emergency {
    position: absolute;

    right: 0;
    bottom: 2rem;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 1rem;

    min-width: 330px;

    padding: 1rem 1.4rem;

    background: #fff;

    box-shadow: var(--shadow-card);
}

.hero-emergency-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: var(--accent-red);

    color: #fff;

    font-size: 1.45rem;
}

.hero-emergency-copy {
    display: flex;
    flex-direction: column;
}

.hero-emergency-copy small {
    color: var(--text-muted);

    font-size: .68rem;
    font-weight: 800;

    text-transform: uppercase;
}

.hero-emergency-copy span {
    color: var(--project-dark);

    font-size: .74rem;
    font-weight: 800;

    text-transform: uppercase;
}

.hero-emergency-copy a {
    margin-top: .05rem;

    color: var(--text-body);

    font-size: 1.35rem;
    font-weight: 900;
}

.hero-emergency-copy a:hover {
    color: var(--accent-red);
}

.subpage-hero__content {
   position: relative;
   z-index: 1;
   text-align: center;
}

.subpage-hero__title {
   display: inline-block;
   position: relative;
   margin: 0;
   padding: 12px 45px;
   color: #fff;
   font-weight: 700;
   text-shadow: 0 2px 4px rgba(0, 0, 0, .35),
   0 5px 15px rgba(0, 0, 0, .20);
   background: linear-gradient(
   90deg,
   rgba(24, 13, 15, 0) 0%, 
   rgba(24, 13, 15, .40) 12%,
   rgba(24, 13, 15, .70) 28%,
   rgba(24, 13, 15, .80) 50%,
   rgba(24, 13, 15, .70) 72%,
   rgba(24, 13, 15, .40) 88%,
   rgba(24, 13, 15, 0) 100%
   );
}

/* --------------------------------------------------------------------------
   6) Benefits strip
   -------------------------------------------------------------------------- */

.home-benefits-strip {
    position: relative;
    z-index: 10;

    background: #fff;

    border-bottom: 1px solid var(--border-soft);

    box-shadow: 0 6px 25px rgba(18, 27, 35, .04);
}

.benefits-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefits-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;

    min-height: 112px;

    padding: 1.25rem 1rem;

    border-right: 1px solid var(--border-soft);
}

.benefits-strip-item:last-child {
    border-right: 0;
}

.benefits-strip-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    color: var(--project);

    font-size: 1.8rem;
}

.benefits-strip-item > div:last-child {
    display: flex;
    flex-direction: column;
}

.benefits-strip-item strong {
    color: var(--text-body);

    font-size: .84rem;
    font-weight: 900;

    text-transform: uppercase;
}

.benefits-strip-item span {
    color: var(--text-muted);

    font-size: .74rem;
}


/* --------------------------------------------------------------------------
   7) Main services
   -------------------------------------------------------------------------- */

.home-services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1.5rem;
}

.service-card {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);

    background: var(--bg-card);

    box-shadow: var(--shadow-soft);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.service-card:hover {
    border-color: var(--border-green);

    box-shadow: var(--shadow-card);

    transform: translateY(-5px);
}

.service-card-image {
    position: relative;

    display: block;
    overflow: hidden;

    aspect-ratio: 16 / 9;

    background: var(--bg-dark);
}

.service-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(18, 27, 35, 0) 50%,
            rgba(18, 27, 35, .18) 100%
        );

    pointer-events: none;
}

.service-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.035);
}

.service-card-icon-row {
    position: relative;

    height: 0;

    z-index: 5;
}

.service-card-icon {
    position: absolute;

    top: -28px;
    left: 1.4rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    border: 4px solid #fff;
    border-radius: 50%;

    background: var(--project);

    color: #fff;

    box-shadow: 0 10px 25px rgba(78, 138, 126, .28);

    font-size: 1.4rem;
}

.service-card-icon-gray {
    background: var(--technical-gray-dark);
}

.service-card-icon-yellow {
    background: var(--accent-yellow);
    color: var(--bg-deep);
}

.service-card-body {
    padding: 2.55rem 1.45rem 1.55rem;
}

.service-card h3 {
    margin: 0 0 .8rem;

    font-size: 1.24rem;
    font-weight: 900;

    line-height: 1.25;
}

.service-card p {
    margin: 0 0 1rem;

    color: var(--text-muted);

    font-size: .9rem;
    line-height: 1.62;
}

.service-card-list {
    display: grid;
    gap: .35rem;

    margin: 0 0 1.3rem;
    padding: 0;

    list-style: none;
}

.service-card-list li {
    position: relative;

    padding-left: 1rem;

    color: var(--text-body);

    font-size: .84rem;
    line-height: 1.45;
}

.service-card-list li::before {
    content: "";

    position: absolute;
    top: .62em;
    left: 0;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--project);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;

    color: var(--project-dark);

    font-size: .74rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .035em;
}

.service-card-link:hover {
    color: var(--project-deep);
}

.service-card-link span {
    transition: transform .2s ease;
}

.service-card-link:hover span {
    transform: translateX(4px);
}


/* --------------------------------------------------------------------------
   8) Additional services
   -------------------------------------------------------------------------- */

.home-additional-services {
    background: var(--bg-soft);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1.5rem;
}

.additional-service-card {
    display: grid;
    grid-template-columns: 38% 62%;

    overflow: hidden;

    min-height: 280px;

    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);

    background: #fff;

    box-shadow: var(--shadow-xs);
}

.additional-service-image {
    display: block;

    min-height: 100%;

    overflow: hidden;
}

.additional-service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.additional-service-card:hover .additional-service-image img {
    transform: scale(1.035);
}

.additional-service-body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;

    padding: 1.7rem 1.5rem;
}

.additional-service-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: var(--project);

    color: #fff;

    font-size: 1.15rem;
}

.additional-service-body h3 {
    margin: .15rem 0 .65rem;

    font-size: 1.08rem;
    font-weight: 900;

    line-height: 1.3;
}

.additional-service-body p {
    margin: 0 0 .85rem;

    color: var(--text-muted);

    font-size: .85rem;
    line-height: 1.58;
}

.additional-service-body ul {
    margin: 0 0 1rem;
    padding-left: 1rem;

    color: var(--text-muted);

    font-size: .82rem;
}


/* --------------------------------------------------------------------------
   9) About
   -------------------------------------------------------------------------- */

.home-about {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #F0F8F6 0%,
            #F8FBFA 47%,
            #EEF5F4 100%
        );
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 4rem;

    align-items: center;
}

.about-copy h2 {
    margin: 0 0 1.25rem;

    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    font-weight: 900;

    line-height: 1.04;
}

.about-copy p {
    margin: 0 0 1rem;

    color: var(--text-muted);

    font-size: .96rem;
    line-height: 1.72;
}

.about-copy .about-lead {
    color: var(--text-body);

    font-size: 1.04rem;
    font-weight: 600;
}

.about-media {
    position: relative;

    min-height: 470px;
}

.about-media img {
    width: 100%;
    min-height: 470px;

    object-fit: cover;
    object-position: center;

    box-shadow: var(--shadow-card);
}

.about-claim {
    position: absolute;

    top: 1.6rem;
    right: 1.8rem;
    z-index: 3;

    max-width: 240px;

    color: var(--bg-deep);

    font-size: 1.55rem;
    font-weight: 700;
    font-style: italic;

    line-height: 1.3;

    transform: rotate(-3deg);
}

.about-claim::after {
    content: "";

    display: block;

    width: 55px;
    height: 3px;

    margin-top: .65rem;
    margin-left: auto;

    background: var(--accent-red);
}

.about-media-badge {
    position: absolute;

    right: 0;
    bottom: 0;
    z-index: 4;

    max-width: 420px;

    padding: 1.1rem 1.4rem;

    background: rgba(18, 27, 35, .93);

    color: #fff;
}

.about-media-badge strong {
    display: block;

    margin-bottom: .35rem;

    font-size: .74rem;
    font-weight: 900;

    text-transform: uppercase;
}

.about-media-badge span {
    display: block;

    color: rgba(255, 255, 255, .75);

    font-size: .73rem;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   10) Why us
   -------------------------------------------------------------------------- */

.home-why-us {
    background: #fff;

    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.home-why-us .section-head {
    margin-bottom: 2rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));

    gap: .8rem;
}

.why-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: .8rem .4rem;

    text-align: center;
}

.why-us-item i {
    margin-bottom: .65rem;

    color: var(--project);

    font-size: 1.65rem;
}

.why-us-item span {
    color: var(--text-muted);

    font-size: .72rem;
    line-height: 1.4;
}

.why-us-item strong {
    color: var(--text-body);

    font-weight: 700;
}


/* --------------------------------------------------------------------------
   11) Certificates / location
   -------------------------------------------------------------------------- */

.home-certificates {
    background: var(--bg-soft);
}

.certificates-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 4rem;
}

.certificates-block,
.location-block {
    min-width: 0;
}

.certificates-location-grid .section-head {
    margin-bottom: 2rem;
}

.certificates-location-grid .section-head h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.45rem);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: .8rem;

    margin-bottom: 1.5rem;
}

.certificate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 145px;

    padding: 1rem;

    border: 1px solid var(--border-soft);

    background: #fff;

    box-shadow: var(--shadow-xs);

    text-align: center;
}

.certificate-card:hover {
    border-color: var(--border-green);

    box-shadow: var(--shadow-soft);

    transform: translateY(-3px);
}

.certificate-card i {
    margin-bottom: .7rem;

    color: var(--project);

    font-size: 1.8rem;
}

.certificate-card strong {
    color: var(--text-body);

    font-size: .76rem;
    line-height: 1.35;
}

.location-block {
    padding-left: 3rem;

    border-left: 1px solid var(--border-base);
}

.location-map {
    position: relative;

    min-height: 250px;
}

.location-map img {
    width: 100%;
    max-height: 290px;

    object-fit: contain;
}

.location-map-label {
    position: absolute;

    top: 47%;
    left: 48%;

    display: flex;
    align-items: center;
    gap: .35rem;

    color: var(--text-body);

    font-size: .76rem;
    font-weight: 800;
}

.location-map-label i {
    color: var(--accent-red);
}


/* --------------------------------------------------------------------------
   12) Contact / emergency
   -------------------------------------------------------------------------- */

.home-contact-strip {
    position: relative;

    overflow: hidden;

    padding: 4rem 0;

    background:
        linear-gradient(
            90deg,
            rgba(18, 27, 35, .98),
            rgba(24, 37, 47, .96)
        );

    color: #fff;
}

.home-contact-strip::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            500px 260px at 20% 50%,
            rgba(78, 138, 126, .13),
            transparent 70%
        );

    pointer-events: none;
}

.contact-strip-main {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.3fr .9fr;

    gap: 4rem;

    align-items: center;
}

.home-contact-strip .section-kicker {
    color: #fff;
}

.contact-persons {
    display: grid;
    grid-template-columns: repeat(3, auto);

    gap: 0;

    margin-top: 1.6rem;
}

.contact-person {
    display: flex;
    flex-direction: column;

    padding-right: 1.8rem;
    margin-right: 1.8rem;

    border-right: 1px solid rgba(255, 255, 255, .15);
}

.contact-person:last-child {
    border-right: 0;
}

.contact-person strong {
    color: #fff;

    font-size: .95rem;
    font-weight: 900;
}

.contact-person span {
    margin: .15rem 0 .35rem;

    color: rgba(255, 255, 255, .64);

    font-size: .72rem;
}

.contact-person a {
    color: #fff;

    font-size: .79rem;
    font-weight: 700;
}

.contact-person a:hover {
    color: var(--accent-yellow);
}

.contact-person i {
    margin-right: .3rem;
}

.contact-person-email {
    justify-content: center;
}


/* Emergency */

.emergency-box {
    padding: 1.5rem 1.6rem;

    background: var(--accent-yellow);

    color: var(--bg-deep);

    box-shadow: var(--shadow-yellow);
}

.emergency-box-head {
    display: flex;
    align-items: center;
    gap: .7rem;

    margin-bottom: 1.2rem;
}

.emergency-box-head i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: var(--bg-deep);

    color: var(--accent-yellow);

    font-size: 1.15rem;
}

.emergency-box-head strong {
    font-size: 1.2rem;
    font-weight: 900;

    text-transform: uppercase;
}

.emergency-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.emergency-box-grid > div {
    padding-right: 1rem;
}

.emergency-box-grid > div + div {
    padding-left: 1rem;

    border-left: 1px solid rgba(18, 27, 35, .18);
}

.emergency-box-grid span {
    display: block;

    color: var(--text-body);

    font-size: .72rem;
    font-weight: 900;

    text-transform: uppercase;
}

.emergency-box-grid a {
    display: block;

    margin-top: .15rem;

    color: var(--bg-deep);

    font-size: 1rem;
    font-weight: 900;
}

.emergency-box-grid a:hover {
    color: var(--accent-red);
}


/* --------------------------------------------------------------------------
   13) Footer
   -------------------------------------------------------------------------- */

#site-footer,
.site-footer {
    background: #fff;

    color: var(--text-muted);

    border-top: 1px solid var(--border-soft);
}

#site-footer h2,
#site-footer h3,
#site-footer h4,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: var(--text-body);
}

#site-footer a,
.site-footer a {
    color: var(--text-muted);
}

#site-footer a:hover,
.site-footer a:hover {
    color: var(--project-dark);
}


/* --------------------------------------------------------------------------
   14) CMS content
   -------------------------------------------------------------------------- */

.cms-content {
    max-width: 860px;

    color: var(--text-body);

    font-size: 1rem;
    line-height: 1.8;
}

.cms-content > * + * {
    margin-top: 1.2em;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
    margin-top: 1.8em;
    margin-bottom: .75em;

    font-weight: 900;
}

.cms-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cms-content h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.cms-content a {
    color: var(--project-dark);

    font-weight: 700;

    text-decoration: underline;
    text-decoration-color: rgba(78, 138, 126, .35);
    text-underline-offset: 3px;
}

.cms-content a:hover {
    color: var(--project-deep);
}

.cms-content img {
    height: auto;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-soft);
}

.cms-content blockquote {
    margin: 2rem 0;

    padding: 1.4rem 1.6rem;

    border-left: 4px solid var(--project);

    background: var(--bg-soft-green);

    color: var(--text-body);
}

.cms-content ul,
.cms-content ol {
    padding-left: 1.35rem;
}

.cms-content li + li {
    margin-top: .45rem;
}


/* --------------------------------------------------------------------------
   15) Gallery categories
   -------------------------------------------------------------------------- */

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

    gap: 1.5rem;
}

.gallery-category-card {
    position: relative;

    min-height: 360px;

    overflow: hidden;

    border-radius: var(--radius-md);

    background: var(--bg-dark);

    box-shadow: var(--shadow-soft);
}

.gallery-category-card a {
    display: block;

    height: 100%;

    color: #fff;
}

.gallery-category-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;

    object-fit: cover;

    transition: transform .35s ease;
}

.gallery-category-card:hover img {
    transform: scale(1.04);
}

.gallery-category-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(18, 27, 35, .03) 25%,
            rgba(18, 27, 35, .92) 100%
        );

    pointer-events: none;
}

.gallery-category-card-content {
    position: absolute;

    right: 1.4rem;
    bottom: 1.3rem;
    left: 1.4rem;
    z-index: 2;
}

.gallery-category-card-content h3 {
    margin: 0 0 .45rem;

    color: #fff;

    font-size: 1.4rem;
    font-weight: 900;
}

.gallery-category-card-content span {
    color: rgba(255, 255, 255, .72);

    font-size: .84rem;
    font-weight: 700;
}


/* ==========================================================================
   BEFORE / AFTER
   ========================================================================== */

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem;
}

.before-after-item {
    min-width: 0;
}

.before-after {
    --ba-position: 50%;

    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #e8e8e8;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-soft);

    isolation: isolate;
}

.before-after__image {
    position: absolute;
    top: 0;
    left: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    pointer-events: none;
    user-select: none;
}

.before-after__image--after {
    z-index: 1;
}

.before-after__before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;

    width: var(--ba-position);
    height: 100%;

    overflow: hidden;
}

.before-after__image--before {
    width: 100%;
    max-width: none;
}

.before-after__divider {
    position: absolute;

    top: 0;
    bottom: 0;
    left: var(--ba-position);
    z-index: 4;

    width: 3px;

    background: #fff;

    transform: translateX(-50%);

    box-shadow:
        0 0 0 1px rgba(0, 0, 0, .08),
        0 0 14px rgba(0, 0, 0, .16);

    pointer-events: none;
}

.before-after__handle {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border: 3px solid #fff;
    border-radius: 50%;

    background: rgba(40, 84, 76, .88);

    transform: translate(-50%, -50%);

    box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
}

.before-after__arrow {
    position: absolute;

    width: 9px;
    height: 9px;

    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.before-after__arrow--left {
    left: 10px;

    transform: rotate(-45deg);
}

.before-after__arrow--right {
    right: 10px;

    transform: rotate(135deg);
}

.before-after__label {
    position: absolute;

    top: 16px;
    z-index: 4;

    padding: .5rem .8rem;

    border-radius: 30px;

    background: rgba(40, 84, 76, .84);

    color: #fff;

    font-size: .75rem;
    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;
    letter-spacing: .06em;

    backdrop-filter: blur(5px);

    pointer-events: none;
}

.before-after__label--before {
    left: 16px;
}

.before-after__label--after {
    right: 16px;
}

.before-after__range {
    position: absolute;
    inset: 0;
    z-index: 10;

    width: 100%;
    height: 100%;

    margin: 0;

    opacity: 0;

    cursor: ew-resize;
}

.before-after-item__caption {
    padding-top: .8rem;

    color: var(--text-muted);

    font-size: .95rem;
}


/* --------------------------------------------------------------------------
   16) Cookie preferences
   -------------------------------------------------------------------------- */

#open_preferences_center {
    position: fixed;

    right: 0;
    bottom: 75px;
    z-index: 1001;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 60px;

    padding: 4px 5px 4px 8px;

    border-radius: 30px 0 0 30px;

    background: var(--project);

    color: #fff;

    cursor: pointer;

    text-align: center;

    font-size: 11px;
    line-height: 1.2;

    box-shadow: var(--shadow-project);
}

#open_preferences_center:hover {
    background: var(--project-dark);

    color: #fff;
}


/* --------------------------------------------------------------------------
   17) Responsive – large tablets
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {

    .home-hero-copy {
        width: min(700px, 72%);
    }

    .why-us-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 1.5rem .8rem;
    }

    .additional-service-card {
        grid-template-columns: 34% 66%;
    }

    .about-grid {
        gap: 3rem;
    }

    .certificates-location-grid {
        gap: 3rem;
    }

    .location-block {
        padding-left: 2.5rem;
    }

    .contact-strip-main {
        gap: 2.5rem;
    }

    .contact-persons {
        grid-template-columns: repeat(2, auto);

        row-gap: 1.3rem;
    }

    .contact-person-email {
        grid-column: 1 / -1;

        justify-content: flex-start;
    }
}


/* --------------------------------------------------------------------------
   18) Responsive – tablets / navigation
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {

    :root {
        --header-height: 78px;
    }

    #site-header {
        position: sticky;
        top: 0;
    }

    .navbar-brand img {
        max-height: 52px;
    }

    #site-header .navbar-collapse {
        margin-top: .75rem;

        padding: .8rem 1rem 1.2rem;

        border-top: 1px solid var(--border-soft);

        background: #fff;

        box-shadow: 0 18px 40px rgba(18, 27, 35, .08);
    }

    .nav-link {
        padding: .8rem .6rem !important;
    }

    .nav-link.active::after {
        right: auto;
        bottom: .25rem;
        left: .6rem;

        width: 32px;
    }

    .home-hero {
        min-height: 650px;
    }

    .home-hero-container {
        min-height: 650px;
    }

    .home-hero-copy {
        width: 72%;
    }

    .hero-title {
        font-size: clamp(2.6rem, 6vw, 4rem);
    }

    .hero-emergency {
        min-width: 310px;
    }

    .benefits-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-strip-item:nth-child(2) {
        border-right: 0;
    }

    .benefits-strip-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-soft);
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card:last-child {
        grid-column: 1 / -1;
    }

    .additional-services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-copy {
        max-width: 760px;
    }

    .about-media {
        min-height: 430px;
    }

    .about-media img {
        min-height: 430px;
    }

    .certificates-location-grid {
        grid-template-columns: 1fr;

        gap: 4rem;
    }

    .location-block {
        padding-left: 0;

        border-left: 0;
    }

    .contact-strip-main {
        grid-template-columns: 1fr;
    }

    .contact-persons {
        grid-template-columns: repeat(3, auto);
    }

    .contact-person-email {
        grid-column: auto;
    }

    .gallery-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* --------------------------------------------------------------------------
   19) Responsive – phones
   -------------------------------------------------------------------------- */

@media (max-width: 767.98px) {

    .section-space {
        padding: 4.2rem 0;
    }

    .section-space-sm {
        padding: 3.6rem 0;
    }

    .section-head {
        margin-bottom: 2.2rem;
    }

    .home-hero {
        min-height: 760px;
    }

    .home-hero-media img {
        object-position: 62% center;
    }

    .home-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(18, 27, 35, .22) 0%,
                rgba(24, 57, 51, .55) 28%,
                rgba(31, 83, 72, .91) 58%,
                rgba(25, 67, 59, .98) 100%
            );
    }

    .home-hero-container {
        align-items: flex-end;

        min-height: 760px;

        padding-top: 5rem;
        padding-bottom: 9rem;
    }

    .home-hero-copy {
        width: 100%;
    }

    .hero-title {
        max-width: none;

        font-size: clamp(2.25rem, 9vw, 3.4rem);

        line-height: 1.08;
    }

    .hero-professions {
        gap: .2rem;

        margin-bottom: 1.25rem;
    }

    .hero-profession {
        padding: .2rem .7rem;

        font-size: .83rem;
    }

    .hero-profession:first-child {
        padding-left: 0;
    }

    .hero-profession i {
        font-size: 1.05rem;
    }

    .hero-text {
        font-size: .95rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-emergency {
        right: 1.1rem;
        bottom: 1rem;
        left: 1.1rem;

        min-width: 0;

        padding: .8rem 1rem;
    }

    .hero-emergency-icon {
        width: 48px;
        height: 48px;

        font-size: 1.15rem;
    }

    .hero-emergency-copy a {
        font-size: 1.1rem;
    }

    .benefits-strip-grid {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-strip-item {
        justify-content: flex-start;

        min-height: 95px;

        padding: 1rem .7rem;
    }

    .benefits-strip-icon {
        width: 38px;

        font-size: 1.4rem;
    }

    .benefits-strip-item strong {
        font-size: .72rem;
    }

    .benefits-strip-item span {
        font-size: .68rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:last-child {
        grid-column: auto;
    }

    .additional-service-card {
        grid-template-columns: 1fr;
    }

    .additional-service-image {
        aspect-ratio: 16 / 8;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificate-card {
        flex-direction: row;

        justify-content: flex-start;

        min-height: 90px;

        gap: 1rem;

        text-align: left;
    }

    .certificate-card i {
        margin-bottom: 0;
    }

    .location-map {
        min-height: 220px;
    }

    .contact-persons {
        grid-template-columns: 1fr;
    }

    .contact-person {
        margin-right: 0;
        padding: 0 0 1rem;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }

    .contact-person:last-child {
        border-bottom: 0;
    }

    .emergency-box-grid {
        grid-template-columns: 1fr;
    }

    .emergency-box-grid > div {
        padding: 0 0 .8rem;
    }

    .emergency-box-grid > div + div {
        padding: .8rem 0 0;

        border-top: 1px solid rgba(18, 27, 35, .18);
        border-left: 0;
    }

    .about-media {
        min-height: 360px;
    }

    .about-media img {
        min-height: 360px;
    }

    .about-claim {
        top: 1rem;
        right: 1rem;

        max-width: 180px;

        font-size: 1.15rem;
    }

    .about-media-badge {
        right: 0;
        bottom: 0;
        left: 0;

        max-width: none;
    }

    .gallery-category-grid {
        grid-template-columns: 1fr;
    }

    .before-after-grid {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }
}


/* --------------------------------------------------------------------------
   20) Responsive – small phones
   -------------------------------------------------------------------------- */

@media (max-width: 575.98px) {

    :root {
        --header-height: 70px;
    }

    .container {
        padding-right: 1.1rem;
        padding-left: 1.1rem;
    }

    .navbar-brand img {
        max-height: 46px;
    }

    .home-hero,
    .home-hero-container {
        min-height: 730px;
    }

    .hero-title {
        font-size: clamp(2rem, 9.5vw, 2.8rem);
    }

    .hero-profession {
        padding-right: .5rem;
        padding-left: .5rem;

        font-size: .74rem;
    }

    .hero-emergency-copy small,
    .hero-emergency-copy span {
        font-size: .62rem;
    }

    .hero-emergency-copy a {
        font-size: 1rem;
    }

    .service-card-body {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .additional-service-body {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .why-us-grid {
        gap: 1rem .4rem;
    }

    .why-us-item i {
        font-size: 1.5rem;
    }

    .about-media {
        min-height: 330px;
    }

    .about-media img {
        min-height: 330px;
    }

    .about-claim {
        display: none;
    }

    .home-contact-strip {
        padding: 3.3rem 0;
    }

    .emergency-box {
        padding: 1.3rem;
    }

    .emergency-box-head strong {
        font-size: 1.05rem;
    }

    .before-after {
        border-radius: 10px;
    }

    .before-after__handle {
        width: 44px;
        height: 44px;
    }

    .before-after__label {
        top: 12px;

        padding: .45rem .7rem;

        font-size: .7rem;
    }

    .before-after__label--before {
        left: 12px;
    }

    .before-after__label--after {
        right: 12px;
    }

    #open_preferences_center {
        bottom: 24px;

        width: 58px;
        height: 54px;

        font-size: 10px;
    }
}


/* --------------------------------------------------------------------------
   21) Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;
    }

    .service-card:hover,
    .certificate-card:hover,
    .btn:hover {
        transform: none;
    }

    .service-card:hover .service-card-image img,
    .additional-service-card:hover .additional-service-image img,
    .gallery-category-card:hover img {
        transform: none;
    }
}