/* ============================================
   FIMHAC - Premium Landing Page Styles
   Fundación Integral Multidisciplinaria Humana
   ============================================ */

/* ==================== CSS RESET ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== CSS CUSTOM PROPERTIES ==================== */
:root {
    /* Colors - Light Blue & Cyan Palette */
    --color-primary: #06B6D4;
    /* Cyan 500 - main brand color */
    --color-primary-light: #67E8F9;
    /* Cyan 300 - lighter accent */
    --color-primary-dark: #0891B2;
    /* Cyan 600 - darker shade */
    --color-secondary: #14B8A6;
    /* Teal 500 - secondary brand */
    --color-secondary-light: #5EEAD4;
    /* Teal 300 - light teal */
    --color-secondary-dark: #0D9488;
    /* Teal 600 - dark teal */
    --color-accent: #0EA5E9;
    /* Sky Blue 500 - accent color */
    --color-accent-light: #7DD3FC;
    /* Sky Blue 300 - light accent */

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-gray-50: #F0FDFA;
    --color-gray-100: #CCFBF1;
    --color-gray-200: #99F6E4;
    --color-gray-300: #5EEAD4;
    --color-gray-400: #2DD4BF;
    --color-gray-500: #64748B;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1E293B;
    --color-gray-900: #0F172A;
    --color-dark: #0F172A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #67E8F9 0%, #06B6D4 100%);
    --gradient-secondary: linear-gradient(135deg, #5EEAD4 0%, #14B8A6 100%);
    --gradient-accent: linear-gradient(135deg, #7DD3FC 0%, #0EA5E9 100%);
    --gradient-hero: linear-gradient(135deg, #67E8F9 0%, #06B6D4 50%, #0EA5E9 100%);
    --gradient-dark: linear-gradient(135deg, #083344 0%, #0c4a6e 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-light: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-dark: rgba(0, 0, 0, 0.1);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(6, 182, 212, 0.05);
    --shadow-sm: 0 2px 8px rgba(6, 182, 212, 0.08);
    --shadow-md: 0 4px 16px rgba(6, 182, 212, 0.12);
    --shadow-lg: 0 10px 30px rgba(6, 182, 212, 0.15);
    --shadow-xl: 0 20px 50px rgba(6, 182, 212, 0.2);
    --shadow-glow-primary: 0 0 40px rgba(6, 182, 212, 0.4);
    --shadow-glow-secondary: 0 0 40px rgba(14, 165, 233, 0.4);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.6s ease-in-out;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-tooltip: 1050;

    /* Container */
    --container-max: 1280px;
    --container-padding: var(--space-6);
}

/* ==================== BASE STYLES ==================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
}

h3 {
    font-size: var(--text-3xl);
    font-weight: 700;
}

h4 {
    font-size: var(--text-2xl);
    font-weight: 600;
}

h5 {
    font-size: var(--text-xl);
    font-weight: 600;
}

h6 {
    font-size: var(--text-lg);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
    color: var(--color-gray-600);
}

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

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

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

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

/* ==================== UTILITY CLASSES ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

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

.section--gray {
    background-color: var(--color-gray-50);
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}

.section--dark p {
    color: var(--color-gray-300);
}

/* Section Headers */
.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section__header--light .section__tag,
.section__header--light .section__title,
.section__header--light .section__description {
    color: var(--color-white);
}

.section__tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section__tag--light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.section__title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.section__title--left {
    text-align: left;
}

.section__description {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
    color: var(--color-white);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--secondary {
    background: transparent;
    color: var(--color-gray-700);
    border: 2px solid var(--color-gray-300);
}

.btn--secondary:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-400);
    color: var(--color-gray-900);
    transform: translateY(-2px);
}

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

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
}

.btn--nav {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
}

.btn--full {
    width: 100%;
}

.btn--large {
    padding: var(--space-5) var(--space-12);
    font-size: var(--text-lg);
}

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

.btn--donate {
    background: linear-gradient(135deg, #EF4444, #F97316);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: donatePulse 2.5s ease-in-out infinite;
}

.btn--donate:hover {
    background: linear-gradient(135deg, #DC2626, #EA580C);
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
    color: var(--color-white);
}

@keyframes donatePulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.2);
    }
}

.hero__btn-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.hero__btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: scale(1.05);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--glass-bg-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-8);
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.nav__brand {
    display: flex;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-gray-900);
    text-decoration: none;
}

.nav__logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    justify-content: center;
}

.nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav__link:hover {
    color: var(--color-primary);
    background: rgba(14, 165, 233, 0.05);
}

.nav__link.active {
    color: var(--color-primary);
    background: rgba(14, 165, 233, 0.1);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--color-gray-100);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-dropdown__toggle:hover {
    background: var(--color-gray-200);
}

.lang-dropdown__icon {
    transition: transform var(--transition-fast);
}

.lang-dropdown__toggle[aria-expanded="true"] .lang-dropdown__icon {
    transform: rotate(180deg);
}

.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    right: 0;
    min-width: 150px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.lang-dropdown__menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: none;
    border: none;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-dropdown__item:hover {
    background: var(--color-gray-100);
}

.lang-dropdown__item:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lang-dropdown__item:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.lang-dropdown__flag {
    font-size: var(--text-lg);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: var(--space-1);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--color-gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--space-20);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(103, 232, 249, 0.88) 0%, rgba(6, 182, 212, 0.88) 50%, rgba(14, 165, 233, 0.88) 100%),
        url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    animation: gradientShift 15s ease infinite;
}

.hero__particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: particles 30s linear infinite;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero__text {
    animation: fadeInUp 1s ease-out;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.hero__badge-icon {
    font-size: var(--text-lg);
    animation: iconBounce 2s ease-in-out infinite;
}

.hero__title {
    font-size: var(--text-5xl);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__title span {
    display: block;
}

.hero__title-highlight {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero__cta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Hero Stats Bar */
.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    animation: fadeInUp 1s ease-out 1s both;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.hero__stat-number--active {
    color: #FCD34D;
}

.hero__stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.hero__visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-slow);
    background: var(--glass-bg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-2xl);
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.2));
}

/* Floating Elements */
.hero__float {
    position: absolute;
    border-radius: var(--radius-full);
    animation: float 6s ease-in-out infinite;
}

.hero__float--1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(252, 211, 77, 0.3));
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero__float--2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(56, 189, 248, 0.3));
    bottom: 20%;
    right: 20%;
    animation-delay: 1s;
}

.hero__float--3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(167, 139, 250, 0.3));
    top: 50%;
    right: -20px;
    animation-delay: 2s;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s ease-in-out infinite;
}

.hero__scroll:hover {
    color: var(--color-white);
}

/* ==================== ABOUT SECTION ==================== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: var(--space-16);
    max-width: 1100px;
    margin: 0 auto;
}

.about__images {
    position: relative;
    width: 100%;
}

.about__image-primary {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--gradient-primary);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__image-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

.about__image-badge {
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about__badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.about__badge-text {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-1);
}

.about__text {
    width: 100%;
}

.about__description {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: var(--space-6);
}

.about__subtitle {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

/* ==================== ACTIVITIES SECTION (Grid Cards) ==================== */
.activities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.activity-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(14, 165, 233, 0.15);
}

.activity-card__icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-4);
    transition: all var(--transition-normal);
}

.activity-card:hover .activity-card__icon {
    animation: heartbeat 1s ease;
}

.activity-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--color-gray-900);
}

.activity-card__desc {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* (Regime, Address, Obligations, Transparency sections removed) */

/* ==================== LEGAL SECTION ==================== */
.legal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-8);
}

.legal-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.legal-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.legal-card__title,
.section--dark .legal-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    color: var(--color-gray-900);
}

.legal-card__text {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-gray-600);
}

.legal-card__link {
    display: inline-block;
    margin-top: var(--space-2);
    color: var(--color-primary);
    font-weight: 600;
}

.legal-card__list {
    list-style: none;
    margin-top: var(--space-4);
}

.legal-card__list li {
    padding: var(--space-2) 0;
    color: var(--color-gray-600);
}

.legal-card__list a {
    color: var(--color-primary);
}

/* ==================== CONTACT SECTION ==================== */
.contact__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.contact__form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
}

.contact__form-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
    color: var(--color-gray-900);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-700);
}

.form-group input,
.form-group textarea {
    padding: var(--space-4);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-gray-800);
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

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

.contact__submit {
    align-self: flex-start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.contact-card__icon {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.contact-card__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.contact-card__content {
    color: var(--color-gray-600);
}

.contact-card__content p {
    margin-bottom: 0;
}

.contact-card__content a {
    color: var(--color-primary);
    font-weight: 500;
}

/* ==================== LEGAL MODAL ==================== */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.legal-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-modal__content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    padding: var(--space-10) var(--space-12);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
}

.legal-modal.active .legal-modal__content {
    transform: translateY(0) scale(1);
}

.legal-modal__close {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
    margin-left: auto;
}

.legal-modal__close:hover {
    background: var(--color-gray-200);
    color: var(--color-gray-900);
    transform: rotate(90deg);
}

.legal-modal__body h1 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
    padding-right: var(--space-12);
}

.legal-modal__body h2 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-gray-800);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--color-gray-100);
}

.legal-modal__body h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-gray-700);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.legal-modal__body p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: var(--space-4);
}

.legal-modal__body .legal-modal__date {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    font-style: italic;
    margin-bottom: var(--space-6);
}

.legal-modal__body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-4);
}

.legal-modal__body ul li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-gray-600);
}

.legal-modal__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
}

.legal-modal__body a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.legal-modal__body a:hover {
    color: var(--color-primary-dark);
}

.legal-modal__body strong {
    color: var(--color-gray-800);
    font-weight: 600;
}

/* Legal modal scrollbar */
.legal-modal__content::-webkit-scrollbar {
    width: 6px;
}

.legal-modal__content::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal__content::-webkit-scrollbar-thumb {
    background: var(--color-gray-300);
    border-radius: var(--radius-full);
}

.legal-modal__content::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-400);
}

/* Footer legal links */
.footer__links--legal {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal modal responsive */
@media (max-width: 768px) {
    .legal-modal__content {
        width: 95%;
        max-height: 90vh;
        padding: var(--space-6) var(--space-6);
        border-radius: var(--radius-xl);
    }

    .legal-modal__body h1 {
        font-size: var(--text-2xl);
        padding-right: var(--space-8);
    }

    .legal-modal__body h2 {
        font-size: var(--text-lg);
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gradient-dark);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.footer__logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.footer__description {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: 0;
}

.footer__column-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__links a {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__legal-list li {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    line-height: 1.5;
}

.footer__legal-list strong {
    color: var(--color-gray-300);
}


.footer__contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__contact-list li {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    line-height: 1.5;
}

.footer__contact-list a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer__contact-list a:hover {
    color: var(--color-white);
}

.footer__brand-subtitle {
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--color-gray-400);
    margin-bottom: 0;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
    text-align: center;
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: var(--space-2);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: var(--shadow-md);
        transform: scale(1);
    }

    50% {
        box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
        transform: scale(1.02);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}

@keyframes particles {
    from {
        background-position: 0 0, 0 0, 0 0;
    }

    to {
        background-position: 1000px 1000px, 1500px 1500px, 800px 800px;
    }
}

/* Modern Micro-Animations */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(14, 165, 233, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.8), 0 0 30px rgba(139, 92, 246, 0.6);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

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

    .about__text {
        text-align: center;
    }

    .about__images {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer__brand {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-4);
    }

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

    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    h3 {
        font-size: var(--text-2xl);
    }

    .hero {
        padding-top: var(--space-24);
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .btn--large {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-base);
    }

    .nav {
        grid-template-columns: auto auto;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-24) var(--space-6);
        gap: var(--space-2);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav__menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav__menu .nav__link {
        display: block;
        padding: var(--space-4);
        font-size: var(--text-lg);
        text-align: center;
        background: var(--color-gray-50);
        border-radius: var(--radius-lg);
    }

    .nav__toggle {
        display: flex;
        z-index: var(--z-modal);
    }

    .nav__actions .btn--nav {
        display: none;
    }

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

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

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__brand {
        align-items: center;
    }

    .footer__column {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: var(--text-3xl);
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .hero__stat-divider {
        width: 40px;
        height: 1px;
    }
}