/* Header Container - Fluid Width */
.header .container {
    max-width: 1800px;
    /* Much wider than standard content */
    width: 95%;
    /* Takes up most of the screen width */
    padding: 0 40px;
    /* Consistent edge spacing */
    margin: 0 auto;
}

.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Changed from sticky to relative so it scrolls away */
    z-index: 100;
    padding: var(--spacing-md) 0;
    transition: padding 0.3s ease;
}

/* Compact Header State */
.header.compact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: headerSlideDown 0.4s ease forwards;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header.compact .header-contact {
    display: flex;
}

.header.compact .tel-number {
    display: none;
}

.header.compact .tel-icon {
    font-size: 0.85rem;
    font-weight: 700;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
}

.header.compact .tel-link {
    background-color: transparent;
    padding: 0;
}

.header.compact .logo a {
    font-size: 1.2rem;
    width: auto;
    height: auto;
    background-image: none;
    text-indent: 0;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
}

.header.compact .logo a:hover {
    color: var(--color-primary);
    opacity: 1;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-left: auto;
}

.logo a {
    display: block;
    width: 200px;
    height: 50px;
    background-image: url('../assets/image/home/top-logo.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    text-indent: -9999px;
    overflow: hidden;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: var(--spacing-sm);
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-item--has-children {
    position: relative;
}

.nav-submenu {
    list-style: none;
    margin: 0;
    padding: 12px 8px;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: rgba(255, 255, 255, 0.85);
    /* Glassmorphism */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Mega Menu Variant */
.nav-item--has-megamenu {
    position: static !important;
}

.nav-item--has-megamenu .nav-submenu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100vw;
    max-width: var(--container-width);
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-radius: 20px;
}

.nav-item--has-megamenu:hover .nav-submenu {
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Arrow/Tail Indicator */
.nav-submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.02));
}

.nav-submenu .nav-item--has-children {
    position: relative;
}

/* Nested submenu fixed positioning */
.nav-submenu--nested {
    top: -12px;
    left: 100%;
    /* Position to the right */
    transform: translateX(10px) !important;
    margin-left: 0;
}

.nav-submenu .nav-item--has-children:hover>.nav-submenu,
.nav-submenu .nav-item--has-children:focus-within>.nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) !important;
    pointer-events: auto;
}

/* Invisible bridge to keep menu open while moving mouse */
.nav-item--has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    z-index: 99;
}

.nav-item--has-children:hover .nav-submenu,
.nav-item--has-children:focus-within .nav-submenu,
.nav-item--has-megamenu:hover .nav-submenu,
.nav-item--has-megamenu:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Mega Menu Column Specifics */
.megamenu-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.megamenu-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.megamenu-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.megamenu-item-list a {
    font-size: 0.95rem !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.megamenu-item-list a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.megamenu-item-list a:hover::before {
    opacity: 1;
    transform: scale(1.5);
}

/* Nested submenu specifics for Mega Menu - Hide standard nested */
.nav-item--has-megamenu .nav-submenu--nested {
    display: none;
}

/* Submenu Items Separator - Removed per user request */

/* Nested submenu specific styles */

.nav-submenu--nested a {
    padding: 10px 18px;
    font-size: 0.875rem;
}

.nav-submenu--nested a:hover {
    padding-left: 22px;
}

.nav-item--has-children>.nav-link {
    display: flex;
    align-items: center;
}

.nav-item--has-children>.nav-link::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 8px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-item--has-children:hover>.nav-link::after {
    transform: rotate(225deg) translateY(-1px) translateX(-1px);
    opacity: 1;
}

/* Submenu parent indicator - Modern arrow */
.nav-submenu .nav-item--has-children>a::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.4;
    transition: all 0.2s ease;
}

.nav-submenu .nav-item--has-children:hover>a::after {
    color: var(--color-primary);
    right: 12px;
    opacity: 1;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-main);
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-list a:hover {
    color: var(--color-primary);
}

/* Only show underline for links without submenus */
.nav-list>li:not(.nav-item--has-children)>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.nav-list>li:not(.nav-item--has-children)>a:hover::after {
    width: 100%;
}

/* Header Contact */
.header-contact {
    display: flex;
    align-items: center;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 0;
}

.tel-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-bg-light);
    border-radius: 25px;
    transition: all 0.3s;
    text-decoration: none;
}

.tel-link:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.tel-icon {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 4px 8px;
    border-radius: 4px;
}

.tel-number {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

/* Subpage Specific Header Adjustments (Isolated from Homepage) */
body.subpage {
    --container-width: 1600px;
}

body.subpage .nav {
    min-width: 0;
}

body.subpage .nav-list {
    gap: 1.5vw;
}

body.subpage .nav-list a {
    white-space: nowrap;
}

@media (max-width: 1350px) {
    body.subpage .nav-list {
        gap: 12px;
    }
}

@media (max-width: 1150px) {
    body.subpage .nav-list {
        gap: 8px;
    }

    body.subpage .logo a {
        font-size: 1.2rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s;
}

/* Responsive Nav */
@media (max-width: 968px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 101;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding-top: 80px;
        z-index: 100;
        justify-content: flex-start;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0 var(--spacing-lg);
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-list a {
        display: block;
        padding: var(--spacing-md) 0;
        font-size: 1rem;
    }

    .nav-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 8px 0 var(--spacing-sm) 16px;
        pointer-events: auto;
        min-width: 0;
        background: transparent;
        border: none;
    }

    .nav-submenu--nested {
        margin-left: 0;
        padding-left: 16px;
    }

    .nav-submenu a {
        padding: 10px 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .nav-submenu a::before {
        display: none;
    }

    .nav-submenu a:hover {
        background: transparent;
        padding-left: 0;
        color: var(--color-primary);
    }

    .nav-item--has-megamenu .nav-submenu {
        display: block;
        padding: 10px 0 20px 16px;
        width: 100%;
        max-width: none;
        transform: none;
        left: 0;
    }

    .megamenu-column {
        margin-bottom: 20px;
        gap: 10px;
    }

    .megamenu-column:last-child {
        margin-bottom: 0;
    }

    .megamenu-title {
        font-size: 0.8rem;
        border-bottom: none;
        padding-bottom: 5px;
        margin-bottom: 5px;
        color: var(--color-text-light);
    }

    .megamenu-item-list a {
        padding: 8px 0 !important;
        font-size: 0.95rem !important;
    }

    .megamenu-item-list a::before {
        display: none;
    }

    .nav-item--has-children>.nav-link::after,
    .nav-item--has-megamenu>.nav-link::after {
        content: '';
    }

    .header-contact {
        display: none;
    }

    .header-cta .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 768px) {
    .logo a {
        width: 160px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo a {
        width: 140px;
        height: 35px;
    }

    .header-cta {
        display: none;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 380px;
    }
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: var(--color-primary);
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.9);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--color-primary);
}

/* Reuse Hero Typography */
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
    line-height: 1.6;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-white);
    font-weight: 500;
    background: rgba(74, 144, 164, 0.9);
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 10px 24px;
    }
}

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

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

/* Sections */
.section {
    padding: 70px 0;
    /* Increased from 60px/80px for more premium feel */
    position: relative;
}

/* Keep stats section aligned with white philosophy background */
.stats-section {
    background-color: #ffffff;
}

/* Alternating background for sections */
.section-alt {
    background-color: #ffffff;
    /* Very light gray for visual rhythm */
}

/* Decorative Background for Philosophy */
/* Premium Philosophy Section (New Design) */
.philosophy-premium {
    background-color: #ffffff;
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}


.philosophy-premium .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.philosophy-titles {
    display: flex;
    flex-direction: column;
    position: relative;
}

.philosophy-en-title {
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 400;
    color: #575656;
    margin-bottom: 20px;
}

.philosophy-en-title span {
    display: block;
}

.philosophy-jp-label {
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #333;
    position: relative;
    z-index: 1;
}



@media (max-width: 480px) {
    .philosophy-premium {
        padding: 110px 0 70px;
    }
}

/* Services Section Header */
.services-header {
    margin-bottom: 60px;
}

.services-en-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #575656;
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-main);
}

.services-jp-label {
    font-size: 3.2rem;
    letter-spacing: 0.1em;
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .services-en-title {
        font-size: 1.6rem;
    }

    .services-jp-label {
        font-size: 2.4rem;
    }
}

.philosophy-intro-text {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #444;
    font-weight: 400;
    text-align: left;
}

.philosophy-slogan {
    display: inline;
    padding: 0 8px 0 0;
    /* 移除左侧 padding，只保留右侧 */
    margin-left: -4px;
    /* 微调左对齐 */
    background-image: none;
    border-radius: 20% 80% 20% 80%;
    transform: rotate(-0.5deg);
}

@media (max-width: 968px) {
    .philosophy-premium .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .philosophy-en-title {
        font-size: 1.6rem;
    }

    .philosophy-jp-label {
        font-size: 2.6rem;
    }

    .philosophy-bg-text {
        font-size: 25vw;
    }
}

@media (max-width: 480px) {
    .philosophy-premium {
        padding: 80px 0;
    }

    .philosophy-en-title {
        font-size: 1.4rem;
    }

    .philosophy-jp-label {
        font-size: 2.1rem;
    }

    .philosophy-intro-text {
        font-size: 1.1rem;
        line-height: 2;
    }
}

@media (max-width: 768px) {
    .philosophy {
        padding: var(--spacing-xl) 0;
    }

    .philosophy-content {
        padding: 0 var(--spacing-md) 0 var(--spacing-md);
    }

    .philosophy-main {
        font-size: 1.5rem;
    }

    .philosophy-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .philosophy-main {
        font-size: 1.3rem;
    }

    .philosophy-text {
        font-size: 0.95rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .card:hover,
    .business-card:hover,
    .facility-card:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }
}

.section-title {
    font-size: 28.5px;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    color: var(--color-primary);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    /* Double line effect */
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--color-secondary);
}

/* Footer */
/* ========================================
   Fullscreen Mega Menu Styles
   ======================================== */

/* Nav Arrow for menu items */
.nav-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.nav-item--has-fullscreen.active .nav-arrow {
    transform: rotate(-135deg);
}

/* Active state for nav items */
.nav-item--has-fullscreen.active>.nav-link {
    color: var(--color-primary);
}

.nav-item--has-fullscreen.active>.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-primary);
}

/* Fullscreen Menu Overlay */
.fullscreen-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #ffffff;
    z-index: 99;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
}

.fullscreen-menu-overlay.active {
    height: auto;
    max-height: 80vh;
    visibility: visible;
    pointer-events: auto;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

/* Menu Panel */
.fullscreen-menu-panel {
    display: none;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 50px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fullscreen-menu-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu-content {
    max-width: 1800px;
    width: 95%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Menu Header */
.fullscreen-menu-header {
    margin-bottom: 35px;
    padding-bottom: 0;
    border-bottom: none;
}

.fullscreen-menu-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.fullscreen-menu-title-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--color-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fullscreen-menu-title-link:hover {
    transform: scale(1.1);
    background-color: var(--color-secondary);
}

.title-arrow {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

/* Menu Grid */
.fullscreen-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

/* Menu Column */
.fullscreen-menu-column {
    display: flex;
    flex-direction: column;
    padding: 0 25px;
    border-right: 1px solid #e0e0e0;
}

.fullscreen-menu-column:first-child {
    padding-left: 0;
}

.fullscreen-menu-column:last-child {
    border-right: none;
    padding-right: 0;
}

/* Category Header - No Icon */
.fullscreen-menu-category {
    font-size: 1rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0056b3;
}

/* Menu Links */
.fullscreen-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fullscreen-menu-links li a {
    color: #4a4a4a;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.2s ease;
    position: relative;
}

.fullscreen-menu-links li a:hover {
    color: #0056b3;
}

.fullscreen-menu-links li a::before {
    content: '›';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    color: #0056b3;
    font-size: 1.2rem;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.fullscreen-menu-links li a:hover::before {
    opacity: 1;
}

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

    .fullscreen-menu-column {
        padding: 0 20px;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .fullscreen-menu-column:first-child,
    .fullscreen-menu-column:nth-child(2) {
        padding-left: 0;
    }

    .fullscreen-menu-column:nth-child(2),
    .fullscreen-menu-column:last-child {
        padding-right: 0;
    }

    .fullscreen-menu-column:nth-child(3),
    .fullscreen-menu-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .fullscreen-menu-overlay {
        display: none;
    }

    .nav-arrow {
        display: none;
    }
}

/* Header when fullscreen menu is open */
.header.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: none;
    z-index: 101;
}

.header.menu-open .nav-item--has-fullscreen.active>.nav-link {
    color: var(--color-primary);
}

/* ======================================== */

.footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: auto;
}

.footer .container {
    max-width: var(--container-width);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.footer-column {
    color: rgba(255, 255, 255, 0.9);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-lg);
}

.footer-contact-info {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact-info p {
    margin-bottom: var(--spacing-sm);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.85rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--color-white);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-column:first-child {
        grid-column: 1;
    }

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

    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-legal .separator {
        display: none;
    }
}
