/* ========================================
   CSS Variables - Elegant Gold & Black Theme
   ======================================== */
:root {
    /* Brand Colors */
    --primary-black: #1a1a1a;
    --primary-charcoal: #2d2d2d;
    --primary-white: #FFFFFF;
    --primary-cream: #faf8f5;

    /* Accent Colors (Gold Theme) */
    --gold-light: #d4af37;
    --gold-medium: #c5a028;
    --gold-dark: #a8881c;
    --gold-pale: #f5ead6;

    /* Grayscale */
    --gray-dark: #3d3d3d;
    --gray-medium: #6b6b6b;
    --gray-light: #e8e6e1;
    --gray-lighter: #f5f3ef;

    /* Semantic Colors */
    --background-primary: #FFFFFF;
    --background-secondary: #faf8f5;
    --background-card: #FFFFFF;
    --background-accent: #f5ead6;

    --text-primary: #1a1a1a;
    --text-secondary: #3d3d3d;
    --text-muted: #6b6b6b;
    --text-gold: #a8881c;

    /* Borders */
    --border-light: #e8e6e1;
    --border-medium: #d4d0c8;
    --border-gold: #d4af37;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: 'Manrope', 'Helvetica Neue', sans-serif;
    --font-accent: 'Manrope', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-secondary);
    background-color: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    color: var(--primary-black);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--spacing-xl) 0;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    color: var(--primary-black);
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-family: var(--font-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-light);
    transition: var(--transition-medium);
}

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

.nav-link.btn-primary {
    background: var(--gold-light);
    color: var(--primary-black);
    padding: 0.625rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-link.btn-primary::after {
    display: none;
}

.nav-link.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    transition: var(--transition-fast);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-medium);
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.btn-primary {
    background: var(--gold-light);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold-light);
    color: var(--gold-dark);
}

.btn-secondary:hover {
    background: var(--gold-light);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #faf8f5 0%, #ffffff 100%);
    z-index: 0;
    transition: filter 0.15s ease-out, opacity 0.15s ease-out;
    will-change: filter, opacity, transform;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 800px;
    margin-bottom: 4rem;
}

.hero-subtitle {
    font-size: 0.9375rem;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-black);
}

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

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(212, 175, 55, 0.15);
    z-index: -1;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 650px;
    color: var(--text-secondary);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
}

.stat-card {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.75rem;
    font-family: var(--font-primary);
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
    font-family: var(--font-secondary);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.section-title {
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   Problem Section
   ======================================== */
.problem-section {
    background: var(--background-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}


.problem-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.375rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--gold-light);
    color: var(--primary-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.feature-item h4 {
    color: var(--primary-black);
    margin-bottom: 0.25rem;
    font-size: 1.0625rem;
}

.feature-item p {
    color: var(--text-muted);
    margin: 0;
}

.about-image {
    position: relative;
}

.headshot-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
}

.headshot-wrapper {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.headshot-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    background: transparent;
}

.headshot-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    font-style: italic;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
}

.team-member:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--border-gold);
}

.team-member-headshot {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.team-member-headshot img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 8px;
    padding: 4rem;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

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

/* ========================================
   Services Section
   ======================================== */
.services-section {
    background: var(--background-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--background-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--gold-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    color: var(--gold-dark);
}

.service-card > a {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
    cursor: pointer;
}

.service-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.375rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-card h3 span {
    flex: 1;
    transition: var(--transition-fast);
}

.service-card h3 a {
    color: var(--primary-black);
    text-decoration: none;
    transition: var(--transition-fast);
}

.service-card h3 a:hover {
    color: var(--gold-light);
}

.service-card:hover h3 span {
    color: var(--gold-light);
}

.service-card > p,
.service-card a > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card a > p {
    margin-bottom: 0;
}

.service-list {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.service-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold-light);
    font-weight: 700;
}

.service-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* ========================================
   Blog Cards
   ======================================== */
.blog-card-thumb {
    width: 100%;
    min-height: 230px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    margin-bottom: 1.25rem;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
}

.blog-card-meta {
    margin-bottom: 0.75rem;
}

.service-link:hover {
    color: var(--primary-black);
    transform: translateX(5px);
}

/* ========================================
   Process Section
   ======================================== */
.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--border-gold) 100%);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--background-card);
    border: 3px solid var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--gold-light);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding: 1rem;
}

.step-content h3 {
    color: var(--primary-black);
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}


.contact-method h4 {
    color: var(--primary-black);
    margin-bottom: 0.25rem;
    font-size: 1.0625rem;
}

.contact-method a {
    color: var(--gold-light);
    transition: var(--transition-fast);
}

.contact-method a:hover {
    color: var(--primary-black);
}

.contact-method p {
    margin: 0;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--background-card);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    transition: var(--transition-medium);
}

.social-links a:hover {
    background: var(--gold-light);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
}

/* Contact Form */
.contact-form-container {
    background: var(--background-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--font-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--background-primary);
    border: 1px solid var(--border-medium);
    border-radius: 4px;
    padding: 0.875rem;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-group select {
    cursor: pointer;
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--background-secondary);
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: var(--primary-black);
}

.footer-col p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
}

.extensa-credit {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem !important;
}

.extensa-credit a {
    color: var(--text-muted);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.extensa-credit a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 920px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-medium);
        align-items: flex-start;
        border-top: 1px solid var(--border-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-medium);
        align-items: flex-start;
        border-top: 1px solid var(--border-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 2rem;
    }

    .team-member-headshot img {
        width: 150px;
        height: 150px;
    }

    .process-timeline::before {
        left: 35px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.25rem;
    }

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

    .headshot-container {
        flex-direction: column;
        align-items: center;
    }

    .headshot-wrapper {
        max-width: 250px;
    }

    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .blog-card-thumb {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card,
    .problem-card {
        padding: 2rem;
    }
}

/* ========================================
   Animations & Effects
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .problem-card,
    .stat-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .service-card.reveal,
    .problem-card.reveal,
    .stat-card.reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.btn:active {
    transform: scale(0.98);
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

/* Selection styles */
::selection {
    background: var(--gold-light);
    color: var(--primary-white);
}

::-moz-selection {
    background: var(--gold-light);
    color: var(--primary-white);
}
