/* ================================================================
   SPECIALTY COFFEE ROASTING WEBSITE
   Color Palette: Espresso brown, warm amber, creamy off-white
   Typography: Playfair Display (serif) + Inter (sans-serif)
   ================================================================ */

:root {
    --primary: #3E2723;
    --primary-dark: #1B0F0E;
    --primary-light: #5D4037;
    --secondary: #2C1810;
    --accent: #D4920B;
    --accent-dark: #B37A09;
    --accent-light: #F5DEB3;
    --text: #3E2723;
    --text-light: #6D4C41;
    --text-muted: #8D6E63;
    --cream: #FAF6F0;
    --cream-dark: #F0E8DB;
    --warm-white: #FFFCF5;
    --espresso: #1B0F0E;
    --bg: #FFFCF5;
    --bg-alt: #FAF6F0;
    --border: #D7CCC8;
    --border-light: #EFEBE9;
    --shadow: rgba(62, 39, 35, 0.08);
    --shadow-md: rgba(62, 39, 35, 0.12);
    --shadow-lg: rgba(62, 39, 35, 0.18);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ================================================================
   BASE & RESET
   ================================================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 600;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

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

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

::selection {
    background: var(--accent);
    color: #fff;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(27, 15, 14, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff !important;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.brand-logo {
    color: var(--accent);
}

.brand-text {
    letter-spacing: 0.5px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

.nav-cta {
    font-size: 0.875rem !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius) !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-cta::after {
    display: none !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.6rem;
    min-width: 44px;
    min-height: 44px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: var(--radius);
    padding: 0.65rem 1.5rem;
    transition: var(--transition);
    letter-spacing: 0.3px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-accent {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 146, 11, 0.3);
}

.btn-accent:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

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

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-text-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
    border: none;
    background: none;
    min-height: 44px;
}

.btn-text-link:hover {
    color: var(--accent-dark);
    gap: 0.6rem;
}

.btn-text-link:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 15, 14, 0.85) 0%, rgba(27, 15, 14, 0.5) 50%, rgba(27, 15, 14, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 4rem;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(250, 246, 240, 0.8);
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0.5rem auto 0;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Page Hero (shorter, for subpages) */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 3rem;
    text-align: center;
}

.page-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-hero .hero-subtitle {
    max-width: 650px;
    margin: 0 auto;
}

/* Blend Hero & Contact Hero (no image) */
.blend-hero,
.contact-hero {
    background: var(--espresso);
    padding: 8rem 0 3rem;
}

.blend-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 1rem;
}

.blend-hero-sub {
    color: rgba(250, 246, 240, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero .hero-tagline {
    color: var(--accent);
}

.contact-hero .section-title {
    color: var(--cream);
}

.contact-hero .section-subtitle {
    color: rgba(250, 246, 240, 0.7);
}

/* Legal Hero */
.legal-hero {
    background: var(--espresso);
    padding: 8rem 0 2.5rem;
    text-align: center;
}

.legal-title {
    font-family: var(--font-serif);
    color: var(--cream);
    font-size: 2.5rem;
}

.legal-updated {
    color: rgba(250, 246, 240, 0.6);
    font-size: 0.9rem;
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section-padded {
    padding: 5rem 0;
}

.bg-cream {
    background-color: var(--cream);
}

.bg-warm-white {
    background-color: var(--warm-white);
}

.bg-dark-coffee {
    background-color: var(--secondary);
}

.bg-espresso {
    background-color: var(--espresso);
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-label.light {
    color: var(--accent);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 1rem;
}

.section-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.text-cream {
    color: var(--cream) !important;
}

.text-cream-muted {
    color: rgba(250, 246, 240, 0.75) !important;
}

/* ================================================================
   IMAGE CARDS
   ================================================================ */
.image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-md);
}

.image-card img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

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

.portrait-card {
    max-width: 420px;
}

/* ================================================================
   ORIGIN CARDS (Home page)
   ================================================================ */
.origin-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-light);
}

.origin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-md);
}

.origin-region {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.origin-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.origin-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.origin-altitude {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ================================================================
   BEAN CARDS (Beans page)
   ================================================================ */
.beans-section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.beans-section-desc {
    color: var(--text-light);
    margin-top: 0.75rem;
}

.beans-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--cream);
}

.filter-btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.bean-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-light);
    position: relative;
}

.bean-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-md);
}

.bean-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: var(--cream-dark);
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.bean-badge.accent {
    background: rgba(212, 146, 11, 0.15);
    color: var(--accent-dark);
}

.bean-badge.seasonal {
    background: rgba(76, 175, 80, 0.15);
    color: #2E7D32;
}

.bean-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.bean-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.bean-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.blend-composition {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: var(--cream);
    border-radius: var(--radius);
}

.flavor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.flavor-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    background: rgba(212, 146, 11, 0.1);
    color: var(--accent-dark);
    border: 1px solid rgba(212, 146, 11, 0.2);
}

.bean-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.bean-score {
    color: var(--accent);
}

/* Availability Bar (seasonal) */
.bean-availability {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.availability-bar {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin-bottom: 0.4rem;
    overflow: hidden;
}

.availability-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 1s ease;
}

/* ================================================================
   PHILOSOPHY STATS
   ================================================================ */
.philosophy-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(250, 246, 240, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

/* ================================================================
   WHOLESALE BANNER
   ================================================================ */
.wholesale-banner {
    position: relative;
    overflow: hidden;
}

.wholesale-bg {
    position: absolute;
    inset: 0;
}

.wholesale-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wholesale-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 15, 14, 0.8);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.15rem;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================================
   FACILITY & SUPPORT CARDS
   ================================================================ */
.facility-card,
.support-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
}

.facility-card:hover,
.support-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.facility-icon,
.support-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.facility-card h3,
.support-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.facility-card p,
.support-card p {
    font-size: 0.9rem;
    color: rgba(250, 246, 240, 0.65);
    line-height: 1.65;
}

/* Override for support cards (light bg) */
.bg-cream .support-card {
    background: #fff;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px var(--shadow);
}

.bg-cream .support-card h3 {
    color: var(--primary);
}

.bg-cream .support-card p {
    color: var(--text-light);
}

/* ================================================================
   TRADE STATS
   ================================================================ */
.trade-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.trade-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trade-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}

.trade-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ================================================================
   VALUE CARDS
   ================================================================ */
.value-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-md);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ================================================================
   PARTNER CARDS
   ================================================================ */
.partner-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 4px 20px var(--shadow);
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--shadow-md);
}

.partner-type {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.partner-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.partner-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.partner-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.partner-since {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    width: 100%;
}

/* ================================================================
   PRICING CARDS
   ================================================================ */
.pricing-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 4px 20px var(--shadow);
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-md);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 8px 40px rgba(212, 146, 11, 0.15);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-tier {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pricing-volume {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.pricing-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.pricing-features i {
    color: var(--accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ================================================================
   BREW CARDS
   ================================================================ */
.brew-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 4px 20px var(--shadow);
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.brew-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--shadow-md);
}

.brew-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.brew-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.brew-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--text-light);
}

.brew-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.brew-recommended {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ================================================================
   RECIPE CARDS
   ================================================================ */
.recipe-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 4px 20px var(--shadow);
    height: 100%;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-md);
}

.recipe-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.recipe-meta {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.recipe-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    background: rgba(212, 146, 11, 0.1);
    color: var(--accent-dark);
}

.recipe-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

.recipe-ingredients {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ================================================================
   CUPPING NOTES
   ================================================================ */
.cupping-notes {
    margin-top: 1.5rem;
}

.cupping-entry {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.cupping-entry h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cupping-scores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cupping-scores span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: rgba(212, 146, 11, 0.1);
    border-radius: 4px;
    color: var(--accent-dark);
}

.cupping-entry p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-form-card h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-info-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.contact-details strong {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.success-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px var(--shadow);
}

.success-icon {
    font-size: 3.5rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-family: var(--font-serif);
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Form Overrides */
.form-control,
.form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 146, 11, 0.15);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

/* ================================================================
   LEGAL CONTENT
   ================================================================ */
.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}

.legal-content ul {
    padding-left: 1.25rem;
}

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 0.2rem 0;
}

/* ================================================================
   BLEND BUILDER
   ================================================================ */
.blend-builder-section {
    min-height: 60vh;
}

.builder-step {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-light);
}

.step-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-header h2 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin: 0;
    flex: 1;
}

.step-header p {
    width: 100%;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Origin Select Cards */
.origin-select-card {
    background: var(--cream);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origin-select-card:hover {
    border-color: var(--accent);
    background: rgba(212, 146, 11, 0.05);
}

.origin-select-card.selected {
    border-color: var(--accent);
    background: rgba(212, 146, 11, 0.1);
    box-shadow: 0 0 0 3px rgba(212, 146, 11, 0.2);
}

.origin-select-card:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.origin-select-card .origin-flag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.origin-select-card h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    margin: 0.25rem 0;
}

.origin-select-card .origin-flavor {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Bean Sliders */
.selected-beans h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.bean-slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.bean-slider-row:last-of-type {
    border-bottom: none;
}

.bean-slider-name {
    min-width: 120px;
    font-weight: 600;
    font-size: 0.9rem;
}

.bean-slider-range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
}

.bean-slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.bean-slider-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}

.bean-slider-value {
    min-width: 50px;
    text-align: right;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent);
}

.bean-slider-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.1rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.bean-slider-remove:hover {
    color: #c62828;
}

.blend-total {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.blend-total-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Roast Slider */
.roast-slider-container {
    padding: 1rem 0;
}

.roast-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #F5DEB3, #D4920B, #8D6E63, #5D4037, #1B0F0E);
    outline: none;
}

.roast-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.roast-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    cursor: pointer;
}

.roast-slider:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.roast-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roast-description {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Flavor Note Tags */
.flavor-note-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flavor-note-tag {
    background: var(--cream);
    border: 2px solid var(--border);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.flavor-note-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.flavor-note-tag.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.flavor-note-tag:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Blend Preview Panel */
.blend-preview-panel {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 4px 30px var(--shadow-md);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 100px;
}

.blend-preview-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

/* Radar Chart */
.radar-chart-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.radar-chart-container canvas {
    max-width: 280px;
    max-height: 280px;
}

/* Blend Summary */
.blend-summary {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span:first-child {
    color: var(--text-muted);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--primary);
    text-align: right;
    max-width: 60%;
}

.summary-row.highlight {
    background: rgba(212, 146, 11, 0.08);
    margin: 0 -1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border-bottom: none;
}

.summary-row.highlight span:last-child {
    color: var(--accent);
    font-size: 1.1rem;
}

.blend-name-input label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    display: block;
}

.blend-actions .btn {
    font-size: 0.95rem;
}

/* Saved Recipes */
.saved-recipe-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border-light);
}

.saved-recipe-card h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.saved-recipe-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--espresso);
    color: rgba(250, 246, 240, 0.7);
    padding: 4rem 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cream);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand:hover {
    color: var(--accent);
}

.footer-brand .brand-logo {
    color: var(--accent);
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(250, 246, 240, 0.7);
    font-size: 1rem;
    transition: var(--transition);
    min-width: 44px;
    min-height: 44px;
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cream);
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(250, 246, 240, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.25rem 0;
    display: inline-block;
    min-height: 44px;
    line-height: 2.5;
}

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

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

.footer-contact li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(250, 246, 240, 0.65);
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(250, 246, 240, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(250, 246, 240, 0.5);
}

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

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--espresso);
    z-index: 1060;
    padding: 1rem 0;
    box-shadow: 0 -4px 20px var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(250, 246, 240, 0.8);
    flex: 1;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(212, 146, 11, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1040;
}

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

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

/* ================================================================
   STEAM HOVER ANIMATION
   ================================================================ */
.steam-hover {
    position: relative;
    overflow: hidden;
}

.steam-hover::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(212, 146, 11, 0.03) 0%, transparent 100%);
    transition: bottom 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.steam-hover:hover::before {
    bottom: 0;
}

.steam-hover > * {
    position: relative;
    z-index: 1;
}

/* ================================================================
   FADE IN ANIMATION
   ================================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   MODAL OVERRIDES
   ================================================================ */
.modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: 0 8px 40px var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-family: var(--font-serif);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
}

/* Toast overrides */
.toast {
    border-radius: var(--radius-lg);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(27, 15, 14, 0.97);
        border-radius: var(--radius-lg);
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .navbar .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .nav-cta {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .blend-preview-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 80vh;
    }

    .page-hero {
        min-height: 40vh;
    }

    .section-padded {
        padding: 3rem 0;
    }

    .hero-content {
        padding: 7rem 0 3rem;
    }

    .page-hero-content {
        padding: 7rem 0 2rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .philosophy-stats {
        gap: 1.5rem;
    }

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

    .builder-step {
        padding: 1.25rem;
    }

    .blend-preview-panel {
        padding: 1.5rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .roast-labels {
        font-size: 0.6rem;
    }

    .bean-slider-name {
        min-width: 80px;
        font-size: 0.8rem;
    }

    .origin-select-card h4 {
        font-size: 0.8rem;
    }

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

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

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

    .hero-actions {
        flex-direction: column;
    }

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