@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Rokkitt:wght@500;700&display=swap');

/* ==========================================================================
   Reset and Global Styles
   ========================================================================== */

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

html,
body {
    font-family: 'Roboto', sans-serif;    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    background: #ffffff;
    color: #0C2F50;
    -webkit-font-smoothing: antialiased;
}

a {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    opacity: 1;
    text-decoration: none;
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 50px;
}

.section-label {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: #147CA6;
    margin-bottom: 16px;
    display: block;
    letter-spacing: 0.2em;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #0C2F50;
    margin-bottom: 24px;
}

.section-title span {
    color: #147CA6;
}

.section-subtitle {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #0C2F50;
    max-width: 850px;
    margin: 0 auto;
}

.hero-btn::after,
.primary-menu > li.header-contact-btn > a::after,
.site-logo-link::after,
.client-item a::after,
.service-card::after,
.footer-logo::after,
.tss-logo::after,
.btn-service-link::after,
.sobis-btn-offer::after {
    display: none;
}

.hero-btn,
.primary-menu > li.header-contact-btn > a,
.cta-btn-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.primary-menu > li.header-contact-btn > a:hover,
.hero-btn-primary:hover,
.cta-btn-hover:hover,
.hero-btn-secondary:hover {
    transform: scale(1.03) translateY(-2px);
    filter: brightness(1.15);
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0;
    background: transparent;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 20px 50px;
    min-height: 80px;
    background: transparent;
    transition: all 0.3s ease;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo {
    display: block;
    height: 44px;
    width: auto;
}

.site-logo-sticky {
    display: none;
}

.header-logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tss-header-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    height: 40px;
}

.tss-header-logo-box {
    display: flex;
    align-items: center;
}

.tss-header-logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.tss-header-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    color: #ffffff;
    opacity: 0.8;
}

.tss-link {
    color: inherit;
    text-decoration: none;
}

.site-header .tss-white {
    display: block;
}

.site-header .tss-blue {
    display: none;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 42px;
}

.primary-menu > li {
    display: flex;
    align-items: center;
}

.primary-menu > li > a {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.primary-menu > li > a:hover {
    opacity: 0.85;
}

.primary-menu > li.header-contact-btn > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 56px;
    padding: 0 28px;
    border-radius: 50px;
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
}

body.home .site-header:not(.is-sticky),
body.front-page .site-header:not(.is-sticky),
body.home .site-header:not(.is-sticky) .header-inner,
body.front-page .site-header:not(.is-sticky) .header-inner {
    background: transparent;
    box-shadow: none;
}

body.home .site-header:not(.is-sticky) .primary-menu > li > a,
body.front-page .site-header:not(.is-sticky) .primary-menu > li > a,
body.home .site-header:not(.is-sticky) .primary-menu > li.header-contact-btn > a,
body.front-page .site-header:not(.is-sticky) .primary-menu > li.header-contact-btn > a {
    color: #ffffff;
}

body.home .site-header:not(.is-sticky) .site-logo-default,
body.front-page .site-header:not(.is-sticky) .site-logo-default,
body.home .site-header:not(.is-sticky) .tss-white,
body.front-page .site-header:not(.is-sticky) .tss-white {
    display: block;
}

body.home .site-header:not(.is-sticky) .site-logo-sticky,
body.front-page .site-header:not(.is-sticky) .site-logo-sticky,
body.home .site-header:not(.is-sticky) .tss-blue,
body.front-page .site-header:not(.is-sticky) .tss-blue {
    display: none;
}

body.home .site-header:not(.is-sticky) .tss-header-text,
body.front-page .site-header:not(.is-sticky) .tss-header-text {
    color: #ffffff;
    opacity: 0.8;
}

body.home .site-header:not(.is-sticky) .tss-header-logo-container,
body.front-page .site-header:not(.is-sticky) .tss-header-logo-container {
    border-left-color: rgba(255,255,255,0.2);
}

.site-header.is-sticky .header-inner,
.site-header.interior-header .header-inner,
body:not(.home):not(.front-page) .header-inner {
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.site-header.is-sticky .header-inner,
.site-header.interior-header .header-inner {
    padding: 10px 50px;
    min-height: 70px;
}

body:not(.home):not(.front-page) .site-header {
    background-color: #ffffff;
}

.site-header.is-sticky .primary-menu > li > a,
.site-header.interior-header .primary-menu > li > a,
body:not(.home):not(.front-page) .primary-menu > li > a {
    color: #0C2F50;
}

.site-header.is-sticky .primary-menu > li.header-contact-btn > a,
.site-header.interior-header .primary-menu > li.header-contact-btn > a,
body:not(.home):not(.front-page) .primary-menu > li.header-contact-btn > a {
    color: #ffffff;
}

.site-header.is-sticky .site-logo-default,
.site-header.interior-header .site-logo-default {
    display: none;
}

.site-header.is-sticky .site-logo-sticky,
.site-header.interior-header .site-logo-sticky {
    display: block;
}

.site-header.is-sticky .tss-white,
.site-header.interior-header .tss-white {
    display: none;
}

.site-header.is-sticky .tss-blue,
.site-header.interior-header .tss-blue {
    display: block;
}

.site-header.is-sticky .tss-header-text,
.site-header.interior-header .tss-header-text {
    color: #0C2F50;
    opacity: 1;
}

.site-header.is-sticky .tss-header-logo-container,
.site-header.interior-header .tss-header-logo-container {
    border-left-color: rgba(12,47,80,0.15);
}

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 4px 0;
    border-radius: 4px;
    background: currentColor;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    margin-top: 0;
    padding-top: 0;
    position: relative;
    min-height: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(5, 18, 30, 0.5) 0%, rgba(5, 18, 30, 0.2) 45%, rgba(5, 18, 30, 0) 100%),
        url('https://site.hosting.sobis-ap.ro/wp-content/themes/sobisaptheme/assets/images/hero-hands.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.10); }
}

.hero-top {
    position: relative;
    min-height: 752px;
    overflow: visible;
    z-index: 1;
    background: transparent;
}

.hero-hands-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-hands-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 18, 30, 0) 0%, rgba(5, 18, 30, 0) 70%, #05121e 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-top-grid {
    position: relative;
    z-index: 3;
    min-height: 752px;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 30px;
}

.hero-top-left {
    max-width: 900px;
    margin-top: -100px;
}

.hero-top-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 10px;
}

.hero-bottom {
    position: relative;
    flex: 1 1 auto;
    min-height: 300px;
    background-color: #05121e;
    z-index: 1;
}

.hero-diagonal {
    position: absolute;
    inset: 0;
    background: #F3F3F3;
    clip-path: polygon(0 45%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-bottom-grid {
    position: relative;
    z-index: 10;
    min-height: 200px;
    display: grid;
    grid-template-columns: 60% 40%;
    column-gap: 40px;
    align-items: end;
    margin-top: -120px;
    padding-bottom: 20px;
}

.hero-title {
    margin: 0 0 28px;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.08;
    color: #FFFFFF;
}

.hero-title span {
    color: #3093BB;
    text-shadow:
        0 2px 10px rgba(12, 47, 80, 0.6),
        0 0 20px rgba(12, 47, 80, 0.3);
}

.hero-description {
    margin: 0 0 38px;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.5;
    color: #FFFFFF;
    max-width: 750px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    padding: 0 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    color: #FFFFFF;
}

.hero-btn-primary {
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
    border: none;
}

.hero-btn-secondary {
    background: transparent;
    border: 0.7px solid #FFFFFF;
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.hero-bottom-left,
.hero-years {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-bottom-left {
    align-items: flex-end;
}

.hero-years-number,
.hero-years-plus {
    font-weight: 900;
    font-size: 350px;
    line-height: 0.82;
    color: transparent;
    -webkit-text-stroke: 2.5px #147CA6;
    filter:
        drop-shadow(0 0 5px rgba(18, 119, 160, 0.8))
        drop-shadow(0 0 15px rgba(0, 180, 253, 0.4))
        drop-shadow(0 0 30px rgba(0, 180, 253, 0.2));
}

.hero-years-number {
    font-family: 'Roboto Flex', 'Roboto', sans-serif;
    letter-spacing: 0.03em;
    padding: 20px 0;
}

.hero-years-plus {
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.hero-bottom-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    padding-bottom: 65px;
}

.hero-experience {
    font-weight: 500;
    font-size: 35px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #147CA6;
    text-align: left;
    max-width: 450px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background-color: #F3F3F3;
    padding: 0 0 120px;
    position: relative;
    z-index: 5;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 150px;
}

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

.service-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(12, 47, 80, 0.1);
    border-color: rgba(18, 119, 160, 0.1);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    border: 2px solid #F3F3F3;
    border-radius: 50px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon-box i {
    font-size: 45px;
    display: inline-block;
    color: #147CA6;
}

.service-card:hover .service-icon-box {
    border-color: #147CA6;
    background-color: #f0f9ff;
}

.service-card:hover .service-icon-box i {
    transform: scale(1.1);
    color: #0C2F50;
    transition: color 0.3s ease;
}

.service-card h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #0C2F50;
    margin-bottom: 20px;
}

.service-card p {
    line-height: 1.5;
    margin-bottom: 25px;
}

.btn-service-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #147CA6;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-service-link span {
    transition: transform 0.3s ease;
}

.btn-service-link:hover {
    color: #0C2F50;
}

.btn-service-link:hover span {
    transform: translateX(8px);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
    background-color: #0C2F50;
    padding: 120px 0;
    text-align: center;
    color: #FFFFFF;
}

.stats-header .section-label {
    margin-bottom: 16px;
}

.stats-header .section-title {
    color: #FFFFFF;
    margin-bottom: 24px;
}

.stats-header .section-title span {
    color: #3093BB;
}

.stats-header .section-subtitle {
    color: #FFFFFF;
    opacity: 0.85;
    max-width: 950px;
    margin: 0 auto 60px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 84px;
    color: #3093BB;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
}

.stat-divider {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    background-color: #F3F3F3;
    padding: 120px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-section .section-title {
    color: #0C2F50;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.testimonial-card {
    position: relative;
    padding: 0 20px;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: -80px;
    left: -15px;
    z-index: 1;
    font-family: 'Rokkitt', serif;
    font-size: 500px;
    font-weight: 500;
    line-height: 1;
    color: #147CA6;
    opacity: 0.1;
    pointer-events: none;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.testimonial-quote {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: #0C2F50;
    margin: 0;
}

.testimonial-author {
    position: relative;
    z-index: 2;
}

.author-name {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0C2F50;
    margin-bottom: 8px;
}

.author-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0C2F50;
    display: block;
}

/* ==========================================================================
   Clients Section
   ========================================================================== */

.clients-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.client-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-logo {
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.client-logo img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-item:hover .client-logo img {
    transform: scale(1.05);
}

.client-name {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #0C2F50;
    line-height: 1.3;
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-contact-section {
    background-color: #F3F3F3;
    padding: 100px 0;
}

.cta-card {
    background: #FFFFFF;
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    text-align: center;
    margin-bottom: 90px;
}

.cta-card .section-title {
    font-size: 42px;
    margin-bottom: 25px;
}

.cta-card .section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #0C2F50;
    max-width: 950px;
    margin: 0 auto 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-title-bold {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #0C2F50;
    line-height: 1.3;
    margin-bottom: 16px;
}

.contact-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #0C2F50;
    line-height: 1.4;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #0C2F50;
}

.contact-icon {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.features-list li {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #0C2F50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
}

.check-icon {
    color: #147CA6;
    font-weight: 700;
    font-size: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding-top: 60px;
    padding-bottom: 30px;
    background-color: #0c2f50;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

/* ==========================================================================
   Footer about
   ========================================================================== */

.footer-logo {
    display: block;
    width: auto;
    height: 44px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-about p {
    max-width: 380px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/* ==========================================================================
   Social links
   ========================================================================== */

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 2px;
}

.footer-social-link,
.footer-social-link:link,
.footer-social-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none;
    transition:
        color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.footer-social-link i {
    display: block;
    color: currentColor;
    font-size: 27px;
    line-height: 1;
}

.footer-social-link:hover,
.footer-social-link:focus,
.footer-social-link:focus-visible,
.footer-social-link:active {
    border: 0;
    background: transparent;
    color: #ffffff;
    text-decoration: none !important;
    box-shadow: none;
    opacity: 1;
    transform: translateY(-2px);
}

.footer-social-link:hover i,
.footer-social-link:focus i,
.footer-social-link:focus-visible i,
.footer-social-link:active i {
    color: currentColor;
    text-decoration: none !important;
}

.footer-social-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 5px;
    border-radius: 2px;
}

.footer-social-link::before,
.footer-social-link::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    content: none !important;
}

/* ==========================================================================
   Footer columns
   ========================================================================== */

.footer-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

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

.footer-list li {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.footer-list li:last-child {
    margin-bottom: 0;
}

.footer-list li a {
    color: #ffffff;
    text-decoration: none;
    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.footer-list li a:hover,
.footer-list li a:focus {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
}

/* ==========================================================================
   Footer bottom
   ========================================================================== */

.footer-bottom,
.site-info {
    display: block;
    clear: both;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p,
.site-info p,
.site-copyright {
    display: block;
    margin-top: 10px;
    margin-bottom: 0;
    padding-top: 10px;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.site-copyright {
    text-align: center;
    opacity: 1;
}

.site-copyright p {
    margin: 0;
    opacity: 0.5;
}

/* ==========================================================================
   Legal links
   ========================================================================== */

.footer-legal-links {
    margin-top: 8px;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    opacity: 0.5;
}

.footer-legal-links a {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    opacity: 1;
}

.footer-legal-links a::before,
.footer-legal-links a::after {
    display: none !important;
    content: none !important;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    opacity: 0.8;
}

.footer-legal-links span {
    margin: 0 8px;
}

/* ==========================================================================
   Divider
   ========================================================================== */

.solid {
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
    padding: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Footer responsive
   ========================================================================== */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 35px;
    }

    .footer-list li {
        font-size: 16px;
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1400px) {
    .hero-years-number,
    .hero-years-plus {
        font-size: 250px;
    }

    .hero-title {
        font-size: 56px;
    }
}

/* Păstrează statisticile ancorate de diagonală pe desktopurile intermediare. */
@media (min-width: 992px) and (max-width: 1400px) {
    .hero-bottom-grid {
        margin-top: -50px;
    }
}

@media (max-width: 1200px) {
    .ecosystem-header {
        padding: 0 50px;
    }

    .stat-number {
        font-size: 64px;
    }

    .testimonials-grid {
        gap: 40px;
    }

    .testimonial-card::before {
        font-size: 400px;
        top: -60px;
    }

    .contact-info-grid {
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .header-inner {
        padding: 15px 30px;
    }

    .primary-menu {
        gap: 20px;
    }

    .primary-menu > li > a {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .header-inner,
    .site-header.is-sticky .header-inner,
    .site-header.interior-header .header-inner,
    body:not(.home):not(.front-page) .header-inner {
        padding: 10px 20px;
        min-height: 74px;
    }

    .site-branding {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .header-logo-group {
        gap: 10px;
        max-width: calc(100vw - 92px);
        overflow: hidden;
        flex-wrap: nowrap;
    }

    .site-logo {
        height: 30px;
        max-width: 150px;
        width: auto;
        object-fit: contain;
        flex-shrink: 0;
    }

    .tss-header-logo-container {
        gap: 5px;
        padding-left: 12px;
        height: 28px;
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
    }

    .tss-header-logo-img {
        height: 20px;
        width: auto;
        flex-shrink: 0;
    }

    .tss-header-text {
        font-size: 10px;
        letter-spacing: 0.01em;
        white-space: nowrap;
        overflow: hidden;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        margin-left: 8px;
        flex: 0 0 30px;
        color: #ffffff;
        z-index: 100001;
    }

    .hamburger-menu .bar {
        width: 24px;
        height: 2px;
        margin: 3.5px 0;
        border-radius: 4px;
        background: currentColor;
        transition: all 0.3s ease;
    }

    .site-header.is-sticky .hamburger-menu,
    .site-header.interior-header .hamburger-menu,
    body:not(.home):not(.front-page) .hamburger-menu {
        color: #0C2F50;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .hamburger-menu {
        position: fixed;
        top: 24px;
        right: 24px;
        width: 34px;
        height: 34px;
        z-index: 100005;
        color: #ffffff;
    }

    body.mobile-menu-open .hamburger-menu .bar {
        width: 30px;
        height: 3px;
        margin: 4px 0;
        background: #ffffff;
    }

    .hamburger-menu.is-active .bar:nth-child(1),
    body.mobile-menu-open .hamburger-menu.is-active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.is-active .bar:nth-child(2),
    body.mobile-menu-open .hamburger-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.is-active .bar:nth-child(3),
    body.mobile-menu-open .hamburger-menu.is-active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 330px;
        height: 100vh;
        background: #0C2F50;
        padding: 90px 34px 40px;
        transition: right 0.35s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        z-index: 100000;
        overflow-y: auto;
    }

    .main-navigation.open,
    .main-navigation.is-active {
        right: 0;
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }

    .primary-menu > li {
        width: 100%;
        display: block;
    }

    .primary-menu > li > a {
        display: block;
        width: 100%;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.25;
        color: #ffffff;
    }

    .primary-menu > li.header-contact-btn > a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: auto;
        min-width: 180px;
        height: 54px;
        padding: 0 30px;
        font-size: 18px;
        font-weight: 600;
        color: #ffffff;
    }

    .primary-menu > .menu-item-has-children > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .primary-menu > .menu-item-has-children > a::after {
        transform: rotate(90deg);
    }

    .hero-section {
        min-height: auto;
    }

    .hero-top-grid {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .hero-top-left {
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-top-right {
        justify-content: center;
        padding-top: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-bottom-grid {
        grid-template-columns: 1fr;
        margin-top: -50px;
        text-align: center;
    }

    .hero-bottom-left,
    .hero-bottom-right {
        justify-content: center;
        padding-bottom: 20px;
    }

    .hero-experience {
        text-align: center;
        margin: 0 auto;
        font-size: 28px;
    }

    .hero-years-number,
    .hero-years-plus {
        font-size: 180px;
    }

    .services-section,
    .stats-section,
    .testimonials-section {
        padding: 80px 0;
    }

    .services-grid {
        gap: 30px;
    }

    .service-card {
        padding: 30px;
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 40px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 40px);
    }

    .stat-divider {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: 700px;
        margin: 0 auto;
    }

    .section-header-center {
        margin-bottom: 60px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .cta-card {
        padding: 40px 30px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cta-card .section-title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .section-title,
    .hero-title,
    .cta-card .section-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .section-subtitle,
    .hero-description,
    .cta-card .section-subtitle,
    .contact-description {
        font-size: 17px;
        line-height: 1.5;
    }

    .section-label {
        font-size: 14px;
        letter-spacing: 0.2em;
        margin-bottom: 10px;
    }

    @keyframes heroZoomMobile {
        0% { transform: scale(1); }
        100% { transform: scale(1.1); }
    }

    .hero-section::before {
        background-image:
            linear-gradient(90deg, rgba(5, 18, 30, 0.5) 0%, rgba(5, 18, 30, 0.2) 45%, rgba(5, 18, 30, 0) 100%),
            url('https://site.hosting.sobis-ap.ro/wp-content/themes/sobisaptheme/assets/images/hero-hands.jpg');
        background-color: #05121e;
        background-repeat: no-repeat;
        background-size: 200% auto;
        background-position: 50% 0%;
        animation: heroZoomMobile 20s ease-in-out infinite alternate;
        top: 0;
        height: 100%;
        z-index: -1;
    }

    .hero-btn {
        width: 100%;
        min-width: unset;
    }

    .hero-bottom-grid {
        margin-top: -130px;
        padding-bottom: 0;
    }

    .hero-years-number,
    .hero-years-plus {
        font-size: 200px;
        line-height: 0.9;
        letter-spacing: -0.02em;
        -webkit-text-stroke: 2px #147CA6;
        margin-bottom: -20px;
    }

    .hero-experience {
        font-size: 20px;
        max-width: 320px;
        margin: 0 auto;
        line-height: 1.2;
        text-align: center;
    }

    .hero-diagonal {
        top: -85px;
        height: calc(100% + 70px);
        clip-path: polygon(0 35%, 100% 18%, 100% 100%, 0% 100%);
    }

    .hero-top {
        min-height: 500px;
    }

    .hero-bottom {
        min-height: auto;
        padding-bottom: 50px;
    }

    .services-section {
        padding-top: 20px;
        margin-top: -20px;
    }

    .ecosystem-header {
        padding: 0 20px;
        margin-bottom: 50px;
    }

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

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p,
    .btn-service-link {
        font-size: 17px;
    }

    .service-icon-box {
        margin-bottom: 25px;
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 18px;
    }

    .stats-header .section-subtitle {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .testimonial-quote {
        font-size: 18px;
    }

    .testimonial-card::before {
        font-size: 300px;
        top: -40px;
        left: 0;
    }

    .testimonial-card {
        padding: 0 10px;
    }

    .clients-section {
        padding-top: 70px;
        margin-top: 0;
    }

    .features-list li,
    .contact-detail-item {
        font-size: 17px;
    }

    .features-list li {
        line-height: 1.4;
        margin-bottom: 12px;
        gap: 12px;
    }

    .check-icon {
        font-size: 17px;
        min-width: 20px;
    }

    .site-footer {
        padding: 60px 20px 30px;
        text-align: center;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
        margin-bottom: 40px;
    }

    .footer-logo {
        height: 40px;
        margin: 0 auto 20px;
    }

    .footer-about p {
        max-width: 280px;
        margin: 0 auto 20px;
        font-size: 16px;
        line-height: 1.3;
    }

    .footer-social-links {
        justify-content: center;
        gap: 17px;
    }

    .footer-social-link i {
        font-size: 26px;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-list li {
        font-size: 18px;
        line-height: 1.3;
    }

    .footer-bottom {
        margin-top: 30px;
    }

    .footer-bottom p {
        font-size: 16px;
        opacity: 0.8;
    }

    .site-copyright {
        padding-top: 12px;
    }

    .site-copyright p {
        font-size: 13px;
        line-height: 1.5;
    }

    .footer-legal-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        font-size: 14px;
    }

    .footer-legal-links span {
        display: none;
    }
}

@media (max-width: 576px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-inner,
    .site-header.is-sticky .header-inner,
    .site-header.interior-header .header-inner,
    body:not(.home):not(.front-page) .header-inner {
        padding: 10px 20px;
    }

    .site-logo {
        height: 28px;
        max-width: 140px;
    }

    .tss-header-logo-img {
        height: 18px;
    }

    .tss-header-text {
        font-size: 9px;
    }

    .main-navigation {
        width: 84%;
        max-width: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-years-number,
    .hero-years-plus {
        font-size: 140px;
    }

    .portfolio-section {
        padding-top: 0;
    }
    
    .header-logo-group {
        max-width: calc(100vw - 95px);
        gap: 10px;
    }
    
    .tss-header-logo-container {
        padding-left: 12px;
    }
}

@media (max-width: 380px) {
    .section-title,
    .hero-title {
        font-size: 28px;
        padding-top: 10px;
    }
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */

.sobis-legal-page {
    padding-top: 90px;
    padding-bottom: 90px;
    font-family: 'Roboto', sans-serif;
    color: #0C2F50;
}

.sobis-legal-page h1 {
    margin: 0 0 35px;
    font-family: 'Roboto', sans-serif;
    color: #0C2F50;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

.sobis-legal-page h2 {
    margin-top: 42px;
    margin-bottom: 16px;
    font-family: 'Roboto', sans-serif;
    color: #0C2F50;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}

.sobis-legal-page h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.sobis-legal-page p,
.sobis-legal-page li {
    font-family: 'Roboto', sans-serif;
    color: rgba(12, 47, 80, 0.86);
    font-size: 17px;
    line-height: 1.7;
}

.sobis-legal-page ul {
    margin: 16px 0 24px 24px;
    padding: 0;
}

.sobis-legal-page li {
    margin-bottom: 8px;
}

/* Linkuri legal pages */
.sobis-legal-page a {
    color: #147CA6;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    box-shadow: none !important;
    background-image: none !important;
    border-bottom: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.sobis-legal-page a:hover {
    color: #0C2F50;
    opacity: 0.9;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    box-shadow: none !important;
    background-image: none !important;
    border-bottom: none !important;
}

.sobis-legal-page a::before,
.sobis-legal-page a::after {
    display: none !important;
    content: none !important;
}

body.page-id-55 .entry-title,
body.page-id-63 .entry-title,
body.page-id-65 .entry-title,
body.page-id-55 .page-title,
body.page-id-63 .page-title,
body.page-id-65 .page-title,
body.page-id-55 .wp-block-post-title,
body.page-id-63 .wp-block-post-title,
body.page-id-65 .wp-block-post-title,
body.page-id-55 article > h1:first-child,
body.page-id-63 article > h1:first-child,
body.page-id-65 article > h1:first-child,
body.page-id-55 main > h1:first-child,
body.page-id-63 main > h1:first-child,
body.page-id-65 main > h1:first-child {
    display: none !important;
}

body.page-id-55 main,
body.page-id-63 main,
body.page-id-65 main,
body.page-id-55 .site-main,
body.page-id-63 .site-main,
body.page-id-65 .site-main,
body.page-id-55 #primary,
body.page-id-63 #primary,
body.page-id-65 #primary,
body.page-id-55 .content-area,
body.page-id-63 .content-area,
body.page-id-65 .content-area {
    padding-top: 60px !important;
}

/* Tablet */
@media (max-width: 1100px) {
    body.page-id-55 main,
    body.page-id-63 main,
    body.page-id-65 main,
    body.page-id-55 .site-main,
    body.page-id-63 .site-main,
    body.page-id-65 .site-main,
    body.page-id-55 #primary,
    body.page-id-63 #primary,
    body.page-id-65 #primary,
    body.page-id-55 .content-area,
    body.page-id-63 .content-area,
    body.page-id-65 .content-area {
        padding-top: 75px !important;
    }

    .sobis-legal-page {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .sobis-legal-page h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }
}

/* Mobil */
@media (max-width: 767px) {
    body.page-id-55 main,
    body.page-id-63 main,
    body.page-id-65 main,
    body.page-id-55 .site-main,
    body.page-id-63 .site-main,
    body.page-id-65 .site-main,
    body.page-id-55 #primary,
    body.page-id-63 #primary,
    body.page-id-65 #primary,
    body.page-id-55 .content-area,
    body.page-id-63 .content-area,
    body.page-id-65 .content-area {
        padding-top: 65px !important;
    }

    .sobis-legal-page {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sobis-legal-page h1 {
        font-size: 30px;
        margin-bottom: 26px;
    }

    .sobis-legal-page h2 {
        font-size: 24px;
        margin-top: 34px;
    }

    .sobis-legal-page h3 {
        font-size: 20px;
    }

    .sobis-legal-page p,
    .sobis-legal-page li {
        font-size: 16px;
        line-height: 1.65;
    }
}
