/* ==========================================================================
   AMMA Abraza con Amor A.C. - Stylesheet
   Designed with premium aesthetics, rich animations and mobile-first responsive grid.
   ========================================================================== */

/* --- Custom Fonts (Local Gontserrat) --- */
@font-face {
    font-family: 'Gontserrat';
    src: url('fonts/Gontserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Gontserrat';
    src: url('fonts/Gontserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Gontserrat';
    src: url('fonts/Gontserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Gontserrat';
    src: url('fonts/Gontserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary: #82008f;
    --primary-hover: #6a0075;
    --primary-light: #f6ecf8;
    --secondary: #d9432a;
    --secondary-hover: #c0331b;
    --secondary-light: #fdf2f0;
    --dark: #2c2030;
    --light: #ffffff;
    --gray: #7c727e;
    --gray-light: #f5eff5;
    --accent-yellow: #ffd54f;
    
    /* Font families */
    --font-header: 'Inter', sans-serif;
    --font-body: 'Montserrat', 'Gontserrat', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px -1px rgba(130, 0, 143, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(130, 0, 143, 0.08), 0 4px 6px -2px rgba(130, 0, 143, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(130, 0, 143, 0.1), 0 10px 10px -5px rgba(130, 0, 143, 0.04);
    --shadow-accent: 0 15px 20px -3px rgba(217, 67, 42, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: #faf7fb;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

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

/* --- Typography System --- */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-weight: 800;
}

/* --- Reusable Components (Buttons & Cards) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(130, 0, 143, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.section-header {
    margin-bottom: 3rem;
}

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

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    background-color: var(--secondary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--dark);
    margin-top: 0.25rem;
    position: relative;
    display: inline-block;
}

.section-description {
    max-width: 650px;
    margin: 1rem auto 0;
    color: var(--gray);
    font-size: 1.05rem;
}

/* Grids and Layout elements */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

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

/* Rounded image with borders and shadow styling */
.image-wrapper {
    position: relative;
    z-index: 1;
}

.rounded-img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
    border: 6px solid var(--light);
}

.image-accent-border {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px dashed var(--primary-light);
    top: 15px;
    left: 15px;
    border-radius: 24px;
    z-index: 0;
}

.image-accent-border.accent-orange {
    border-color: var(--secondary-light);
}

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



/* --- Navigation Header Styles --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(130, 0, 143, 0.05);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 70px;
}

.header-logo {
    width: 180px;
    height: auto;
    max-width: 100%;
    transition: var(--transition-smooth);
    display: block;
}

.main-header.scrolled .header-logo {
    width: 140px;
}

.nav-menu ul {
    display: none;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    display: block;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        margin: 0 1rem;
    }

    .nav-menu ul {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }
    
    .nav-link {
        font-weight: 500;
        color: var(--gray);
        font-size: 0.9rem;
        position: relative;
        padding: 0.5rem 0;
        white-space: nowrap;
    }
    
    .nav-link:hover, .nav-link.active {
        color: var(--primary);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: var(--transition-fast);
    }
    
    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
}

@media (min-width: 1200px) {
    .nav-menu {
        margin: 0 2rem;
    }
    .nav-menu ul {
        gap: 2rem;
    }
    .nav-link {
        font-size: 0.95rem;
    }
}

/* Mobile Nav Open overlay styles */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background-color: var(--light);
        z-index: 999;
        transition: var(--transition-smooth);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
    }
    
    .main-header.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--dark);
        display: block;
    }
    
    .nav-link.active, .nav-link:hover {
        color: var(--primary);
        padding-left: 0.5rem;
    }
}

/* --- Hero Section Styles --- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, #fcf7fc 0%, #faf3fa 50%, #f8eff8 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    z-index: 10;
}

.hero-tagline {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background-color: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 550px;
}

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

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(130, 0, 143, 0.15) 0%, rgba(130, 0, 143, 0) 70%);
    z-index: 0;
}

.hero-featured-img {
    max-width: 85%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(130, 0, 143, 0.12));
    z-index: 2;
    animation: floatHeroImage 6s ease-in-out infinite;
}

@keyframes floatHeroImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.hero-wave .shape-fill {
    fill: #faf7fb;
}

/* --- Who We Are Section Styles --- */
.about-section {
    padding: 80px 0;
    background-color: #faf7fb;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.about-text .highlight-text {
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 500;
    border-left: 4px solid var(--primary);
    padding-left: 1.25rem;
    margin: 2rem 0;
}

/* --- Mission & Values Styles --- */
.mission-values-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.mission-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Values Sub-section */
.values-wrapper {
    margin-top: 80px;
}

.grid-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .grid-values {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.values-side-img {
    height: 480px;
    width: 100%;
    object-fit: cover;
}

.grid-2-mini {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .grid-2-mini {
        grid-template-columns: 1fr 1fr;
    }
}

.value-card {
    background-color: #faf7fb;
    padding: 1.75rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(130, 0, 143, 0.02);
}

.value-card:hover {
    background-color: var(--light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(130, 0, 143, 0.1);
}

.value-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card:hover .value-icon {
    color: var(--secondary);
    animation: beatHeart 0.5s ease infinite alternate;
}

@keyframes beatHeart {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

/* --- Reach Coahuila Section Styles --- */
.reach-section {
    padding: 80px 0;
    background-color: #faf7fb;
}

.reach-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.reach-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-family: var(--font-header);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
}

.highlight-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 16px 16px 0;
    font-weight: 500;
    color: var(--dark);
}

/* --- Support Programs Section Styles --- */
.programs-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

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

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

.program-card {
    background-color: #faf7fb;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(130, 0, 143, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--light);
    border-color: rgba(130, 0, 143, 0.08);
}

.program-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.program-img.img-portrait {
    object-fit: contain;
    background-color: rgba(130, 0, 143, 0.03);
    padding: 0.5rem;
}

.program-card:hover .program-img {
    transform: scale(1.08);
}

.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(130, 0, 143, 0.85);
    color: var(--light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.program-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.program-quote {
    font-style: italic;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.75rem;
    border-left: 2px solid var(--secondary);
}

.program-info p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --- Rostros de Esperanza (Patients Section) Styles --- */
.patients-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

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

.patient-card {
    background-color: #faf7fb;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(130, 0, 143, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.patient-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background-color: var(--light);
    border-color: rgba(130, 0, 143, 0.08);
}

.patient-image-container {
    height: 380px;
    overflow: hidden;
    position: relative;
    border-bottom: 6px solid var(--light);
}

.patient-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.patient-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.patient-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-family: var(--font-header);
}

.patient-diagnostic {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.patient-date {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Report Banner styles */
.report-banner-box {
    margin-top: 5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f6ecf8 100%);
    border: 1px solid rgba(130, 0, 143, 0.1);
    border-radius: 28px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .report-banner-box {
        grid-template-columns: 1.5fr 1fr;
        padding: 3rem;
    }
}

.report-text-side {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.report-icon {
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
}

.report-info-text h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-header);
}

.report-info-text p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.report-btn-side {
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .report-btn-side {
        justify-content: flex-end;
    }
}

.btn-report {
    background-color: var(--secondary);
    color: var(--light);
    box-shadow: var(--shadow-accent);
}

.btn-report:hover {
    background-color: var(--secondary-hover);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(217, 67, 42, 0.3);
}

/* --- Project 2026 Section Styles --- */
.project-2026-section {
    padding: 80px 0;
    background-color: #faf7fb;
}

.project-year-tag {
    color: var(--primary);
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    letter-spacing: 1px;
}

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

.feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--dark);
}

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

.project-blueprint-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

/* --- Contact & Redes Sociales Styles --- */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-channels {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.channel-item:hover .channel-icon {
    background-color: var(--primary);
    color: var(--light);
}

.channel-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.channel-details p a {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.channel-details p a:hover {
    color: var(--primary);
}

.qr-container-box {
    margin-top: 3.5rem;
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: 20px;
    max-width: 380px;
}

.qr-container-box h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.qr-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 4px solid var(--light);
    border-radius: 12px;
}

/* Form Styles */
.form-card {
    background-color: #faf7fb;
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid rgba(130, 0, 143, 0.03);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(130, 0, 143, 0.15);
    background-color: var(--light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(130, 0, 143, 0.1);
}

/* --- Footer Styles --- */
.main-footer {
    background-color: #1a0f1d;
    color: #b5acb7;
    padding: 70px 0 30px;
    font-size: 0.9rem;
}

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

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

.footer-brand .footer-logo {
    width: 250px !important;
    height: auto !important;
    max-width: 100%;
    margin-bottom: 1.25rem;
    filter: invert(1);
}

.footer-brand p {
    line-height: 1.6;
    max-width: 350px;
}

.footer-links h4, .footer-social h4 {
    color: var(--light);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

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

.footer-links ul li a {
    color: #b5acb7;
}

.footer-links ul li a:hover {
    color: var(--light);
    padding-left: 0.25rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
}

.footer-legal-links {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #b5acb7;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--light);
    text-decoration: underline;
}

/* Google Maps Embed Styles */
.map-embed-container {
    margin-top: 3rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--light);
    height: 350px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .map-embed-container {
        margin-top: 4rem;
        height: 450px;
    }
}

.map-embed-container:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

/* --- Interactive Monitas Hug Overlay Styles --- */
.hug-notification-container {
    position: fixed;
    bottom: 30px;
    right: -420px; /* Hidden initially offscreen */
    width: 380px;
    z-index: 10000;
    transition: right 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.hug-notification-container.show {
    right: 30px;
}

@media (max-width: 480px) {
    .hug-notification-container {
        width: calc(100% - 40px);
        right: -100%;
    }
    .hug-notification-container.show {
        right: 20px;
    }
}

.hug-notification-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(130, 0, 143, 0.12);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(44, 32, 48, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hug-close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.hug-close-btn:hover {
    color: var(--secondary);
}

.hug-stage {
    position: relative;
    width: 280px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* Animated elements using separate monitas */
.animated-monita {
    position: absolute;
    bottom: 15px; /* Align to the same baseline */
    width: auto;
    object-fit: contain;
    transition: all 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.monita-left-sprite {
    height: 112px; /* Smaller girl (approx 75% height) */
    left: 15px;
    transform: translateX(-50px);
    opacity: 0;
}

.monita-right-sprite {
    height: 150px; /* Taller girl */
    right: 15px;
    transform: translateX(50px);
    opacity: 0;
}

.monita-hugged-sprite {
    height: 150px;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Trigger animation states */
.hug-notification-container.animating .monita-left-sprite {
    opacity: 1;
    transform: translateX(65px); /* Slide together to meet in center */
}

.hug-notification-container.animating .monita-right-sprite {
    opacity: 1;
    transform: translateX(-65px); /* Slide together to meet in center */
}

/* When hugged trigger */
.hug-notification-container.hugged .monita-left-sprite,
.hug-notification-container.hugged .monita-right-sprite {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hug-notification-container.hugged .monita-hugged-sprite {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
    animation: heartbeatPulse 1.2s infinite alternate ease-in-out;
}

@keyframes heartbeatPulse {
    0% { transform: translateX(-50%) scale(1); }
    100% { transform: translateX(-50%) scale(1.08); }
}

.hug-notification-text {
    text-align: center;
    margin-top: 1rem;
}

.hug-title {
    font-family: var(--font-header);
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hug-message {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 0.15rem;
}

/* --- Floating Hearts Particle Animation --- */
.hearts-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: visible;
}

.heart-particle {
    position: absolute;
    color: var(--secondary);
    font-size: 1.5rem;
    animation: floatHeart 2.2s forwards cubic-bezier(0.1, 0.8, 0.3, 1);
    opacity: 0;
}

@keyframes floatHeart {
    0% {
        transform: translate(0, 50px) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--x-offset), -100px) scale(1.2) rotate(var(--rotate));
        opacity: 0;
    }
}

/* --- Floating Heart FAB Button --- */
.floating-heart-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--light);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.floating-heart-btn:hover {
    background-color: var(--secondary-hover);
    transform: scale(1.1) rotate(15deg);
}

.floating-heart-btn .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--secondary);
    top: 0;
    left: 0;
    animation: pulseRingAnimation 2.2s infinite;
}

@keyframes pulseRingAnimation {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* --- Stripe Donation Button Custom Styles --- */
.btn-donate i, .btn-donate-card i, #hero-btn-donate i {
    transition: var(--transition-fast);
}

.btn-donate:hover i, .btn-donate-card:hover i, #hero-btn-donate:hover i {
    transform: scale(1.25) rotate(10deg);
}

@media (max-width: 576px) {
    #btn-donate-header {
        display: none; /* Hide on mobile header to avoid clutter */
    }
}
