@charset "UTF-8";

:root {
    --color-red: #a0281e;
    --color-red-dark: #7e1d15;
    --color-red-light: #c03529;
    --color-red-tint: rgba(160, 40, 30, 0.08);
    --color-grey-corp: #828282;
    --color-grey-dark: #444444;
    --color-grey-text: #666666;
    --color-grey-muted: #888888;
    --color-grey-bg: #f4f4f4;
    --color-grey-border: #dddddd;
    --color-white: #ffffff;
    --font-main: 'Titillium Web', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 8px 26px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 14px 36px rgba(160, 40, 30, 0.16);
    --container-max: 1200px;
}

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

html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    width: 100%;
    min-height: 100%;
    font-family: var(--font-main);
    color: var(--color-grey-text);
    background-color: var(--color-white);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    text-shadow: none;
    background: var(--color-red);
    color: var(--color-white);
}

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

a {
    color: var(--color-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover,
a:focus {
    color: var(--color-red-dark);
    text-decoration: none;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 22px;
    text-transform: uppercase;
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.25;
    color: var(--color-red);
}

p {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.65;
}

.cervena {
    color: var(--color-red);
}

.seda {
    color: var(--color-grey-text);
}

.text-center {
    text-align: center;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 18px;
    color: var(--color-red);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--color-grey-corp);
    margin: 14px auto 0;
}

.section-lead {
    font-size: 20px;
    color: var(--color-grey-text);
    margin-bottom: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: var(--color-white);
    border-top: 4px solid var(--color-red);
    border-bottom: 1px solid var(--color-grey-border);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.top-nav-collapse {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.navbar-brand img {
    height: 64px;
    width: auto;
    transition: var(--transition);
}

.navbar.top-nav-collapse .navbar-brand img {
    height: 54px;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-grey-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 3px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-red);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-client-zone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-red);
    color: var(--color-red);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-client-zone:hover,
.btn-client-zone:focus {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.btn-client-zone svg {
    width: 15px;
    height: 15px;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid var(--color-grey-corp);
    background: var(--color-grey-bg);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-grey-text);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 11px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--color-red);
}

.lang-btn.active {
    background: var(--color-red);
    color: var(--color-white);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--color-red);
    color: var(--color-red);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 140px 0 90px;
    text-align: center;
    color: var(--color-white);
    background:
        linear-gradient(180deg, rgba(10, 20, 35, 0.30) 0%, rgba(10, 20, 35, 0.45) 100%),
        url(../img/intro-bg.jpg) no-repeat bottom center scroll;
    background-color: #777;
    background-size: cover;
    overflow: hidden;
}

.intro-body {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

h1.brand-heading {
    font-size: clamp(42px, 6.5vw, 76px);
    line-height: 1.12;
    margin-bottom: 24px;
    color: var(--color-white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

p.intro-text {
    font-size: clamp(20px, 2.8vw, 30px);
    line-height: 1.35;
    font-weight: 300;
    max-width: 820px;
    margin: 0 auto 36px;
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.intro-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 42px;
}

.intro-pill {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 7px 16px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--color-white);
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0;
    text-transform: uppercase;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 13px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-default {
    border: 2px solid var(--color-red);
    color: var(--color-white);
    background-color: var(--color-red);
}

.btn-default:hover,
.btn-default:focus {
    border-color: var(--color-red-dark);
    outline: 0;
    color: var(--color-white);
    background-color: var(--color-red-dark);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 18px;
}

.section-dark {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-grey-border);
}

.section-grey {
    background-color: var(--color-grey-bg);
    border-bottom: 1px solid var(--color-grey-border);
}

.section-parallax {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-grey-border);
}

.section-classic-grey {
    background-color: var(--color-grey-corp);
    color: var(--color-white);
}

.section-classic-grey .section-title {
    color: var(--color-white);
}

.section-classic-grey .section-title::after {
    background: var(--color-red);
}

.section-classic-grey .section-lead {
    color: rgba(255, 255, 255, 0.92);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}

.about-lead {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--color-red);
}

.sap-tech-box {
    background: var(--color-grey-bg);
    border: 1px solid var(--color-grey-border);
    border-top: 5px solid var(--color-red);
    padding: 26px 30px;
    margin: 28px 0;
}

.sap-tech-box h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--color-red);
}

.sap-tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px 20px;
}

.sap-tech-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--color-grey-dark);
}

.bullet-arrow {
    color: var(--color-red);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.about-side-card {
    background: var(--color-grey-bg);
    border: 1px solid var(--color-grey-border);
    border-top: 5px solid var(--color-red);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.about-image-wrap {
    position: relative;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--color-grey-border);
}

.about-image-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.values-list {
    margin: 20px 0 26px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-grey-border);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-grey-dark);
}

.values-list li:last-child {
    border-bottom: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-top: 4px solid var(--color-grey-corp);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.service-card:hover {
    border-top-color: var(--color-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(160, 40, 30, 0.3);
    background: var(--color-red-tint);
    color: var(--color-red);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-red);
}

.service-card p {
    font-size: 16.5px;
    color: var(--color-grey-text);
    margin-bottom: 16px;
}

.service-card p:last-child {
    margin-bottom: 0;
}

.phase-list {
    margin: 12px 0 16px;
    padding-left: 4px;
}

.phase-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    padding: 4px 0;
    color: var(--color-grey-dark);
    font-weight: 600;
}

.services-highlight {
    margin-top: 44px;
    padding: 28px 36px;
    background: var(--color-red);
    color: var(--color-white);
    text-align: left;
    box-shadow: var(--shadow-soft);
}

.services-highlight p {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
}


.reference-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ref-logo-card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-top: 4px solid var(--color-grey-corp);
    border-radius: 4px;
    padding: 20px 24px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);  
}

.ref-logo-card img {
    max-width: 100%;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ref-category-card {
    background: var(--color-grey-bg);
    border: 1px solid var(--color-grey-border);
    border-left: 6px solid var(--color-red);
    padding: 28px;
    transition: var(--transition);
}

.ref-category-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-red);
}

.ref-category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-grey-border);
}

.ref-category-header svg {
    width: 26px;
    height: 26px;
    color: var(--color-red);
    flex-shrink: 0;
}

.ref-category-header h3 {
    font-size: 19px;
    margin: 0;
    color: var(--color-red);
}

.ref-client-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    font-size: 16.5px;
    color: var(--color-grey-text);
}

#kariera.section-dark {
    background-color: var(--color-grey-bg);
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: stretch;
}

.career-box {
    background: var(--color-white);
    border: 1px solid var(--color-grey-border);
    border-top: 5px solid var(--color-red);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
}

.career-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    margin: 24px 0;
    background: var(--color-grey-bg);
    border: 1px solid var(--color-grey-border);
    border-left: 8px solid var(--color-red);
    transition: var(--transition);
}

.career-job-card:hover {
    background: var(--color-red-tint);
    border-color: var(--color-red);
}

.career-job-info h4 {
    margin: 0 0 6px;
    font-size: 20px;
    color: var(--color-red);
}

.career-job-info span {
    font-size: 14px;
    color: var(--color-grey-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.career-hr-contact {
    padding: 20px 24px;
    background: var(--color-grey-bg);
    border-left: 6px solid var(--color-grey-corp);
    margin-bottom: 24px;
}

.career-hr-contact a {
    font-weight: 700;
    color: var(--color-red);
    text-decoration: underline;
}

.career-gdpr {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-grey-muted);
    margin-bottom: 0;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 980px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-detail-item {
    padding: 28px 20px;
    background: var(--color-red);
    border-bottom: 4px solid var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.contact-detail-item .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-white);
}

.contact-detail-item .icon-wrap svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.contact-detail-item h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--color-white);
}

.contact-detail-item h4 a {
    color: var(--color-white);
}

.contact-detail-item h4 a:hover {
    text-decoration: underline;
}

.contact-detail-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 20px;
}

.contact-form-wrapper {
    background: var(--color-white);
    color: var(--color-grey-text);
    border-top: 6px solid var(--color-red);
    padding: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    font-size: 26px;
    margin-bottom: 28px;
    color: var(--color-red);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    color: var(--color-grey-dark);
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--font-main);
    line-height: 1.5;
    color: #333;
    background-color: var(--color-grey-bg);
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease;
}

.form-control:focus {
    background-color: var(--color-white);
    border-color: var(--color-red);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(160, 40, 30, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-feedback {
    display: none;
    padding: 14px 18px;
    margin-bottom: 20px;
    background: var(--color-red-tint);
    border-left: 5px solid var(--color-red);
    color: var(--color-grey-dark);
    font-weight: 600;
}

.form-feedback.visible {
    display: block;
}

.offices-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.office-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.office-card {
    background: var(--color-white);
    border-left: 6px solid var(--color-red);
    padding: 22px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.office-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--color-red);
    border-bottom: 1px solid var(--color-grey-border);
    padding-bottom: 8px;
}

.office-card p {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    color: var(--color-grey-text);
}

.office-card strong {
    color: var(--color-grey-dark);
}

.map-container {
    background: var(--color-white);
    border-top: 5px solid var(--color-red);
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
}

footer {
    position: relative;
    background-color: var(--color-red);
    border-top: 8px solid var(--color-red);
    border-bottom: 8px solid var(--color-red);
    padding: 36px 0;
    color: var(--color-white);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../img/bg-footer.jpg) no-repeat bottom center scroll;
    background-size: cover;
    filter: grayscale(100%);
    z-index: 0;
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(160, 40, 30, 0.92) 0%, rgba(90, 90, 90, 0.92) 100%);
    z-index: 1;
}

.footer-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

footer p {
    margin: 0;
    font-size: 16px;
    color: var(--color-white);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.footer-links a,
.footer-links button {
    background: none;
    border: none;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-links button:hover {
    color: #ffd6d2;
    text-decoration: underline;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(50, 50, 50, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--color-white);
    border-top: 6px solid var(--color-red);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    transform: translateY(16px);
    transition: transform 0.25s ease;
}

.modal-backdrop.open .modal-dialog {
    transform: translateY(0);
}

.modal-dialog.modal-lg {
    max-width: 860px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid var(--color-grey-border);
    background: var(--color-grey-bg);
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: var(--color-red);
}

.modal-close {
    background: var(--color-white);
    border: 1px solid var(--color-grey-corp);
    color: var(--color-grey-dark);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    color: var(--color-grey-text);
}

.modal-body h4 {
    font-size: 17px;
    color: var(--color-red);
    margin: 22px 0 10px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 15.5px;
    color: var(--color-grey-text);
    margin-bottom: 14px;
}

.login-error {
    display: none;
    padding: 12px 16px;
    margin-bottom: 18px;
    background: var(--color-red-tint);
    border-left: 4px solid var(--color-red);
    color: var(--color-red);
    font-weight: 600;
    font-size: 15px;
}

.login-error.visible {
    display: block;
}

html[lang="cs"] [data-lang="en"] {
    display: none !important;
}

html[lang="en"] [data-lang="cs"] {
    display: none !important;
}

@media (max-width: 1024px) {
    .reference-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .about-grid,
    .career-grid,
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 81px;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 3px solid var(--color-red);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px 28px;
        gap: 18px;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu-wrapper.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 0;
    }

    .nav-actions {
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px solid var(--color-grey-border);
    }
}

@media (max-width: 680px) {
    .reference-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-padding {
        padding: 68px 0;
    }

    .services-grid,
    .references-grid,
    .contact-details,
    .office-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .career-box,
    .about-side-card {
        padding: 26px 20px;
    }

    .career-job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .reference-logos-grid {
        grid-template-columns: 1fr;
    }
}
