/*
Theme Name: Molab
Theme URI: https://molab.pl/
Author: Molab
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: molab
*/

/* --- 01. FONTS --- */

@font-face {
    font-family: 'Causten Round';
    src: url('assets/fonts/Causten-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Causten Round';
    src: url('assets/fonts/Causten-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Causten Round';
    src: url('assets/fonts/Causten-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Causten Round';
    src: url('assets/fonts/Causten-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Causten Round';
    src: url('assets/fonts/Causten-Black.otf') format('opentype');
    font-weight: 1000;
    font-style: normal;
    font-display: swap;
}

/* --- 02. RESET & VARIABLES --- */

:root {
    /* Colors */
    --color-text: #292929;
    --color-blue: #1580C2;
    --color-orange: #D7571F;
    --color-yellow: #F3B823;
    --color-dark: #1A1A1A;
    --color-white: #FFFFFF;
    --color-bg-light: #F9F9F9;

    /* Typography */
    --font-primary: 'Causten Round', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 03. TYPOGRAPHY --- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 1000;
    line-height: 1.2;
}

h1 {
    font-size: 64px;
    letter-spacing: -2px;
}

h2 {
    font-size: 48px;
    letter-spacing: -1px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 24px;
}

p {
    margin: 0 0 1.5em;
    font-size: 20px;
    color: var(--color-text);
}

.text-blue {
    color: var(--color-blue);
}

.text-orange {
    color: var(--color-orange);
}

.text-yellow {
    color: var(--color-yellow);
}

.lowercase {
    text-transform: lowercase;
}

/* --- 04. HEADER --- */

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

.site-header.is-sticky {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-navigation {
    padding: 40px 0;
    transition: padding 0.3s ease;
}

.site-header.is-sticky .main-navigation {
    padding: 20px 0;
}

.main-navigation__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    width: 120px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.site-logo img {
    width: 100%;
    height: auto;
}

.site-header.is-sticky .site-logo,
.single .site-logo {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.header-socials {
    display: flex;
    gap: 15px;
}

.header-socials a {
    display: block;
    width: 18px;
    height: 18px;
    margin: 0 5px;
    transition: opacity 0.3s ease;
}

.header-socials a:hover {
    opacity: 1;
}

.header-socials svg {
    width: 31px;
    height: 31px;
    fill: var(--color-text);
}

.main-menu {
    display: flex;
    gap: 30px;
}

.main-menu a {
    font-size: 16px;
    font-weight: 400;
    text-transform: lowercase;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.main-menu li:nth-child(3n+1) a:hover {
    color: var(--color-orange);
}

.main-menu li:nth-child(3n+2) a:hover {
    color: var(--color-blue);
}

.main-menu li:nth-child(3n) a:hover {
    color: var(--color-yellow);
}

/* --- 05. HERO --- */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-white);
}

.hero__container {
    position: relative;
    height: 100%;
}

.hero__logo {
    max-width: 450px;
    margin: 0 auto 40px;
}

.hero__content {
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
}

.hero__title {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    font-weight: 1000;
}

.hero__title span {
    color: var(--color-blue);
    display: block;
}

.hero__description {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 24px;
    font-weight: 400;
}

.hero__scroll {
    display: inline-block;
    width: 40px;
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.hero__scroll img {
    width: 100%;
    height: auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- 06. SECTION ABOUT --- */

.about {
    padding: 110px 0;
    background-image: url('assets/images/bg.svg');
    background-repeat: repeat;
    background-position: center top;
    position: relative;
    image-rendering: pixelated;
}

.about__container {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 60px 0;
}

.about__line {
    position: absolute;
    top: 43%;
    width: 100%;
    height: 24.1px;
    background-image: url('assets/images/bg_line.svg');
    background-repeat: repeat-x;
    background-position: 0 top;
    z-index: 4;
    background-color: white;
    animation: scrollLine 60s linear infinite;
}

@keyframes scrollLine {
    from {
        background-position-x: 0;
    }

    to {
        background-position-x: 1440px;
    }
}

.about__card {
    background: var(--color-white);
    padding: 30px 45px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.about__title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 90px;
    font-weight: 1000;
}

.about__content {
    position: relative;
    top: -20px;
    margin-bottom: -50px;
}

.about__content p {
    font-size: 18px;
}

.about__scroll {
    display: inline-block;
    width: 30px;
    margin-top: 20px;
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.about__scroll img {
    width: 100%;
    height: auto;
}

/* --- 07. SECTION PILLARS --- */

.pillars {
    padding: var(--section-padding);
    text-align: center;
}

.pillars__title {
    font-size: 48px;
    margin-bottom: 40px;
}

.pillars__title span {
    color: var(--color-yellow);
}

.pillars__tree {
    position: relative;
    padding-top: 30px;
}

.pillars__line-main {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 30px;
    background: var(--color-text);
    transform: translateX(-50%);
}

.pillars__items {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.pillars__items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    background: var(--color-text);
}

.pillars__item {
    flex: 1;
    padding: 40px 20px;
    position: relative;
}

.pillars__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 30px;
    background: var(--color-text);
    transform: translateX(-50%);
}

.pillars__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    margin-top: 25px;
}

.pillars__name {
    font-size: 35px;
    margin-bottom: 15px;
}

.pillars__desc {
    max-width: 280px;
    margin: 0 auto;
}

.pillars__scroll {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
    position: relative;
    opacity: 0.3;
    margin-top: 60px;
}

.pillars__scroll::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--color-text);
    border-bottom: 1px solid var(--color-text);
    transform: translate(-50%, -70%) rotate(45deg);
}

/* --- 08. SECTION SPECIALTIES --- */

.specialties {
    padding: var(--section-padding);
    text-align: center;
    margin-bottom: 100px;
}

.specialties__title {
    font-size: 48px;
    margin-bottom: 60px;
}

.specialties__title span {
    color: var(--color-orange);
}

.specialties__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.specialties__item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-text);
    border-radius: 100px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.specialties__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.specialties__icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-text);
    margin-left: -1px;
}

.specialties__item--orange .specialties__icon {
    background-color: var(--color-orange);
}

.specialties__item--blue .specialties__icon {
    background-color: var(--color-blue);
}

.specialties__item--yellow .specialties__icon {
    background-color: var(--color-yellow);
}

.specialties__info {
    padding: 0 30px;
}

.specialties__name {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 1000;
}

.specialties__desc {
    margin: 0;
    line-height: 20px;
}

.specialties__scroll {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
    position: relative;
    opacity: 0.3;
    margin-top: 60px;
}

.specialties__scroll::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--color-text);
    border-bottom: 1px solid var(--color-text);
    transform: translate(-50%, -70%) rotate(45deg);
}

/* --- 09. SECTION CASE STUDIES --- */

.case-studies {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: var(--section-padding);
}

.case-studies p {
    color: var(--color-white);
}

.case-studies__header {
    text-align: center;
    margin-bottom: 60px;
}

.case-studies__title {
    font-size: 42px;
}

.case-studies__title span {
    color: var(--color-yellow);
}

.case-studies__subtitle {
    margin-top: 10px;
    max-width: 500px;
    margin: 20px auto;
}

.case-studies__slider {
    padding: 0 calc((100vw - var(--container-width)) / 2) 40px;
    margin-right: -20px;
    /* Offset for container padding if needed */
}

.case-studies__slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

.case-studies__card {
    border: 1px solid var(--color-white);
    border-radius: 66px;
    padding: 0;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.case-studies__top {
    display: flex;
    align-items: center;
    padding: 0;
}

.case-studies__logo-circle {
    width: 140px;
    height: 140px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -1px;
    margin-top: -1px;
    flex-shrink: 0;
}

.case-studies__logo-circle img {
    max-width: 70%;
    height: auto;
    filter: brightness(0);
    /* Logo na biały podkład zwykle w czerni */
}

.case-studies__logo-circle span {
    color: #000;
    font-weight: 900;
    font-size: 20px;
}

.case-studies__stats {
    flex-grow: 1;
    text-align: left;
    padding-left: 20px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.case-studies__stat-item {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.case-studies__stat-item .label {
    font-weight: 400;
    opacity: 0.8;
    margin-left: 5px;
}

.case-studies__body {
    padding: 40px 30px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-studies__excerpt {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.case-studies__indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.case-studies__indicator {
    display: flex;
    flex-direction: column;
}

.case-studies__indicator .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-blue);
}

.case-studies__indicator .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-studies__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
}

.case-studies__more svg {
    width: 40px;
    height: 40px;
    fill: var(--color-text);
}

.case-studies__more:hover {
    transform: scale(1.1);
}

.case-studies__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
}

.case-studies__arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-studies__arrow svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.case-studies__arrow:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- 10. SECTION TEAM --- */

.team {
    padding: var(--section-padding);
    text-align: center;
}

.team__header {
    margin-bottom: 60px;
}

.team__title {
    font-size: 42px;
}

.team__title span {
    color: var(--color-blue);
}

.team__subtitle {
    max-width: 500px;
    margin: 20px auto;
}

.team__slider {
    padding: 0 calc((100vw - var(--container-width)) / 2) 40px;
    margin-right: -20px;
}

.team__slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

.team__grid {
    display: none;
    /* Ukrywamy stary grid */
}

.team__card {
    height: auto;
    flex-shrink: 0;
}

.team__image-wrapper {
    position: relative;
    border-radius: 66px 66px 0px 66px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.team__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* .team__play styles removed */

.team__info-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 15px 30px;
    border-radius: 30px 0 0 0;
    color: #fff;
    width: auto;
    max-width: 200px;
}

.team__member-name {
    font-weight: 700;
    font-size: 14px;
    text-align: left;
}

.team__member-position {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team__info-btn--blue {
    background-color: var(--color-blue);
}

.team__info-btn--yellow {
    background-color: var(--color-yellow);
}

.team__info-btn--orange {
    background-color: var(--color-orange);
}

.team__arrows {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 60px;
}

.team__arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team__arrow svg {
    width: 24px;
    height: 24px;
    fill: var(--color-text);
}

.team__arrow:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- 11. SECTION FEATURES --- */

.features {
    padding: var(--section-padding);
    text-align: center;
    padding-top: 0px;
    margin-bottom: 80px;
}

.features__title {
    font-size: 42px;
    margin-bottom: 60px;
}

.features__title span {
    color: var(--color-orange);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.features__item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-text);
    border-radius: 60px;
    text-align: left;
    padding-right: 40px;
}

.features__icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-left: -1px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-text);
}

.features__icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    /* SVG usually has its own stroke/fill */
}

.features__icon img {
    width: 40px;
    height: 40px;
}

.features__icon--orange {
    background-color: var(--color-orange);
}

.features__icon--yellow {
    background-color: var(--color-yellow);
}

.features__icon--blue {
    background-color: var(--color-blue);
}

.features__icon--dark {
    background-color: var(--color-dark);
}

.features__info {
    padding-left: 20px;
}

.features__name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.features__desc {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

.features__scroll {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
    position: relative;
    opacity: 0.3;
    margin-top: 60px;
}

.features__scroll::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--color-text);
    border-bottom: 1px solid var(--color-text);
    transform: translate(-50%, -70%) rotate(45deg);
}

/* --- 12. SECTION CTA & FORM --- */

.cta {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: var(--section-padding);
    text-align: center;
}

.cta__header {
    margin-bottom: 50px;
}

.cta__title {
    font-size: 42px;
}

.cta__title span {
    color: var(--color-yellow);
}

.cta__subtitle {
    margin-top: 10px;
    max-width: 500px;
    margin: 20px auto;
    color: var(--color-white);
}

.cta__form {
    max-width: 600px;
    margin: 0 auto 0px;
}

.cta__form-grid {
    display: flex;
    flex-direction: column;
}

.cta__form-grid p {
    margin-bottom: 20px;
}

.cta__form input,
.cta__form textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--color-white);
    border-radius: 10px;
    color: var(--color-text);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.cta__form input::placeholder,
.cta__form textarea::placeholder {
    color: var(--color-text);
    opacity: 1;
}

.cta__form input:focus,
.cta__form textarea:focus {
    border-color: var(--color-blue);
    outline: none;
}

.cta__consent {
    margin: 0px;
    text-align: left;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-list-item-label {
    color: var(--color-white) !important;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.cta__form .wpcf7-acceptance input {
    margin-right: 10px;
    width: auto;
}

.cta__form .wpcf7-form-control-wrap {
    text-align: left;
    display: block;
}

.wpcf7-submit {
    background: transparent !important;
    border: 1px solid var(--color-white) !important;
    color: var(--color-white) !important;
    padding: 10px 60px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto !important;
    display: table;
    margin: 0 auto;
}

.wpcf7-submit:hover {
    background: var(--color-white) !important;
    color: var(--color-text) !important;
}

.cta__contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 0px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta__contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    text-align: center;
}

.cta__contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta__contact-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.cta__contact-icon--orange {
    background-color: var(--color-orange);
}

.cta__contact-icon--blue {
    background-color: var(--color-blue);
}

.cta__contact-icon--yellow {
    background-color: var(--color-yellow);
}

.cta__contact-text {
    font-size: 14px;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cta__contact-text:hover {
    opacity: 0.7;
}

.cta__socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta__social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background-color: var(--color-white);
}

.cta__social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--color-text);
    transition: fill 0.3s ease;
}

.cta__social-link:hover {
    border-color: var(--color-blue);
}

.cta__social-link:hover svg {
    fill: var(--color-blue);
}

/* --- 13. SINGLE VIEWS --- */

.single-specialty,
.single-case-study {
    padding-bottom: 100px;
}

.single .site-header {
    background-color: var(--color-white);
}

.specialty-header__banner {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.specialty-header__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialty-content {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.specialty-content__wrapper {
    background: var(--color-white);
    padding: 80px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.specialty-content__title {
    font-size: 56px;
    margin-bottom: 40px;
    font-weight: 100;
}

.specialty-content__long-description {
    font-size: 20px;
    line-height: 1.8;
    color: var(--color-text);
}

.specialty-content__long-description p {
    margin-bottom: 1.5em;
}

.specialty-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.specialty-footer__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-text);
    transition: transform 0.3s ease;
}

.specialty-footer__back:hover {
    transform: translateX(-5px);
}

.case-study-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.case-study-meta__logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: brightness(0);
}

.case-study-indicators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 40px;
    border: 1px solid var(--color-text);
    border-radius: 8px;
}

.case-study-indicator-item .value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 5px;
}

.case-study-indicator-item .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 14. FOOTER --- */

.site-footer {
    background-color: var(--color-white);
    color: var(--color-text);
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.site-footer p {
    font-size: 14px;
    margin: 0;
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    width: 38px;
    height: 38px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text);
}

.footer__social-link:hover {
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
    font-size: 14px;
}

/* --- 15. RESPONSIVE (MEDIA QUERIES) --- */

@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero__title {
        font-size: 52px;
    }

    .about__title {
        font-size: 36px;
    }

    .pillars__name {
        font-size: 20px;
    }

    .specialties__grid,
    .features__grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }

    .main-navigation {
        padding: 20px 0;
    }

    .site-logo {
        width: 100px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .main-menu-container.is-active {
        right: 0;
    }

    .main-menu {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .main-menu a {
        font-size: 32px;
        font-weight: 700;
    }

    .header-socials {
        display: none;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__description {
        font-size: 16px;
    }

    .about__card {
        padding: 40px 20px;
    }

    .about__title {
        font-size: 28px;
    }

    .about__line {
        position: absolute;
        top: 39.5%;
    }

    .pillars__items {
        flex-direction: column;
    }

    .pillars__line-main,
    .pillars__items::before,
    .pillars__item::before {
        display: none;
    }

    .pillars__desc {
        max-width: 480px;
    }

    .pillars__item {
        flex: 1;
        padding: 10px 20px;
    }

    .specialties__grid,
    .features__grid {
        grid-template-columns: 1fr;
    }

    .team__grid {
        flex-direction: column;
        align-items: center;
    }

    .team__card {
        flex-shrink: 0;
        width: 220px;
        height: 300px;
    }

    .team__info-btn {
        padding: 5px 15px;
    }

    .case-studies__slider {
        gap: 20px;
    }


    .case-studies__slider {
        padding: 0 20px 40px;
    }

    .cta__contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .cta {
        padding: 100px 0px;
    }

    .case-study-indicators-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .specialty-content__wrapper {
        padding: 40px 20px;
    }

    .specialty-header__banner {
        height: 0vh;
    }

    .specialty-content__title {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 32px;
    }

    .hero__description {
        font-size: 14px;
    }

    .about__title {
        font-size: 24px;
    }

    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    .about__line {
        position: absolute;
        top: 36.5%;
    }
}