/* ============================================================
   bennyquist.com — Design System
   Warm earth tones, deep teal accent, Inter typography
   ============================================================ */

/* === CSS Custom Properties === */
:root {
    /* Primary Palette: Warm Earth Tones */
    --color-espresso: #3C2415;
    --color-walnut: #5C3D2E;
    --color-leather: #8B5E3C;
    --color-leather-hover: #73492D;
    --color-sand: #C4A882;
    --color-parchment: #F5F0E8;
    --color-cream: #FAF8F5;

    /* Text Colors */
    --text-primary: #2D2016;
    --text-body: #4A3728;
    --text-muted: #7A6B5D;
    --text-light: #9B8E82;
    --text-on-dark: #F5F0E8;
    --text-on-dark-muted: rgba(245, 240, 232, 0.7);

    /* Accent: Slate Blue */
    --accent: #2A5A5A;
    --accent-hover: #234D4D;
    --accent-dark: #1A3A3A;
    --accent-light: rgba(42, 90, 90, 0.1);
    --accent-glow: #4A8A8A;

    /* Warm Grays */
    --gray-100: #F7F5F2;
    --gray-200: #EDE9E3;
    --gray-300: #DDD6CC;
    --gray-400: #C4BAB0;
    --gray-500: #9B9189;

    /* Chat Colors */
    --chat-bg: #FAF8F5;
    --chat-user-bg: var(--accent-dark);
    --chat-user-text: #fff;
    --chat-assistant-bg: #FFFFFF;
    --chat-assistant-text: var(--text-body);
    --chat-assistant-border: var(--gray-200);
    --chat-input-border: var(--gray-300);
    --chat-input-focus: var(--accent);
    --chat-typing-dot: var(--color-sand);

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-soft: var(--color-cream);
    --bg-section: var(--color-parchment);
    --bg-dark: var(--color-espresso);
    --bg-dark-accent: var(--color-walnut);

    /* Borders */
    --border-color: var(--gray-200);
    --border-light: var(--gray-100);

    /* Shadows (warm-tinted) */
    --shadow-sm: 0 1px 2px rgba(60, 36, 21, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(60, 36, 21, 0.08), 0 2px 4px rgba(60, 36, 21, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(60, 36, 21, 0.1), 0 4px 6px rgba(60, 36, 21, 0.05);
    --shadow-hover: 0 8px 25px -5px rgba(60, 36, 21, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(42, 90, 90, 0.2), 0 0 80px rgba(42, 90, 90, 0.1);
    --shadow-glow-warm: 0 0 60px rgba(196, 168, 130, 0.2);

    /* Layout */
    --max-width: 1100px;
    --max-width-narrow: 760px;
    --nav-height: 64px;
    --chat-max-width: 720px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-body: 1.7;
    --line-height-heading: 1.15;
    --letter-spacing-tight: -0.025em;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    line-height: var(--line-height-body);
    color: var(--text-body);
    background-color: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

a:hover {
    color: var(--color-leather-hover);
}


/* === Typography === */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

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


/* === Layout === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.main-content {
    flex: 1;
    padding-top: var(--nav-height);
}

.section {
    padding: 5rem 0;
}

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

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3 {
    color: var(--text-on-dark);
}

.section-dark p {
    color: var(--text-on-dark-muted);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-leather), var(--accent));
    border-radius: 2px;
    margin: 0.75rem auto 0;
}


/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(26, 58, 58, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 138, 138, 0.15);
    z-index: 900;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-on-dark);
    text-decoration: none;
    letter-spacing: var(--letter-spacing-tight);
    white-space: nowrap;
}

.nav-logo:hover {
    color: var(--color-sand);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
    border-radius: 6px;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-on-dark);
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: var(--text-on-dark);
    background-color: rgba(255, 255, 255, 0.12);
}

.nav-concierge-trigger {
    position: fixed;
    top: 14px;
    right: 1.5rem;
    z-index: 901;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(42, 90, 90, 0.3);
}

.nav-concierge-trigger:hover {
    background: linear-gradient(135deg, var(--accent-hover), #1A3A3A);
    box-shadow: 0 4px 12px rgba(42, 90, 90, 0.4);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-on-dark);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}


/* === Page Header (inner pages) === */
.page-header {
    background: #1a0f08;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 30% 50%, rgba(139, 94, 60, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 500px 300px at 70% 60%, rgba(42, 90, 90, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.page-header h1 {
    color: var(--text-on-dark);
    margin-bottom: 0.75rem;
    position: relative;
}

.page-header-subtitle {
    color: var(--text-on-dark-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}


/* === Hero Chat Section (Homepage) === */
.hero-chat-section {
    background: #1a0f08;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

/* Atmospheric gradient layers */
.hero-chat-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 600px at 25% 20%, rgba(139, 94, 60, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 700px 500px at 75% 70%, rgba(42, 90, 90, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 1200px 800px at 50% 110%, rgba(92, 61, 46, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Subtle dot grid texture */
.hero-chat-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle 1px at center, rgba(196, 168, 130, 0.07) 0%, transparent 100%);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Hero split layout */
.hero-split {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    color: var(--text-on-dark);
}

.hero-content h1 {
    color: var(--text-on-dark);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--text-on-dark-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-value-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-value-list li {
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.hero-value-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-value-list li strong {
    color: var(--text-on-dark);
}

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

.hero-cta-group .btn-secondary {
    color: var(--text-on-dark-muted);
    border-color: rgba(196, 168, 130, 0.3);
}

.hero-cta-group .btn-secondary:hover {
    color: var(--text-on-dark);
    border-color: rgba(196, 168, 130, 0.6);
    background: rgba(196, 168, 130, 0.1);
}

/* Hero chat (right side) */
.hero-chat-side {
    display: flex;
    flex-direction: column;
}

.hero-chat-container {
    background: var(--chat-bg);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 340px;
    transition: height 0.4s ease, box-shadow var(--transition-normal);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.15),
        0 12px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(196, 168, 130, 0.1),
        var(--shadow-glow-accent);
}

.hero-chat-container.expanded {
    height: 480px;
}

.hero-chat-container:hover {
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.15),
        0 16px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(196, 168, 130, 0.15),
        0 0 50px rgba(42, 90, 90, 0.2), 0 0 100px rgba(42, 90, 90, 0.1);
}


/* === Chat Component (shared by embedded + floating) === */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    max-width: 85%;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.assistant {
    align-self: flex-start;
}

.chat-bubble {
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.chat-message.user .chat-bubble {
    background: var(--chat-user-bg);
    color: var(--chat-user-text);
    border-bottom-right-radius: 4px;
}

.chat-message.assistant .chat-bubble {
    background: var(--chat-assistant-bg);
    color: var(--chat-assistant-text);
    border: 1px solid var(--chat-assistant-border);
    border-bottom-left-radius: 4px;
}

.chat-bubble p {
    margin-bottom: 0.75rem;
}

.chat-bubble p:last-child {
    margin-bottom: 0;
}

/* Typing indicator */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 0.85rem 1.15rem;
    background: var(--chat-assistant-bg);
    border: 1px solid var(--chat-assistant-border);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
}

.chat-typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--chat-typing-dot);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Quick-reply buttons */
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1rem;
    animation: fadeInUp 0.4s ease both;
}

.chat-quick-reply {
    background: var(--bg-soft);
    color: var(--text-body);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    line-height: 1.4;
}

.chat-quick-reply:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent-dark);
}

.chat-quick-replies.hidden {
    display: none;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chat input */
.chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-white);
    border-top: 1px solid var(--gray-200);
}

.chat-input-area input {
    flex: 1;
    border: 1px solid var(--chat-input-border);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--text-body);
    background: var(--bg-soft);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.chat-input-area input:focus {
    border-color: var(--chat-input-focus);
    box-shadow: 0 0 0 3px rgba(42, 90, 90, 0.12);
}

.chat-input-area input::placeholder {
    color: var(--text-light);
}

.chat-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Chat error message */
.chat-error {
    color: #b91c1c;
    font-size: 0.85rem;
    text-align: center;
    padding: 0.5rem;
}

/* Chat offline notice */
.chat-message.chat-offline-notice .chat-bubble {
    background: #FEF3E2;
    border: 1px solid #E8C878;
    border-left: 3px solid var(--color-sand);
    color: var(--text-body);
}

.chat-offline-notice .chat-bubble a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.chat-offline-notice .chat-bubble a:hover {
    color: var(--accent-dark);
}

/* Back-online confirmation */
.chat-back-online {
    text-align: center;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--accent);
    padding: 0.5rem 1rem;
    animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    15% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}


/* === Floating Concierge Panel (non-home pages) === */
.concierge-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.concierge-overlay.open {
    opacity: 1;
    visibility: visible;
}

.concierge-panel {
    position: fixed;
    right: -420px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-normal);
}

.concierge-panel.open {
    right: 0;
}

.concierge-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(74, 138, 138, 0.15);
    background: var(--accent-dark);
    min-height: var(--nav-height);
}

.concierge-panel-header h3 {
    color: var(--text-on-dark);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
}

.concierge-panel-close {
    background: none;
    border: none;
    color: var(--text-on-dark-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color var(--transition-fast);
}

.concierge-panel-close:hover {
    color: var(--text-on-dark);
}

.concierge-panel .chat-messages {
    flex: 1;
    overflow-y: auto;
}

.concierge-panel .chat-input-area {
    border-top: 1px solid var(--gray-200);
}


/* === Lead Capture Form (inline in chat) === */
.chat-lead-form {
    background: var(--accent-light);
    border: 1px solid rgba(42, 90, 90, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 0.5rem;
    align-self: flex-start;
    max-width: 85%;
}

.lead-form-heading {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.chat-lead-form input,
.chat-lead-form textarea {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-family: var(--font-family);
    color: var(--text-body);
    background: var(--bg-white);
    margin-bottom: 0.5rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-lead-form input:focus,
.chat-lead-form textarea:focus {
    border-color: var(--accent);
}

.chat-lead-form textarea {
    resize: vertical;
    min-height: 60px;
}

.lead-submit {
    width: 100%;
    margin-top: 0.25rem;
}

.lead-form-skip {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    color: var(--text-muted);
}

.lead-form-success {
    color: var(--accent);
    font-weight: var(--font-weight-medium);
    text-align: center;
    padding: 0.5rem 0;
}


/* === Value Props / Cards === */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-leather), var(--accent));
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.value-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--gray-300);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-walnut);
}


/* === Steps / Process === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: step;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

/* Connector line between steps */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -1rem;
    width: calc(2rem);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gray-300));
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(42, 90, 90, 0.3);
}

.step-card h3 {
    margin-bottom: 0.75rem;
}


/* === CTA Section === */
.cta-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.section-dark.cta-section {
    background:
        radial-gradient(ellipse 500px 300px at 20% 50%, rgba(139, 94, 60, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 80% 50%, rgba(42, 90, 90, 0.1) 0%, transparent 55%),
        var(--bg-dark);
}

.cta-section h2 {
    margin-bottom: 1rem;
    position: relative;
}

.cta-subtitle {
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}


/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-leather), var(--color-leather-hover));
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 94, 60, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-leather-hover), #5e3820);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 94, 60, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-on-dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.05);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    box-shadow: 0 2px 8px rgba(42, 90, 90, 0.25);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-hover), #1A3A3A);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(42, 90, 90, 0.35);
}


/* === 404 Page === */
.not-found-article {
    display: block;
    background: var(--color-cream);
    border: 2px solid var(--color-sand);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.not-found-article:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(42, 90, 90, 0.12);
}

.not-found-article h2 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.not-found-article p {
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.not-found-read-more {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
}

.not-found-article:hover .not-found-read-more {
    color: var(--accent-dark);
}


/* === About Page === */
.about-intro {
    margin-bottom: 3rem;
}

.about-section {
    margin-bottom: 3.5rem;
}

.about-intro-section {
    overflow: hidden;
}

.about-photo {
    float: right;
    width: 180px;
    height: auto;
    border-radius: 10px;
    margin: 0 0 1rem 1.5rem;
    box-shadow: 0 4px 16px rgba(60, 36, 21, 0.15);
}

@media (max-width: 480px) {
    .about-photo {
        float: none;
        display: block;
        width: 150px;
        margin: 0 auto 1.5rem;
    }
}

.about-section h2 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-leather), var(--accent), transparent) 1;
}

.about-section p {
    margin-bottom: 1rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}


/* === Articles === */
.article-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-pill {
    padding: 0.45rem 1.15rem;
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    background: var(--bg-white);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-family);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-pill:hover {
    border-color: var(--color-leather);
    color: var(--color-leather);
}

.filter-pill.active {
    background: var(--color-espresso);
    color: var(--text-on-dark);
    border-color: var(--color-espresso);
}

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

.article-card {
    display: block;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal), border-color var(--transition-normal);
}

.article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--color-sand);
}

.article-category-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.article-card-title {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.article-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.55;
}

.article-card-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

.articles-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Article Detail */
.article-detail {
    padding: 3rem 0 4rem;
}

.article-detail-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.article-detail-header h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-separator {
    margin: 0 0.35rem;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h3 {
    font-size: clamp(1.05rem, 2.5vw, 1.15rem);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body a {
    color: var(--color-leather);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* === Forms === */
.form-intro {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--text-body);
}

.reach-out-form {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.reach-out-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-leather), var(--accent));
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.required {
    color: #b91c1c;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-family);
    color: var(--text-body);
    background: var(--bg-soft);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(42, 90, 90, 0.12);
    background: var(--bg-white);
}

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

.form-field select {
    cursor: pointer;
}

.form-actions {
    margin-top: 0.5rem;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.form-feedback.success {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(42, 90, 90, 0.2);
}

.form-feedback.error {
    background: rgba(185, 28, 28, 0.05);
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.15);
}


/* === Footer === */
.footer {
    background: #1a0f08;
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(196, 168, 130, 0.1);
}

.footer-content p {
    color: var(--text-on-dark-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.7;
}


/* === Animations === */
.fade-in-target {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* === Responsive === */

/* Tablet */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        right: -280px;
        width: 260px;
        height: calc(100vh - var(--nav-height));
        background:
            radial-gradient(ellipse 300px 200px at 20% 30%, rgba(139, 94, 60, 0.12) 0%, transparent 60%),
            radial-gradient(ellipse 250px 180px at 80% 70%, rgba(42, 90, 90, 0.15) 0%, transparent 55%),
            var(--accent-dark);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0.25rem;
        transition: right var(--transition-normal);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle 1px at center, rgba(196, 168, 130, 0.06) 0%, transparent 100%);
        background-size: 28px 28px;
        pointer-events: none;
    }

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

    .nav-link {
        padding: 0.85rem 1.15rem;
        width: 100%;
        font-size: 1.05rem;
        border-left: 3px solid transparent;
        border-radius: 0 6px 6px 0;
        position: relative;
    }

    .nav-link.active {
        border-left-color: var(--color-leather);
        background-color: rgba(255, 255, 255, 0.08);
    }

    .nav-concierge-trigger {
        top: auto;
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem 1.25rem;
        border-radius: 24px;
        box-shadow: var(--shadow-lg);
    }

    .concierge-trigger-label {
        display: none;
    }

    .nav-concierge-trigger svg {
        width: 22px;
        height: 22px;
    }

    .value-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .hero-value-list {
        text-align: left;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-chat-container {
        height: 280px;
    }

    .hero-chat-container.expanded {
        height: 420px;
    }

    .hero-chat-section {
        padding: 2rem 1rem 3rem;
    }

    .hero-chat-section::after {
        background-size: 24px 24px;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }

    .section {
        padding: 3.5rem 0;
    }

    .page-header {
        padding: 3rem 0 2rem;
    }

    .reach-out-form {
        padding: 1.5rem;
    }

    /* Floating panel full-width on mobile */
    .concierge-panel {
        width: 100%;
        right: -100%;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-chat-container {
        height: 260px;
        border-radius: 12px;
    }

    .hero-chat-container.expanded {
        height: 380px;
    }

    .chat-bubble {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
    }

    .chat-messages {
        padding: 1rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .hero-split {
        gap: 4rem;
    }

    .hero-chat-container {
        height: 380px;
    }

    .hero-chat-container.expanded {
        height: 520px;
    }
}
