/* =============================================
   Amanda Marchal - Advocacia e Assessoria Juridica
   Color Palette:
   - Burgundy Dark:  #4A0A0A
   - Burgundy:       #6B1111
   - Gold:           #C9A84C
   - Gold Light:     #D4BC6A
   - Gold Dark:      #A8893A
   - Cream:          #FAF7F2
   - White:          #FFFFFF
   ============================================= */

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

:root {
    --burgundy-dark: #4A0A0A;
    --burgundy: #6B1111;
    --burgundy-light: #7D1A1A;
    --gold: #C9A84C;
    --gold-light: #D4BC6A;
    --gold-dark: #A8893A;
    --cream: #FAF7F2;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-medium: #555555;
    --text-light: #888888;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 15px;
}

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(74, 10, 10, 0.97);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo-icon {
    height: 46px;
    width: 46px;
    object-fit: contain;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo-icon {
    height: 38px;
    width: 38px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-logo-tagline {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.navbar.scrolled .nav-logo-name {
    font-size: 19px;
}

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

.nav-menu a {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 60%;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-cta {
    background: transparent;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 10px 24px !important;
}

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
}

.nav-cta::after {
    display: none !important;
}

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

/* Mobile menu backdrop overlay */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-backdrop.active {
    display: block;
    opacity: 1;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO
   ============================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--burgundy-dark);
    background-image: url('assets/hero-bg.jpg?v=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 5, 5, 0.5) 0%,
        rgba(20, 3, 3, 0.55) 40%,
        rgba(20, 3, 3, 0.5) 60%,
        rgba(30, 5, 5, 0.65) 100%
    );
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('assets/pattern.jpeg');
    background-size: 300px;
    background-repeat: repeat;
    opacity: 0.02;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 120px 24px 80px;
}

.hero-emblem {
    margin-bottom: 24px;
}

.hero-emblem img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 24px rgba(201, 168, 76, 0.15));
    animation: fadeInScale 1.2s ease-out;
}

.hero-divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 28px;
}

.hero-name {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 48px;
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-badge svg {
    flex-shrink: 0;
    stroke: var(--gold);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll a {
    color: var(--gold);
    opacity: 0.6;
}

.hero-scroll a:hover {
    opacity: 1;
}

/* =============================================
   SECTIONS
   ============================================= */

.section {
    padding: 100px 0;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-tag-light {
    color: var(--gold-light);
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    margin-bottom: 20px;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}

.section-description {
    max-width: 600px;
    margin: 24px auto 0;
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.8;
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   ABOUT
   ============================================= */

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

.about-image {
    position: relative;
}

.about-image-frame {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--gold);
    padding: 12px;
    background: var(--white);
}

.about-image-frame img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    display: block;
}

.about-image-accent {
    position: absolute;
    top: 24px;
    left: 24px;
    right: -16px;
    bottom: -16px;
    border: 2px solid var(--gold);
    opacity: 0.3;
    z-index: -1;
}

.about-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    color: var(--burgundy);
    margin-bottom: 24px;
    line-height: 1.5;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.stat-icon {
    color: var(--gold);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* =============================================
   PRACTICE AREAS
   ============================================= */

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

.area-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.area-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.35);
}

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

.area-icon {
    color: var(--gold);
    margin-bottom: 24px;
}

.area-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--gold);
}

.area-card p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.area-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 24px auto 0;
    opacity: 0.4;
}

/* =============================================
   DIFFERENTIALS
   ============================================= */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}

.diff-item {
    position: relative;
    padding-left: 80px;
}

.diff-number {
    position: absolute;
    left: 0;
    top: -4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
}

.diff-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--burgundy-dark);
}

.diff-item p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* =============================================
   CTA BANNER
   ============================================= */

.cta-banner {
    position: relative;
    background: var(--burgundy);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url('assets/pattern.jpeg');
    background-size: 200px;
    background-repeat: repeat;
    opacity: 0.03;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-gold {
    margin-bottom: 0;
}

/* =============================================
   CONTACT
   ============================================= */

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

.contact-card {
    background: var(--white);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.contact-icon {
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--burgundy-dark);
}

.contact-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* =============================================
   ADDRESS CARD CLICKABLE
   ============================================= */

.contact-card-clickable {
    cursor: pointer;
    position: relative;
}

.contact-card-clickable:hover {
    border-color: var(--gold);
}

.card-hint {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.contact-card-clickable:hover .card-hint {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   MAP MODAL
   ============================================= */

.map-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.map-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.map-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.map-modal-overlay.active .map-modal {
    transform: scale(1) translateY(0);
}

.map-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    font-size: 22px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
    line-height: 1;
}

.map-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.map-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 16px;
}

.map-modal-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.map-modal-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--burgundy-dark);
    margin-bottom: 4px;
}

.map-modal-header p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.4;
}

.map-modal-tabs {
    display: flex;
    gap: 4px;
    padding: 0 24px;
    margin-bottom: 16px;
}

.map-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-tab:hover {
    background: rgba(0, 0, 0, 0.03);
}

.map-tab.active {
    background: var(--burgundy-dark);
    color: var(--white);
    border-color: var(--burgundy-dark);
}

.map-modal-content {
    padding: 0 24px;
    flex: 1;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}

.map-container iframe {
    display: block;
}

.map-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
}

.map-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.map-btn-directions {
    background: var(--burgundy-dark);
    color: var(--white);
}

.map-btn-directions:hover {
    background: var(--burgundy);
}

.map-btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.map-btn-whatsapp:hover {
    background: #1fb855;
}

@media (max-width: 768px) {
    .map-modal {
        max-height: 85vh;
        border-radius: 12px;
    }

    .map-container {
        height: 280px;
    }

    .map-modal-footer {
        flex-direction: column;
    }

    .map-modal-header h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .map-modal-overlay {
        padding: 10px;
    }

    .map-container {
        height: 240px;
    }

    .map-modal-header {
        padding: 20px 16px 12px;
    }

    .map-modal-tabs {
        padding: 0 16px;
    }

    .map-modal-content {
        padding: 0 16px;
    }

    .map-modal-footer {
        padding: 16px;
    }
}

/* =============================================
   EMAIL MODAL
   ============================================= */

.email-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.email-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.email-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.email-modal-overlay.active .email-modal {
    transform: scale(1) translateY(0);
}

.email-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px 8px;
}

.email-modal-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--burgundy-dark);
    margin-bottom: 4px;
}

.email-modal-header p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.4;
}

.email-form {
    padding: 20px 24px 24px;
}

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

.email-form-group {
    margin-bottom: 16px;
}

.email-form-group label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--burgundy-dark);
    margin-bottom: 6px;
}

.email-form-group input,
.email-form-group select,
.email-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0d8cf;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--cream);
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.email-form-group input::placeholder,
.email-form-group textarea::placeholder {
    color: #b0a89e;
}

.email-form-group input:focus,
.email-form-group select:focus,
.email-form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
    background: var(--white);
}

.email-form-group select {
    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='%234A0A0A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.email-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 8px;
}

.email-btn-cancel {
    padding: 12px 24px;
    border: 1.5px solid #e0d8cf;
    background: transparent;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-btn-cancel:hover {
    border-color: var(--burgundy-dark);
    color: var(--burgundy-dark);
}

.email-btn-send {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--burgundy-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-btn-send:hover {
    background: var(--burgundy);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 10, 10, 0.3);
}

@media (max-width: 768px) {
    .email-modal {
        max-height: 85vh;
        border-radius: 12px;
    }

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

@media (max-width: 480px) {
    .email-modal-overlay {
        padding: 10px;
    }

    .email-form {
        padding: 16px;
    }

    .email-modal-header {
        padding: 20px 16px 4px;
    }

    .email-form-footer {
        flex-direction: column;
    }

    .email-btn-cancel,
    .email-btn-send {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--burgundy-dark);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-brand-tagline {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* =============================================
   ANIMATIONS
   ============================================= */

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.area-card.reveal { transition-delay: calc(var(--i, 0) * 0.1s); }
.area-card:nth-child(1) { --i: 0; }
.area-card:nth-child(2) { --i: 1; }
.area-card:nth-child(3) { --i: 2; }
.area-card:nth-child(4) { --i: 3; }
.area-card:nth-child(5) { --i: 4; }
.area-card:nth-child(6) { --i: 5; }

.diff-item.reveal { transition-delay: calc(var(--j, 0) * 0.15s); }
.diff-item:nth-child(1) { --j: 0; }
.diff-item:nth-child(2) { --j: 1; }
.diff-item:nth-child(3) { --j: 2; }
.diff-item:nth-child(4) { --j: 3; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-image-frame {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image-accent {
        right: -12px;
        bottom: -12px;
    }
}

@media (max-width: 768px) {
    .nav-logo-tagline {
        display: none;
    }

    .nav-logo-name {
        font-size: 18px;
    }

    .nav-logo-icon {
        height: 38px;
        width: 38px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--burgundy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }

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

    .nav-menu a {
        font-size: 15px;
        padding: 16px 0;
        display: block;
    }

    .nav-menu a::after {
        bottom: 8px;
        left: 0;
        transform: none;
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
    }

    .hero-emblem img {
        width: 110px;
        height: 110px;
    }

    .section {
        padding: 72px 0;
    }

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

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

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

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .stat {
        flex-direction: row;
        gap: 12px;
    }

    .cta-banner {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

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

    .hero-emblem img {
        width: 100px;
        height: 100px;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 13px;
    }
}
