/* ============================================
   Monaco CPA — Brand Styles
   Palette: Terracotta (#C65D3E) + Sand (#E8D5C4)
   Fonts: Playfair Display + DM Sans
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --terracotta: #C65D3E;
    --terracotta-dark: #A84B2F;
    --terracotta-light: #D4826A;
    --sand: #E8D5C4;
    --sand-light: #F5EDE5;
    --sand-dark: #C4A882;
    --charcoal: #1C1C1E;
    --slate: #3A3A3C;
    --stone: #6E6E73;
    --mist: #F2F0ED;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(28, 28, 30, 0.08);
    --shadow-md: 0 4px 16px rgba(28, 28, 30, 0.10);
    --shadow-lg: 0 8px 32px rgba(28, 28, 30, 0.12);
    --shadow-xl: 0 16px 48px rgba(28, 28, 30, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 213, 196, 0.5);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav > ul {
    display: flex;
    gap: 8px;
}

.main-nav > ul li a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.main-nav > ul li a:hover {
    color: var(--terracotta);
    background: var(--sand-light);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 93, 62, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--sand-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    display: flex;
    align-items: center;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-header--centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stone);
    max-width: 640px;
    line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #C65D3E 0%, #A84B2F 25%, #7A3B25 50%, #4A2518 75%, #1C1C1E 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(232, 213, 196, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(198, 93, 62, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sand);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 28px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 460px;
}

.visual-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-card--primary {
    grid-column: 1 / -1;
    height: 320px;
}

.visual-card--primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-card--accent {
    background: var(--terracotta);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visual-card--sand {
    background: var(--sand);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.visual-card--sand .card-icon {
    background: rgba(198, 93, 62, 0.15);
    color: var(--terracotta);
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.visual-card--sand .stat-value {
    color: var(--terracotta);
}

.stat-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.visual-card--sand .stat-desc {
    color: var(--stone);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header--centered .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--terracotta-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--terracotta);
    color: var(--white);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--slate);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--mist);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--terracotta);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.accent-year {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.accent-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-body {
    font-size: 1.05rem;
    color: var(--stone);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate);
}

.value-icon {
    width: 36px;
    height: 36px;
    background: var(--sand-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.why-card {
    padding: 36px 28px;
    background: var(--mist);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition);
}

.why-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--sand);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.why-card:hover .why-number {
    color: var(--terracotta);
}

.why-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    line-height: 1.3;
}

.why-desc {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.65;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--mist) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition);
}

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

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--sand);
    position: absolute;
    top: 20px;
    right: 28px;
    pointer-events: none;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--sand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.author-detail {
    font-size: 0.8rem;
    color: var(--stone);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1C1C1E 0%, #3A3A3C 50%, #4A2518 100%);
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(198, 93, 62, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--sand-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--stone);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.contact-item a {
    color: var(--terracotta);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--terracotta-dark);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--mist);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--stone);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(198, 93, 62, 0.1);
}

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 20px;
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav li a,
.footer-services li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-nav li a:hover,
.footer-services li a:hover {
    color: var(--sand);
}

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sand);
    transition: color var(--transition);
}

.footer-phone:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    font-size: 0.8rem !important;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform var(--transition);
        z-index: 999;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 20px;
    }

    .main-nav > ul li a {
        display: block;
        padding: 12px 16px;
    }

    .main-nav > a.btn {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        gap: 20px;
    }

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

    .hero-visual {
        max-width: 320px;
    }

    .visual-card--primary {
        height: 220px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-accent-card {
        bottom: -16px;
        right: 16px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

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

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