/* ============================================
   CUSE NUTRITION CLUB — STYLESHEET
   ============================================ */

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A04E2E;
    --terracotta-light: #D4845E;
    --sand: #FDF6EE;
    --sand-dark: #F5E6D3;
    --sand-mid: #E8C4A0;
    --warm-white: #FFFDF9;
    --brown-dark: #3D2B1F;
    --brown-mid: #6B4C3B;
    --brown-light: #8B6F5E;
    --green: #3D7C5C;
    --green-light: #5A9E7A;
    --gold: #F5C77E;
    --gold-dark: #D4A03C;
    --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.06);
    --shadow-md: 0 4px 20px rgba(61, 43, 31, 0.08);
    --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.12);
    --shadow-xl: 0 16px 60px rgba(61, 43, 31, 0.14);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--brown-dark);
    background-color: var(--sand);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terracotta);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 16px;
}

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

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(192, 96, 58, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag--light {
    color: var(--gold);
    background: rgba(245, 199, 126, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--brown-dark);
    margin-bottom: 20px;
}

.section-title--light {
    color: var(--sand);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--brown-mid);
    line-height: 1.7;
}

.section-subtitle--light {
    color: rgba(253, 246, 238, 0.75);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(253, 246, 238, 0.6);
}

.btn-outline-light:hover {
    background: white;
    color: var(--terracotta);
    border-color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 238, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.08);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brown-dark);
}

.logo-text {
    letter-spacing: -0.01em;
}

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

.nav-list a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown-mid);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-list a:hover {
    color: var(--terracotta);
    background: rgba(192, 96, 58, 0.06);
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #C0603A 0%, #D4845E 35%, #E8A070 60%, #F5C77E 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(61, 43, 31, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245, 199, 126, 0.3) 0%, transparent 60%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 246, 238, 0.2);
    border: 1px solid rgba(253, 246, 238, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-highlight {
    position: relative;
    display: inline;
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(253, 246, 238, 0.88);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(253, 246, 238, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(253, 246, 238, 0.25);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* PRODUCTS */
.products-section {
    background: var(--sand);
}

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

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-card-img {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 43, 31, 0.15) 0%, transparent 50%);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--terracotta);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    z-index: 2;
}

.product-badge.new {
    background: var(--green);
}

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

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.product-card-desc {
    font-size: 0.9rem;
    color: var(--brown-mid);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.product-card-link:hover {
    gap: 8px;
}

/* ABOUT */
.about-section {
    background: var(--sand-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--sand-dark);
}

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

.about-img-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    border-radius: var(--radius-md);
    opacity: 0.15;
    z-index: -1;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--brown-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    box-shadow: var(--shadow-sm);
}

.value-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--brown-dark);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.875rem;
    color: var(--brown-mid);
    line-height: 1.5;
}

/* WHY US */
.why-section {
    background: linear-gradient(160deg, #3D2B1F 0%, #5A3D2E 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(192, 96, 58, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 100% 0%, rgba(245, 199, 126, 0.1) 0%, transparent 60%);
}

.why-section .container {
    position: relative;
    z-index: 2;
}

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

.feature-card {
    background: rgba(253, 246, 238, 0.06);
    border: 1px solid rgba(253, 246, 238, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.feature-card:hover {
    background: rgba(253, 246, 238, 0.1);
    border-color: rgba(253, 246, 238, 0.2);
    transform: translateY(-4px);
}

.feature-card-icon {
    margin-bottom: 20px;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sand);
    margin-bottom: 10px;
}

.feature-card-desc {
    font-size: 0.9rem;
    color: rgba(253, 246, 238, 0.65);
    line-height: 1.7;
}

/* VISIT */
.visit-section {
    background: var(--sand);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info .section-tag {
    margin-bottom: 16px;
}

.visit-info .section-title {
    margin-bottom: 20px;
}

.visit-text {
    font-size: 1.05rem;
    color: var(--brown-mid);
    line-height: 1.8;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.visit-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--brown-dark);
    margin-bottom: 2px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.9rem;
    color: var(--brown-mid);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--terracotta);
}

.visit-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 13/10;
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-map-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.visit-map-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brown-dark);
}

/* CONTACT */
.contact-section {
    background: var(--sand-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-content .section-tag {
    margin-bottom: 16px;
}

.contact-content .section-title {
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--brown-mid);
    line-height: 1.8;
}

.contact-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--brown-dark);
    background: var(--sand);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: white;
    box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--brown-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(61, 124, 92, 0.08);
    border: 1px solid rgba(61, 124, 92, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--green);
}

/* FOOTER */
.site-footer {
    background: var(--brown-dark);
    color: rgba(253, 246, 238, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(253, 246, 238, 0.1);
}

.footer-brand .logo {
    color: var(--sand);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--sand);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(253, 246, 238, 0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact a {
    font-size: 0.9rem;
    color: var(--gold);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--sand);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(253, 246, 238, 0.4);
}

.footer-bottom p {
    margin: 0;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sand);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 100;
    }

    .nav-list.open {
        right: 0;
    }

    .nav-list a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-list .btn {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(61, 43, 31, 0.4);
        z-index: 99;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        min-height: 100svh;
        padding: 100px 20px 80px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

    .about-grid,
    .visit-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero {
        padding: 80px 16px 60px;
    }

    .product-card-img {
        height: 180px;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
