/* Import base styles */
@import url("base/_reset.css");

/* Import layout styles */
@import url("layout/_grid.css");
@import url("layout/_header.css");
@import url("layout/_footer.css");
@import url("layout/_form.css");
@import url("layout/_news-cards.css");
/* Import component styles if any */
/* @import url("components/_buttons.css"); */

/* News Feed Section */
.news-feed__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Min 384px in Figma, adjust for padding */
    gap: 24px; /* (408 card x - 384 card width) */
}
.news-card {
    background-color: var(--color-text-light);
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
     /* Figma height */
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.news-card:hover {
    border: 1px solid var(--color-accent-gold);
    transition: all 0.3s;
}
.news-card__image-link {
    display: block;
    margin-bottom: 17px; /* (337 date y - (20 padding + 300 img height)) */
}
.news-card__image {
    width: 100%; /* 344px in Figma */
    height: 300px;
    object-fit: cover;
    border-radius: 20px; /* Inner radius for image if padding is 20px and card radius 30px */
}
.news-card__date {
    font-family: var(--font-roboto);
    font-size: 15px;
    color: var(--color-accent-gold);
    margin-bottom: 10px; /* (28px title relative y in figma) */
    line-height: 1.2; /* 18px / 15px */
}
.news-card__title {
    font-family: var(--font-roboto); /* Figma uses Roboto Regular for this title */
    font-size: 25px;
    font-weight: 400; /* Regular */
    color: var(--color-text-dark);
    line-height: 1.16; /* Approx 29px. Figma shows 87px height for 3 lines */
    margin-bottom: 10px; /* (125 excerpt relative y in figma) */
    flex-grow: 1; /* Allow title to take space if excerpt is short */
}
.news-card__excerpt {
    font-family: var(--font-roboto);
    font-size: 15px;
    color: #808080; /* Medium grey */
    line-height: 1.46; /* 22px / 15px */
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
     /* (223 arrow relative y in figma) */
.news-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
};
}
.news-card__more-link {
    display: block;
    margin-top: auto; /* Pushes to bottom */
    align-self: flex-end;
    width: 30px;
    height: 30px;
    background-color: var(--color-primary-blue-darker);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}
.news-card__more-link:hover {
    background-color: var(--color-accent-gold);
}
.news-card__more-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}

.news-card:hover .news-card__more-icon {
    transform: rotate(-45deg);
    transition: transform 0.3s;
}

.news-card__image-link:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
}





:root {
    --color-primary-blue: #394A66; /* Figma: 0.223, 0.290, 0.400 */
    --color-primary-blue-darker: #3A4A68; /* Figma: 0.227, 0.290, 0.407 */
    --color-primary-blue-darkest: #1D2638; /* Figma: 0.113, 0.149, 0.219 */
    --color-accent-gold: #D4A778; /* Figma: 0.831, 0.654, 0.470 */
    --color-text-dark: #3C3C3C; /* Figma: 0.237, 0.237, 0.237 */
    --color-text-light: #FFFFFF;
    --color-background-light: #F9F9F9;
    --color-border-light: #DDD; /* General light border */
    --font-roboto: 'Roboto', sans-serif;
    --font-playfair: 'Playfair Display', serif;
    --font-open-sans: 'Open Sans', sans-serif;
    --font-source-sans: 'Source Sans Pro', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-roboto);
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    font-size: 16px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1230px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-roboto);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.button--primary {
    background-color: var(--color-accent-gold);
    color: var(--color-text-light);
    border: 1px solid var(--color-accent-gold);
}
.button--primary:hover {
    background-color: #c89868; /* Darken gold */
}

.button--secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-accent-gold);
}
.button--secondary:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-text-light);
}

.button--outline-gold {
    background-color: transparent;
    color: var(--color-accent-gold);
    border: 1px solid var(--color-accent-gold);
}
.button--outline-gold:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-text-light);
}

.section {
    /* padding-top: 60px; */
    /* padding-bottom: 60px; */
    margin-top: 60px;
    margin-bottom: 90px;
}

.section__title {
    font-family: var(--font-playfair);
    font-weight: 600; /* SemiBold */
    color: var(--color-accent-gold);
    text-align: center;
    margin-bottom: 60px;
}

.section__title--large {
     font-size: 45px;
     line-height: 1.33; /* 60px / 45px */
}
.section__title--medium {
     font-size: 36px;
     line-height: 1.33; /* 48px / 36px */
}


/* Header */
.header {
    background-color: var(--color-primary-blue);
    color: var(--color-text-light);
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--Main-2, rgb(212 167 120 / 50%));
}
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
     /* Full width for header content alignment */
}
.header__logo {
    display: flex;
    align-items: center;
}
.header__logo-img {
    width: 160px; /* Group 13 (66px) + Group 15 (82px) + 12px space approx */
    height: 61px;
}
.header__nav-list {
    display: flex;
    gap: 12px; /* Approx from 134 - 122 */
}
.header__nav-item {
    position: relative;
}
.header__nav-link {
    font-size: 16px;
    font-weight: 500; /* Medium */
    line-height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.header__nav-link svg {
    width: 10px;
    height: 6px;
    fill: currentColor;
}
.header__nav-sub-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(57 74 102); /* #1F1D2B with 0.7 opacity */
    border-top: 2px solid #d4a778;
    padding: 10px 20px;
    width: 340px;
    z-index: 10;
    border-radius: 0 0 20px 20px;
}
.header__nav-item:hover .header__nav-sub-list {
    display: block;
}
.header__nav-sub-link {
    display: block;
    padding: 5px 10px; /* Approx from Figma */
    font-family: var(--font-source-sans);
    font-size: 16px;
    line-height: 1.5; /* Approx */
    color: var(--color-text-light);
}
.header__nav-sub-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Approx */
}
.header__cta-button {
    padding: 10px 24px; /* (45-25)/2 = 10px vertical */
    height: 45px;
    line-height: 25px;
}
.header__phone-button {
    padding: 13px 24px; /* (45-19)/2 = 13px vertical */
    height: 45px;
    line-height: 19px;
}
.header__lang-switcher {
    all: unset;
    background-color: #2D3C56; /* Figma: 0.176, 0.235, 0.337 */
    border-radius: 30px;
    padding: 0 10px; /* Centering content */
    height: 45px;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}
.header__lang-switcher-icon {
    width: 18px;
    height: 18px;
}
.header__lang-divider {
    width: 1px;
    height: 12px;
    background-color: var(--color-text-light);
}
.header__lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    top: 2px;
}
/* .header__lang-current svg {
    width: 10px;
    height: 5px;
    fill: currentColor;
} */
.header__menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 700px; /* Includes header height if header is absolute/fixed */
    background-image: url('https://placehold.co/1440x800/333333/grey?text=Hero+Background');
    background-size: cover;
    background-position: center;
    /* background-color: rgba(12, 12, 12, 0.42); */ /* Overlay */
    background-blend-mode: multiply;
    padding: 60px 0; /* 159 (title y) - 100 (header) */
    display: flex;
    align-items: flex-start; /* Align items to the top for form positioning */
    margin-bottom: 60px; /* Default section margin for mobile */
}
.hero__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Changed from center to align with Figma */
    gap: 20px; /* Gap between text and form */
    padding-top: 0; /* Reset container padding if section has it */
}
.hero__content {
    flex: 1;
    max-width: 714px;
    color: var(--color-text-light);
}
.hero__title {
    font-family: var(--font-playfair);
    font-size: 45px;
    font-weight: 600; /* SemiBold */
    line-height: 1.33; /* Auto in Figma, using common value */
    margin-bottom: 20px; /* Add some space if there's subtitle */
    color: var(--color-text-light);
}
.hero__form-container {
    /* width: 408px;
    height: 569px; 
    background-color: var(--color-primary-blue);
    border-radius: 30px;
    padding: 40px 30px;  */
    width: 100%;
    max-width: 408px;
}
.hero__form-placeholder { /* This div will contain the script */
    height: 100%;
}


/* About ISO Section */
.about-iso__text {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 32px; /* 182 - 150 */
}
.about-iso__benefits {
    margin-top: 32px; /* 182 (title y) - 150 (prev text height) */
}
.about-iso__benefits-title {
    font-family: var(--font-playfair);
    font-size: 36px;
    font-weight: 600; /* SemiBold */
    color: var(--color-accent-gold);
    text-align: center;
    margin-bottom: 20px; /* 68 (list y) - 48 (title height) */
}
.about-iso__benefits-list {
    font-size: 16px;
    line-height: 30px;
}
.about-iso__benefits-list li {
    margin-bottom: 5px; /* Assuming small gap between bullet points */
}

/* Implementation Areas Section */
.implementation-areas__subtitle {
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    max-width: 982px;
    margin: 0 auto 60px auto; /* 80px (text y) - 60 (title height) = 20px, plus title margin */
}
.implementation-areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Responsive grid */
    gap: 24px; /* 306 - 282 = 24px */
}
.area-card {
    background-color: rgba(12, 12, 12, 0.35); /* Overlay */
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 70px 30px 30px; /* Top padding for icon, bottom/sides for text */
    text-align: center;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Push content to bottom */
    min-height: 225px;
}
.area-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px; /* 62 (text y) - 48 (icon height) */
}
.area-card__title {
    font-size: 20px;
    font-weight: 500; /* Medium */
    line-height: 1.15; /* 23px / 20px */
}

/* Development Stages Section */
.dev-stages {
    background-color: var(--color-primary-blue-darker);
    color: var(--color-text-light);
    border-radius: 30px;
    padding: 60px;
}
.dev-stages__container {
    display: flex;
    gap: 30px; /* Adjust as needed */
    align-items: flex-start;
}
.dev-stages__info {
    flex: 0 0 580px; /* Width from Figma */
    position: sticky;
    top: 120px;
}
.dev-stages__title {
    font-family: var(--font-playfair);
    font-size: 45px;
    font-weight: 600; /* SemiBold */
    color: var(--color-accent-gold);
    text-align: left;
    margin-bottom: 20px;
}
.dev-stages__description {
    font-size: 22px;
    line-height: 1.4; /* Approx */
}
.dev-stages__steps {
    flex: 1;
    max-width: 510px; /* Width from Figma */
}
.stage-item {
    margin-bottom: 40px; /* 187 - 147 */
}
.stage-item:last-child {
    margin-bottom: 0;
}
.stage-item__header {
    display: flex;
    margin-bottom: 12px; /* 48 (title y) - 36 (number height) */
    flex-direction: column;
}
.stage-item__number {
    width: 36px;
    height: 36px;
    background-color: var(--color-accent-gold);
    border-radius: 4px;
    color: var(--color-text-light);
    font-size: 28px;
    font-weight: 500; /* Medium */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 35px; /* Figma */
    margin-right: 12px; /* Implicit spacing */
    margin-bottom: 12px;
}
.stage-item__title {
    font-family: var(--font-playfair);
    font-size: 28px;
    font-weight: 700; /* Bold */
    line-height: 35px; /* Figma */
    /* If number is part of title, adjust layout */
}
.stage-item__description {
    font-size: 18px;
    line-height: 26px; /* Figma */
    padding-left: 0; /* If number is separate, text aligns with title */
}
/* If number is inline with title, adjust .stage-item__title padding-left */
.stage-item__title--with-number { /* Alternative if number is part of title block */
     padding-left: 48px; /* 36px + 12px */
     position: relative;
}
.stage-item__title--with-number .stage-item__number {
    position: absolute;
    left: 0;
    top: 0; /* Adjust alignment */
}


/* Benefits Section */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.benefit-card {
    background-color: var(--color-text-light);
    border: 1px solid var(--color-primary-blue-darker); /* Default border */
    border-radius: 30px;
    padding: 30px 20px;
    text-align: center;
    min-height: 253px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.benefit-card--highlight { /* For the first card */
     border-color: var(--color-primary-blue-darker);
}
.benefit-card--subtle { /* For other cards */
    border-color: #DEDEDE; /* Figma: 0.871, 0.871, 0.871 */
}
.benefit-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px; /* 93 (text y) - 30 (padding) - 48 (icon height) */
}
.benefit-card__title {
    font-size: 20px;
    font-weight: 600; /* SemiBold */
    color: var(--color-primary-blue-darker);
    margin-bottom: 12px; /* 58 (desc y) - 46 (title height) */
    line-height: 1.15;
    text-transform: uppercase;
}
.benefit-card__description {
    font-size: 15px;
    color: var(--color-primary-blue-darker);
    line-height: 1.2; /* Auto in Figma */
}

/* CTA Form Section */
.cta-form-section {
    background-image: url('https://placehold.co/1200x665/444444/grey?text=CTA+Background');
    background-size: cover;
    background-position: center;
    /* background-color: rgba(20, 20, 20, 0.3); */ /* Overlay */
    background-blend-mode: multiply;
    border-radius: 30px;
    padding: 48px 78px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Vertically center content */
    gap: 30px;
    min-height: 665px; /* Figma height */
}
.cta-form-section__content {
    flex: 1;
    max-width: 580px;
    color: var(--color-text-light);
}
.cta-form-section__title {
    font-family: var(--font-playfair);
    font-size: 45px;
    font-weight: 600; /* SemiBold */
    line-height: 1.33; /* 60px / 45px */
    margin-bottom: 15px; /* 135 - 120 */
}
.cta-form-section__text {
    font-size: 22px;
    line-height: 1.4; /* Approx */
    margin-bottom: 15px; /* 228 - (135+78) */
}
.cta-form-section__text--medium {
    font-weight: 500; /* Medium */
}
.cta-form-section__form-container {
    width: 100%;
    max-width: 408px;
    /* min-height: 569px; */ /* As per Figma */
    /* background-color: var(--color-primary-blue-darker); */
    /* border-radius: 30px; */
    /* padding: 40px 30px; */
}
.cta-form-section__form-placeholder {
    height: 100%;
}

/* Our Advantages Section */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.advantage-card {
    background-color: var(--color-text-light);
    border-radius: 30px;
    padding: 24px 20px;
    text-align: center;
    min-height: 202px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.advantage-card--highlight {
    border: 1px solid var(--color-accent-gold);
}
.advantage-card--subtle {
    border: 1px solid #DEDEDE;
}
.advantage-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px; /* 89 (text y) - 24 (padding) - 50 (icon height) */
}
.advantage-card__title {
    font-size: 20px;
    font-weight: 600; /* SemiBold */
    color: #4B4F58; /* Figma: 0.294, 0.309, 0.345 */
    margin-bottom: 12px; /* 35 (desc y) - 23 (title height) */
    line-height: 1.15;
    text-transform: uppercase;
}
.advantage-card__description {
    font-size: 15px;
    color: #4B4F58;
    line-height: 1.2; /* Auto in Figma */
}

/* Europe Map Section */
.europe-map {
    background-color: var(--color-primary-blue-darkest);
    border-radius: 30px;
    padding: 60px 102px; /* Approx based on content */
    display: flex;
    align-items: center;
    gap: 30px; /* Adjust as needed */
    min-height: 673px;
}
.europe-map__content {
    flex: 0 0 384px; /* Width from Figma */
    color: var(--color-text-light);
}
.europe-map__title {
    font-size: 36px;
    font-weight: 500; /* Medium */
    line-height: 1.16; /* 42px / 36px */
    margin-bottom: 20px; /* 104 - 84 */
}
.europe-map__text {
    font-size: 18px;
    line-height: 26px; /* Figma */
    margin-bottom: 20px; /* 202 - (104+78) */
}
.europe-map__button {
    width: 100%; /* Full width of its container (384px) */
    height: 57px;
    font-size: 18px;
    line-height: 25px;
}
.europe-map__image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.europe-map__image {
    max-width: 587px; /* Figma */
    max-height: 553px; /* Figma */
}

/* Additional Certs Section */
.additional-certs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Responsive */
    gap: 24px 24px; /* Vertical gap 15px, horizontal 24px */
}
.cert-card {
    background-color: var(--color-text-light);
     /* Default */
    border-radius: 15px;
    padding: 25px 16px; /* (88 - 38)/2 = 25px vertical */
    display: flex;
    align-items: center;
    gap: 12px; /* 36 (text x) - 24 (icon width) */
    min-height: 88px;
    border: 1px solid var(--dedede, #DEDEDE);
    transition: all 0.3s;
    position: relative;
}
.cert-card--subtle {
    border-color: #DEDEDE;
}
.cert-card__icon-wrapper {
    width: 24px;
    height: 24px;
    background-color: var(--color-primary-blue-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cert-card__icon-arrow { /* Placeholder for arrow */
    width: 8px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(-45deg);
}
.cert-card__text {
    font-size: 16px;
    font-weight: 500; /* Medium */
    color: var(--color-primary-blue-darker);
    line-height: 1.18; /* 19px / 16px */
    flex: 1;
}

/* Final CTA Section */
.final-cta {
    background-image: url('https://placehold.co/1200x400/555555/grey?text=Final+CTA+Background');
    background-size: cover;
    background-position: center;
    /* background-color: rgba(12, 12, 12, 0.42); */ /* Overlay */
    background-blend-mode: multiply;
    border-radius: 30px;
    padding: 98px 60px; /* (400 - 205)/2 = 97.5px approx */
    text-align: center;
    min-height: 400px;
}
.final-cta__title {
    font-family: var(--font-playfair);
    font-size: 45px;
    font-weight: 600; /* SemiBold */
    color: var(--color-text-light);
    line-height: 1.33; /* 60px / 45px */
    margin: 0 auto 28px auto; /* 148 - 120 */
    max-width: 616px;
}
.final-cta__button {
    width: 384px;
    max-width: 100%;
    height: 57px;
    font-size: 18px;
    line-height: 25px;
}

/* Footer */
.footer {
    color: var(--color-text-light);
    background-color: var(--color-primary-blue-darker);
}
.footer__top {
    /* background-color: var(--color-primary-blue-darker); */ /* Same as header */
    padding: 20px 0;
}
.footer__top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.footer__logo-info {
    display: flex;
    align-items: center;
    gap: 25px;
}
.footer__logo {
    width: 100px; /* Figma */
    height: 40px; /* Figma */
}
.footer__company-name {
    font-size: 15px;
}
.footer__social-list {
    display: flex;
    gap: 10px; /* Approx */
}
.footer__social-link {
    display: block;
    width: 24px;
    height: 24px;
}

.footer__main {
    background-color: var(--color-primary-blue-darker);
    padding: 20px 0 40px; /* More bottom padding */
    border-top: 1px solid rgba(221, 221, 221, 0.2); /* Subtle separator */
}
.footer__main-container {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Gap between columns */
    margin: 0 auto;
}
.footer__column {
    font-size: 14px; /* Default for most footer text */
    line-height: 1.5;
}
.footer__column-title {
    font-size: 15px;
    font-weight: 500; /* Medium */
    margin-bottom: 5px; /* 23 - 18 */
}
.footer__location-tag, .footer__lang-tag {
    display: inline-block;
    padding: 8px 5px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px; /* After title */
}
.footer__location-tag {
    background-color: #98AADB; /* Figma: 0.596, 0.671, 0.813 */
    color: var(--color-primary-blue-darker);
    width: 64px;
    text-align: center;
}
.footer__lang-tags {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}
.footer__lang-tag {
    width: 50px; /* Approx */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 34px; /* Figma */
}
.footer__lang-tag--active {
    background-color: #98AADB;
    color: var(--color-primary-blue-darker);
}
.footer__lang-tag--inactive {
    background-color: var(--color-text-light);
    color: var(--color-primary-blue-darker);
    border: 1px solid #DEDEDE;
}
.footer__lang-flag {
    width: 18px;
    height: 18px;
}
.footer__nav-list li {
    margin-bottom: 0; /* Reset if any global li margin */
}
.footer__nav-link {
    display: inline-block; /* For multiple links per line */
    margin-right: 15px; /* Spacing between links */
    margin-bottom: 10px; /* Spacing for wrapped lines */
    font-size: 14px;
}
.footer__nav-link:hover {
    text-decoration: underline;
}
.footer__copyright {
    text-align: center; /* Centered in its column */
    font-size: 12px;
    line-height: 17px; /* Figma */
    margin-top: 30px; /* Space above copyright */
}
.footer__working-hours {
    font-size: 12px;
    text-align: left; /* Align to left in its column */
}
.footer__column--links { flex: 2; }
.footer__column--location, .footer__column--schedule { flex: 1; }


/* Responsive Styles */
@media (max-width: 1200px) {
    .hero__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero__content { max-width: 100%; }
    .hero__form-container {margin-top: 30px;max-width: 408px;width: 100%;margin: 0 auto;}

    .dev-stages__container {/* flex-direction: column; */}
    .dev-stages__info, .dev-stages__steps {/* max-width: 100%; */}
    .dev-stages__info {/* margin-bottom: 30px; */}

    .cta-form-section { flex-direction: column; padding: 40px; text-align: center; }
    .cta-form-section__content { max-width: 100%; text-align: center; }
    .cta-form-section__form-container {margin-top: 30px;width: 100%;max-width: 408px;margin: 0 auto;}

    .europe-map { flex-direction: column; text-align: center; padding: 40px; }
    .europe-map__content { order: 1; margin-bottom: 30px; flex: 0 0 auto; } /* Adjusted flex for mobile */
    .europe-map__image-container { order: 2; }
}

@media (max-width: 992px) {
    .header__nav-list { display: none; } /* Hide desktop nav */
    /* .header__actions .button, .header__actions .header__lang-switcher { display: none; } */ /* Original: Hides lang switcher */
    .header__actions .header__cta-button,
    .header__actions .header__phone-button {
        display: none; /* Hide CTA and Phone for Figma mobile */
    }
    .header__actions .header__lang-switcher {
        display: flex; /* Show Lang Switcher for Figma mobile */
    }
    .header__menu-toggle { display: block; } /* Show hamburger */
    .header__container { padding-left: 20px; padding-right: 20px; }

    .header__nav-list--mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px; /* Below header - Will be adjusted for 70px header */
        left: 0;
        width: 100%;
        background-color: var(--color-primary-blue);
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        gap: 0;
        height: calc(100vh - 70px);
    }
    .header__nav-list--mobile-active .header__nav-link {
        padding: 10px 0;
        /* justify-content: center; */
        font-size: 18px;
        font-weight: 400;
    }
    .header__nav-list--mobile-active .header__nav-sub-list {
        position: static;
        width: 100%;
        /* background-color: rgba(0,0,0,0.1); */
        border: none;
        padding-left: 20px;
        padding-top: 0;
        padding-bottom: 20px;
    }

    .implementation-areas__grid, .benefits__grid, .advantages__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .additional-certs__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .footer__main-container { flex-direction: column; text-align: center; }
    .footer__column { margin-bottom: 20px; }
    .footer__logo-info { flex-direction: column; gap: 10px; }
    .footer__top-container { flex-direction: column; gap: 15px; }
    .footer__copyright { margin-top: 10px; }
    .footer__working-hours, .footer__column-title { text-align: center; }
    .footer__location-tag, .footer__lang-tags { justify-content: center; margin-left:auto; margin-right:auto;}
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section {
        margin-bottom: 60px;
    }
    .header {
        height: 70px;
    }
    .header__logo-img {
        width: 120px;
        height: 46px;
    }
    .header__actions .header__lang-switcher { /* Styles for Figma mobile lang switcher */
        /* width: 116px; */
        /* height: 42px; */
        /* padding: 10px; */ /* Centering content */
        /* gap: 7px; */
    }
    .header__lang-switcher-icon:nth-of-type(1) { /* globe */
        width: 16px;
        height: 16px;
    }
    .header__lang-switcher-icon:nth-of-type(2) { /* flag */
        width: 16px; /* Placeholder was 18x13, actual flag content might be smaller */
        height: auto;
    }
    .header__lang-divider { height: 12px; }
    .header__lang-current { font-size: 14px; }

    .header__nav-list--mobile-active {
        top: 70px; /* Adjusted for new header height */
    }

    .section__title--large {font-size: 36px;margin-bottom: 32px;}
    .section__title--medium { font-size: 30px; }
    .hero__title, .dev-stages__title, .cta-form-section__title, .final-cta__title { font-size: 36px; }

    .implementation-areas__grid, .benefits__grid, .advantages__grid, .additional-certs__grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
    .europe-map__image { max-width: 100%; }
    .footer__top, .footer__main { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
    .section__title--large,
    .implementation-areas .section__title--large, /* Specific for "Ð“Ð´Ðµ Ð²Ð½ÐµÐ´Ñ€ÑÑŽÑ‚ÑÑ" */
    .benefits .section__title--large,
    .advantages .section__title--large,
    .additional-certs .section__title--large {
        font-size: 28px; /* Figma */
        line-height: 1.35;
    }
    .section__title--medium { font-size: 26px; } /* Fallback if used */

    .hero {
        padding-top: 46px;
        padding-bottom: 40px;
        margin-bottom: 60px;
        height: auto;
    }
    .hero__container {
        gap: 48px; /* Space between title and form */
    }
    .hero__title {
        font-size: 28px; /* Figma */
        line-height: 1.3;
        margin-bottom: 0;
    }
    .hero__form-container {
        width: 100%; /* Max 350px from container */
        /* max-width: 350px; */
        height: auto;
        /* padding: 40px 30px; */ /* Figma */
        margin-top: 0; /* Gap handled by hero__container */
        border-radius: 30px;
    }

    .about-iso__text {
        font-size: 14px; /* Figma */
        line-height: 27px; /* Figma */
        margin-bottom: 20px; /* Figma */
    }
    .about-iso__benefits { margin-top: 0; }
    .about-iso__benefits-title {
        font-size: 20px; /* Figma */
        line-height: 1.35;
        margin-bottom: 15px; /* Figma */
    }
    .about-iso__benefits-list {
        font-size: 14px; /* Figma */
        line-height: 27px; /* Figma */
        padding-left: 0;
    }
    .about-iso__benefits-list li {
        margin-bottom: 8px;
        padding-left: 15px; /* Space for custom bullet */
        position: relative;
    }
    .about-iso__benefits-list li::before {
        content: 'â€¢';
        position: absolute;
        left: 0;
        top: 1px; /* Adjust for alignment */
        color: var(--color-text-dark);
    }

    .implementation-areas .section__title--large { margin-bottom: 20px; }
    .implementation-areas__subtitle {
        font-size: 14px; /* Figma */
        line-height: 27px; /* Figma */
        margin-bottom: 32px; /* Figma */
        max-width: 100%;
    }
    .implementation-areas__grid { gap: 12px; /* Figma */ }
    .area-card {
        min-height: 230px; /* Figma */
        padding: 70px 20px; /* Figma */
        border-radius: 20px; /* Figma */
    }
    .area-card__icon {
        width: 48px; height: 48px; margin-bottom: 14px; /* Figma */
    }
    .area-card__title { font-size: 24px; line-height: 1.16; } /* Figma */

    .dev-stages {
        padding: 60px 20px; /* Figma */
        border-radius: 20px; /* Figma */
    }
    .dev-stages__container { gap: 48px; /* Figma: info to steps */ }
    .dev-stages__title {
        font-size: 28px; /* Figma */
        margin-bottom: 20px; /* Figma */
    }
    .dev-stages__description {
        font-size: 16px; /* Figma */
        line-height: 1.5; /* Approx 24px */
    }
    .stage-item { margin-bottom: 40px; /* Figma */ }
    .stage-item__header { display: block; margin-bottom: 0; }
    .stage-item__number {
        width: 30px; height: 30px; font-size: 23px; line-height: 30px; /* Figma */
        margin-right: 0; margin-bottom: 12px; /* Figma */
    }
    .stage-item__title {
        font-size: 22px; line-height: 1.3; /* Figma */
    }
    .stage-item__description {
        font-size: 14px; line-height: 20px; /* Figma */
        padding-left: 0; margin-top: 12px; /* Figma */
    }

    .benefits .section__title--large { margin-bottom: 32px; /* Figma */ }
    .benefits__grid { gap: 12px; /* Figma */ }
    .benefit-card {
        min-height: 227px; /* Figma */
        padding: 40px 20px; /* Figma */
        border-radius: 30px; /* Figma */
    }
    .benefit-card__icon {
        width: 45px; height: 45px; margin-bottom: 15px; /* Figma */
    }
    .benefit-card__title {
        font-size: 18px; margin-bottom: 12px; /* Figma */
    }
    .benefit-card__description { font-size: 15px; } /* Figma */

    .cta-form-section {
        padding: 60px 20px; /* Figma */
        border-radius: 20px; /* Figma */
        gap: 56px; /* Figma: content to form */
        min-height: auto;
    }
    .cta-form-section__title {
        font-size: 28px; /* Figma */
        margin-bottom: 12px; /* Figma */
    }
    .cta-form-section__text {
        font-size: 16px; /* Figma */
        line-height: 24px; /* Figma */
        margin-bottom: 12px; /* Figma */
    }
    .cta-form-section__text--medium {
        font-size: 20px; /* Figma */
        margin-bottom: 12px; /* Figma */
    }
    .cta-form-section__form-container {
        width: 100%;
        /* max-width: 350px; */ /* Figma */
        min-height: auto; /* Figma shows 625px, but let content define */
        /* padding: 40px 30px; */ /* Figma */
        margin-top: 0;
        border-radius: 30px; /* Figma */
    }

    .advantages .section__title--large { margin-bottom: 32px; /* Figma */ }
    .advantages__grid { gap: 12px; /* Figma */ }
    .advantage-card {
        min-height: 186px; /* Figma */
        padding: 24px 20px; /* Figma */
        border-radius: 30px; /* Figma */
    }
    .advantage-card__icon {
        width: 45px; height: 45px; margin-bottom: 20px; /* Figma */
    }
    .advantage-card__title {
        font-size: 18px; margin-bottom: 12px; /* Figma */
    }
    .advantage-card__description { font-size: 14px; line-height: 20px; } /* Figma */

    .europe-map {
        padding: 60px 20px; /* Figma */
        border-radius: 20px; /* Figma */
        gap: 40px; /* Figma: content to map */
        min-height: auto;
    }
    .europe-map__title {
        font-size: 28px; /* Figma */
        font-weight: 500;
        line-height: 1.18; /* Approx 33px */
        margin-bottom: 20px; /* Figma */
    }
    .europe-map__text {
        font-size: 16px; /* Figma */
        line-height: 24px; /* Figma */
        margin-bottom: 20px; /* Figma */
    }
    .europe-map__button {
        width: 100%; max-width: 350px; /* Figma */
        height: 49px; /* Figma */
        font-size: 16px; /* Figma */
    }
    .europe-map__image { max-width: 350px; height: 330px; } /* Figma */

    .additional-certs .section__title--large { margin-bottom: 32px; /* Figma */ }
    .additional-certs__grid { gap: 10px; /* Figma */ }
    .cert-card {
        min-height: 72px; /* Figma */
        padding: 20px 16px; /* Figma */
        gap: 12px; /* Figma */
        border-radius: 15px; /* Figma */
    }
    .cert-card__icon-wrapper {
        width: 20px; height: 20px; /* Figma */
    }
    .cert-card__icon-arrow { width: 6px; height: 6px; border-width: 0 1.5px 1.5px 0; padding: 1.5px;}
    .cert-card__text { font-size: 14px; line-height: 1.14; } /* Figma */
    .additional-certs .button--secondary { /* "Ð‘Ñ–Ð»ÑŒÑˆÐµ" button */
        width: 100%; max-width: 350px;
        height: 49px;
        margin-top: 24px; /* Figma */
        font-size: 16px;
        color: var(--color-accent-gold);
        border-color: var(--color-accent-gold);
    }
    .additional-certs .button--secondary:hover {
        background-color: var(--color-accent-gold);
        color: var(--color-text-light);
    }


    .final-cta {
        padding: 60px 20px; /* Adjusted for content centering, content height 147px, section height 400px. (400-147)/2 = 126.5. Let's use 60px for consistency and rely on text-align. */
        min-height: 400px; /* Figma */
        border-radius: 20px; /* Figma */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .final-cta__title {
        font-size: 26px; /* Figma */
        line-height: 1.35; /* Approx 35px */
        margin-bottom: 20px; /* Figma */
        max-width: 311px; /* Figma */
    }
    .final-cta__button {
        width: 100%; max-width: 311px; /* Figma */
        height: 57px; /* Figma */
        font-size: 18px; /* Figma */
        line-height: 1.38; /* Approx 25px */
        padding: 16px 24px;
    }

    .button { /* General button adjustments for 480px */
        font-size: 16px;
        padding: 15px 24px; /* For ~49px height */
        height: auto;
        line-height: 1.2;
    }
    .header__cta-button, .header__phone-button { /* These are hidden, but if shown, should be smaller */
        height: 40px;
    }

    .footer__top {
        padding: 30px 20px; /* Figma: logo y:30, text y:105. (167 - (60 logo + 15 gap + 32 text))/2 = 30 */
    }
    .footer__logo { width: 150px; height: 60px; margin: 0 auto; } /* Figma */
    .footer__company-name { font-size: 14px; text-align: center; margin-top: 15px; } /* Figma */

    .footer__main { padding: 30px 20px; }
    .footer__column { margin-bottom: 30px; }
    .footer__column:last-child { margin-bottom: 0; }
    .footer__column-title { text-align: left; } /* Figma shows left aligned titles in mobile */
    .footer__location-tag { margin-left: 0; }
    .footer__lang-tags { justify-content: flex-start; margin-left: 0; }
    .footer__nav-list { text-align: center; }
    .footer__nav-link {
        display: block; /* Stack links */
        margin-right: 0;
        margin-bottom: 18px; /* (36px total line height in figma) / 2 */
        text-align: center;
    }
    .footer__nav-link:last-child { margin-bottom: 0; }
    .footer__working-hours { text-align: center; margin-bottom: 24px; }
    .footer__social-list { justify-content: center; margin-bottom: 13px; }
    .footer__copyright { margin-top: 0; }
}


.hero2 {
    min-height: 350px;
    display: flex;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    background-position: bottom;
}
.hero2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#0C0C0C6B;
    z-index: 1;
}

img.hero2__image {
    width: 100%;
    object-fit: cover;
    border-radius: 0px 0px 30px 30px;
}

.hero2 h1 {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 60px 0;
    color: #fff;
}

.single-content {
    color: var(--Text-Color, #3D3D3D);
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Hero Detailed Section (New from Figma) */
.hero-detailed {
    background-image: url('https://placehold.co/1440x900/111217/grey?text=Hero+14001+BG'); /* Darker BG from Figma */
    background-size: cover;
    background-position: center;
    /* background-color: rgba(0.046, 0.046, 0.046, 0.42); */ /* Overlay from Figma */
    background-blend-mode: multiply;
    min-height: 800px; /* Figma height */
    padding-top: 83px; /* 183 (content y) - 100 (header) */
    padding-bottom: 84px; /* To make total 900px with 100px header and 83px top padding, content height 633px */
    display: flex;
    align-items: flex-start; /* Align to top */
    color: var(--color-text-light);
    margin-top: 0;
}
.hero-detailed__container {
    display: flex;
    justify-content: space-between; /* Will be 133px gap */
    align-items: flex-start;
    gap: 133px; /* Figma: form x (792) - text content width (659) */
     /* Content area width from Figma */
     /* Keep consistent with .container */
}
.hero-detailed__content {
    flex-basis: 659px; /* Width from Figma */
    flex-shrink: 0;
}
.hero-detailed__title {
    font-family: var(--font-playfair);
    font-size: 50px;
    font-weight: 700; /* Bold */
    line-height: 1.1; /* 55px / 50px */
    margin-bottom: 20px; /* 75 (subtitle y) - 55 (title height) */
}
.hero-detailed__subtitle-price {
    font-family: var(--font-roboto);
    font-size: 24px;
    font-weight: 600; /* SemiBold in Figma, using 600 */
    color: #D4A778; /* Changed from --color-primary-blue-darker for visibility */
    line-height: 1.83; /* 44px / 24px */
    margin-bottom: 20px; /* 140 (list y) - (75+44) (subtitle y + height) */
}
.hero-detailed__list {
    margin-bottom: 20px; /* 330 (button y) - (140 + 170) (list y + height) */
}
.hero-detailed__list-item {
    font-family: var(--font-roboto);
    font-size: 22px;
    line-height: 1.13; /* 25px / 22px */
    margin-bottom: 5px; /* (30px between lines - 25px line height) */
    padding-left: 15px;
    position: relative;
}
.hero-detailed__list-item::before {
    content: "•";
    color: var(--color-text-light);
    font-size: 24px; /* Make bullet larger */
    position: absolute;
    left: 0;
    top: -2px; /* Adjust alignment */
}
.hero-detailed__action-button {
    padding: 16px 24px; /* For 57px height */
    width: 384px;
    max-width: 100%;
    height: 57px;
    font-size: 18px;
    font-weight: 500; /* Medium */
    line-height: 1.38; /* 25px / 18px */
}
.hero-detailed__slider-nav {
    margin-top: 20px; /* (407 - (330+57)) */
    display: flex;
    gap: 20px; /* (44px arrow x - 24px arrow width) */
}
.hero-detailed__slider-arrow {
    font-family: 'Source Sans Pro', sans-serif; /* Ensure correct font for arrow char */
    font-size: 38px;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1; /* For better control */
    padding: 5px; /* Clickable area */
}
.hero-detailed__form-container {
    flex-basis: 408px; /* Width from Figma */
    flex-shrink: 0;
    height: 633px; /* Figma height */
    background-color: var(--color-primary-blue-darker);
    border: 1px solid var(--color-primary-blue-darkest);
    border-radius: 30px;
    padding: 40px 30px;
}
.hero-detailed__form-title {
    font-family: var(--font-roboto);
    font-size: 32px;
    font-weight: 500; /* Medium */
    color: var(--color-text-light);
    text-align: center;
    line-height: 1.375; /* 44px / 32px */
    margin-bottom: 20px; /* (104 form items y - (40+44) title y + height) */
}
.hero-detailed__form-placeholder {
    height: calc(100% - 64px); /* Adjust for title */
}
.hero-detailed__form-hint {
    font-family: var(--font-open-sans);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: right;
    margin-top: 29px; /* (449 - (363+57)) */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
.hero-detailed__form-hint img {
    width: 20px;
    height: 20px;
    opacity: 0.35;
}


/* Services Overview Section */
.services-overview {
    background-color: var(--color-primary-blue-darker);
    border-radius: 30px;
    padding: 60px;
    color: var(--color-text-light);
}
.services-overview__main-title {
    font-family: var(--font-playfair);
    font-size: 45px;
    font-weight: 600; /* SemiBold */
    color: var(--color-text-light); /* White in Figma image */
    text-align: center;
    margin-bottom: 30px; /* (90 subtitle y - 60 title height) */
    line-height: normal;
}
.services-overview__subtitle {
    font-family: var(--font-roboto);
    font-size: 32px;
    font-weight: 400; /* Regular */
    text-align: center;
    margin-bottom: 60px; /* (185 grid y - (90+35) subtitle y + height) */
}
.services-overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4 columns for 282px cards */
    gap: 24px; /* (306 - 282) */
    margin-bottom: 90px; /* (Subtitle2 y - Grid1 end y) approx */
}
.services-overview__grid:last-child {
    /* margin-bottom: 0; */
}
.service-card {
    text-align: center;
    position: relative;
}
.service-card__icon-link {
    display: inline-block; /* To center it */
    margin-bottom: 26px; /* (131 text y - 105 icon height) */
}
.service-card__icon--iso {
    width: 105px;
    height: 105px;
    opacity: 0.5; /* As per Figma */
}
.service-card__icon--ce {
    width: 65px;
    height: 65px;
    /* CE icons in Figma are solid white, not transparent */
}
.service-card__title {
    font-family: var(--font-roboto);
    font-size: 15px;
    line-height: 1.46; /* 22px / 15px */
    color: var(--color-text-light);
    font-weight: 400;
    text-transform: uppercase;
}

/* Company Profile Section */
.company-profile__container {
    display: flex;
    gap: 102px; /* (612 img x - 510 text width) */
    align-items: center; /* Vertically align if heights differ */
}
.company-profile__content {
    flex-basis: 510px;
    flex-shrink: 0;
}
.company-profile__title {
    font-family: var(--font-playfair);
    font-size: 45px;
    font-weight: 600; /* SemiBold */
    color: var(--color-accent-gold);
    margin-bottom: 20px; /* (80 text y - 60 title height) */
    text-align: left;
}
.company-profile__text {
    font-family: var(--font-roboto); /* Figma shows generic font, assume Roboto */
    font-size: 20px;
    line-height: 1.25; /* 25px / 20px */
    color: var(--color-primary-blue-darker);
    /* margin-bottom: 32px; */ /* (412 button y - (80 text y + 300 text height)) */
}
.company-profile__text p {
    margin-bottom: 20px; /* Space between paragraphs */
}
.company-profile__text p:last-child {
    margin-bottom: 0;
}
.company-profile__button {
    width: 384px;
    max-width: 100%;
    height: 57px;
    font-size: 18px;
    margin-top: 32px;
}
.company-profile__image-wrapper {
    flex-basis: 588px;
    flex-shrink: 0;
}
.company-profile__image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 30px;
}


/* Team Showcase Section */
.team-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* 4 columns for 282px cards */
    gap: 24px; /* (306 - 282) */
}
.team-showcase__intro-card {
    background-color: var(--color-text-light);
    border: 1px solid #DEDEDE; /* Subtle border */
    border-radius: 30px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
    min-height: 500px; /* Match team member card height */
}
.team-showcase__intro-title {
    font-family: var(--font-roboto);
    font-size: 24px;
    font-weight: 500; /* Medium */
    color: var(--color-primary-blue-darker);
    margin-bottom: 12px; /* (40 text y - 28 title height) */
}
.team-showcase__intro-text {
    font-family: var(--font-roboto);
    font-size: 18px;
    line-height: 1.44; /* 26px / 18px */
    color: var(--color-text-dark);
    margin-bottom: 25px; /* (173 button y - (40+78 text y+height)) */
}
.team-showcase__intro-button {
    width: 100%; /* 242px in Figma */
    max-width: 242px;
    height: 57px;
    font-size: 18px;
    align-self: flex-start; /* Align to left */
}

.team-member-card {
    min-height: 500px; /* Figma height */
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push overlay to bottom */
    padding: 20px; /* Padding for the overlay to not touch edges */
    color: var(--color-text-light);
}
.team-member-card__overlay {
    background-color: rgb(57 74 102 / 60%);
    border-radius: 20px;
    padding: 13px 20px; /* (62 height - 19 name - 3 gap - 14 role)/2 top/bottom */
}
.team-member-card__name {
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 500; /* Medium */
    line-height: 1.18; /* 19px / 16px */
    margin-bottom: 3px; /* (22 role y - 19 name height) */
}
.team-member-card__role {
    font-family: var(--font-roboto);
    font-size: 12px;
    color: #DEDEDE; /* Light grey for role */
    line-height: 1.16; /* 14px / 12px */
}


.hero-detailed__slider-arrow.swiper-button-prev, .hero-detailed__slider-arrow.swiper-button-next {
    bottom: 0;
    top: auto;
    padding: 2px;
}

.hero-detailed.section .hero-detailed__slider {
    padding-bottom: 60px;
}

.hero-detailed__slider-arrow.swiper-button-prev {
    left: 0;
}

.hero-detailed__slider-arrow.swiper-button-next {
    left: 60px;
}

.service-card img {
    max-width: 105px;
    width: 100%;
    transition: opacity 0.3s;
}

.service-card:hover img {
    opacity: 0.4;
    transition: opacity 0.3s;
}

.service-card__icon-link:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

span.text-color {
    color: #D4A779;
}

.services-overview__ce-certs .services-overview__grid {
    margin-bottom: 40px;
}

.company-profile__text strong {
    font-weight: 500;
}

.hero2.career-hero {
    min-height: 450px;
    background-position: top;
}

.additional-content__text h2 {
    font-family: var(--font-playfair);
    font-weight: 600;
    color: var(--color-accent-gold);
    font-size: 36px;
    line-height: 1.1;
    margin: 20px 0;
}

.additional-content__text p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
}

/* New Styles for Partners Page */

/* Partners Intro Section */
.partners-intro {
    padding-top: 60px;
    padding-bottom: 0;
    margin-top: 0; /* Reset section margin if it's a direct child of main */
    margin-bottom: 0; 
}
.partners-intro__text {
    font-size: 16px;
    line-height: 30px;
    color: var(--color-text-dark);
}

/* Key Partners Section */
.key-partners {
    padding-top: 32px; /* Calculated from Figma */
    margin-top: 0;
}
.key-partners .section__title--medium {
    margin-bottom: 20px; /* 68 (subtitle y) - 48 (title height) */
}
.key-partners__subtitle {
    font-size: 16px;
    line-height: 30px;
    color: var(--color-text-dark);
    margin-bottom: 90px; /* (430 grid y) - (152 intro frame y + 128 intro frame height) */
}
.key-partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}
.partner-card {
    background-color: var(--color-primary-blue-darker);
    border-radius: 30px;
    padding: 40px 30px;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.partner-card:hover {
    border-color: var(--color-accent-gold);
    background-color: var(--Hover, #1D2638);
    transition: all 0.3s;
}
.partner-card--darkest {
    background-color: var(--color-primary-blue-darkest);
}
.partner-card--bordered {
    border: 1px solid var(--color-accent-gold);
}
.partner-card__logo {
    height: 70px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}
.partner-card__logo-img {
    max-height: 100%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left;
}
.partner-card__content {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}
.partner-card__title {
    font-family: var(--font-roboto);
    font-size: 22px;
    font-weight: 500;
    color: var(--color-accent-gold);
    line-height: 1.3;
    margin-bottom: 10px;
}
.partner-card__description {
    font-family: var(--font-roboto);
    font-size: 15px;
    line-height: 1.46; /* 22px / 15px */
    color: var(--color-text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}
.partner-card__more-link {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}
.partner-card__more-link:hover {
    background-color: var(--color-accent-gold);
}
.partner-card__more-icon {
    width: 12px;
    height: 12px;
    fill: var(--color-primary-blue-darker);
    transition: fill 0.3s ease, transform 0.3s ease;
}
.partner-card__more-link:hover .partner-card__more-icon {
    fill: #fff;
}
.partner-card:hover .partner-card__more-icon {
    transform: rotate(-45deg);
}
.partner-card .partner-card__link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.partner-card > * {
    position: relative;
    z-index: 2;
}

/* Partnership Benefits Section */
.partnership-benefits .section__title--large {
    margin-bottom: 30px; /* 90 (subtitle y) - 60 (title height) */
}
.partnership-benefits__subtitle {
    font-family: var(--font-roboto);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-primary-blue-darker);
    text-align: center;
    margin-bottom: 60px; /* 178 (grid y) - (90+28) */
}
.partnership-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    margin-bottom: 32px; /* 392 (conclusion y) - (178+182) */
}
.benefit-item {
    background-color: var(--color-text-light);
    border: 1px solid #DEDEDE;
    border-radius: 30px;
    min-height: 182px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.benefit-item__text {
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 600; /* SemiBold */
    line-height: 1.375; /* 22px / 16px */
    color: #4B4F58;
    text-transform: uppercase;
}
.partnership-benefits__conclusion {
    font-size: 16px;
    line-height: 30px;
    color: var(--color-primary-blue-darker);
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .key-partners__grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .partners-intro {
        padding-top: 40px;
    }
    .key-partners {
        padding-top: 20px;
    }
    .key-partners__subtitle {
        margin-bottom: 40px;
    }
    .partnership-benefits__subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }
    .partnership-benefits__grid {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .key-partners__grid, .partnership-benefits__grid {
        grid-template-columns: 1fr;
    }
    .key-partners__subtitle {
        margin-bottom: 30px;
    }
    .partnership-benefits__subtitle {
        font-size: 18px;
    }
}


 /* Contacts Hero Section */
        .contacts-hero {
            /* min-height: 450px; */ /* Figma height */
            background-image: url('https://placehold.co/1440x450/1D2638/FFFFFF?text=Contacts+BG');
            /* align-items: flex-start; */ /* Override default vertical centering */
        }

        .contacts-hero .hero2__title {
            /* y: 212px. Assuming sticky header is 100px, 212 - 100 = 112px from top of section */
            padding-top: 112px; 
        }

        /* Contacts Content Section */
        .contacts-section {
            /* Top: 60px from Figma. Bottom: 620 (footer y) - (511 (content start) + 500 (content height)) = ~60px */
            padding-top: 60px;
            padding-bottom: 60px;
            margin-top: 0; /* Remove default top margin as it follows hero */
            margin-bottom: 0;
        }

        .contacts-section .container {
            /* max-width: 1200px; */ /* Content width from Figma */
        }

        .contacts-section__layout {
            display: flex;
            /* Gaps: map_x(306) - address_w(282) = 24px */
            /* details_x(918) - (map_x(306) + map_w(588)) = 24px */
            gap: 24px;
            align-items: flex-start;
        }

        .contacts-section__column--address {
            flex: 0 0 290px; /* Figma width */
        }

        .contacts-section__column--map {
            flex: 0 0 588px; /* Figma width */
        }

        .contacts-section__column--details {
            flex: 0 0 330px; /* Figma width */
            display: flex;
            flex-direction: column;
            /* Gap: item2_y(113) - item1_h(81) = 32px */
            gap: 32px;
        }

        .contacts-section__map-wrapper {
            height: 500px; /* Figma height */
            border: 1px solid var(--color-accent-gold);
            border-radius: 30px;
            overflow: hidden;
        }

        .contacts-section__map-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .contact-block__title {
            font-family: var(--font-playfair);
            font-size: 32px;
            font-weight: 600; /* SemiBold */
            color: var(--color-primary-blue-darker);
            line-height: 1.1; /* 35px / 32px */
            /* Margin: address_tag_y(55) - title_h(35) = 20px */
            margin-bottom: 20px;
        }

        .contact-block__address-tag {
            display: inline-block;
            background-color: var(--color-primary-blue-darker);
            color: var(--color-text-light);
            border-radius: 10px;
            padding: 20px 24px;
            font-size: 16px;
            font-weight: 500; /* Medium */
            line-height: 1.18; /* 19px / 16px */
            text-align: center;
            width: 100%; /* To match figma width of 282px */
        }

        .contact-block__value {
            font-family: var(--font-roboto);
            font-size: 18px;
            font-weight: 400; /* Regular */
            color: var(--color-primary-blue-darker);
            line-height: 1.44; /* 26px / 18px */
        }
        .contact-block__value a:hover {
            text-decoration: underline;
            color: var(--color-accent-gold);
        }

        /* Responsive Styles */
        @media (max-width: 1200px) {
            .contacts-section__layout {
                flex-direction: column;
                align-items: center;
                gap: 40px;
            }
            .contacts-section__column {
                flex-basis: auto;
                width: 100%;
                max-width: 588px; /* Align all content to the widest element */
            }
            .contacts-section__column--address,
            .contacts-section__column--details {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding-left: 20px;
                padding-right: 20px;
            }
            .contacts-hero {
                min-height: 300px;
            }
            .contacts-hero .hero2__title {
                padding-top: 80px;
                font-size: 36px;
            }
            .contacts-section__map-wrapper {
                height: 400px;
            }
        }

        @media (max-width: 480px) {
            .contacts-hero {
                min-height: 250px;
            }
            .contacts-hero .hero2__title {
                padding-top: 60px;
                font-size: 28px;
            }
            .contacts-section {
                padding-top: 40px;
                padding-bottom: 40px;
            }
            .contacts-section__map-wrapper {
                height: 300px;
                border-radius: 20px;
            }
            .contact-block__title {
                font-size: 26px;
            }
            .contact-block__value {
                font-size: 16px;
            }
        }


         /* New Footer Styles */
        .footer {
            color: var(--color-text-light);
            background-color: var(--color-primary-blue-darker);
        }

        /* Footer Top Section */
        .footer__top {
            padding: 33px 0; /* Vertical centering: (106px section height - 40px logo height) / 2 */
        }

        .footer__top-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer__logo-info {
            display: flex;
            align-items: center;
            gap: 25px; /* Figma: 125px text x - 100px logo width */
        }

        .footer__logo {
            width: 100px;
            height: 40px;
        }

        .footer__company-name {
            font-family: var(--font-roboto);
            font-size: 15px;
            font-weight: 400; /* Regular */
        }

        .footer__social-list {
            display: flex;
            gap: 10px; /* Figma: (icon2_x 38) - (icon1_x 4 + icon1_width 24) = 10 */
        }

        .footer__social-link {
            display: block;
            width: 24px;
            height: 24px;
            transition: opacity 0.3s;
        }
        .footer__social-link:hover {
            opacity: 0.8;
        }

        .footer__social-icon {
            width: 100%;
            height: 100%;
        }

        /* Footer Main Section */
        .footer__main {
            padding: 20px 0 40px; /* Figma: 20px top, 188 total height - 128 content height - 20 top = 40 bottom */
            border-top: 1px solid #DEDEDE; /* Figma stroke color is #DDDDDD, this is a good equivalent on dark bg */
        }

        .footer__main-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .footer__column--location {
            flex: 0 0 187px; /* Figma width */
        }

        .footer__column--links {
            flex: 1;
            max-width: 573px; /* 407px content + 83px gap left + 83px gap right */
            padding: 0 83px; /* Figma gap: (col2_x 473) - (col1_x 120 + col1_width 187) = 83px */
            border-left: 1px solid #DEDEDE;
            border-right: 1px solid #DEDEDE;
            text-align: center;
            min-height: 128px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .footer__column--schedule {
            flex: 0 0 300px; /* Figma width */
        }

        .footer__widget {
            margin-bottom: 15px; /* Figma: (lang_title_y 70) - (loc_block_y 23 + loc_block_height 32) = 15 */
        }
        .footer__widget:last-child {
            margin-bottom: 0;
        }

        .footer__column-title {
            font-family: var(--font-roboto);
            font-size: 15px;
            font-weight: 500; /* Medium */
            margin-bottom: 5px; /* Figma: (tag_y 23) - (title_height 18) = 5 */
        }

        .footer__location-tag {
            display: inline-block;
            background-color: #98AADB;
            color: var(--color-primary-blue-darker);
            border-radius: 4px;
            padding: 8px 5px;
            font-size: 14px;
            line-height: 1;
            width: auto;
            text-align: center;
        }

        .footer__lang-tags {
            display: flex;
            gap: 5px;
            margin-top: 5px;
            text-transform: uppercase;
        }

        .footer__lang-tag {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            border-radius: 4px;
            height: 34px;
            padding: 0 10px;
            font-size: 14px;
            font-weight: 400;
            min-width: 50px;
            transition: all 0.3s;
        }

        .footer__lang-tag--inactive {
            background-color: #98AADB;
            color: var(--color-primary-blue-darker);
        }

        .footer__lang-tag--active {
            background-color: var(--color-text-light);
            color: var(--color-primary-blue-darker);
            border: 1px solid #DEDEDE;
        }
        .footer__lang-tag--inactive:hover, .footer__location-tag:hover {
            background-color: #f0f0f0;
            cursor: pointer;
        }

        .footer__lang-flag {
            width: 18px;
            height: 18px;
        }

        .footer__nav {
             /* Figma: (copyright_y 110) - (nav_block_y 0 + nav_block_height 52) = 58 */
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer__nav-link {
            font-size: 14px;
            font-weight: 400;
            line-height: 1.14; /* 16px / 14px */
            margin: 0 7.5px 20px; /* Horizontal gap 15px, vertical 20px */
            transition: color 0.3s;
        }
        .footer__nav-link:hover {
            color: var(--color-accent-gold);
        }

        .footer__copyright {
            font-size: 12px;
            line-height: 1.41; /* 17px / 12px */
            text-align: center;
        }

        .footer__working-hours {
            font-size: 12px;
            line-height: 1.16; /* 14px / 12px */
        }

        /* Responsive Styles for Footer */
        @media (max-width: 992px) {
            .footer__top-container {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            .footer__logo-info {
                flex-direction: column;
                gap: 15px;
            }
            .footer__main-container {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 30px;
            }
            .footer__column {
                width: 100%;
                max-width: 450px; /* Limit width on tablet */
            }
            .footer__column--links {
                border-left: none;
                border-right: none;
                padding: 0;
                order: -1; /* Move links to the top on mobile */
            }
            .footer__working-hours {
                text-align: center;
            }
            .footer__lang-tags {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .footer__top {
                padding: 30px 20px;
            }
            .footer__logo {
                width: 150px;
                height: 60px;
            }
            .footer__company-name {
                font-size: 14px;
                margin-top: 0; /* Gap is on the container now */
            }
            .footer__social-list {
                margin-top: 10px;
            }

            .footer__main {
                padding: 30px 20px;
            }
            .footer__main-container {
                align-items: flex-start; /* Align to left as per mobile figma */
                text-align: left;
                gap: 30px;
            }
            .footer__column {
                max-width: 100%;
            }
            .footer__column--links {
                text-align: left;
            }
            .footer__nav {
                margin-bottom: 30px;
                justify-content: flex-start;
                flex-direction: column;
                align-items: flex-start;
            }
            .footer__nav-link {
                margin: 0 0 18px 0;
            }
            .footer__nav-link:last-child {
                margin-bottom: 0;
            }
            .footer__copyright {
                text-align: left;
            }
            .footer__lang-tags {
                justify-content: flex-start;
            }
            .footer__working-hours {
                text-align: left;
                text-align: center;
            }
        }


        .custom-select__arrow {
            width: 14px;
            height: 7px;
            margin-left: 10px;
            color: #808080;
        }

        .cert-card:hover {
    border: 1px solid var(--color-primary-blue-darker);
    transition: all 0.3s;
}

.cert-card  p.cert-card__text a:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    left: 0;
    top: 0;
}

@media(max-width:992px) {
    .header__actions {
        margin-left: auto;
        margin-right: 40px;
    }
    ul#menu-primary-menu>li {
    /* border-top: 0.5px solid rgba(255, 255, 255, 0.45); */
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.45);
}

ul#menu-primary-menu>li:first-child svg {
    /* display: none; */
}
.header__nav-list--mobile-active .header__nav-sub-list .header__nav-link {
    padding: 0;
}
ul#menu-primary-menu>li:first-child ul {
    display: none;
}
.company-profile__container.container {
    flex-direction: column-reverse;
}

body.home .hero-detailed .hero__form-container {
    display: none;
}
.hero-detailed__slider-arrow.swiper-button-next {
    right: 0;
    left: auto;
}
section.hero-detailed.section {
    min-height: auto;
}

body.home article.news-card:last-child {
    display: none;
}
.footer__column.footer__column--schedule {
    flex: 0;
}

.footer__column.footer__column--links {
    min-height: auto;
}

.container.footer__main-container {
    gap: 0;
}

.footer__column.footer__column--location {
    flex: 0;
}

.dev-stages__info {
    flex: 0;
    width: 100%;
    background: #3a4a68;
}

.dev-stages__info:before {
    content: '';
    width: 100%;
    height: calc(100% + 56px);
    background: #3a4a68;
    display: block;
    position: absolute;
    top: -56px;
    left: 0;
    z-index: -1;
}
.dev-stages__container {
        flex-direction: column;
    }
    .dev-stages__info {
        margin-bottom: 30px;
    }
    .dev-stages__info, .dev-stages__steps {
        max-width: 100%;
    }

    p.footer__copyright {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 20px;
    text-align: center;
}

footer.footer {
    position: relative;
    padding: 0 20px;
}

ul.footer__social-list {
    position: absolute;
    bottom: 50px;
    width: 100%;
    left: 0;
    text-align: center;
    justify-content: center;
    margin: 0;
}

.footer__main {
    padding: 20px 0 40px;
    padding-bottom: 90px;
}

.container.footer__main-container {
    border-bottom: 0.5px solid var(--dedede, #DEDEDE);
    padding: 0;
}

nav.footer__nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.footer__column.footer__column--location {
    order: 1;
    max-width: 100%;
    border-bottom: 0.5px solid var(--dedede, #DEDEDE);
    padding-bottom: 20px;
}

.footer__column.footer__column--links {
    order: 2;
}

.footer__column.footer__column--schedule {
    order: 3;
}

}


@media(max-width:767px) {
    h2.services-overview__main-title {
    font-size: 28px;
    margin-bottom: 18px;
}

h3.services-overview__subtitle {
    font-size: 20px;
    margin-bottom: 32px;
}

section.services-overview.section {
    padding-left: 0;
    padding-right: 0;
}

.services-overview__grid {
    margin-bottom: 60px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

a.button.button--outline-gold.company-profile__button {
    width: 100%;
    max-width: 384px;
}

img.company-profile__image {
    height: 300px;
    min-width: 100%;
}

.company-profile__image-wrapper {
    flex-basis: 100%;
    width: 100%;
    margin-bottom: 20px;
}

.company-profile__container.container {
    gap: 0;
}

h2.company-profile__title {font-size: 28px;text-align: center;position: absolute;width: 100%;left: 0;top: 0;}

section.company-profile.section {
    position: relative;
    padding-top: 70px;
}

.section__title--large, .implementation-areas .section__title--large, .benefits .section__title--large, .advantages .section__title--large, .additional-certs .section__title--large, .additional-content__text h2 {
    font-size: 28px;
    line-height: 1.35;
}

.company-profile__text p {
    font-size: 18px;
}
.page-template-template-about section.company-profile.section {
    padding-top: 0;
    margin-bottom: 0;
}
.company-profile__content {
    flex-basis: 0;
    margin-bottom: 32px;
}
.custom-form-wrapper {
    width: 100%;
}
.team-showcase__intro-card {
    min-height: auto;
}
}

small.phone-hint {
    text-align: left;
}