/* ============================================
   Julián Ospina Posada - Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors */
    --color-primary: #1B2A4A;
    --color-primary-dark: #111D35;
    --color-primary-light: #2A3F6A;
    --color-accent: #C9A227;
    --color-accent-light: #E6C84C;
    --color-accent-dark: #A68520;
    --color-bg: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #1B2A4A;
    --color-text: #1A1A2E;
    --color-text-secondary: #4A5568;
    --color-text-light: #718096;
    --color-text-on-dark: #F5F5F5;
    --color-border: #E2E8F0;
    --color-border-light: #EDF2F7;
    --color-success: #48BB78;
    --color-error: #F56565;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    /* Font sizes (fluid) */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.76rem + 0.2vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    --text-xl: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
    --text-4xl: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
    --text-5xl: clamp(2.8rem, 2rem + 3vw, 4rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: clamp(4rem, 3rem + 5vw, 7rem);

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 800px;
    --nav-height: 72px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

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

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

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

.section-label {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: var(--text-3xl);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

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

.section--dark {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
    color: var(--color-text-on-dark);
}

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

.section--alt {
    background: var(--color-bg-white);
}

/* Grid system */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

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

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

/* Flex utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.nav__name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.nav__tagline {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.nav__links {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Hamburger */
.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

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

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

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

/* Mobile menu */
.nav__mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-bg-white);
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
    z-index: 999;
}

.nav__mobile.open {
    right: 0;
}

.nav__mobile-link {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
    transition: color var(--transition-fast);
}

.nav__mobile-link:hover {
    color: var(--color-accent);
}

.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 998;
}

.nav__overlay.visible {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .nav__links { display: flex; }
    .nav__toggle { display: none; }
    .nav__mobile,
    .nav__overlay { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn--outline-light {
    background: transparent;
    color: var(--color-text-on-dark);
    border-color: rgba(255,255,255,0.3);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: var(--color-bg-white);
}

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

.btn--dark:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: var(--color-bg-white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: var(--text-base);
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
}

.btn--icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
}

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

.card__image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.card__body {
    padding: var(--space-lg);
}

.card__category {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.card__text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-light);
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

/* Stat card */
.stat-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

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

.stat-card__number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-card__label {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.stat-card__desc {
    font-size: var(--text-xs);
    color: var(--color-text-light);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 60%, #0D1B2A 100%);
    color: var(--color-text-on-dark);
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr auto;
        gap: var(--space-4xl);
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* Portrait in hero */
.hero__portrait {
    display: none;
    justify-content: center;
    align-items: center;
}

@media (min-width: 900px) {
    .hero__portrait {
        display: flex;
    }
}

.hero__portrait-img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 4px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4);
    filter: brightness(1.02) contrast(1.02);
    transition: all var(--transition-slow);
}

.hero__portrait-img:hover {
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 0 0 12px rgba(201, 162, 39, 0.12), 0 24px 64px rgba(0, 0, 0, 0.45);
    transform: scale(1.02);
}

.hero__label {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero__label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--color-accent);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-text-on-dark);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 540px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Page hero (shorter, for inner pages) */
.page-hero {
    padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-on-dark);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-md);
}

.page-hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
}

/* ============================================
   INTRO / ABOUT SECTION
   ============================================ */
.intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.intro__image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    border-radius: var(--border-radius-xl);
    object-fit: cover;
    object-position: top center;
    background: linear-gradient(145deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    box-shadow: var(--shadow-lg);
}

.intro__text {
    max-width: 560px;
}

.intro__quote {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-primary);
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-lg);
    margin-top: var(--space-xl);
    line-height: 1.6;
}

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

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline__year {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.timeline__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.timeline__desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background: var(--color-bg-white);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-text-on-dark);
    border-color: var(--color-primary);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    background: var(--color-bg-dark);
    border-radius: var(--border-radius-xl);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    color: var(--color-text-on-dark);
}

.newsletter__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-sm);
}

.newsletter__subtitle {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-xl);
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 480px;
    margin: 0 auto;
}

.newsletter__input {
    font-family: var(--font-body);
    font-size: var(--text-base);
    padding: 0.875rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: var(--color-text-on-dark);
    outline: none;
    transition: all var(--transition-fast);
}

.newsletter__input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter__input:focus {
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.12);
}

.newsletter__msg {
    font-size: var(--text-sm);
    margin-top: var(--space-sm);
    min-height: 1.5em;
}

.newsletter__msg--success { color: var(--color-success); }
.newsletter__msg--error { color: var(--color-error); }

@media (min-width: 640px) {
    .newsletter__form {
        flex-direction: row;
    }

    .newsletter__input {
        flex: 1;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.7);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-sm);
}

.footer__brand-desc {
    font-size: var(--text-sm);
    line-height: 1.6;
    max-width: 300px;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-on-dark);
    margin-bottom: var(--space-md);
    letter-spacing: 0.5px;
}

.footer__link {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-accent);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.footer__social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.footer__bottom {
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
}

@media (min-width: 640px) {
    .footer__top {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: var(--text-base);
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-bg-white);
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

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

/* ============================================
   VALUES SECTION
   ============================================ */
.value-card {
    text-align: center;
    padding: var(--space-xl);
}

.value-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.value-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.value-card__text {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   ANIMATIONS (Intersection Observer)
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Image placeholder */
.img-placeholder {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 2rem;
}

/* WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    text-decoration: none;
    font-size: 1.5rem;
}

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

/* Share buttons */
.share-btns {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.share-btn--whatsapp {
    background: #25D366;
    color: white;
}

.share-btn--whatsapp:hover {
    background: #1da851;
    color: white;
}

.share-btn--facebook {
    background: #1877F2;
    color: white;
}

.share-btn--facebook:hover {
    background: #1466d4;
    color: white;
}

.share-btn--twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn--twitter:hover {
    background: #0d8ecf;
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-lg);
}

.breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    color: rgba(255,255,255,0.3);
}
