/* =============================================================================
   YALOSINTHESI.CSS
   Custom styles for yalosinthesi.gr — Glass Construction Company
   Font: Plus Jakarta Sans (Google Fonts)
   Palette: #FFFFFF | #1F1F1F | #3A3A3A | #5E7387 | #EAEAEA | #8B7355
   ============================================================================= */

/* -----------------------------------------------------------------------------
   GOOGLE FONTS IMPORT — Plus Jakarta Sans
   ----------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..900&display=swap');

/* Global font — Roboto Flex across entire site */
* {
    font-family: 'Roboto Flex', sans-serif;
}


/* -----------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   ----------------------------------------------------------------------------- */
:root {
    --ys-white:       #FFFFFF;
    --ys-anthracite:  #1F1F1F;
    --ys-dark-gray:   #3A3A3A;
    --ys-blue:        #5E7387;
    --ys-light-gray:  #EAEAEA;
    --ys-bronze:      #8B7355;


    --ys-topbar-h:    38px;
    --ys-header-h:    110px;
    --ys-total-h:     calc(var(--ys-topbar-h) + var(--ys-header-h));

    --ys-transition:  250ms ease;
}


/* -----------------------------------------------------------------------------
   GLOBAL FONT OVERRIDE
   ----------------------------------------------------------------------------- */
.ys-topbar,
.ys-topbar *,
.ys-header,
.ys-header *,
#mobileMenu,
#mobileMenu * {
    font-family: var(--ys-font);
    box-sizing: border-box;
}


/* =============================================================================
   TOPBAR
   ============================================================================= */
.ys-topbar {
    height: 38px;
    background: var(--ys-anthracite);
    border-bottom: none;
}

.ys-topbar .container-fluid {
    height: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.ys-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.ys-topbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ys-topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--ys-transition);
}

.ys-topbar-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.ys-topbar-item:hover {
    color: var(--ys-white);
}

.ys-topbar-item:hover svg {
    opacity: 1;
}

.ys-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ys-topbar-social {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--ys-transition);
}

.ys-topbar-social:hover {
    color: var(--ys-white);
}

/* Mobile topbar — hide social, keep contact info */
@media (max-width: 767.98px) {
    .ys-topbar-right {
        display: none;
    }
}


/* =============================================================================
   STICKY WRAP — topbar + header stay fixed together on scroll
   ============================================================================= */
.ys-sticky-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

#wrapper {
    padding-top: var(--ys-total-h);
}

.ys-header {
    width: 100%;
    transition: box-shadow var(--ys-transition), background var(--ys-transition);
}

/* Scrolled state — elevates header */
.ys-header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}


/* =============================================================================
   HEADER INNER — single row: logo | nav | cta
   ============================================================================= */
.ys-header {
    background: var(--ys-white);
    border-bottom: 1px solid var(--ys-light-gray);
    transition: box-shadow var(--ys-transition), background var(--ys-transition);
}

.ys-header .container-fluid {
    height: var(--ys-header-h);
    padding-left: 40px;
    padding-right: 40px;
}

.ys-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

/* Logo */
.ys-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.ys-logo-img {
    height: 90px;
    width: auto;
    display: block;
}

/* Nav — takes remaining space, centered */
.ys-nav {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ys-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}

.ys-nav-item {
    position: static;
    height: 100%;
    display: flex;
    align-items: center;
}

.ys-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    color: var(--ys-dark-gray);
    text-decoration: none;
    padding: 0 13px;
    height: 100%;
    white-space: nowrap;
    position: relative;
    transition: color var(--ys-transition);
}

.ys-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--ys-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ys-transition);
}

.ys-nav-link:hover {
    color: var(--ys-blue);
}

.ys-nav-link:hover::after {
    transform: scaleX(1);
}

.ys-nav-arrow {
    transition: transform var(--ys-transition);
    flex-shrink: 0;
}

.ys-has-mega:hover .ys-nav-arrow {
    transform: rotate(180deg);
}

/* Header right — CTA + hamburger */
.ys-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

/* CTA button */
.ys-btn-offer {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ys-anthracite);
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ys-anthracite);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--ys-font);
    transition: background var(--ys-transition), color var(--ys-transition);
}

.ys-btn-offer:hover {
    background: var(--ys-anthracite);
    color: var(--ys-white) !important;
}

/* Hamburger — hidden on desktop */
.ys-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--ys-anthracite);
    transition: color var(--ys-transition);
}

.ys-hamburger:hover {
    color: var(--ys-blue);
}

.ys-hamburger-label {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.12em;
    margin-right: 8px;
}


/* =============================================================================
   HERO SLIDER OVERRIDES
   ============================================================================= */

.agsofa-hero-nav {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.agsofa-hero-nav:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(0, 0, 0, 0.25);
}

/* Κρύβουμε τα παλιά bg divs και overlay */
.agsofa-hero-bg,
.agsofa-hero-overlay {
    display: none;
}

/* Hero image — covers the full slide */
.agsofa-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay μόνο πίσω από το content block */
.agsofa-hero-content::before {
    content: '';
    position: absolute;
    inset: -60px -80px -30px -80px;
    background:rgba(0,0,0,0.60);
    z-index: -1;
    pointer-events: none;
}


/* =============================================================================
   MEGA MENU
   ============================================================================= */
.ys-mega {
    position: fixed;
    top: var(--ys-total-h);
    left: 0;
    width: 100%;
    background: var(--ys-white);
    border-top: 2px solid var(--ys-blue);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.09);
    z-index: 999;
    padding: 48px 0 52px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
    pointer-events: none;
}

.ys-has-mega:hover .ys-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Inner wrapper — matches header padding. Does NOT wrap itself: the text
   columns wrap internally (see .ys-mega-cols) while the banner column
   stays put on the right, vertically centered against the text block. */
.ys-mega-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 40px;
    /*max-width: 1400px;*/
    /*margin: 0 auto;*/
}

/* Wraps the category columns onto further rows once they'd otherwise
   shrink below min-width — independent of the banner column beside it. */
.ys-mega-cols {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
    row-gap: 32px;
}

/* Text columns — one per category, side by side. First/last child rules
   (instead of an adjacent-sibling selector) keep this correct no matter
   how many category columns render. */
.ys-mega-col {
    flex: 1 1 200px;
    min-width: 200px;
    padding: 0 40px;
    border-right: 1px solid var(--ys-light-gray);
}

.ys-mega-col:first-child {
    padding-left: 0;
}

.ys-mega-col:last-child {
    padding-right: 0;
    border-right: none;
}

/* Column label */
.ys-mega-label a{
    display: flex;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ys-bronze);
    margin-bottom: 20px;
	text-decoration:none;
}

.ys-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ys-mega-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--ys-dark-gray);
    text-decoration: none;
    line-height: 2.4;
    display: block;
    transition: color var(--ys-transition), padding-left var(--ys-transition);
}

.ys-mega-link:hover {
    color: var(--ys-blue);
    padding-left: 8px;
}

/* CTA image column — always the right-most column; fixed-ish width so it
   doesn't grow like the text columns when there are only one or two of them */
.ys-mega-cta-col {
    flex: 0 0 460px;
    padding-left: 40px;
}

.ys-mega-img-placeholder {
    width: 100%;
    aspect-ratio: 480 / 270;
    background: var(--ys-light-gray);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.ys-mega-img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ys-mega-cta-link {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 32px 16px 16px;
    background: linear-gradient(to top, rgba(31,31,31,0.75) 0%, transparent 100%);
    font-size: 13px;
    font-weight: 600;
    color: var(--ys-white);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity var(--ys-transition);
}

.ys-mega-cta-link:hover {
    opacity: 0.85;
    color: var(--ys-white);
}

.ys-mega-cta-label {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.ys-mega-cta-title {
    font-size: 15px;
    font-weight: 600;
}


/* =============================================================================
   TRANSPARENT HEADER STATE (for use over hero)
   ============================================================================= */
.ys-header-transparent {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.ys-header-transparent .ys-nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.ys-header-transparent .ys-nav-link:hover {
    color: var(--ys-white);
}

.ys-header-transparent .ys-nav-link::after {
    background: var(--ys-white);
}

.ys-header-transparent .ys-btn-offer {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--ys-white);
}

.ys-header-transparent .ys-btn-offer:hover {
    background: var(--ys-white);
    color: var(--ys-anthracite);
}

.ys-header-transparent .ys-hamburger {
    color: var(--ys-white);
}

/* Restore solid on scroll */
.ys-header-solid {
    background: var(--ys-white);
    border-bottom-color: var(--ys-light-gray);
}

.ys-header-solid .ys-nav-link {
    color: var(--ys-dark-gray);
}

.ys-header-solid .ys-btn-offer {
    border-color: var(--ys-anthracite);
    color: var(--ys-anthracite);
}

.ys-header-solid .ys-hamburger {
    color: var(--ys-anthracite);
}


/* =============================================================================
   MOBILE MENU (Bootstrap Offcanvas)
   ============================================================================= */

/* Offcanvas panel */
#mobileMenu.offcanvas {
    width: 320px;
    border-right: none;
    padding: 0;
}

/* Close button row */
.ys-mb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--ys-light-gray);
}

.ys-mb-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ys-mb-logo-img {
    height: 75px;
    width: auto;
    display: block;
}

.ys-mb-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--ys-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--ys-transition);
}

.ys-mb-close:hover {
    color: var(--ys-blue);
}

/* Nav body */
.ys-mb-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

/* Nav list */
.ys-mb-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Nav item */
.ys-mb-item {
    border-bottom: 1px solid var(--ys-light-gray);
}

/* Direct nav links */
.ys-mb-link {
    display: block;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ys-anthracite);
    text-decoration: none;
    transition: color var(--ys-transition), background var(--ys-transition);
}

.ys-mb-link:hover {
    color: var(--ys-blue);
    background: rgba(94, 115, 135, 0.05);
}

/* Item with collapse — split row */
.ys-mb-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ys-mb-split .ys-mb-link {
    flex: 1;
}

/* Collapse toggle button */
.ys-mb-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 20px 14px 8px;
    color: var(--ys-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--ys-transition), transform var(--ys-transition);
    flex-shrink: 0;
}

.ys-mb-toggle:hover {
    color: var(--ys-blue);
}

.ys-mb-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
    color: var(--ys-blue);
}

/* Collapsed sub-nav */
.ys-mb-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 0;
    /* background: rgba(234, 234, 234, 0.35); */
}

.ys-mb-sub-link {
    display: block;
    padding: 9px 24px 9px 36px;
    font-size: 13px;
    font-weight: 400;
    color: var(--ys-dark-gray);
    text-decoration: none;
    line-height: 1.4;
    transition: color var(--ys-transition), padding-left var(--ys-transition);
}

.ys-mb-sub-link:hover {
    color: var(--ys-blue);
    padding-left: 40px;
}

/* Nested "Ανά Χώρο" group inside mobile sub-nav */
.ys-mb-sub-group {
    border-top: 1px solid rgba(94, 115, 135, 0.15);
    margin-top: 4px;
}

.ys-mb-sub-group .ys-mb-split {
    padding: 0 20px 0 36px;
}

.ys-mb-sub-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ys-blue);
    padding: 10px 0;
    flex: 1;
}

.ys-mb-toggle--sm {
    padding: 8px 0 8px 8px;
}

.ys-mb-sub--nested {
    /* background: rgba(234, 234, 234, 0.35); */
    padding-bottom: 4px;
}

.ys-mb-sub--nested .ys-mb-sub-link {
    padding-left: 48px;
    font-size: 12.5px;
}

.ys-mb-sub--nested .ys-mb-sub-link:hover {
    padding-left: 52px;
}

/* Mobile menu footer */
.ys-mb-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--ys-light-gray);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ys-mb-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ys-anthracite);
    text-decoration: none;
    transition: color var(--ys-transition);
}

.ys-mb-phone svg {
    color: var(--ys-blue);
    flex-shrink: 0;
}

.ys-mb-phone:hover {
    color: var(--ys-blue);
}

.ys-mb-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    background: transparent;
    border: 1.5px solid var(--ys-anthracite);
    color: var(--ys-anthracite);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--ys-transition), color var(--ys-transition), border-color var(--ys-transition);
}

.ys-mb-call-btn svg {
    flex-shrink: 0;
}

.ys-mb-call-btn:hover {
    background: var(--ys-anthracite);
    color: var(--ys-white);
}

.ys-mb-cta {
    display: block;
    text-align: center;
    padding: 11px 20px;
    background: var(--ys-anthracite);
    color: var(--ys-white);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--ys-transition);
}

.ys-mb-cta:hover {
    background: var(--ys-blue);
    color: var(--ys-white);
}


/* =============================================================================
   ABOUT SECTION
   ============================================================================= */
.ys-about {
    padding: 50px 0;
    background: var(--ys-white);
}

.ys-about-img-wrap {
    position: relative;
    overflow: hidden;
}

.ys-about-img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}

.ys-about-badge {
    position: absolute;
    bottom: 36px;
    left: 36px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    background: rgba(15, 15, 15, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ys-about-badge-num {
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ys-white);
}

.ys-about-badge-num sup {
    font-size: 18px;
    font-weight: 600;
    vertical-align: super;
    letter-spacing: 0;
    color: var(--ys-blue);
}

.ys-about-badge-divider {
    display: block;
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.ys-about-badge-label {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.ys-about-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ys-about-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 18px;
}

.ys-about-title {
    font-size: 36px;
    font-weight: 200;
    font-variation-settings: 'wdth' 110, 'opsz' 36;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ys-anthracite);
    margin-bottom: 24px;
}

.ys-about-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ys-dark-gray);
    margin-bottom: 32px;
}

.ys-about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ys-about-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ys-dark-gray);
    line-height: 1.5;
}

.ys-about-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: var(--ys-blue);
    color: var(--ys-white);
    margin-top: 1px;
}

.ys-about-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ys-about-body li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
}

.ys-about-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--ys-blue);

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat;
}

.ys-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ys-white);
    text-decoration: none;
    background: var(--ys-blue);
    border: 1px solid var(--ys-blue);
    padding: 8px 18px;
    white-space: nowrap;
    font-family: var(--ys-font);
    transition: background var(--ys-transition), color var(--ys-transition), border-color var(--ys-transition);
    align-self: flex-start;
}

.ys-about-cta:hover {
    background: var(--ys-anthracite);
    border-color: var(--ys-anthracite);
    color: var(--ys-white);
}

/* About responsive */
@media (max-width: 991.98px) {
    .ys-about {
        padding: 60px 0;
    }

    .ys-about-img {
        height: 420px;
    }

    /* κείμενο πρώτο — αφαιρούμε top padding, προσθέτουμε bottom για κενό πριν την εικόνα */
    .ys-about-body {
        padding: 0 0 36px 0;
    }

    .ys-about-title {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .ys-about {
        padding: 50px 0;
    }

    .ys-about-img {
        height: 280px;
    }

    .ys-about-badge {
        bottom: 20px;
        left: 20px;
        padding: 14px 18px;
        gap: 14px;
    }

    .ys-about-badge-num {
        font-size: 28px;
    }

    .ys-about-badge-divider {
        height: 28px;
    }

    .ys-about-body {
        padding: 0 0 28px 0;
    }

    .ys-about-title {
        font-size: 24px;
    }
}


/* =============================================================================
   SERVICES SECTION — Swiper slider με κάρτες υπηρεσιών
   ============================================================================= */
.ys-services {
    padding: 20px 0 0;
    background: var(--ys-white);
    overflow: hidden;
}

.ys-services-header {
    margin-bottom: 48px;
}

.ys-services-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 10px;
}

.ys-services-title {
    font-size: 34px;
    font-weight: 300;
    font-variation-settings: 'wdth' 110, 'opsz' 34;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ys-anthracite);
    margin: 0;
}

/* Nav buttons — absolute on left/right edges, vertically centered */
.ys-services-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--ys-white);
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
    color: var(--ys-anthracite);
}

.ys-services-prev {
    left: 0;
}

.ys-services-next {
    right: 0;
}

.ys-services-nav:hover {
    background: var(--ys-anthracite);
    color: var(--ys-white);
}

.ys-services-nav .icon {
    font-size: 16px;
    line-height: 1;
}

/* "Όλες οι υπηρεσίες" link */
.ys-services-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ys-anthracite);
    text-decoration: none;
    border-bottom: 1px solid var(--ys-anthracite);
    padding-bottom: 2px;
    transition: color 200ms ease, border-color 200ms ease;
}

.ys-services-all:hover {
    color: var(--ys-blue);
    border-color: var(--ys-blue);
}

/* Swiper takes remaining width, bleeds to right edge */
.ys-services-swiper-wrap {
    position: relative;
    overflow: visible;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.ys-services-swiper {
    overflow: visible;
}

.ys-services-swiper .swiper-wrapper {
    align-items: stretch;
}

/* Card */
.ys-srv-card {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: var(--ys-light-gray);
}

.ys-srv-img {
    overflow: hidden;
    aspect-ratio: 5 / 6;
}

.ys-srv-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 600ms ease;
}

.ys-srv-card:hover .ys-srv-img img {
    transform: scale(1.05);
}

.ys-srv-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(15,15,15,0.72) 0%, rgba(15,15,15,0) 55%);
}

.ys-srv-num {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
    align-self: flex-start;
}

.ys-srv-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.ys-srv-name {
    font-size: 18px;
    font-weight: 300;
    color: var(--ys-white);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
}

.ys-srv-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 200ms ease;
}

.ys-srv-card:hover .ys-srv-link {
    color: var(--ys-white);
}

/* Mobile footer link */
.ys-services-footer {
    padding: 32px 0 60px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ys-services {
        padding-top: 20px;
    }

    .ys-services-title {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .ys-services {
        padding-top: 10px;
    }

    .ys-services-title {
        font-size: 22px;
    }

    .ys-srv-name {
        font-size: 15px;
    }
}


/* =============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Below 1500px — hide desktop nav, show hamburger */
@media (max-width: 1499.98px) {
    .ys-topbar .container-fluid,
    .ys-header .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ys-header-inner {
        padding-top:24px;
        padding-bottom: 24px;
    }

    .ys-header .container-fluid {
        height: auto;
    }

    .ys-nav {
        display: none;
    }

    .ys-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    :root {
        --ys-header-h: 60px;
        --ys-total-h: calc(38px + 60px);
    }
}

/* 768px–1499px — hamburger left, logo center, CTA right */
@media (min-width: 768px) and (max-width: 1499.98px) {
    .ys-header-inner {
        position: relative;
        justify-content: space-between;
    }

    .ys-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .ys-header-right {
        margin-left: 0;
    }

    .ys-btn-offer {
        display: inline-flex;
    }
}

/* Below 768px — logo left, hamburger right, no CTA */
@media (max-width: 767.98px) {
    .ys-header-inner {
        justify-content: space-between;
        padding-top: 0;
        padding-bottom: 0;
    }

    .ys-logo {
        position: static;
        transform: none;
    }

    .ys-btn-offer {
        display: none;
    }

    .ys-header-right {
        margin-left: 0;
    }

    .ys-hamburger {
        order: 2;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .ys-logo-img {
        height: 80px;
    }
}

/* Wide screens */
@media (min-width: 1400px) {
    .ys-nav-link {
        padding: 0 16px;
    }
}


/* =============================================================================
   WHY CHOOSE US SECTION
   ============================================================================= */
.ys-why {
    padding: 100px 0;
    background: var(--ys-light-gray);
}

.ys-why-header {
    margin-bottom: 64px;
}

.ys-why-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 14px;
}

.ys-why-title {
    font-size: 38px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ys-anthracite);
    margin: 0;
}

.ys-why-sub {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ys-dark-gray);
    margin: 0;
    max-width: 500px;
    margin-left: auto;
}

/* Grid cards */
.ys-why-item {
    border-top: 1px solid rgba(0,0,0,0.1);
    transition: border-color var(--ys-transition);
}

.ys-why-item a{
	text-decoration:none;
}

.ys-why-item:hover {
    border-color: var(--ys-blue);
}

.ys-why-card {
    padding: 36px 36px 36px 0;
    transition: transform var(--ys-transition);
}

.ys-why-item:hover .ys-why-card {
    transform: translateY(-4px);
    z-index: 0;
    position: relative;
}

.ys-why-item:hover .ys-why-icon {
    color: var(--ys-anthracite);
}

.ys-why-item:hover .ys-why-name {
    color: var(--ys-blue);
}

.ys-why-icon {
    display: block;
    color: var(--ys-blue);
    margin-bottom: 20px;
    transition: color var(--ys-transition);
	text-decoration:none;
}

.ys-why-icon svg {
    display: block;
}

.ys-why-name {
    font-size: 17px;
    font-weight: 400;
    color: var(--ys-anthracite);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ys-why-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ys-dark-gray);
    margin: 0;
}

@media (max-width: 991.98px) {
    .ys-why {
        padding: 70px 0;
    }

    .ys-why-title {
        font-size: 28px;
    }

    .ys-why-sub {
        margin-left: 0;
        margin-top: 16px;
    }

    .ys-why-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .ys-why {
        padding: 60px 0;
    }

    .ys-why-title {
        font-size: 24px;
    }

    .ys-why-card {
        padding: 28px 0;
    }
}


@media (max-width: 767.98px) {
    #allServicesBtn,
    #allProjectsBtn {
        display: block;
        width: 60%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =============================================================================
   PROJECTS GALLERY SECTION
   ============================================================================= */
.ys-projects {
    padding: 100px 0 0;
    background: var(--ys-white);
    overflow: hidden;
}

.ys-projects-header {
    margin-bottom: 48px;
}

.ys-projects-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 14px;
}

.ys-projects-title {
    font-size: 34px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ys-anthracite);
    margin: 0;
}

/* Nav buttons */
.ys-projects-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ys-anthracite);
    background: transparent;
    cursor: pointer;
    transition: background var(--ys-transition), color var(--ys-transition);
    color: var(--ys-anthracite);
    flex-shrink: 0;
}

.ys-projects-nav:hover {
    background: var(--ys-anthracite);
    color: var(--ys-white);
}

.ys-projects-nav .icon {
    font-size: 16px;
    line-height: 1;
}

/* Swiper — full width bleed */
.ys-projects-swiper-wrap {
    position: relative;
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.ys-projects-swiper {
    overflow: hidden;
}

/* Nav buttons — absolute on left/right edges, vertically centered */
.ys-projects-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: var(--ys-white);
    cursor: pointer;
    transition: background var(--ys-transition), color var(--ys-transition);
    color: var(--ys-anthracite);
}

.ys-projects-prev {
    left: 0;
}

.ys-projects-next {
    right: 0;
}

.ys-projects-nav:hover {
    background: var(--ys-anthracite);
    color: var(--ys-white);
}

.ys-projects-nav .icon {
    font-size: 16px;
    line-height: 1;
}

/* Card */
.ys-project-item {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    background: var(--ys-light-gray);
}

.ys-project-img {
    width: 100%;
    height: 100%;
}

.ys-project-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 600ms ease;
}

.ys-project-item:hover .ys-project-img img {
    transform: scale(1.06);
}

/* Overlay */
.ys-project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    background: linear-gradient(to top, rgba(15,15,15,0.75) 0%, rgba(15,15,15,0) 60%);
    opacity: 0;
    transition: opacity var(--ys-transition);
}

.ys-project-item:hover .ys-project-overlay {
    opacity: 1;
}

.ys-project-cat {
    display: block;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 6px;
}

.ys-project-name {
    font-size: 16px;
    font-weight: 300;
    color: var(--ys-white);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
}

.ys-project-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    color: var(--ys-white);
    flex-shrink: 0;
    align-self: flex-end;
    transition: background var(--ys-transition);
}

.ys-project-item:hover .ys-project-zoom {
    background: var(--ys-blue);
}

/* Mobile footer */
.ys-projects-footer {
    padding: 32px 0 60px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ys-projects {
        padding-top: 70px;
    }

    .ys-projects-title {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .ys-projects {
        padding-top: 60px;
    }

    .ys-projects-title {
        font-size: 22px;
    }
}



/* =============================================================================
   SPACES SECTION — Εφαρμογές ανά Χώρο
   ============================================================================= */
.ys-spaces {
    padding: 100px 0 80px;
    background: var(--ys-light-gray);
}

.ys-spaces-header {
    margin-bottom: 40px;
}

.ys-spaces-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 14px;
}

.ys-spaces-title {
    font-size: 34px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ys-anthracite);
    margin: 0;
}

.ys-spaces-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ys-anthracite);
    background: transparent;
    cursor: pointer;
    transition: background var(--ys-transition), color var(--ys-transition);
    color: var(--ys-anthracite);
    flex-shrink: 0;
}

.ys-spaces-nav:hover {
    background: var(--ys-anthracite);
    color: var(--ys-white);
}

.ys-spaces-nav .icon {
    font-size: 16px;
    line-height: 1;
}

.ys-spaces-swiper-wrap {
    overflow: hidden;
}

.ys-spaces-swiper {
    overflow: visible;
}

/* Horizontal card */
.ys-space-card {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    background: var(--ys-white);
    height: 280px;
    transition: box-shadow var(--ys-transition);
}

.ys-space-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.ys-space-img {
    flex: 0 0 45%;
    overflow: hidden;
}

.ys-space-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 600ms ease;
}

.ys-space-card:hover .ys-space-img img {
    transform: scale(1.05);
}

.ys-space-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 36px;
    border-left: 3px solid transparent;
    transition: border-color var(--ys-transition);
}

.ys-space-card:hover .ys-space-body {
    border-left-color: var(--ys-blue);
}

.ys-space-num {
    display: block;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--ys-blue);
    margin-bottom: 10px;
}

.ys-space-name {
    font-size: 20px;
    font-weight: 300;
    color: var(--ys-anthracite);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    line-height: 1.2;
    transition: color var(--ys-transition);
}

.ys-space-card:hover .ys-space-name {
    color: var(--ys-blue);
}

.ys-space-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ys-dark-gray);
    margin: 0 0 18px;
}

.ys-space-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ys-anthracite);
    letter-spacing: 0.02em;
    transition: color var(--ys-transition), gap var(--ys-transition);
}

.ys-space-card:hover .ys-space-link {
    color: var(--ys-blue);
    gap: 10px;
}

@media (max-width: 991.98px) {
    .ys-spaces {
        padding: 70px 0 60px;
    }

    .ys-spaces-title {
        font-size: 26px;
    }

    .ys-space-card {
        height: 240px;
    }

    .ys-space-body {
        padding: 24px 28px;
    }
}

@media (max-width: 767.98px) {
    .ys-spaces {
        padding: 60px 0 50px;
    }

    .ys-spaces-title {
        font-size: 22px;
    }

    .ys-space-card {
        flex-direction: column;
        height: auto;
    }

    .ys-space-img {
        flex: none;
        height: 200px;
    }

    .ys-space-body {
        border-left: none;
        border-top: 3px solid transparent;
        padding: 20px 24px;
    }

    .ys-space-card:hover .ys-space-body {
        border-left-color: transparent;
        border-top-color: var(--ys-blue);
    }
}


/* =============================================================================
   PAGE HERO — breadcrumb header for inner pages
   ============================================================================= */
.ys-page-hero {
    background-color: var(--ys-anthracite);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.ys-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(94,115,135,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ys-page-hero-title {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}

.ys-breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
    gap: 0;
}

.ys-breadcrumb .breadcrumb-item {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.ys-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.ys-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.ys-breadcrumb .breadcrumb-item.active {
    color: var(--ys-blue);
}

.ys-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.25);
    content: "/";
}

@media (max-width: 767.98px) {
    .ys-page-hero {
        padding: 40px 0 36px;
    }

    .ys-page-hero-title {
        font-size: 22px;
    }
}

/* =============================================================================
   APPLICATION PAGE
   ============================================================================= */

/* Intro */
.ys-ap-intro {
    padding: 80px 0;
}

.ys-ap-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 14px;
}

.ys-ap-title {
    font-size: 28px;
    font-weight: 300;
    color: var(--ys-anthracite);
    line-height: 1.2;
    margin-bottom: 20px;
}

.ys-ap-lead {
    font-size: 16px;
    color: #444;
    line-height: 1.75;
    margin-bottom: 16px;
}

.ys-ap-body {
    font-size: 16px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 28px;
}

.ys-ap-cta {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    background-color: var(--ys-anthracite);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.2s;
}

.ys-ap-cta:hover {
    background-color: var(--ys-blue);
    color: #fff;
    transform: translateY(-2px);
}

.ys-ap-hero-img-wrap {
    border-radius: 10px;
    overflow: hidden;
}

.ys-ap-hero-img {
    width: 100%;
    /*aspect-ratio: 1 / 1;*/
    object-fit: cover;
    display: block;
}

/* Gallery — main image swiper + thumbnail swiper */
.ys-ap-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agsofa-gallery-main {
    position: relative;
    width: 100%;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
}

/* .ys-ap-hero-img-wrap fills each slide, so drop its own radius/clip */
.agsofa-gallery-main .ys-ap-hero-img-wrap {
    border-radius: 0;
}

.agsofa-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    color: var(--ys-anthracite);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: background 0.2s, color 0.2s;
}

.agsofa-gallery-nav:hover {
    background: var(--ys-blue);
    color: #fff;
}

.agsofa-gallery-nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.agsofa-gallery-prev { left: 16px; }
.agsofa-gallery-next { right: 16px; }

.agsofa-gallery-thumbs {
    width: 100%;
    min-width: 0;
    padding: 4px 2px;
}

.agsofa-gallery-thumbs .swiper-slide {
    width: 88px;
    cursor: pointer;
}

.agsofa-gallery-thumbs .item {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}

.agsofa-gallery-thumbs .item img {
    width: 100%;
    display: block;
}

.agsofa-gallery-thumbs .swiper-slide-thumb-active .item {
    border-color: var(--ys-blue);
    opacity: 1;
}

/* Hide the thumbnail strip entirely when there's only one image */
.agsofa-gallery-thumbs:has(.swiper-slide:only-child) {
    display: none;
}

@media (max-width: 767.98px) {
    .agsofa-gallery-nav { width: 36px; height: 36px; }
}

/* Benefits */
.ys-ap-benefits {
    padding: 72px 0 80px;
    background-color: #f7f7f7;
}

.ys-ap-section-title {
    font-size: 24px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 40px;
    line-height:normal;
}

.ys-ap-benefit-card {
    background: #fff;
    border: 1px solid var(--ys-light-gray);
    border-radius: 10px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ys-ap-benefit-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.ys-ap-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(94,115,135,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ys-blue);
    margin-bottom: 16px;
}

.ys-ap-benefit-title {
    font-size: 16px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 10px;
}

.ys-ap-benefit-desc {
    font-size: 16px;
    color: #777;
    line-height: 1.65;
    margin: 0;
}

/* Related Projects — Swiper */
.ys-ap-projects {
    padding: 80px 0 0;
    background-color: var(--ys-anthracite);
}

.ys-ap-projects .ys-ap-projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 12px;
}

.ys-ap-projects .ys-ap-section-title {
    color: #fff;
    margin-bottom: 0;
}

.ys-ap-projects .ys-ap-eyebrow {
    color: rgba(255,255,255,0.45);
}

.ys-ap-projects-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    white-space: nowrap;
    padding-bottom: 4px;
}

.ys-ap-projects-all:hover {
    gap: 10px;
    color: #fff;
}

/* Swiper wrapper — overflow visible for peek effect */
.ys-ap-proj-swiper-wrap {
    position: relative;
    overflow: clip;
}

.ys-ap-proj-swiper {
    overflow: visible;
    padding: 0 0 12px;
}
/* 
.ys-ap-proj-swiper .swiper-wrapper {
    padding-left: max(24px, calc((100vw - 1140px) / 2));
} */

/* Slide */
.ys-ap-proj-slide {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
}

.ys-ap-proj-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}

.ys-ap-proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ys-ap-proj-slide:hover .ys-ap-proj-img-wrap img {
    transform: scale(1.05);
}

/* Overlay */
.ys-ap-proj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.3s;
}

.ys-ap-proj-slide:hover .ys-ap-proj-overlay {
    opacity: 1;
}

.ys-ap-proj-zoom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.2s;
}

.ys-ap-proj-slide:hover .ys-ap-proj-zoom {
    background: rgba(255,255,255,0.25);
}

.ys-ap-proj-info {
    align-self: flex-start;
    width: 100%;
}

.ys-ap-proj-cat {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 5px;
}

.ys-ap-proj-name {
    font-size: 15px;
    font-weight: 300;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

/* Nav arrows */
.ys-ap-proj-prev,
.ys-ap-proj-next {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ys-anthracite);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.ys-ap-proj-prev:hover,
.ys-ap-proj-next:hover {
    background: var(--ys-blue);
    color: #fff;
    transform: translateY(-60%) scale(1.08);
}

.ys-ap-proj-prev {
    left: 16px;
}

.ys-ap-proj-next {
    right: 16px;
}

.ys-ap-proj-prev.swiper-button-disabled,
.ys-ap-proj-next.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .ys-ap-intro { padding: 60px 0; }
    .ys-ap-benefits { padding: 56px 0 64px; }
    .ys-ap-projects { padding: 56px 0 64px; }
}

@media (max-width: 767.98px) {
    .ys-ap-title { font-size: 24px; }
    .ys-ap-project-overlay { opacity: 1; }
}

/* =============================================================================
   APPLICATIONS GRID
   ============================================================================= */
.ys-apps-section {
    padding: 80px 0 90px;
}

.ys-app-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ys-light-gray);
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
}

.ys-app-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}

.ys-app-card-img {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ys-app-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.ys-app-card:hover .ys-app-card-img img {
    transform: scale(1.05);
}

.ys-app-card-body {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ys-app-card-title {
    font-size: 17px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ys-app-card-desc {
    font-size: 16px;
    color: #777;
    line-height: 1.65;
    margin: 0 0 18px;
    flex: 1;
}

.ys-app-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ys-blue);
    transition: gap 0.2s;
}

.ys-app-card:hover .ys-app-card-link {
    gap: 10px;
}

@media (max-width: 767.98px) {
    .ys-apps-section {
        padding: 56px 0 64px;
    }
}

/* =============================================================================
   ABOUT SECTIONS
   ============================================================================= */
.ys-about-row {
    padding: 80px 0;
}

.ys-about-row--alt {
    background-color: #f7f7f7;
}

/* Reverse layout on even rows (desktop only) */
@media (min-width: 992px) {
    .ys-about-row:nth-child(even) .ys-about-text {
        order: 2;
    }

    .ys-about-row:nth-child(even) .ys-about-img-wrap {
        order: 1;
    }
}

.ys-about-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 14px;
}

.ys-about-title {
    font-size: 26px;
    font-weight:300;
    color: var(--ys-anthracite);
    line-height: 1.25;
    margin-bottom: 20px;
}

.ys-about-body p {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 16px;
}

.ys-about-body p:last-child {
    margin-bottom: 0;
}

.ys-about-steps {
    margin: 20px 0 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ys-about-steps li {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    padding-left: 4px;
}

.ys-about-steps li strong {
    color: var(--ys-anthracite);
}

.ys-about-img-wrap {
    border-radius: 10px;
    overflow: hidden;
}

.ys-about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ys-about-img-wrap:hover .ys-about-img {
    transform: scale(1.03);
}

@media (max-width: 991.98px) {
    .ys-about-row {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .ys-about-row {
        padding: 48px 0;
    }

    .ys-about-title {
        font-size: 22px;
    }

    .ys-about-img {
        height: 260px;
    }
}

/* =============================================================================
   FINAL CTA SECTION
   ============================================================================= */
.ys-final-cta {
    padding: 60px 0;
    background-color: var(--ys-anthracite);
    position: relative;
    overflow: hidden;
}

.ys-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(94,115,135,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.ys-fcta-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 16px;
}

.ys-fcta-title {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 20px;
}

.ys-fcta-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    margin-bottom: 0;
}

.ys-fcta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ys-fcta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: var(--ys-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.2s;
}

.ys-fcta-primary:hover {
    background-color: #4e6375;
    color: #fff;
    transform: translateY(-2px);
}

.ys-fcta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.ys-fcta-secondary:hover {
    border-color: rgba(255,255,255,0.55);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .ys-final-cta .col-lg-4 {
        align-items: flex-start !important;
    }
}

@media (max-width: 767.98px) {
    .ys-final-cta {
        padding: 50px 0;
    }

    .ys-fcta-title {
        font-size: 22px;
    }

    .ys-fcta-primary,
    .ys-fcta-secondary {
        justify-content: center;
    }
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.ys-footer {
    background-color: var(--ys-anthracite);
    color: rgba(255,255,255,0.6);
}

.ys-footer-main {
    padding: 72px 0 56px;
}

/* Logo */
.ys-footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.ys-footer-logo img {
    height: 90px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Description */
.ys-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
    max-width: 320px;
}

/* Contact list */
.ys-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ys-footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.ys-footer-contact li svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--ys-blue);
}

.ys-footer-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.ys-footer-contact a:hover {
    color: #fff;
}

/* Social */
.ys-footer-social {
    display: flex;
    gap: 8px;
}

.ys-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.ys-footer-social-link:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* Column headings */
.ys-footer-heading {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
}

/* Links */
.ys-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ys-footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.ys-footer-links a:hover {
    color: #fff;
}

/* Hours */
.ys-footer-hours {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ys-footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 8px;
}

.ys-footer-hours li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Newsletter */
.ys-footer-newsletter .ys-footer-heading {
    margin-top: 0;
}

.ys-footer-nl-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 14px;
    line-height: 1.6;
}

.ys-footer-nl-form {
    width: 100%;
}

.ys-footer-nl-field {
    display: flex;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ys-footer-nl-field:focus-within {
    border-color: var(--ys-blue);
}

.ys-footer-nl-field input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 13px;
    color: #fff;
    font-family: inherit;
}

.ys-footer-nl-field input::placeholder {
    color: rgba(255,255,255,0.3);
}

.ys-footer-nl-field button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    background-color: var(--ys-blue);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ys-footer-nl-field button:hover {
    background-color: #4e6375;
}

.ys-footer-nl-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.ys-footer-nl-consent input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ys-footer-nl-consent-box {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 3px;
    background: transparent;
    margin-top: 1px;
    transition: border-color 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ys-footer-nl-consent-box::after {
    content: "";
    display: block;
    width: 4px;
    height: 7px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.15s;
}

.ys-footer-nl-consent input:checked ~ .ys-footer-nl-consent-box {
    background-color: var(--ys-blue);
    border-color: var(--ys-blue);
}

.ys-footer-nl-consent input:checked ~ .ys-footer-nl-consent-box::after {
    opacity: 1;
}

.ys-footer-nl-consent-text {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.ys-footer-nl-consent-link {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ys-footer-nl-consent-link:hover {
    color: #fff;
}

.ys-footer-nl-msg {
    font-size: 12px;
    margin: 8px 0 0;
    min-height: 16px;
    color: rgba(255,255,255,0.45);
}

.ys-footer-nl-msg.success {
    color: #6dbf88;
}

.ys-footer-nl-msg.error {
    color: #e07474;
}

/* Divider */
.ys-footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.08);
}

/* Bottom bar */
.ys-footer-bottom {
    padding: 20px 0;
}

.ys-footer-copy,
.ys-footer-powered {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.ys-footer-powered a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.ys-footer-powered a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .ys-footer-main {
        padding: 56px 0 40px;
    }

    .ys-footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .ys-footer-main {
        padding: 48px 0 32px;
    }

    .ys-footer-hours {
        margin-bottom: 28px;
    }
}

/* =============================================================================
   OFFER MODAL
   ============================================================================= */
.ys-offer-modal .modal-dialog {
    max-width: 680px;
}

.ys-offer-modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.ys-offer-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 36px 24px;
    border-bottom: none;
    background-color: var(--ys-anthracite);
}

.ys-offer-modal-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.ys-offer-modal-title {
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.ys-offer-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s;
    margin-left: 16px;
    margin-top: 2px;
}

.ys-offer-modal-close:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.ys-offer-modal-body {
    padding: 28px 36px 32px;
    background-color: #fff;
}

.ys-offer-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ys-anthracite);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}

.ys-offer-label span[aria-hidden] {
    color: var(--ys-blue);
}

.ys-offer-optional {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}

.ys-offer-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ys-anthracite);
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    font-family: inherit;
    line-height: 1.5;
}

.ys-offer-input:focus {
    border-color: var(--ys-blue);
    background-color: #fff;
}

.ys-offer-input.is-invalid {
    border-color: #d9534f;
}

.ys-offer-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%235E7387' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.ys-offer-textarea {
    resize: vertical;
    min-height: 100px;
}

.ys-offer-error {
    display: block;
    font-size: 12px;
    color: #d9534f;
    margin-top: 4px;
    min-height: 16px;
}

.ys-offer-consent {
    margin-top: 20px;
}

.ys-offer-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.ys-offer-consent-check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ys-offer-consent-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    background-color: #fafafa;
    margin-top: 1px;
    transition: border-color 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ys-offer-consent-box::after {
    content: "";
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.15s;
}

.ys-offer-consent-check:checked ~ .ys-offer-consent-box {
    background-color: var(--ys-anthracite);
    border-color: var(--ys-anthracite);
}

.ys-offer-consent-check:checked ~ .ys-offer-consent-box::after {
    opacity: 1;
}

.ys-offer-consent-check:focus-visible ~ .ys-offer-consent-box {
    outline: 2px solid var(--ys-blue);
    outline-offset: 2px;
}

.ys-offer-consent-check.is-invalid ~ .ys-offer-consent-box {
    border-color: #d9534f;
}

.ys-offer-consent-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.ys-offer-consent-link {
    color: var(--ys-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ys-offer-consent-link:hover {
    color: var(--ys-anthracite);
}

.ys-offer-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.ys-offer-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    margin: 0;
}

.ys-offer-note svg {
    flex-shrink: 0;
    color: var(--ys-blue);
}

.ys-offer-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: var(--ys-anthracite);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    font-family: inherit;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.ys-offer-submit:hover {
    background-color: var(--ys-blue);
    transform: translateY(-1px);
}

.ys-offer-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 8px;
    gap: 12px;
}

.ys-offer-success h3 {
    font-size: 20px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin: 0;
}

.ys-offer-success p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

@media (max-width: 575.98px) {
    .ys-offer-modal-header,
    .ys-offer-modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ys-offer-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ys-offer-submit {
        justify-content: center;
    }
}

/* =============================================================================
   CONTACT SECTION — contact.html
   ============================================================================= */

.ys-contact-section {
    padding: 88px 0 96px;
}

/* Intro text */
.ys-contact-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 12px;
}

.ys-contact-title {
    font-size: 26px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 12px;
    line-height: 1.25;
}

.ys-contact-sub {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Form fields */
.ys-contact-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ys-anthracite);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.ys-contact-label span {
    color: var(--ys-blue);
}

.ys-contact-input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font-family: var(--ys-font);
    font-size: 14px;
    color: var(--ys-anthracite);
    background: #fff;
    border: 1.5px solid var(--ys-light-gray);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.ys-contact-input:focus {
    border-color: var(--ys-blue);
}

.ys-contact-input::placeholder {
    color: #aaa;
}

.ys-contact-input.is-invalid {
    border-color: #c0392b;
}

.ys-contact-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235E7387' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.ys-contact-textarea {
    resize: vertical;
    min-height: 110px;
}

.ys-contact-error {
    display: block;
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
    min-height: 16px;
}

/* Consent checkbox */
.ys-contact-consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.ys-contact-checkbox-native {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ys-contact-checkbox-custom {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--ys-light-gray);
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: border-color 0.2s, background 0.2s;
}

.ys-contact-checkbox-native:checked + .ys-contact-checkbox-custom {
    background: var(--ys-blue);
    border-color: var(--ys-blue);
}

.ys-contact-checkbox-native:checked + .ys-contact-checkbox-custom::after {
    content: '';
    display: block;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}

.ys-contact-consent-text {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
}

.ys-contact-consent-text a {
    color: var(--ys-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit button */
.ys-contact-submit {
    display: inline-block;
    padding: 13px 32px;
    background: var(--ys-anthracite);
    color: #fff;
    font-family: var(--ys-font);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.02em;
}

.ys-contact-submit:hover {
    background: var(--ys-blue);
    transform: translateY(-1px);
}

/* Success message */
.ys-contact-success {
    text-align: center;
    padding: 48px 0;
}

.ys-contact-success h3 {
    font-size: 20px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin: 16px 0 8px;
}

.ys-contact-success p {
    font-size: 15px;
    color: #666;
}

/* Right column — info */
.ys-contact-info-block {
    background: var(--ys-light-gray);
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ys-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ys-contact-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ys-blue);
    margin-top: 2px;
}

.ys-contact-info-label {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin: 0 0 3px;
}

.ys-contact-info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--ys-anthracite);
    line-height: 1.55;
    text-decoration: none;
    display: block;
}

a.ys-contact-info-value:hover {
    color: var(--ys-blue);
}

/* Social links */
.ys-contact-social-block {
    margin-bottom: 20px;
}

.ys-contact-social-label {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 12px;
}

.ys-contact-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ys-contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid var(--ys-light-gray);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ys-dark-gray);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.ys-contact-social-link:hover {
    border-color: var(--ys-blue);
    color: var(--ys-blue);
}

/* Map */
.ys-contact-map {
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    border: 1.5px solid var(--ys-light-gray);
}

/* Mobile sticky actions */
.ys-mobile-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ys-mobile-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    font-family: var(--ys-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}

.ys-mobile-action:hover {
    opacity: 0.9;
    color: #fff;
}

.ys-mobile-call {
    background: var(--ys-anthracite);
}

.ys-mobile-whatsapp {
    background: #25D366;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ys-contact-section { padding: 64px 0 72px; }
}

@media (max-width: 575.98px) {
    .ys-contact-section { padding: 48px 0 100px; }
    .ys-contact-title { font-size: 22px; }
    .ys-contact-info-block { padding: 24px 20px; }
}

/* =============================================================================
   FAQ SECTION — faq.html
   ============================================================================= */

.ys-faq-section {
    padding: 88px 0 96px;
}

.ys-faq-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 12px;
}

.ys-faq-title {
    font-size: 26px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 12px;
    line-height: normal;
}

.ys-faq-sub {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Accordion items */
.ys-faq-item {
    border: none;
    border-bottom: 1px solid var(--ys-light-gray);
    border-radius: 0 !important;
    background: transparent;
}

.ys-faq-item:first-child {
    border-top: 1px solid var(--ys-light-gray);
}

.ys-faq-btn {
    background: transparent;
    color: var(--ys-anthracite);
    font-family: var(--ys-font);
    font-size: 16px;
    font-weight: 600;
    padding: 20px 0;
    box-shadow: none !important;
    border-radius: 0 !important;
    line-height: 1.4;
    transition: color 0.2s;
}

.ys-faq-btn:hover {
    color: var(--ys-blue);
}

.ys-faq-btn:not(.collapsed) {
    color: var(--ys-blue);
    background: transparent;
}

/* Hide Bootstrap's default chevron */
.ys-faq-btn::after {
    display: none;
}

/* Custom +/- icon via ::before on a pseudo wrapper */
.ys-faq-btn .ys-faq-icon {
    flex-shrink: 0;
    margin-left: auto;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--ys-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.ys-faq-btn .ys-faq-icon::before,
.ys-faq-btn .ys-faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: opacity 0.2s, transform 0.2s;
}

/* Horizontal bar */
.ys-faq-btn .ys-faq-icon::before {
    width: 10px;
    height: 1.5px;
}

/* Vertical bar — hidden when open */
.ys-faq-btn .ys-faq-icon::after {
    width: 1.5px;
    height: 10px;
}

.ys-faq-btn:not(.collapsed) .ys-faq-icon {
    border-color: var(--ys-blue);
    background: rgba(94,115,135,0.08);
    color: var(--ys-blue);
}

.ys-faq-btn:not(.collapsed) .ys-faq-icon::after {
    opacity: 0;
    transform: rotate(90deg);
}

/* Two-column layout */
.ys-faq-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    align-items: start;
}

.ys-faq-col .ys-faq-item:first-child {
    border-top: 1px solid var(--ys-light-gray);
}

.ys-faq-body {
    font-size: 16px;
    color: #666;
    line-height: 1.75;
    padding: 0 0 20px;
}

.ys-faq-body a {
    color: var(--ys-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ys-faq-body strong {
    color: var(--ys-anthracite);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .ys-faq-section { padding: 64px 0 72px; }
    .ys-faq-cols { grid-template-columns: 1fr; gap: 0; }
    .ys-faq-col:nth-child(2) .ys-faq-item:first-child { border-top: none; }
}

@media (max-width: 575.98px) {
    .ys-faq-section { padding: 48px 0 56px; }
    .ys-faq-title { font-size: 22px; }
    .ys-faq-btn { font-size: 14px; padding: 16px 0; }
}

/* =============================================================================
   PARTNERS SECTION — partners.html
   ============================================================================= */

.ys-partners-section {
    padding: 88px 0 96px;
}

/* Intro */
.ys-partners-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 12px;
}

.ys-partners-title {
    font-size: 26px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 14px;
    line-height: 1.25;
}

.ys-partners-sub {
    font-size: 16px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* Cards */
.ys-partner-card {
    background: #fff;
    border: 1px solid var(--ys-light-gray);
    border-radius: 10px;
    padding: 32px 28px;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
}

.ys-partner-card:hover {
    box-shadow: 0 8px 32px rgba(31,31,31,0.09);
    transform: translateY(-3px);
}

.ys-partner-card-icon {
    color: var(--ys-blue);
    margin-bottom: 18px;
}

.ys-partner-card-title {
    font-size: 17px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 10px;
    line-height: 1.3;
}

.ys-partner-card-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ys-partner-list, .ys-partner-card-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ys-partner-list li, .ys-partner-card-text li {
    font-size: 15px;
    font-weight: 500;
    color: var(--ys-dark-gray);
    padding-left: 16px;
    position: relative;
}

.ys-partner-list li::before, .ys-partner-card-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ys-blue);
    opacity: 0.6;
}

/* Process */
.ys-partners-process {
    background: var(--ys-light-gray);
    border-radius: 12px;
    padding: 48px 40px;
    margin: 64px 0 0;
}

.ys-partners-process-title {
    font-size: 22px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin: 0;
}

.ys-process-step {
    padding: 0 8px;
}

.ys-process-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--ys-blue);
    background: rgba(94,115,135,0.1);
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ys-process-step-title {
    font-size: 16px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 8px;
}

.ys-process-step-text {
    font-size: 16px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* CTA block */
.ys-partners-cta-block {
    background: var(--ys-anthracite);
    border-radius: 12px;
    padding: 48px 40px;
    margin-top: 32px;
}

.ys-partners-cta-title {
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.ys-partners-cta-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ys-partners-section { padding: 64px 0 72px; }
    .ys-partners-process { padding: 36px 28px; }
    .ys-partners-cta-block { padding: 36px 28px; }
}

@media (max-width: 575.98px) {
    .ys-partners-section { padding: 48px 0 56px; }
    .ys-partners-title { font-size: 22px; }
    .ys-partners-process { padding: 28px 20px; }
    .ys-partners-cta-block { padding: 28px 20px; }
    .ys-partners-cta-title { font-size: 19px; }
}

.mb-6 { margin-bottom: 64px; }

/* =============================================================================
   PROJECTS MOSAIC GALLERY — projects.html
   ============================================================================= */

.ys-projects-section {
    padding: 80px 0 96px;
}

/* Section header */
.ys-proj-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 12px;
}

.ys-proj-title {
    font-size: 28px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 14px;
    line-height: 1.2;
}

.ys-proj-sub {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Filter bar */
.ys-proj-filters-wrap {
    position: relative;
    margin-bottom: 40px;
}

.ys-proj-filters-wrap::before,
.ys-proj-filters-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 4px;
    width: 48px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ys-proj-filters-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.ys-proj-filters-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.ys-proj-filters-wrap.can-scroll-left::before  { opacity: 1; }
.ys-proj-filters-wrap.can-scroll-right::after  { opacity: 1; }

.ys-proj-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 4px;
}

.ys-proj-filters::-webkit-scrollbar {
    display: none;
}

.ys-proj-filter {
    flex-shrink: 0;
}

.ys-proj-filter {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ys-dark-gray);
    background: var(--ys-light-gray);
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: var(--ys-font);
}

.ys-proj-filter:hover {
    background: #d4d4d4;
    color: var(--ys-anthracite);
}

.ys-proj-filter.active {
    background: var(--ys-anthracite);
    color: #fff;
}

/* Mosaic grid — CSS columns masonry */
.ys-proj-grid {
    columns: 3;
    column-gap: 12px;
}

.ys-proj-item {
    break-inside: avoid;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
}

.ys-proj-item .ys-proj-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Link wrapper */
.ys-proj-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    text-decoration: none;
}

/* Overlay */
.ys-proj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,31,31,0.75) 0%, rgba(31,31,31,0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 16px;
    border-radius: 6px;
}

.ys-proj-link:hover .ys-proj-overlay {
    opacity: 1;
}

.ys-proj-link:hover .ys-proj-img {
    transform: scale(1.04);
}

/* Info — bottom left */
.ys-proj-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Zoom icon — bottom right */
.ys-proj-zoom {
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ys-proj-link:hover .ys-proj-zoom {
    background: rgba(255,255,255,0.25);
}

.ys-proj-cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.ys-proj-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

/* Hidden items (filtered out) */
.ys-proj-item.ys-proj-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ys-proj-grid {
        columns: 2;
    }
    .ys-projects-section {
        padding: 60px 0 72px;
    }
}

@media (max-width: 575.98px) {
    .ys-proj-grid {
        columns: 1;
    }
    .ys-proj-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(31,31,31,0.65) 0%, transparent 60%);
    }
    .ys-proj-zoom {
        display: none;
    }
    .ys-projects-section {
        padding: 48px 0 60px;
    }
}

/* =============================================================================
   GLASS TYPES SECTION — types.html
   ============================================================================= */

/* Section wrapper */
.ys-types-section {
    padding: 96px 0 80px;
}

/* ---- Sidebar nav (desktop) ---- */
.ys-types-nav {
    position: sticky;
    top: calc(var(--ys-total-h) + 24px);
}

.ys-types-nav-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ys-blue);
    margin-bottom: 16px;
}

.ys-types-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--ys-light-gray);
}

.ys-types-nav-list li {
    margin: 0;
}

.ys-types-nav-link {
    display: block;
    padding: 9px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ys-dark-gray);
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

.ys-types-nav-link:hover {
    color: var(--ys-anthracite);
    border-left-color: var(--ys-light-gray);
}

.ys-types-nav-link.active {
    color: var(--ys-blue);
    border-left-color: var(--ys-blue);
    font-weight: 600;
}

/* ---- Mobile tabs ---- */
.ys-types-tabs-wrap {
    position: relative;
    margin-bottom: 40px;
}

.ys-types-tabs-wrap::before,
.ys-types-tabs-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 4px;
    width: 48px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ys-types-tabs-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.ys-types-tabs-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.ys-types-tabs-wrap.can-scroll-left::before  { opacity: 1; }
.ys-types-tabs-wrap.can-scroll-right::after  { opacity: 1; }

.ys-types-tabs {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ys-types-tabs::-webkit-scrollbar {
    display: none;
}

.ys-types-tab {
    flex-shrink: 0;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ys-dark-gray);
    background: var(--ys-light-gray);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.ys-types-tab:hover {
    background: #d8d8d8;
    color: var(--ys-anthracite);
}

.ys-types-tab.active {
    background: var(--ys-blue);
    color: #fff;
}

/* ---- Type blocks ---- */
.ys-type-block {
    padding: 64px 0;
    border-bottom: 1px solid var(--ys-light-gray);
    scroll-margin-top: calc(var(--ys-total-h) + 32px);
}

.ys-type-block:first-child {
    padding-top: 0;
}

.ys-type-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ys-type-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--ys-blue);
    background: rgba(94, 115, 135, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.ys-type-title {
    font-size: 24px;
    font-weight: 300;
    color: var(--ys-anthracite);
    margin-bottom: 16px;
    line-height: 1.25;
}

.ys-type-lead {
    font-size: 16px;
    font-weight: 500;
    color: var(--ys-dark-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.ys-type-body {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* ---- Use-case pills ---- */
.ys-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ys-type-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ys-blue);
    border: 1px solid rgba(94, 115, 135, 0.3);
    background: rgba(94, 115, 135, 0.05);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .ys-types-section {
        padding: 64px 0 60px;
    }

    .ys-type-block {
        padding: 48px 0;
        scroll-margin-top: calc(var(--ys-total-h) + 16px);
    }

    .ys-type-title {
        font-size: 22px;
    }
}

@media (max-width: 575.98px) {
    .ys-types-section {
        padding: 48px 0 48px;
    }

    .ys-type-block {
        padding: 40px 0;
    }

    .ys-type-title {
        font-size: 20px;
    }

    .ys-type-lead {
        font-size: 15px;
    }
}

/* =============================================================================
   ACCESSIBILITY — Focus styles
   ============================================================================= */
.ys-nav-link:focus-visible,
.ys-btn-offer:focus-visible,
.ys-mb-link:focus-visible,
.ys-mb-sub-link:focus-visible,
.ys-mega-link:focus-visible,
.ys-hamburger:focus-visible {
    outline: 2px solid var(--ys-blue);
    outline-offset: 2px;
}

@media (max-width:991px){
    .ys-about-text{
        margin-bottom:5px;
    }
    .ys-about-img-wrap{
        margin-top:5px;
    }
    .ys-about-steps{
        padding-bottom:10px;
    }
    .ys-about-body{
        padding-bottom: 10px;
    }
}
/* =============================================================================
   GO TOP BUTTON
   ============================================================================= */

#goTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: var(--ys-anthracite);
    color: #fff;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

#goTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#goTop:hover {
    background: var(--ys-blue);
}

#goTop .icon {
    font-size: 14px;
    line-height: 1;
}

#goTop .border-progress {
    display: none;
}
