/* Global Styles - Ana Braga Space (Stitch Design) */

:root {
    /* Color Palette */
    --color-primary: #A67153;
    --color-primary-hover: #8B593E;
    --color-bg-light: #f3eae5;
    --color-bg-dark: #1c180d;
    --color-surface-light: #ffffff;
    --color-surface-dark: #2c281d;
    --color-text-main: #2d2a26;
    --color-text-muted: #8a867b;
    --color-accent-nude: #E6D2C0;
    --color-footer-bg: #f3eae5;
    --color-white: #ffffff;
    --color-black: #000000;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing & Layout */
    --max-width-container: 1200px;
    --header-height: 80px;
    --section-padding: 80px;
    --border-radius: 12px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 1rem;
}

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

.text-primary {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-text-muted);
}

.font-serif {
    font-family: var(--font-serif);
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.italic {
    font-style: italic;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-surface {
    background-color: var(--color-surface-light);
}

.bg-nude {
    background-color: var(--color-bg-light);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

/* Zone 1: Left Nav (Desktop) */
.header-nav {
    display: none;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-main);
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .header-nav {
        display: flex;
        gap: 32px;
        /* 28-36px gap */
    }

    .header-nav a {
        font-family: var(--font-serif);
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--color-text-main);
        font-weight: 500;
        position: relative;
        padding-bottom: 5px;
        transition: color 0.3s ease;
    }

    /* Hover Animation (Underline left-to-right) */
    .header-nav a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: var(--color-primary);
        transition: width 0.3s ease;
    }

    .header-nav a:hover,
    .header-nav a.active {
        color: var(--color-primary);
    }

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

/* Zone 2: Logo (Center) */
.logo {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    height: 48px;
    width: auto;
    display: block;
}

/* Zone 3: Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.nav-item {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-main);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 1024px) {
    .nav-item {
        display: block;
    }

    .nav-item:hover {
        color: var(--color-primary);
    }

    .nav-item::after {
        content: '';
        position: absolute;
        width: 0;
        height: 1px;
        bottom: 0;
        left: 0;
        background-color: var(--color-primary);
        transition: width 0.3s ease;
    }

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

.wa-icon {
    color: var(--color-text-main);
    font-size: 1.25rem;
    transition: color 0.3s ease;
    display: flex;
    /* Ensure alignment */
    align-items: center;
}

.wa-icon:hover {
    color: #25D366;
}

/* Language Selector (Desktop) */
.lang-selector {
    display: none;
    /* Hidden on mobile, inside panel instead */
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    align-items: center;
    margin-left: 0.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 1rem;
}

@media (min-width: 1024px) {
    .lang-selector {
        display: flex;
    }
}

.lang-selector a {
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.lang-selector a:hover,
.lang-selector a.active {
    opacity: 1;
    color: var(--color-text-main);
    font-weight: 600;
}

/* Mobile Adjustments (< 1024px) */
@media (max-width: 1023px) {
    .header-inner {
        display: grid;
        grid-template-columns: 40px auto 40px;
        /* Fixed width for toggle/actions to center logo */
        justify-content: space-between;
    }

    .header-actions {
        gap: 1rem;
    }

    .logo span {
        font-size: 1.75rem;
    }
}

/* Mobile Menu Panel (Slide-in) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
    /* Above header */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: var(--color-bg-light);
    z-index: 101;
    /* Above overlay */
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Ease out quart */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-panel.active {
    transform: translateX(0);
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-main);
    cursor: pointer;
    margin-bottom: 3rem;
    padding: 0.5rem;
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-links a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-text-main);
    text-transform: capitalize;
    /* Or uppercase based on preference */
    display: block;
    transition: color 0.3s ease;
}

.mobile-links a:hover,
.mobile-links a.active {
    color: var(--color-primary);
}

.mobile-lang {
    margin-top: auto;
    display: flex;
    gap: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-lang a {
    color: var(--color-text-muted);
    font-weight: 500;
}

.mobile-lang a.active {
    color: var(--color-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    padding: 6rem 0;
}

/* About Section Specific Refinement (Desktop) */
.section-about {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.section-about .grid-about {
    padding: 2rem 0 !important;
    gap: 4rem !important;
    align-items: center !important;
}

.section-about .hero-image-wrapper {
    aspect-ratio: 1 / 1; /* More compact square shape for biography */
    border-radius: 1.5rem !important;
}

.section-about .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-about .hero-title {
    margin-bottom: 0.75rem !important;
}

.section-about .hero-subtitle {
    margin-bottom: 1.5rem !important;
}

.section-about .btn {
    padding: 1.1rem 2.5rem !important;
    width: fit-content;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
    gap: 0.75rem !important;
    margin-top: 2.5rem !important; /* Separación del texto biográfico */
}

.section-about .btn i {
    line-height: 0 !important;
    display: flex;
    align-items: center;
}
/* Hero & About Mobile Section Refinement */
/* Mobile Responsive Refinements (992px and below) */
@media (max-width: 992px) {
    /* Global Section Adjustments */
    .section.container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* 1. Main Hero (Home Top) */
    .section-hero {
        padding-top: 0.5rem !important;
    }
    
    .grid-hero {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 0 !important;
    }

    .grid-hero .hero-text {
        order: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .grid-hero .hero-subtitle { order: 1 !important; margin-bottom: 0.75rem !important; }
    .grid-hero .hero-title { order: 2 !important; margin-bottom: 1.5rem !important; font-size: 2.25rem !important; }
    .grid-hero .hero-desc { order: 3 !important; display: block !important; margin-bottom: 2rem !important; font-size: 1.1rem !important; }
    .grid-hero .btn { 
        order: 4 !important; 
        background-color: var(--color-primary) !important; /* RESTORED BROWN */
        margin-bottom: 2.5rem !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    }
    .grid-hero .hero-image { order: 5 !important; width: 100% !important; }

    /* 2. About Ana Paula Section */
    .section-about {
        padding-top: 2rem !important;
    }

    .grid-about {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .grid-about .hero-image {
        order: 1 !important; /* Image FIRST */
        width: 100% !important;
    }

    .grid-about .hero-text {
        order: 2 !important; /* Text block BELOW image */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .grid-about .hero-title { 
        order: 1 !important; 
        margin-bottom: 0.5rem !important; 
        font-size: 2.5rem !important; 
    }
    .grid-about .hero-subtitle { 
        order: 2 !important; 
        margin-bottom: 1.5rem !important; 
        color: var(--color-primary) !important; 
    }
    .grid-about .text-muted { 
        order: 3 !important; 
        margin-bottom: 2rem !important; 
        max-width: 100% !important; 
    }
    .grid-about .btn { 
        order: 4 !important; 
        background-color: var(--color-primary) !important; /* ORIGINAL BROWN */
        width: fit-content !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Small Device Tweaks (768px and below) */
@media (max-width: 768px) {
    .grid-hero .hero-title { font-size: 2rem !important; }
    .grid-about .hero-title { font-size: 2.25rem !important; }
}

.hero-subtitle {
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    /* Wider tracking */
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    /* Use sans-serif for subtitle contrast */
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    /* Larger */
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
        /* Even larger on wide screens */
    }
}

.hero-desc {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    /* Larger body text */
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 550px;
}



.hero-image-wrapper {
    position: relative;
    border-radius: 2rem;
    /* Large rounded corners (approx rounded-2xl) */
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Soft, deep shadow */
    aspect-ratio: 4/3;
    /* Controlled proportion */
}

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

/* Hero specific button tweak */
.hero-text .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
    /* Stronger gold shadow */
}

.hero-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(212, 175, 55, 0.5);
}

/* Buttons (Global - kept for consistency but refined) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    /* Pill shape for elegance */
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: var(--font-sans);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid.grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }
}

.card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-accent-nude);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.card-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.card-link {
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

/* Experience Section */
.experience-box {
    background-color: rgba(237, 232, 220, 0.3);
    /* accent-nude with opacity */
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .experience-box {
        flex-direction: row;
        text-align: left;
        padding: 4rem;
    }
}

.icon-circle {
    width: 5rem;
    height: 5rem;
    background-color: var(--color-surface-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background-color: var(--color-footer-bg);
    border-top: 1px solid var(--color-accent-nude);
    padding: var(--section-padding) 0;
    margin-top: auto;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand-logo {
    width: 90px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-accent-nude);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-link:hover .footer-social-icon {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--color-primary);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Sticky WhatsApp Mobile */
.sticky-whatsapp-mobile {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 40;
    pointer-events: none;
}

.whatsapp-btn-mobile {
    pointer-events: auto;
    background-color: #25D366;
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    transition: transform 0.2s;
}

.whatsapp-btn-mobile:active {
    transform: scale(0.98);
}

@media (min-width: 1024px) {
    .sticky-whatsapp-mobile {
        display: none;
    }
}

/* Contact Page Refinements */
.contact-refined-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .contact-refined-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-card {
    background: var(--color-white);
    border: 1px solid rgba(166, 113, 83, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(166, 113, 83, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(166, 113, 83, 0.08);
}

.contact-card-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(166, 113, 83, 0.1);
    padding-bottom: 1.5rem;
}

.contact-pretitle {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-text-main);
}

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

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

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(166, 113, 83, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.method-value {
    font-size: 1.125rem;
    color: var(--color-text-main);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.method-link {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.method-link:hover {
    opacity: 0.7;
}

/* WhatsApp Premium Button Tweak */
.btn-whatsapp-premium {
    background-color: #25D366;
    color: white;
    width: fit-content;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-premium:hover {
    background-color: #20BA5A;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Hours List Refinement */
.refined-hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.refined-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 1rem;
}

.refined-hours-list li span {
    color: var(--color-text-muted);
}

.refined-hours-list li strong {
    color: var(--color-text-main);
    font-weight: 500;
}

.refined-hours-list li.closed-day strong {
    color: #e53e3e;
    font-weight: 400;
    font-style: italic;
}

.hours-note {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
}

/* Map Section - Refined Card */
.contact-map-wrapper {
    margin-top: 3rem;
    position: relative;
    width: 100%;
}

.map-card-link {
    display: block;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(166, 113, 83, 0.12);
}

.map-visual-container {
    width: 100%;
    height: 450px;
    position: relative;
    background-color: #f8f1ed;
}

.map-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.map-card-link:hover .map-visual-img {
    transform: scale(1.05);
}

/* Map Overlay Elements */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 2.5rem;
    pointer-events: none;
}

.map-address-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    border-radius: 100px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(166, 113, 83, 0.1);
}

.map-card-link:hover .map-address-badge {
    background: white;
    transform: translateY(-5px);
}

.map-address-badge i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.map-address-badge span {
    color: var(--color-text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-map-action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 20px rgba(166, 113, 83, 0.3);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-card-link:hover .btn-map-action {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
    .map-visual-container {
        height: 350px;
    }

    .map-overlay {
        padding: 1.5rem;
    }

    .map-address-badge {
        padding: 0.75rem 1.25rem;
    }

    .map-address-badge span {
        font-size: 0.8rem;
    }

    .btn-map-action {
        opacity: 1;
        top: 2rem;
        right: 1.5rem;
        left: auto;
        transform: none;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .map-card-link:hover .btn-map-action {
        transform: none;
    }
}