/* ===== CSS Variables ===== */
:root {
    --green-dark: #2D5016;
    --green-primary: #4A7C23;
    --green-light: #7CB342;
    --green-pale: #E8F5E9;
    --green-accent: #A5D6A7;
    --teal: #00897B;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --font-display: "Noto Serif TC", "Noto Sans TC", serif;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --transition: all 0.25s ease;
    --transition-slow: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--gray-700);
    line-height: 1.75;
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--green-pale);
}

.section-gray {
    background: var(--gray-100);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--green-primary);
    margin-bottom: 10px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--green-primary);
}

.section-header.centered .section-label {
    justify-content: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-600);
    margin-top: 12px;
    max-width: 600px;
}

.section-header.centered .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease-out);
    border: none;
    font-family: inherit;
    line-height: 1.5;
}

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

.btn-primary {
    background: var(--green-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-outline {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
}

.btn-outline:hover {
    background: var(--green-primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--green-dark);
}

.btn-light:hover {
    background: var(--green-pale);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== Link Arrow ===== */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.link-arrow:hover {
    color: var(--green-dark);
}

.link-arrow svg {
    transition: transform 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .link-arrow:hover svg {
        transform: translateX(4px);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-slow);
    background: transparent;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition);
    z-index: 1001;
}

.navbar.scrolled .logo {
    color: var(--gray-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    background: var(--green-pale);
    color: var(--green-primary);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 15px;
    margin-left: 8px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle svg {
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--green-pale);
    color: var(--green-primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .mobile-toggle span {
    background: var(--gray-900);
}

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

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

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

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--gray-800);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 2.4s var(--ease-out);
}

.hero-bg img.loaded {
    opacity: 1;
    transform: scale(1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(14, 22, 10, 0.42) 0%, rgba(14, 22, 10, 0) 26%),
        linear-gradient(78deg, rgba(14, 22, 10, 0.66) 0%, rgba(14, 22, 10, 0.38) 40%, rgba(14, 22, 10, 0.04) 72%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 120px;
    padding-bottom: 48px;
}

.hero-kicker {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--green-accent);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.6vw, 54px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.32;
    margin-bottom: 22px;
    max-width: 15em;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
}

.hero-link:hover {
    color: var(--white);
}

/* Hero bottom strip — offices & hours */
.hero-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(14, 22, 10, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-strip-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: wrap;
}

.hero-strip-item {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.hero-strip-item:hover {
    color: var(--green-accent);
}

.hero-strip-city {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-strip-note {
    margin-left: auto;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

/* Hero entrance — one-shot on page load, top-down cascade */
@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-kicker,
.hero-title,
.hero-subtitle,
.hero-actions {
    animation: hero-rise 0.8s var(--ease-out) both;
}

.hero-title {
    animation-delay: 0.09s;
}

.hero-subtitle {
    animation-delay: 0.18s;
}

.hero-actions {
    animation-delay: 0.27s;
}

/* Bottom-anchored bar: fade only, no motion away from its edge */
.hero-strip {
    animation: hero-fade 0.9s ease 0.45s both;
}

/* ===== News (featured + side list) ===== */
.news-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: start;
}

.news-feature-image {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 16/9;
    margin-bottom: 24px;
}

.news-feature-image img,
.news-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.news-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.news-category {
    font-size: 13px;
    font-weight: 500;
    color: var(--green-primary);
}

.news-date {
    font-size: 13px;
    color: var(--gray-400);
    font-variant-numeric: tabular-nums;
}

.news-feature-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-feature-title a,
.news-side-title a {
    transition: color 0.2s ease;
}

.news-excerpt {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 560px;
}

.news-side {
    display: flex;
    flex-direction: column;
}

.news-side-item {
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
}

.news-side-item:first-child {
    padding-top: 0;
}

.news-side-item + .news-side-item {
    border-top: 1px solid var(--gray-200);
}

.news-side-thumb {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
}

.news-side-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
    .news-feature:hover .news-feature-image img,
    .news-side-item:hover .news-side-thumb img {
        transform: scale(1.03);
    }
    .news-feature-title a:hover,
    .news-side-title a:hover {
        color: var(--green-primary);
    }
}

/* ===== Services ===== */
.services-section {
    border-top: 1px solid var(--gray-200);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.services-text .section-desc {
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    margin-bottom: 36px;
}

.feature-list li {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 14px 0;
    font-size: 16px;
    color: var(--gray-700);
}

.feature-list li + li {
    border-top: 1px solid var(--gray-200);
}

.feature-num {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--green-primary);
    font-variant-numeric: tabular-nums;
}

.services-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Products ===== */
.products-section {
    border-top: 1px solid var(--gray-200);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        border-color: var(--green-light);
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    .product-card:hover .product-image img {
        transform: scale(1.02);
    }
    .product-card:hover .product-title {
        color: var(--green-primary);
    }
}

.product-body {
    padding: 26px 26px 24px;
}

.product-tag {
    display: block;
    color: var(--green-primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.product-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 18px;
}

.product-specs {
    margin-bottom: 20px;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-size: 13px;
    padding: 7px 0;
}

.product-specs li + li {
    border-top: 1px solid var(--gray-100);
}

.spec-name {
    color: var(--gray-500);
}

.spec-value {
    color: var(--gray-800);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* ===== Locations (dark pre-footer band) ===== */
.locations-band {
    background: linear-gradient(160deg, #22400F 0%, var(--green-dark) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 88px 0;
}

.locations-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.locations-intro .section-label {
    color: var(--green-accent);
}

.locations-intro .section-label::before {
    background: var(--green-accent);
}

.locations-intro .section-title {
    color: var(--white);
    margin-bottom: 14px;
}

.locations-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
    margin-bottom: 36px;
}

.locations-hours {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 28px;
}

.locations-hours h4 {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.locations-hours p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
}

.office-list {
    list-style: none;
}

.office {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "name  phone"
        "addr  phone";
    align-items: center;
    column-gap: 24px;
    padding: 26px 0;
}

.office:first-child {
    padding-top: 6px;
}

.office + .office {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.office-name {
    grid-area: name;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.office-address {
    grid-area: addr;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.office-phone {
    grid-area: phone;
    font-size: 18px;
    font-weight: 600;
    color: var(--green-accent);
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.office-phone:hover {
    color: var(--white);
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--green-primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--green-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--gray-500);
    transition: var(--transition);
}

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

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--green-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* ===== Page Hero (for inner pages) ===== */
.page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #22400F 0%, var(--green-dark) 100%);
    padding: 120px 24px 60px;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.breadcrumb-separator {
    opacity: 0.5;
}

/* ===== Content Pages ===== */
.content-page {
    padding: 64px 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-pale);
}

.content-container h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 28px 0 12px;
}

.content-container p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.content-container ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-container ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.content-container ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-container ol li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.content-container strong {
    color: var(--gray-800);
}

/* ===== About Page ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse > * {
    direction: ltr;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.value-card:hover {
    border-color: var(--green-light);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--green-primary);
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Contact Page ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.info-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h4 svg {
    color: var(--green-primary);
}

.info-card p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.info-card a:not(.btn) {
    color: var(--green-primary);
    font-weight: 500;
}

.info-card a:not(.btn):hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 64px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    background: var(--gray-100);
}

.map-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ */
.faq-section {
    margin-top: 64px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-800);
    font-family: inherit;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--green-pale);
}

.faq-question svg {
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== Blog ===== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.blog-grid {
    display: grid;
    gap: 32px;
}

.blog-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.blog-card:hover {
    border-color: var(--green-light);
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.blog-card-body {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-category {
    background: var(--green-pale);
    color: var(--green-primary);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}

.blog-date {
    font-size: 13px;
    color: var(--gray-400);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.blog-sidebar {
    position: sticky;
    top: 96px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-pale);
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    font-size: 14px;
    color: var(--gray-600);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.sidebar-widget ul li a:hover {
    color: var(--green-primary);
}

.sidebar-widget ul li a .count {
    color: var(--gray-400);
    font-size: 13px;
}

/* GSAP initial states */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.gsap-fade-left {
    opacity: 0;
    transform: translateX(-60px);
}

.gsap-fade-right {
    opacity: 0;
    transform: translateX(60px);
}

.gsap-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .hero-kicker,
    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .hero-strip {
        animation: none;
    }
    .hero-bg img {
        transform: none;
    }
    .gsap-fade-up,
    .gsap-fade-left,
    .gsap-fade-right,
    .gsap-scale {
        opacity: 1;
        transform: none;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
    .news-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .locations-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .contact-info {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 28px;
    }
    .hero-bg::after {
        background:
            linear-gradient(to bottom, rgba(14, 22, 10, 0.5) 0%, rgba(14, 22, 10, 0.32) 40%, rgba(14, 22, 10, 0.55) 100%);
    }
    .hero-inner {
        padding-top: 112px;
        padding-bottom: 48px;
    }
    .hero-strip-inner {
        gap: 12px 24px;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .hero-strip-note {
        display: none;
    }
    .news-feature-title {
        font-size: 22px;
    }
    .news-side-item {
        grid-template-columns: 120px 1fr;
        gap: 16px;
        padding: 18px 0;
    }
    .locations-band {
        padding: 64px 0;
    }
    .office {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "addr"
            "phone";
        row-gap: 4px;
        padding: 20px 0;
    }
    .office-phone {
        margin-top: 6px;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 96px 32px 32px;
        gap: 4px;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-xl);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-link {
        color: var(--gray-700);
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }
    .nav-link:hover,
    .nav-link.active {
        background: none;
        color: var(--green-primary);
    }
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }
    .nav-dropdown {
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 16px;
    }
    .products-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    .services-layout,
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-grid.reverse {
        direction: ltr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .blog-card {
        grid-template-columns: 1fr;
    }
    .blog-card-image {
        aspect-ratio: 16/9;
    }
    .blog-card-body {
        padding: 24px;
    }
    .page-hero-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .section-title {
        font-size: 24px;
    }
    .news-side-item {
        grid-template-columns: 96px 1fr;
    }
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
