/*
 * Carlson Weber Advogados - Design System V2
 * Aesthetic Direction: "Advocacia Moderna Brasileira"
 * Sophisticated, confident, and accessible
 */

/* ========================================
   Custom Fonts
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    /* Primary Palette - Carlson Weber Brand */
    --brand-primary: #1F3A52;
    --brand-secondary: #90ACC0;
    --brand-primary-light: #2a4d6b;
    --brand-primary-dark: #152838;
    --brand-secondary-light: #a8c4d4;
    --brand-secondary-dark: #7a9aae;

    /* Brand tints for backgrounds */
    --brand-tint-50: #f0f4f7;
    --brand-tint-100: #e1e9ef;
    --brand-tint-200: #c3d3df;
    --brand-accent: #320b0c;

    /* Neutral */
    --slate-50: #FAFAFA;
    --slate-100: #F5F5F5;
    --slate-200: #E5E5E5;
    --slate-300: #D4D4D4;
    --slate-400: #A3A3A3;
    --slate-500: #737373;
    --slate-600: #666666;
    --slate-700: #404040;
    --slate-800: #262626;
    --slate-900: #171717;

    /* Backgrounds */
    --bg-page: #FAFAFA;
    --bg-cream: #f8f9fa;
    --bg-white: #ffffff;

    /* Functional */
    --success: #059669;
    --whatsapp: #25D366;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --shadow-glow-brand: 0 0 40px -10px rgba(144, 172, 192, 0.5);
    --shadow-inner-glow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);

    /* Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--brand-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Text Selection */
::selection {
    background-color: var(--brand-secondary);
    color: white;
}

/* ========================================
   Typography System
   ======================================== */
.display-xl {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.display-lg {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    font-weight: 400;
}

.display-md {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.display-sm {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.2;
    font-weight: 400;
}

.text-emphasis {
    font-family: var(--font-display);
    font-style: italic;
}

.text-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-body {
    font-size: 1rem;
    line-height: 1.6;
}

.text-body-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Strong text styling */
.prose strong {
    color: var(--brand-accent);
    font-weight: 600;
}

/* ========================================
   Background Effects
   ======================================== */
.bg-paper-texture {
    background-color: var(--bg-page);
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
}

.bg-gradient-warm {
    background: linear-gradient(135deg, var(--bg-page) 0%, var(--bg-cream) 50%, var(--brand-tint-50) 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

.bg-gradient-brand {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dark) 100%);
}

/* Decorative diagonal lines */
.bg-diagonal-lines {
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(148, 163, 184, 0.03) 20px,
        rgba(148, 163, 184, 0.03) 21px
    );
}

/* Organic blob backgrounds */
.blob-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-brand-secondary {
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand-secondary-light));
}

.blob-brand-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }
    75% {
        transform: translate(15px, 10px) scale(1.02);
    }
}

/* ========================================
   Header
   ======================================== */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.4s var(--ease-out-expo);
}

.header-main.scrolled {
    background: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(144, 172, 192, 0.2);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand-primary);
    letter-spacing: -0.01em;
}

.logo-text span {
    color: var(--slate-600);
    font-weight: 400;
}

.header-spacer {
    height: 5rem;
}

/* ========================================
   WhatsApp Button (Header)
   ======================================== */
.whatsapp-header-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--brand-primary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s var(--ease-out-expo);
}

.whatsapp-header-btn:hover {
    background: var(--brand-secondary);
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.whatsapp-header-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border: 2px solid var(--bg-page);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--ease-out-expo);
}

.notification-dot.active {
    opacity: 1;
    transform: scale(1);
}

/* Bounce animation */
@keyframes header-btn-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.whatsapp-header-btn.bouncing {
    animation: header-btn-bounce 0.5s var(--ease-out-expo);
}

/* ========================================
   Chat Bubble
   ======================================== */
.chat-bubble {
    position: fixed;
    top: 5rem;
    right: 1.5rem;
    max-width: 280px;
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-xl);
    z-index: 101;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s var(--ease-out-expo);
}

.chat-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

.chat-bubble.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-bubble-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.chat-bubble-avatar {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--brand-tint-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--brand-primary);
}

.chat-bubble-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--brand-primary);
}

.chat-bubble-message {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.5;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-lg), var(--shadow-inner-glow);
}

.btn-primary:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand-secondary), var(--brand-secondary-dark));
    color: white;
    box-shadow: var(--shadow-lg), var(--shadow-glow-brand);
}

.btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-secondary-light), var(--brand-secondary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-brand);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: var(--shadow-lg), 0 0 30px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 40px -5px rgba(37, 211, 102, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 1.5px solid var(--slate-300);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--brand-secondary);
    color: var(--brand-primary);
    background: var(--brand-tint-50);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-out-expo);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--slate-200);
}

.card-elevated {
    box-shadow: var(--shadow-md);
}

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

.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-dark {
    background: var(--brand-primary);
    border: 1px solid var(--brand-primary-light);
    color: white;
}

.card-brand {
    background: linear-gradient(135deg, var(--brand-tint-50), white);
    border: 1px solid var(--brand-tint-100);
}

.card-brand:hover {
    border-color: var(--brand-tint-200);
}

/* ========================================
   Feature Cards (Specializations)
   ======================================== */
.feature-card {
    position: relative;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--slate-100);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-secondary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease-out-expo);
}

.feature-card:hover {
    border-color: var(--brand-tint-200);
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--brand-tint-50);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-secondary-dark);
    margin-bottom: 1rem;
    transition: all 0.3s var(--ease-out-expo);
}

.feature-card:hover .feature-card-icon {
    background: var(--brand-tint-100);
    transform: scale(1.1);
}

.feature-card-title {
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.25rem;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    position: relative;
    padding: 5rem 0;
}

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

.section-spacious {
    padding: 7rem 0;
}

.section-dark {
    background: var(--brand-primary);
    color: white;
}

.section-dark .text-muted {
    color: var(--brand-secondary-light);
}

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

.section-brand {
    background: linear-gradient(135deg, var(--brand-tint-50), var(--brand-tint-100));
}

.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 48rem;
}

/* ========================================
   Hero Styles
   ======================================== */
.hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(144, 172, 192, 0.1);
    border: 1px solid rgba(144, 172, 192, 0.2);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-secondary);
    border-radius: 50%;
}

.hero-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-primary);
}

.hero-title {
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--brand-secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ========================================
   Quote Block
   ======================================== */
.quote-block {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--brand-tint-50), white);
    border-radius: 1rem;
    border-left: 4px solid var(--brand-secondary);
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--brand-tint-200);
    line-height: 1;
}

.quote-block-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--slate-600);
    line-height: 1.6;
    padding-left: 2rem;
}

.quote-block-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-left: 2rem;
}

.quote-block-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-secondary);
    font-family: var(--font-display);
    font-size: 1rem;
}

.quote-block-name {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 0.875rem;
}

.quote-block-role {
    color: var(--slate-600);
    font-size: 0.75rem;
}

/* ========================================
   CTA Section (Dark)
   ======================================== */
.cta-section {
    position: relative;
    background: var(--brand-primary);
    color: white;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(144, 172, 192, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(144, 172, 192, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-secondary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
    pointer-events: none;
}

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

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

.footer-brand {
    max-width: 280px;
}

.footer-brand-text {
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-heading {
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-500);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 0.5rem;
}

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

.footer-link svg {
    width: 1rem;
    height: 1rem;
    color: var(--slate-400);
}

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

.footer-legal {
    color: var(--slate-400);
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-copyright {
    color: var(--slate-500);
    font-size: 0.75rem;
}

/* ========================================
   WhatsApp FAB
   ======================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--whatsapp);
    border-radius: 50%;
    color: white;
    box-shadow: var(--shadow-lg), 0 0 30px -5px rgba(37, 211, 102, 0.5);
    transition: all 0.3s var(--ease-out-expo);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl), 0 0 40px -5px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

@keyframes fab-pulse {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 30px -5px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 50px -5px rgba(37, 211, 102, 0.7);
    }
}

.whatsapp-fab {
    animation: fab-pulse 2s ease-in-out infinite;
}

/* ========================================
   FAQ / Accordion
   ======================================== */
.accordion-item {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
}

.accordion-item:hover {
    border-color: var(--slate-200);
}

.accordion-item[open] {
    border-color: var(--brand-tint-200);
    box-shadow: var(--shadow-md);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--brand-primary);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.accordion-trigger::-webkit-details-marker {
    display: none;
}

.accordion-trigger:hover {
    color: var(--brand-secondary-dark);
}

.accordion-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--slate-400);
    transition: transform 0.3s var(--ease-out-expo);
}

[open] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--slate-600);
    line-height: 1.6;
    border-top: 1px solid var(--slate-100);
    margin-top: -0.5rem;
    padding-top: 1rem;
}

/* ========================================
   Contact Cards (Dark Section)
   ======================================== */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(144, 172, 192, 0.2);
    border: 1px solid rgba(144, 172, 192, 0.3);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.contact-card-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.contact-card-value {
    color: var(--slate-300);
    font-size: 0.875rem;
}

.contact-card-value a {
    color: var(--brand-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card-value a:hover {
    color: white;
}

/* ========================================
   Responsive
   ======================================== */
/* Align chat bubble with header button on large screens */
@media (min-width: 72rem) {
    .chat-bubble {
        right: calc((100vw - 72rem) / 2 + 1.5rem);
    }

    .chat-bubble::before {
        right: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-spacious {
        padding: 4rem 0;
    }

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

    .header-spacer {
        height: 4rem;
    }

    .chat-bubble {
        right: 1rem;
        max-width: 260px;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-brand { color: var(--brand-secondary); }
.text-brand-dark { color: var(--brand-primary); }
.text-slate { color: var(--brand-primary); }
.text-slate-muted { color: var(--slate-600); }
.text-white { color: white; }

.bg-brand-50 { background-color: var(--brand-tint-50); }
.bg-brand-100 { background-color: var(--brand-tint-100); }
.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-900 { background-color: var(--brand-primary); }
.bg-white { background-color: white; }

.border-brand { border-color: var(--brand-tint-200); }
.border-slate { border-color: var(--slate-200); }

.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 100px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* Spacing utilities */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Width utilities */
.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
