/* ===== RESET & VARIABLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6c63ff;
    --primary-dark: #5a52d5;
    --accent: #ff6b9d;
    --danger: #ff4757;
    --warning: #ffa502;
    --success: #2ed573;
    --dark: #f0f2ff;
    --dark-light: #e8eafc;
    --dark-card: rgba(255, 255, 255, 0.9);
    --text: #2d2d44;
    --text-muted: #6b6b80;
    --sidebar-width: 80px;
    --sidebar-expanded: 240px;
    --gradient-1: linear-gradient(135deg, #6c63ff 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #ff6b9d 0%, #ff8e53 100%);
    --gradient-3: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
    --gradient-danger: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    --gradient-rescue: linear-gradient(135deg, #2ed573 0%, #3b82f6 100%);
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 25%, #8d6e63 50%, #4e342e 75%, #6d4c41 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    color: #ffffff;
    cursor: none;
}

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99999;
    transition: transform 0.15s ease;
}

.cursor-follower {
    width: 40px; height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99998;
    transition: transform 0.3s ease, width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-follower {
    width: 60px; height: 60px;
    border-color: var(--accent);
    background: rgba(255, 107, 157, 0.15);
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0; top: 0;
    width: 60px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0;
    z-index: 1000;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar:hover {
    width: 200px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding: 0 0.6rem;
    width: 100%;
}

.sidebar-logo {
    width: 38px; height: 38px;
    background: var(--gradient-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.3);
}

.sidebar-brand {
    display: none;
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
}

.sidebar:hover .sidebar-brand {
    display: inline;
}

.sidebar-nav {
    list-style: none;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.6rem;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-item i {
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.nav-item span {
    display: none;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 0.8rem;
}

.sidebar:hover .nav-item {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
}

.sidebar:hover .nav-item span {
    display: inline;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
}

.nav-item.active i {
    color: #ffffff;
}

.nav-indicator {
    position: absolute;
    left: -0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-1);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.nav-item.active .nav-indicator {
    height: 50%;
}

.emergency-link {
    background: rgba(255, 70, 70, 0.15) !important;
    color: #ff4757 !important;
    border: 1px solid rgba(255, 70, 70, 0.3);
    margin-top: 0.5rem;
}

.emergency-link i { color: #ff4757 !important; }
.emergency-link span { color: #ff4757 !important; }

.sidebar-footer {
    padding: 0.8rem 0.6rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.emergency-badge {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 70, 70, 0.2);
    border: 1px solid rgba(255, 70, 70, 0.5);
    border-radius: 12px;
    color: #ff4757;
    font-size: 0.9rem;
    animation: pulse-glow-danger 2s ease-in-out infinite;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
}

.emergency-badge span {
    display: none;
    font-size: 0.7rem;
    font-weight: 600;
}

.sidebar:hover .emergency-badge {
    width: auto;
    padding: 0.6rem 1rem;
}

.sidebar:hover .emergency-badge span {
    display: inline;
}

@keyframes pulse-glow-danger {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 107, 107, 0.2); }
    50% { box-shadow: 0 0 25px rgba(255, 107, 107, 0.4); }
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 1.2rem; left: 1.2rem;
    z-index: 1100;
    width: 42px; height: 42px;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 20px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== PAGE DOTS ===== */
.page-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 100;
}

.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

.dot.active {
    background: var(--primary);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
    transform: scale(1.5);
}

/* ===== SECTIONS WRAPPER ===== */
.sections-wrapper {
    margin-left: 60px;
    width: calc(100% - 60px);
    height: 100vh;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.page-section {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem 2rem 4rem;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.page-section.active {
    display: flex;
}

.section-content {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);
}

.hero-title span { display: block; }

.gradient-text {
    background: linear-gradient(135deg, #fff700, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.gradient-text-alt {
    background: linear-gradient(135deg, #00ff87, #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(240, 147, 251, 0.08);
    transform: translateY(-3px);
}

.btn-full { width: 100%; justify-content: center; }

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 280px; height: 280px;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.1;
    position: absolute;
    animation: pulse-circle 4s ease-in-out infinite;
}

@keyframes pulse-circle {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

.floating-card {
    position: absolute;
    width: 70px; height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-1 { top: 15%; left: 25%; background: var(--gradient-danger); animation: float 5s ease-in-out infinite; }
.card-2 { top: 45%; right: 15%; background: var(--gradient-rescue); animation: float 5s ease-in-out infinite 1s; }
.card-3 { bottom: 15%; left: 35%; background: var(--gradient-2); animation: float 5s ease-in-out infinite 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(3deg); }
    66% { transform: translateY(8px) rotate(-2deg); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 0.7rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(5px);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* ===== PROTOCOL CHOICE CARDS ===== */
.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.protocol-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 650px;
    margin: 0 auto;
}

.choice-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.choice-humano::before { background: linear-gradient(135deg, rgba(255,107,107,0.08), rgba(254,202,87,0.04)); }
.choice-animal::before { background: linear-gradient(135deg, rgba(0,210,211,0.08), rgba(102,126,234,0.04)); }

.choice-card:hover::before { opacity: 1; }

.choice-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.choice-humano:hover { border-color: var(--danger); }
.choice-animal:hover { border-color: var(--success); }

.choice-icon {
    width: 70px; height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 1;
}

.choice-img {
    width: 80px; height: 80px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.choice-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.choice-card:hover .choice-img {
    transform: scale(1.08);
    border-color: rgba(255,255,255,0.3);
}

.choice-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    position: relative; z-index: 1;
    color: #2d2d44;
}

.choice-card p {
    font-size: 0.75rem;
    color: #6b6b80;
    line-height: 1.4;
    position: relative; z-index: 1;
}

.choice-arrow {
    margin-top: 0.8rem;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative; z-index: 1;
}
.choice-card:hover .choice-arrow {
    transform: translateX(5px);
    color: var(--text);
}

/* Protocol Detail View */
.protocol-detail {
    animation: fadeUp 0.4s ease;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
    backdrop-filter: blur(5px);
}

.back-btn:hover {
    background: rgba(255,255,255,0.35);
    border-color: #ffffff;
    color: #ffffff;
}

.protocol-detail-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.5);
    color: #2d2d44;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.protocol-detail-title i {
    font-size: 1rem;
}

#protocol-humano .protocol-detail-title i { color: var(--danger); }
#protocol-animal .protocol-detail-title i { color: var(--success); }

.protocol-panel { display: none; }
.protocol-panel.active { display: block; animation: fadeUp 0.4s ease; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.step-card.danger:hover { border-color: rgba(255, 107, 107, 0.3); }
.step-card.rescue:hover { border-color: rgba(0, 210, 211, 0.3); }

.step-num {
    font-size: 1.3rem;
    font-weight: 900;
    opacity: 0.08;
    position: absolute;
    top: 0.3rem; right: 0.6rem;
}

.step-icon-wrap {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.step-card.danger .step-icon-wrap { background: rgba(255, 107, 107, 0.12); color: var(--danger); }
.step-card.rescue .step-icon-wrap { background: rgba(0, 210, 211, 0.12); color: var(--success); }

.step-card h4 { font-size: 0.75rem; font-weight: 600; margin-bottom: 0.2rem; color: #2d2d44; }
.step-card p { font-size: 0.68rem; color: #6b6b80; line-height: 1.3; }

/* ===== MISSION ===== */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.2);
}

.mission-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.mission-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: #2d2d44; }
.mission-card p { color: #6b6b80; line-height: 1.6; font-size: 0.8rem; }

/* ===== ABOUT ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.about-lead { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.5; color: #ffffff; text-shadow: 0 1px 5px rgba(0,0,0,0.2); }
.about-text p { color: rgba(255,255,255,0.85); line-height: 1.5; margin-bottom: 0.8rem; font-size: 0.78rem; }

.about-features { display: flex; flex-direction: column; gap: 0.4rem; }
.feature { display: flex; align-items: center; gap: 0.5rem; }
.feature i { color: #2ed573; font-size: 0.85rem; }
.feature span { color: rgba(255,255,255,0.85); font-size: 0.75rem; }

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.about-card {
    padding: 1.1rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.about-card:hover { transform: translateY(-3px); }
.about-card i { font-size: 1.3rem; }
.about-card span { font-weight: 600; font-size: 0.7rem; color: #2d2d44; }

.ac-1 { background: linear-gradient(135deg, #6c63ff22, #6c63ff08); border-color: rgba(108,99,255,0.2); }
.ac-2 { background: linear-gradient(135deg, #ff6b9d22, #ff6b9d08); border-color: rgba(255,107,157,0.2); }
.ac-3 { background: linear-gradient(135deg, #ffa50222, #ffa50208); border-color: rgba(255,165,2,0.2); }
.ac-4 { background: linear-gradient(135deg, #2ed57322, #2ed57308); border-color: rgba(46,213,115,0.2); }

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 100px;
    gap: 0.7rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gallery-placeholder i { font-size: 1.5rem; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gallery-placeholder span { color: #6b6b80; font-size: 0.65rem; }

.gallery-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(10, 10, 26, 0.9));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15); }
.gallery-overlay h4 { font-size: 0.8rem; }

/* ===== LOCATION ===== */
.location-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.2rem;
    align-items: start;
}

.location-map { border-radius: 12px; overflow: hidden; height: 220px; border: 1px solid rgba(255,255,255,0.05); }
.location-map iframe { width: 100%; height: 100%; }

.location-cards { display: flex; flex-direction: column; gap: 0.6rem; }

.info-card {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-card:hover { border-color: rgba(102, 126, 234, 0.3); transform: translateX(3px); }
.info-card i { font-size: 1rem; color: var(--primary); min-width: 20px; }
.info-card h4 { font-size: 0.75rem; font-weight: 600; margin-bottom: 0.1rem; color: #2d2d44; }
.info-card p { font-size: 0.7rem; color: #6b6b80; }

/* ===== CONTACT ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.2rem;
    align-items: start;
}

.contact-form {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

.form-group {
    position: relative;
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.65rem 0.65rem 0.65rem 2.2rem;
    background: rgba(240, 242, 255, 0.9);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 8px;
    color: #2d2d44;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group textarea { resize: none; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.1);
}

.form-group i {
    position: absolute; left: 0.7rem; top: 0.75rem;
    color: var(--text-muted); font-size: 0.75rem;
    transition: color 0.3s ease;
}

.form-group input:focus ~ i,
.form-group textarea:focus ~ i { color: var(--primary); }

.form-group select option { background: #ffffff; color: #2d2d44; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }

.contact-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.contact-card:hover { border-color: rgba(102, 126, 234, 0.3); transform: translateY(-2px); }

a.contact-card { text-decoration: none; display: block; }

.cc-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--gradient-1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 0.8rem;
}

.contact-card h4 { font-size: 0.72rem; margin-bottom: 0.1rem; color: #2d2d44; }
.contact-card p { color: #6b6b80; font-size: 0.68rem; }

/* ===== PARTICLES ===== */
.hero-particles {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { cursor: auto; }
    .custom-cursor, .cursor-follower { display: none; }

    .sidebar {
        left: -260px;
        width: 260px;
        align-items: flex-start;
        padding: 1.5rem;
        transition: left 0.4s ease;
    }

    .sidebar.open { left: 0; }
    .sidebar.open .nav-item span { display: inline; }
    .sidebar.open .nav-item { justify-content: flex-start; gap: 1rem; }
    .sidebar.open .sidebar-brand { display: inline; }
    .sidebar.open .emergency-badge { width: auto; padding: 0.7rem 1rem; }
    .sidebar.open .emergency-badge span { display: inline; font-size: 0.75rem; }

    .mobile-toggle { display: flex; }

    .sections-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .page-section {
        padding: 1.5rem 1.5rem 6rem;
    }

    .page-dots { display: none; }

    .hero-layout { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .about-layout { grid-template-columns: 1fr; }
    .location-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 80px; }
    .steps-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .protocol-choice { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .section-header { margin-bottom: 1rem; }
    .section-title { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 70px; }
    .about-cards { grid-template-columns: 1fr 1fr; }
    .protocol-choice { max-width: 260px; }
    .page-section { padding: 1rem 1rem 6rem !important; }

    .hero-text {
        text-align: center;
        padding-top: 3.5rem;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 0.85rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-content {
        padding-top: 2.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}
