/* ================================================
   GREYVINE TALLOW CORP. - Premium Design System
   ================================================ */

/* CSS Variables */
:root {
    /* Colors - Refined Dark Palette */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #18181b;
    --bg-elevated: #1f1f23;
    
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    
    --accent-gold: #c9a227;
    --accent-gold-light: #e3c65c;
    --accent-gold-dim: rgba(201, 162, 39, 0.15);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(5rem, 12vw, 10rem);
    --container-max: 1280px;
    --container-padding: clamp(1.5rem, 5vw, 3rem);
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Effects */
    --glow-gold: 0 0 60px rgba(201, 162, 39, 0.15);
    --shadow-elevated: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

::selection {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ================================================
   CURSOR GLOW EFFECT
   ================================================ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

em {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent-gold);
}

/* ================================================
   SECTION LABEL
   ================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--accent-gold);
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--bg-primary);
    background: var(--accent-gold);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

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

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 10, 11, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--bg-primary);
    background: var(--accent-gold);
    border-radius: 4px;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--text-primary);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: var(--accent-gold) !important;
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-gold);
    color: var(--bg-primary) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 20%, transparent 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-gold);
    top: -200px;
    right: -200px;
    opacity: 0.08;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-gold);
    bottom: 0;
    left: 10%;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4rem;
}

.hero-text {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
    border-radius: 100px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 .line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.hero h1 .line-1 { animation-delay: 0.2s; }
.hero h1 .line-2 { animation-delay: 0.3s; }
.hero h1 .line-3 { animation-delay: 0.4s; }

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

.hero-desc {
    max-width: 600px;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1s both;
}

.scroll-indicator span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scaleY(0.5);
        transform-origin: top;
    }
    50% { 
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ================================================
   SECTIONS
   ================================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-header {
    max-width: 700px;
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.125rem;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-grid {
    max-width: 800px;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.4s var(--ease-out-expo);
}

.feature:hover {
    border-color: var(--accent-gold-dim);
    transform: translateX(8px);
}

.feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
    border-radius: 8px;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-text strong {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-elevated);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-elevated) 100%);
    border-color: var(--accent-gold-dim);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.service-card > p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.service-features li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent-gold);
    text-decoration: none;
    transition: gap 0.4s var(--ease-out-expo);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ================================================
   EXPERTISE SECTION
   ================================================ */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.expertise-item {
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.4s var(--ease-out-expo);
}

.expertise-item:hover {
    border-color: var(--accent-gold-dim);
    background: var(--bg-tertiary);
}

.expertise-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.expertise-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.expertise-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 8rem;
}

.faq-header h2 {
    margin-bottom: 1rem;
}

.faq-header p {
    font-size: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-color: var(--accent-gold-dim);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--accent-gold);
}

.faq-item summary svg {
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: transform 0.4s var(--ease-out-expo);
}

.faq-item[open] summary svg {
    transform: rotate(45deg);
    color: var(--accent-gold);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.contact-value {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

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

/* ================================================
   FOOTER
   ================================================ */
.footer {
    padding: 5rem 0 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

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

.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ================================================
   ANIMATIONS & SCROLL REVEAL
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

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

/* Staggered reveal for grids */
.services-grid .service-card,
.expertise-grid .expertise-item,
.about-features .feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out-expo);
}

.services-grid .service-card.visible,
.expertise-grid .expertise-item.visible,
.about-features .feature.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .faq-header {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
        padding-top: 1rem;
    }
    
    .btn-nav {
        text-align: center;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
