/* Glidance – styles recreated from the original Wix design */
:root {
    --orange: #fd9931;
    --magenta: #c01d61;
    --ink: #333333;
    --black: #000000;
    --light: #f8f8f8;
    --blush: #fffcfc;
    --white: #ffffff;
    --font-display: "Fahkwang", Georgia, serif;
    --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --container: 980px;
    --header-h: 128px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--orange);
    line-height: 1.25;
    letter-spacing: normal;
    margin: 0 0 0.5em;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--magenta); color: var(--white); padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(880px, 100% - 48px); }
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--light { background: var(--light); }
.section--blush { background: var(--blush); }
.section--flush { padding: 80px 0 0; background: var(--white); }
.section-actions { padding: 56px 0 80px; display: flex; justify-content: center; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.measure { max-width: 733px; margin-inline: auto; }

.display { font-size: clamp(2.5rem, 5vw, 4.125rem); line-height: 1; }
.heading-xl { font-size: clamp(2.2rem, 4.2vw, 3.4375rem); }
.heading-lg { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.5625rem); line-height: 1.6; letter-spacing: normal; }

.prose ul { margin: 0 0 1em; padding-left: 1.8em; }
.prose li { margin: 0; }
.prose--accent { color: var(--orange); font-size: 1.125rem; line-height: 1.8; text-align: justify; }

.offset-block { margin-left: auto; max-width: 600px; display: grid; gap: 32px; justify-items: end; }
.offset-block p { justify-self: stretch; }

/* ---------- Buttons ---------- */
.btn-plus {
    display: inline-flex;
    align-items: stretch;
    height: 52px;
    padding: 0;
    border: 0;
    background: none;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}
.btn-plus__icon {
    width: 52px;
    display: grid; place-items: center;
    background: var(--orange); color: var(--light);
    font-size: 25px; font-weight: 300;
    transition: background-color .2s;
}
.btn-plus__label {
    min-width: 177px;
    padding: 0 28px;
    display: grid; place-items: center;
    background: var(--magenta); color: var(--light);
    font-size: 17px; letter-spacing: normal;
    transition: background-color .2s;
}
.btn-plus:hover .btn-plus__icon { background: var(--magenta); }
.btn-plus:hover .btn-plus__label { background: var(--orange); }
.btn-plus:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.btn-solid {
    display: inline-block;
    min-width: 208px;
    padding: 12px 32px;
    border: 0;
    background: var(--magenta); color: var(--light);
    font: 17px var(--font-body);
    cursor: pointer;
    transition: background-color .2s;
}
.btn-solid:hover { background: var(--ink); }
.btn-solid:disabled { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { background: var(--light); position: relative; z-index: 20; }
.site-header__inner {
    height: var(--header-h);
    width: min(1425px, 100%);
    margin-inline: auto;
    padding: 0 40px;
    display: flex; align-items: center; gap: 40px;
}
.site-header__logo { flex: 0 0 auto; }
.site-nav { display: flex; margin-left: auto; margin-right: auto; }
.site-nav a {
    padding: 13px 30px;
    font-weight: 700; font-size: 16px; letter-spacing: normal;
    color: var(--orange); text-decoration: none;
    transition: color .2s;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--magenta); }
.nav-toggle { display: none; }

/* ---------- Hero (image + overlapping card) ---------- */
.hero { position: relative; padding-bottom: 270px; background: var(--white); }
.hero--short { padding-bottom: 0; min-height: 549px; }
.hero__image { width: 100%; height: 534px; object-fit: cover; }
.hero__bar { width: 86%; height: 15px; background: var(--orange); }
.hero__card {
    position: absolute;
    left: 38%; right: 12%;
    top: 280px;
    background: var(--white);
    padding: 110px 60px 40px;
}
.hero__card--title {
    top: 345px;
    left: 28.6%; right: 3.6%;
    min-height: 157px;
    padding: 29px 39px;
    border: 6px solid var(--orange);
    background: var(--light);
}
.hero--short .hero__card--title { top: 345px; }
.hero__card.hero__card--title .display { margin: 0; line-height: 1.3; }
.hero__card .display { margin-bottom: 48px; }
.hero__lead { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 72px; padding-left: 0; }
.hero__lead .rule { flex: 0 0 110px; height: 2px; margin-top: 12px; background: var(--orange); }
.hero__lead p { max-width: 447px; text-align: justify; letter-spacing: 0.05em; }
.hero__card .btn-plus { margin-left: auto; display: flex; width: max-content; }

/* ---------- Home slider ---------- */
.slider { position: relative; height: 485px; overflow: hidden; background: var(--ink); }
.slider__track { position: relative; height: 100%; }
.slide {
    position: absolute; inset: 0;
    display: flex; justify-content: center; align-items: flex-start;
    padding-top: 59px;
    opacity: 0; visibility: hidden;
    transition: opacity .8s ease, visibility 0s linear .8s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Orange fallback shows until wwwroot/images/home-slide-hr.jpg is added */
.slide__bg--hr { background: var(--orange) url("../images/home-slide-hr.jpg") center / cover no-repeat; }
.slide__card {
    position: relative;
    width: min(685px, 100% - 48px);
    min-height: 362px;
    padding: 48px 90px;
    background: var(--light);
    text-align: center;
}
.slide__title { font-size: 2.1875rem; margin-bottom: .6em; }
.slide__text { font-family: var(--font-display); color: var(--orange); font-size: 1.375rem; line-height: 1.4; letter-spacing: normal; }
.slider__dots {
    position: absolute; left: 50%; bottom: 36px; translate: -50% 0;
    display: flex; gap: 20px;
}
.slider__dot {
    width: 12px; height: 12px; padding: 0;
    border: 2px solid var(--white); border-radius: 50%;
    background: transparent; cursor: pointer;
}
.slider__dot.is-active { background: var(--white); }
.slider__arrow {
    position: absolute; top: 50%; translate: 0 -50%;
    width: 44px; height: 64px;
    border: 0; background: none;
    color: var(--white); font-size: 56px; line-height: 1;
    cursor: pointer; opacity: .85;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.slider__arrow:hover { opacity: 1; }
.slider__arrow--prev { left: 24px; }
.slider__arrow--next { right: 24px; }
.slider__dot:focus-visible, .slider__arrow:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start; }
.split__main { max-width: 564px; }
.split__main .heading-xl { margin-bottom: 0.15em; }
.split__aside { padding-top: 150px; }

/* ---------- About ---------- */
.page-intro { position: relative; padding: 87px 0 66px; background: var(--light); overflow: hidden; }
.page-intro__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .08; }
.page-intro__content { position: relative; }
.page-intro .lead { color: var(--black); }

/* ---------- Why choose us ---------- */
/* All blocks sit in a 980px column, stacked flush like the Wix layout */
.why-container, .page-column { position: relative; width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* Title card straddles the bottom of the hero image */
.why-title { position: absolute; left: 0; right: 0; bottom: 0; }
.why-title__text {
    width: min(729px, 100%);
    min-height: 173px;
    margin: 0 0 0 83px;
    padding: 50px 66px 20px;
    background: var(--blush);
    font-size: clamp(2.5rem, 5vw, 4.125rem);
    line-height: 1.3;
}

/* 2x2 feature grid with 1px dark rules */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--ink);
    border: 1px solid var(--ink);
}
.feature { min-height: 348px; padding: 74px 10px 36px; background: var(--light); text-align: center; }
.feature__title { font-size: 1.5625rem; line-height: 1.3; color: #fb3c3a; margin-bottom: 44px; }
.feature p { font-family: var(--font-display); font-size: 1.25rem; line-height: 36px; color: var(--magenta); letter-spacing: normal; }

/* Three-step routine */
.why-steps__head { margin-top: 4px; min-height: 239px; padding: 32px 165px 32px 158px; background: var(--blush); }
.why-steps__heading { margin: 0; font-size: clamp(2.5rem, 5vw, 4.125rem); line-height: 1; }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
    padding: 84px 0 57px;
    background: var(--light);
}
.step { position: relative; padding: 96px 36px 74px; background: var(--light); text-align: center; }
.step__number {
    position: absolute; top: -26px; left: 50%; translate: -50% 0;
    width: 84px; height: 88px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--blush);
    font: 38px var(--font-display); color: var(--orange);
}
.step__title { max-width: 210px; min-height: 105px; margin: 0 auto 29px; font-size: 1.5625rem; line-height: 35px; }
.step p { line-height: 1.8; letter-spacing: normal; }

/* Closing call to action: blush box on a light band, button hanging below its right edge */
.why-cta { padding-bottom: 125px; background: var(--light); }
.why-cta__box {
    position: relative;
    width: min(921px, 100% - 48px);
    min-height: 378px;
    margin-left: max(24px, (100% - var(--container)) / 2);
    padding: 58px 40px 20px 139px;
    background: var(--blush);
}
.why-cta__title { max-width: 717px; margin-bottom: 55px; font-size: clamp(2.2rem, 4.2vw, 3.4375rem); }
.why-cta__body { max-width: 533px; margin-left: 157px; }
.why-cta__body .btn-plus { position: absolute; top: 100%; right: 0; }

/* ---------- Services ---------- */
.services-layout { width: min(1240px, 100% - 48px); display: grid; grid-template-columns: 403px 1fr; gap: 120px; }
.services-layout__intro { position: sticky; top: 40px; align-self: start; }
.services-layout__intro .display { font-size: 3.5rem; line-height: 1.3; }
.service { max-width: 537px; padding-bottom: 96px; }
.service:last-child { padding-bottom: 0; }
.service__head { display: flex; gap: 22px; align-items: baseline; margin-bottom: 20px; }
.service__number, .service__title { font: 20px var(--font-display); color: var(--orange); margin: 0; }
.service .prose > p { margin-bottom: 1.6em; }
.service strong, .service b { color: var(--black); font-weight: 400; font-size: 18px; }

/* ---------- Careers ---------- */
.careers-intro { padding-top: 99px; }
.careers-intro__box { min-height: 307px; padding: 58px 40px 14px 29px; background: var(--blush); }
.careers-intro__title { margin-bottom: 55px; font-size: clamp(2.2rem, 4.2vw, 3.4375rem); }
.careers-intro__text { max-width: 724px; margin-left: 180px; font-size: 1.25rem; line-height: 1.36; letter-spacing: 0.12em; }

.careers-perks { padding-top: 48px; }
.careers-perks__head {
    width: min(762px, 100%);
    min-height: 181px;
    margin-left: 101px;
    padding: 66px 32px 32px 117px;
    background: var(--light);
}
.careers-perks__title { margin: 0; font-size: clamp(2.2rem, 4.2vw, 3.4375rem); }
.careers-perks__actions { display: flex; justify-content: center; padding: 84px 0 80px; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk {
    min-height: 516px;
    padding: 65px 24px 48px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
}
.perk__icon {
    width: 88px; height: 88px; margin-bottom: 30px;
    fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.perk__title { max-width: 230px; margin-bottom: 20px; font-size: 1.5625rem; line-height: 1.05; color: #fb3c3a; }
.perk p { max-width: 190px; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.12; letter-spacing: normal; color: var(--magenta); }
.perk--light { background: var(--light); }
.perk--white { background: var(--blush); }
.perk--orange { background: var(--orange); }
.perk--orange .perk__icon { stroke: #ffca75; }
.perk--magenta { background: var(--magenta); }
.perk--magenta .perk__icon { stroke: var(--black); }
.perk--magenta .perk__title { color: var(--orange); }
.perk--magenta p { color: var(--blush); }

/* ---------- Legal ---------- */
.legal { background: var(--white); padding: 64px clamp(24px, 6vw, 72px); }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1em; }
.legal h2 { font-size: 1.375rem; margin: 2em 0 .6em; }
.legal p { margin-bottom: 1em; }
.legal ul { padding-left: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--orange); color: var(--ink); }
.site-footer__inner { width: min(var(--container), 100% - 48px); margin-inline: auto; padding: 74px 0 60px; }
.site-footer .btn-solid { display: block; margin: 0 auto 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 30px; }
.site-footer__address { font-style: normal; line-height: 1.2; }
.site-footer__contact { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-content: start; line-height: 1.2; }
.site-footer__contact a { color: var(--light); text-decoration: none; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__social { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.site-footer__social span { font-family: var(--font-display); color: var(--white); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 80px 42px 0; font-size: 13px; color: var(--light); letter-spacing: normal; }
.site-footer__legal a { color: var(--light); text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }

/* ---------- Contact dialog ---------- */
.contact-dialog {
    width: min(520px, 100% - 32px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border: 0;
    padding: 48px 40px 40px;
    background: var(--orange);
    color: var(--ink);
}
.contact-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.contact-dialog h2 { color: var(--white); font-size: 2rem; text-align: center; }
.contact-dialog__close {
    position: absolute; top: 8px; right: 12px;
    border: 0; background: none; color: var(--white);
    font-size: 32px; line-height: 1; cursor: pointer;
}
.contact-form { display: grid; gap: 16px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 4px; font-size: 14px; color: var(--white); letter-spacing: normal; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    background: var(--white);
    font: 15px var(--font-body);
    color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--magenta); }
.contact-form .btn-solid { justify-self: stretch; }
.contact-form__status { min-height: 1.2em; margin: 0; color: var(--white); font-size: 14px; }
.contact-form__status.is-error { color: var(--black); font-weight: 700; }
.contact-form__status.is-success { color: var(--white); font-weight: 700; }
.contact-form__status.is-success::before { content: '✓ '; }

/* ---------- Form confirmation banner ---------- */
.form-alert {
    position: fixed;
    top: 24px; left: 0; right: 0;
    width: fit-content; margin-inline: auto;
    z-index: 200;
    display: flex; align-items: center; gap: 12px;
    max-width: min(520px, calc(100% - 32px));
    padding: 16px 20px;
    background: var(--magenta); color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    animation: form-alert-in .3s ease-out;
}
.form-alert[hidden] { display: none; }
.form-alert__icon {
    flex: 0 0 26px;
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--white); color: var(--magenta);
    font-size: 15px; font-weight: 700;
}
.form-alert__text { font-size: 16px; letter-spacing: normal; }
.form-alert__close {
    margin-left: auto;
    border: 0; background: none; color: var(--white);
    font-size: 26px; line-height: 1; cursor: pointer; opacity: .8;
}
.form-alert__close:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .form-alert { animation: none; } }
@keyframes form-alert-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Error page ---------- */
.error-page { padding: 120px 0; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .site-nav a { padding: 13px 16px; }
    .hero__card { left: 24%; right: 6%; }
    .services-layout { grid-template-columns: 1fr; gap: 48px; }
    .services-layout__intro { position: static; }
    .perks { grid-template-columns: repeat(2, 1fr); }
    .perk { min-height: 0; padding: 56px 32px; }
    .careers-intro__text { margin-left: 80px; }
    .careers-perks__head { margin-left: 0; padding-left: 40px; }
}

@media (max-width: 800px) {
    :root { --header-h: 80px; }
    .site-header__inner { padding: 0 20px; }
    .nav-toggle {
        display: block; margin-left: auto;
        width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative;
    }
    .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
        position: absolute; left: 10px; width: 24px; height: 2px; background: var(--orange); content: "";
    }
    .nav-toggle__bar { top: 21px; }
    .nav-toggle__bar::before { left: 0; top: -8px; }
    .nav-toggle__bar::after { left: 0; top: 8px; }
    .site-nav {
        display: none;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; background: var(--light); padding: 8px 0 16px;
        box-shadow: 0 8px 16px rgba(0,0,0,.08);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 24px; }

    .section { padding: 56px 0; }
    .hero { padding-bottom: 0; }
    .hero__image { height: 300px; }
    .hero__card, .hero__card--title, .hero--short .hero__card--title {
        position: static; margin: -60px 16px 0; padding: 40px 24px;
    }
    .hero--short { min-height: 0; padding-bottom: 32px; }
    .hero__lead { flex-direction: column; margin-bottom: 40px; }
    .hero__lead .rule { flex-basis: auto; width: 80px; }
    .slider { height: auto; min-height: 485px; }
    .slide { padding: 40px 0 80px; }
    .slide__card { min-height: 0; padding: 32px 24px; }
    .slide__title { font-size: 1.75rem; }
    .slide__text { font-size: 1.125rem; }
    .slider__arrow { display: none; }
    .split { grid-template-columns: 1fr; }
    .split__aside { padding-top: 0; }
    .offset-block { justify-items: start; }
    .feature-grid, .steps, .perks { grid-template-columns: 1fr; }
    .why-title { position: static; margin-top: -60px; }
    .why-title__text { margin: 0; min-height: 0; padding: 32px 24px; }
    .feature { min-height: 0; padding: 48px 20px; }
    .feature__title { margin-bottom: 24px; }
    .why-steps__head { min-height: 0; padding: 32px 24px; }
    .steps { gap: 56px; padding: 56px 16px; }
    .step { padding: 80px 24px 40px; }
    .step__title { min-height: 0; }
    .why-cta { padding-bottom: 56px; }
    .why-cta__box { min-height: 0; margin-inline: auto; padding: 40px 24px; }
    .why-cta__title { margin-bottom: 24px; }
    .why-cta__body { margin-left: 0; }
    .why-cta__body .btn-plus { position: static; margin-top: 24px; }
    .hero__card--title .display { font-size: 2.5rem; }
    .careers-intro { padding-top: 48px; }
    .careers-intro__box { min-height: 0; padding: 40px 24px; }
    .careers-intro__title { margin-bottom: 24px; }
    .careers-intro__text { margin-left: 0; font-size: 1.0625rem; letter-spacing: 0.05em; }
    .careers-perks__head { min-height: 0; padding: 32px 24px; }
    .careers-perks__actions { padding: 48px 0 56px; }
    .site-footer__grid, .contact-form__row { grid-template-columns: 1fr; padding: 0; }
    .site-footer__legal { padding: 48px 0 0; }
}
