@font-face {
    font-family: 'Titan';
    src: url('../font/titan1.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Nunito Sans', sans-serif;
    overflow-x: hidden;
}

/* ========== 导航栏 ========== */
.navbar {
    background: linear-gradient(to bottom,
        var(--navbar-bg-top) 0%,
        var(--navbar-bg-top) 50%,
        var(--navbar-bg-bottom) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    position: fixed;
    background: var(--navbar-bg-top);
    box-shadow: 0 2px 10px var(--navbar-shadow);
}

.navbar.scrolled .navbar-brand img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar.scrolled .navbar-inner {
    padding: 0.5rem 2rem;
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand img {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.navbar-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nav-link-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggle.active .navbar-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .navbar-toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .navbar-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--nav-link-color);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.75rem 1rem;
    display: block;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.85;
}

.nav-item.has-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--nav-link-color);
    margin-left: 6px;
    vertical-align: middle;
}

/* ========== 下拉菜单 ========== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border-color);
    border-radius: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.15s, visibility 0.3s ease 0.15s, transform 0.3s ease 0.15s;
    z-index: 2000;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--dropdown-link-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: background 0.2s;
    border-bottom: 1px solid var(--dropdown-border-color);
}

.dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu li a:hover {
    background: var(--dropdown-link-hover-bg);
}

.navbar-search {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.mobile-search {
    display: none;
}

.navbar-search svg {
    color: var(--search-icon-color);
    width: 20px;
    height: 20px;
}

.navbar-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: var(--search-icon-color);
}

.navbar-search-form {
    position: absolute;
    right: 0;
    top: 100%;
    display: flex;
    align-items: center;
    background: var(--navbar-bg-top);
    border-radius: 0 0 8px 8px;
    padding: 0;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, padding 0.3s ease;
}

.navbar-search-form.open {
    max-width: 320px;
    padding: 8px 12px;
}

.navbar-search-form input {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
    color: white;
    font-size: 14px;
    outline: none;
    font-family: 'Nunito Sans', sans-serif;
    width: 200px;
}

.navbar-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-search-form button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    margin-left: 4px;
    font-size: 14px;
}

/* ========== Hero 滑块 ========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 750px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay-bg);
}

.hero-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--hero-text-color);
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-family: 'Titan', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--hero-btn-bg);
    color: var(--hero-btn-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: background 0.3s;
}

.hero-btn:hover {
    background: var(--hero-btn-hover-bg);
}

/* Hero 底部凹形曲线 */
.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 15;
    line-height: 0;
}

.hero-curve svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-curve img {
    width: 100%;
    height: 80px;
    display: block;
}

/* 滑块控制点 */
.hero-dots {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--hero-dot-inactive);
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

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

/* 滑块箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: var(--hero-arrow-bg);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.hero-arrow:hover {
    background: var(--hero-overlay-dark);
}

.hero-arrow-prev {
    left: 2rem;
}

.hero-arrow-next {
    right: 2rem;
}

/* ========== Our Brands 区域 ========== */
.brands-section {
    background: var(--brands-bg);
    padding: 4rem 0 3rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brands-title {
    font-family: 'Titan', sans-serif;
    font-size: 2.8rem;
    color: var(--brands-title-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

.brands-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.brands-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.brands-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.brands-card {
    flex: 0 0 calc(25% - 1.125rem);
    background: transparent;
    overflow: hidden;
    position: relative;
    height: 280px;
    border-radius: 8px;
}

.brands-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.brands-card:hover img {
    transform: scale(1.05);
}

.brands-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brands-card-overlay-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.brands-card:hover .brands-card-overlay {
    opacity: 1;
}

.brands-card-overlay h5 {
    color: white;
    font-family: 'Titan', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-align: center;
}

.brands-card-overlay .visit-site {
    color: var(--green-primary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 2rem;
    border: 2px solid white;
    border-radius: 30px;
    background: white;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    margin-top: 6rem;
}

.brands-card-overlay .visit-site:hover {
    background: white;
    color: var(--green-primary);
}

.brands-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s;
}

.brands-arrow:hover {
    background: var(--green-primary);
    color: white;
}

.brands-arrow-prev {
    left: 1rem;
}

.brands-arrow-next {
    right: 1rem;
}

.brands-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.brands-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 105, 55, 0.3);
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

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

/* ========== Milk Supply 区域 ========== */
.milk-section {
    background: var(--milk-bg);
    padding: 3rem 0;
}

.milk-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.milk-header h2 {
    font-family: 'Titan', sans-serif;
    font-size: 2.5rem;
    color: var(--milk-title-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

.milk-header p {
    font-size: 1.05rem;
    color: var(--milk-text-color);
    line-height: 1.7;
}

.milk-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.milk-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--milk-card-shadow);
    border: 1px solid var(--milk-divider-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.milk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--milk-card-hover-shadow);
}

.milk-card:nth-child(even) .milk-card-image {
    order: 2;
}

.milk-card:nth-child(even) .milk-card-content {
    order: 1;
}

.milk-card-image {
    overflow: hidden;
    height: 350px;
}

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

.milk-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    border-bottom: none;
}

.milk-card-content h3 {
    font-family: 'Titan', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--green-primary);
    margin-bottom: 1rem;
}

.milk-card-content p {
    font-size: 0.95rem;
    color: var(--milk-text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.milk-card-btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: var(--milk-btn-bg);
    color: var(--milk-btn-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: background 0.3s;
    align-self: flex-start;
}

.milk-card-btn:hover {
    background: var(--milk-btn-hover-bg);
}

/* ========== 特色卡片区域 ========== */
.features-section {
    background: var(--milk-bg);
    padding: 3rem 0;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h2 {
    font-family: 'Titan', sans-serif;
    font-size: 2.5rem;
    color: var(--green-primary);
    font-weight: 400;
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.05rem;
    color: var(--features-card-text-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--features-card-bg);
    border: 1px solid var(--features-card-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--features-card-hover-shadow);
}

.feature-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.feature-card:hover .feature-card-image img {
    transform: scale(1.1);
}

.feature-card-body {
    padding: 1.5rem;
}

.feature-card-body h3 {
    font-family: 'Titan', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--green-primary);
    margin-bottom: 0.75rem;
}

.feature-card-body .read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: var(--green-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
}

.feature-card-body .read-more:hover {
    background: var(--green-dark);
}

.feature-card-body p {
    font-size: 0.9rem;
    color: var(--features-card-text);
    line-height: 1.6;
}

/* ========== 页尾曲线 ========== */
.footer-curve {
    line-height: 0;
    margin-bottom: -1px;
    background: var(--milk-bg);
}

.footer-curve img {
    width: 100%;
    height: 80px;
    display: block;
}

.footer-curve svg {
    width: 100%;
    height: 75px;
    display: block;
}

/* ========== 页尾 ========== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text-color);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
}

.footer-logo-col {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-fin {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    padding-left: 30px;
}

.footer-fin a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--footer-social-bg);
    color: var(--footer-social-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3rem;
    transition: background 0.3s, color 0.3s;
}

.footer-fin a:hover {
    background: var(--footer-social-bg);
    border: 2px solid black;
}

.footer-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.footer-map img {
    width: 117%;
    height: 117%;
    object-fit: contain;
    opacity: 0.15;
    filter: brightness(0) saturate(100%) invert(26%) sepia(74%) saturate(1262%) hue-rotate(127deg) brightness(38%) contrast(97%);
}

.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: var(--footer-heading-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--footer-link-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--footer-link-hover-color);
}

.footer-bottom {
    background: var(--footer-bottom-bg);
    margin-top: 3rem;
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--footer-link-color);
}

.footer-bottom-inner a {
    color: var(--footer-link-color);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.footer-bottom-inner a:hover {
    color: var(--footer-link-hover-color);
}

/* ========== 回到顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: white;
    color: black;
    border: 2px solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: black;
    color: white;
}

/* ========== 响应式 ========== */
body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

@media (max-width: 1024px) {
    .navbar-nav {
        gap: 0;
    }
    .nav-link {
        font-size: 13px;
        padding: 0.75rem 0.6rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .brands-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-logo-col {
        flex: 0 0 auto;
    }
    .footer-links {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
    }

    .navbar-inner {
        flex-wrap: nowrap;
        padding: 0.75rem 1rem;
    }

    .navbar-brand img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

    .navbar-toggle {
        display: flex;
        order: 3;
    }

    .navbar-search {
        display: none;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--navbar-bg-top);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding-top: 70px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        order: 10;
        overflow: hidden;
        flex: none;
    }

    .navbar-menu.open {
        transform: translateX(0);
    }

    .navbar-menu .navbar-nav {
        flex: 1;
        overflow-y: auto;
    }

    .navbar-menu .mobile-search {
        display: flex;
        align-items: center;
        padding: 0.75rem 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-shrink: 0;
    }

    .navbar-menu .mobile-search input {
        flex: 1;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        padding: 0.5rem 0.75rem;
        color: white;
        font-size: 14px;
        outline: none;
        font-family: 'Nunito Sans', sans-serif;
    }

    .navbar-menu .mobile-search input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .navbar-menu .mobile-search button {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: 0.5rem;
        font-size: 16px;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        font-size: 15px;
        padding: 0.85rem 1.25rem;
        display: block;
        width: 100%;
    }

    .nav-item.has-dropdown > .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 0;
        border: none;
        min-width: auto;
        display: none;
        padding: 0;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 0.65rem 1.25rem 0.65rem 2rem;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 4rem;
    }

    .hero-curve svg {
        height: 80px;
    }

    .brands-card {
        flex: 0 0 100%;
    }

    .milk-card {
        grid-template-columns: 1fr;
    }

    .milk-card:nth-child(even) .milk-card-image {
        order: 0;
    }

    .milk-card:nth-child(even) .milk-card-content {
        order: 0;
    }

    .milk-card-image {
        height: 220px;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-logo-col {
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--footer-border-color);
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .footer-logo img {
        max-width: 140px;
    }

    .footer-fin {
        justify-content: flex-end;
        padding-left: 0;
    }

    .footer-links {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2rem;
    }

    .footer-col {
        text-align: left;
    }

    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .footer-col ul li {
        margin-bottom: 0.3rem;
    }

    .footer-col ul li a {
        font-size: 0.85rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-bottom-inner a {
        margin-left: 0.75rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

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

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .hero-btn {
        padding: 0.7rem 2rem;
        font-size: 0.85rem;
    }

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

    .section-container {
        padding: 0 1rem;
    }

    .milk-card-content {
        padding: 1.5rem;
    }

    .feature-card-image {
        height: 180px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}