/*
Theme Name: CT Construction
Theme URI: https://ctconstructionllc.com
Author: CT Construction
Description: Custom theme for CT Construction Services - Building the Spaces that Bring Communities to Life
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ct-construction
*/

/* ===== Custom Font ===== */
@font-face {
    font-family: 'Agency FB';
    src: url('AGENCYB.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    --navy-dark: #003D5C;
    --navy-deeper: #003253;
    --teal: #0A95AA;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1;
    color: #333;
    background-color: var(--white);
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

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

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--navy-dark);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px;
}

/* ===== Header Styles ===== */
.site-header {
    background-color: #001f3f;
    color: var(--white);
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 100%;
    align-items: center;
    padding: 0 6%;
}

.site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0;
    background-color: #001f3f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease;
    pointer-events: none;
}

.site-header.scrolled::after {
    height: 28px;
}

.header-right {
    justify-self: end;
}

.site-header .header-company-name {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-header.scrolled .site-logo {
    max-width: 120px;
    margin-top: 0px;
    margin-bottom: -45px;
    padding: 17.5px 15px 20px 15px;
}

.site-header.scrolled .header-left a {
    font-size: 0.93rem;
}

.site-header.scrolled .icon-email,
.site-header.scrolled .icon-phone {
    width: 16px;
    height: 16px;
}

.site-header.scrolled .hamburger-menu {
    width: 40px;
    height: 40px;
}

.site-header.scrolled .hamburger-circle {
    width: 33px;
    height: 33px;
    padding: 8px;
    gap: 3px;
}

.site-header.scrolled .hamburger-line {
    height: 2px;
}


.site-header .header-company-name {
    text-align: left;
}

.header-company-logo {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Left: Contact Info */
.header-left {
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-size: 14px;
    align-items: center;
}

.header-phone {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
}

.contact-label {
    color: var(--white);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.header-left a {
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-left a svg {
    stroke: var(--teal);
}

.header-left a:hover {
    color: var(--teal);
}

.header-left a:hover svg {
    stroke: var(--teal);
}

.header-contact {
    white-space: nowrap;
}

@media (min-width: 969px) {
    .header-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 13px;
    }

    .header-contact .header-phone {
        border-left: none;
        padding-left: 0;
    }
}

@media (min-width: 969px) and (max-width: 1250px) {
    .header-contact .email-text {
        display: none;
    }
}

.icon-phone,
.icon-email {
    width: 16px;
    height: 16px;
    display: inline-block;
    flex-shrink: 0;
}

.email-text {
    display: inline;
}

.email-line1,
.email-line2 {
    display: inline;
}

/* Center: Logo */
.header-center {
    text-align: center;
    position: relative;
    padding: 0;
    border-radius: 8px;
}

.header-center a {
    position: relative;
    z-index: 1001;
    display: inline-block;
}

.site-logo {
    max-width: 375px;
    height: auto;
    position: relative;
    z-index: 1002;
    margin-top: 0;
    margin-bottom: -240px;
    background-color: transparent;
    padding: 52px 45px 60px 45px;
    clip-path: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Right: Navigation */
.header-right {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.navigation-label {
    color: var(--white);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hamburger Menu Button */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 1002;
    transition: all 0.3s ease;
}

.hamburger-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger-menu:hover .hamburger-circle {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.hamburger-line {
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-line-1 {
    width: 70%;
}

.hamburger-line-2 {
    width: 100%;
}

.hamburger-line-3 {
    width: 85%;
}

.hamburger-menu.active .hamburger-circle {
    transform: rotate(180deg);
}

.hamburger-menu.active .hamburger-line-1 {
    transform: rotate(45deg) translate(7px, 7px);
    width: 100%;
}

.hamburger-menu.active .hamburger-line-2 {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line-3 {
    transform: rotate(-45deg) translate(7px, -7px);
    width: 100%;
}

/* Navigation Menu */
.main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deeper) 100%);
    padding: 150px 40px 40px;
    transition: right 0.4s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.main-navigation.active {
    right: 0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-navigation a {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px 0;
    border-left: 3px solid transparent;
    padding-left: 15px;
    transition: all 0.3s ease;
    display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    border-left-color: var(--teal);
    color: var(--teal);
    padding-left: 25px;
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deeper) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('blue_print_modern_building.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 100px auto;
}

.hero-title {
    font-family: 'Agency FB', sans-serif;
    font-size: 4.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 40px;
    color: #d0d0d0;
}

.cta-button {
    display: inline-block;
    background-color: var(--teal);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 149, 170, 0.3);
}

/* FooGallery Buttons */
.foogallery-container .fg-carousel-prev,
.foogallery-container .fg-carousel-next {
    background: none !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

.foogallery-container .fg-carousel-prev svg,
.foogallery-container .fg-carousel-next svg,
.foogallery-container .fg-icon {
    fill: white !important;
    color: white !important;
}

.foogallery-container .fg-carousel-prev:hover,
.foogallery-container .fg-carousel-next:hover {
    opacity: 0.8 !important;
}

/* FooGallery Bullet Buttons */
.foogallery-container .fg-carousel-bullet {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid white !important;
    opacity: 1 !important;
}

.foogallery-container .fg-carousel-bullet.fg-bullet-active,
.foogallery-container .fg-carousel-bullet:hover {
    background-color: white !important;
}

/* ===== Content Sections ===== */
.content-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Agency FB', sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--navy-dark);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--teal);
    text-align: center;
    margin-bottom: 50px;
}

.mission-vision-title {
    font-family: 'Agency FB', sans-serif;
    font-size: 2.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 15px;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: transparent;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 250px;
    height: 250px;
    background-color: #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: var(--white);
    border: 15px solid #f5f5f5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.service-icon svg {
    width: 80px;
    height: 80px;
    stroke: var(--teal);
    position: relative;
    z-index: 1;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.service-card h3 {
    font-family: 'Agency FB', sans-serif;
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--navy-dark);
}

.service-card p {
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===== Values Section ===== */
.values-section {
    padding: 80px 0 0;
    max-width: 100%;
}

.values-section .section-title {
    padding: 0 20px;
}

.values-section .section-subtitle {
    padding: 0 20px;
    margin-bottom: 60px;
}

.values-alternating-grid {
    --value-height: clamp(380px, 36vw, 600px);
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.value-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: var(--value-height);
    max-height: var(--value-height);
}

.value-block.reverse {
    direction: rtl;
}

.value-block.reverse > * {
    direction: ltr;
}

.value-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--value-height);
    max-height: var(--value-height);
}

.value-image img {
    width: 100%;
    height: var(--value-height);
    max-height: var(--value-height);
    object-fit: cover;
    object-position: center;
}

.value-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 50px;
    color: var(--white);
    width: 100%;
    height: var(--value-height);
    max-height: var(--value-height);
    position: relative;
    overflow: hidden;
}

.value-content h3 {
    font-family: 'Agency FB', sans-serif;
    font-size: 4.9rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.value-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--white);
}

.contact-section {
    max-width: none;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--navy-deeper);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--teal);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: clip;
        width: 100%;
        max-width: 100vw;
    }

    /* Keep navy header sticky */
    .site-header {
        background-color: #001f3f;
        position: sticky !important;
        top: 0;
        height: 60px;
        padding: 0 5px;
        justify-content: space-between;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Hero section */
    .hero-section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100vw;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* Content sections */
    .content-section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* Scale down logo but keep it popping out */
    .site-logo {
        max-width: 140px;
        margin-top: 0;
        margin-bottom: -85px;
        padding: 15px 10px 20px 10px;
    }

    .site-header.scrolled .site-logo {
        max-width: 110px;
        margin-bottom: -65px;
        padding: 10px 8px 15px 8px;
    }

    /* Company logo - smaller on mobile */
    .site-header .header-company-name {
        flex-shrink: 0;
    }

    .header-company-logo {
        max-height: 24px;
    }

    /* Navigation section */
    .header-right {
        flex-shrink: 0;
        gap: 5px;
    }

    /* Navigation label - smaller font */
    .navigation-label {
        font-size: 9px;
        white-space: nowrap;
    }

    /* Hamburger - smaller */
    .hamburger-menu {
        width: 40px;
        height: 40px;
    }

    .hamburger-circle {
        width: 32px;
        height: 32px;
        padding: 7px;
        gap: 3px;
    }

    .site-header.scrolled .hamburger-menu {
        width: 32px;
        height: 32px;
    }

    .site-header.scrolled .hamburger-circle {
        width: 26px;
        height: 26px;
        padding: 5px;
        gap: 2px;
    }

    .hamburger-line {
        height: 2px;
    }

    .site-header.scrolled .hamburger-line {
        height: 1.5px;
    }

    /* Contact info - icons only */
    .header-left {
        display: flex !important;
        font-size: 9px;
        gap: 8px;
        flex-direction: row;
    }

    .header-left a {
        display: flex !important;
        font-size: 9px;
        gap: 4px;
        align-items: center;
    }

    .header-email,
    .header-phone {
        display: block !important;
    }

    .icon-phone,
    .icon-email {
        width: 10px;
        height: 10px;
        flex-shrink: 0;
        display: inline-block !important;
    }

    .header-phone {
        padding-left: 8px;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
    }

    .header-contact .email-text,
    .header-contact .header-phone a,
    .site-header.scrolled .header-contact .header-phone a {
        font-size: 0;
    }

    .header-contact .icon-phone,
    .header-contact .icon-email {
        width: 18px;
        height: 18px;
    }

    .site-header .header-company-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .site-header .header-contact {
        gap: 0;
    }

    .site-header.scrolled::after {
        height: 38px;
    }

    /* Hero adjustments */
    .hero-content {
        margin: 50px auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .main-navigation ul {
        justify-content: center;
    }
}

@media (max-width: 968px) {
    .values-section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .values-alternating-grid {
        width: 100%;
        max-width: 100vw;
    }

    .value-block {
        grid-template-columns: 1fr;
        min-height: auto;
        width: 100%;
        max-width: 100vw;
    }

    .value-block.reverse {
        direction: ltr;
    }

    .value-content {
        width: 100%;
        max-width: 100vw;
        padding: 40px 20px;
        box-sizing: border-box;
    }

    .value-content h3 {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .value-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .value-image {
        min-height: 350px;
        width: 100%;
        max-width: 100vw;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .value-image {
        min-height: 300px;
    }
}

/* ===== Navigation Icons ===== */
.main-navigation a {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-navigation .menu-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--teal);
    transition: stroke 0.3s ease;
}

.main-navigation a:hover .menu-icon {
    stroke: var(--white);
}

/* ===== Carousel Image Ratio ===== */
.gallery-carousel .foogallery .fg-item .fg-image-wrap {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-carousel .foogallery .fg-item .fg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== Inner Page Hero ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deeper) 100%);
    color: var(--white);
    text-align: center;
    padding: 280px 20px 60px;
}

.page-hero-title {
    font-family: 'Agency FB', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.page-hero-subtitle {
    color: var(--teal);
    font-size: 1.2rem;
}

/* ===== Projects ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    display: block;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.project-card-image {
    aspect-ratio: 4 / 3;
    background: var(--medium-gray);
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card-body {
    padding: 20px 24px 24px;
}

.project-card-title {
    font-family: 'Agency FB', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--navy-dark);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
}

.project-card-location {
    color: var(--teal);
    font-size: 0.95rem;
    line-height: 1.5;
}

.projects-empty {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
}

.project-detail-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
    margin-bottom: 40px;
}

.project-detail-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.project-detail-content .wp-block-gallery img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-back {
    text-align: center;
    margin-top: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .page-hero {
        padding: 150px 20px 40px;
    }

    .page-hero-title {
        font-size: 2.6rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Logged-in Admin Bar Offset ===== */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar .site-header {
        top: 0;
    }
}

/* ===== Phone Layout ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px 48px;
    }

    .hero-content {
        margin: 56px auto 0;
    }

    .hero-tagline {
        margin-bottom: 28px;
    }

    .content-section {
        padding: 56px 24px;
    }

    .section-title {
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    .services-grid {
        margin-top: 32px;
        gap: 48px;
    }

    .service-icon {
        width: 210px;
        height: 210px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 2.2rem;
    }

    .values-section {
        padding: 56px 0 0;
    }

    .values-section .section-title,
    .values-section .section-subtitle {
        padding: 0 24px;
    }

    .values-section .section-subtitle {
        margin-bottom: 32px;
    }

    .value-content h3 {
        font-size: 2.6rem;
        line-height: 1;
        margin-bottom: 12px;
    }

    .value-content p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

@media (max-width: 968px) {
    .value-block,
    .value-image,
    .value-content {
        height: auto;
        max-height: none;
        min-height: 0;
    }

    .value-block {
        display: flex;
        flex-direction: column;
    }

    .value-image {
        order: -1;
        aspect-ratio: 16 / 10;
    }

    .value-image img {
        height: 100%;
        max-height: none;
    }

    .value-content {
        padding: 32px 24px 40px;
    }
}

@media (max-width: 968px) {
    .site-header {
        height: 72px;
    }

    .site-header.scrolled::after {
        height: 32px;
    }

    .header-company-logo {
        max-height: 30px;
    }

    .header-contact .icon-phone,
    .header-contact .icon-email {
        width: 22px;
        height: 22px;
    }

    .site-header .header-company-name {
        gap: 8px;
    }

    .header-right {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .navigation-label {
        order: 2;
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}
