:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --text: #0f172a;
    --muted: #475569;
    --border: #e2e8f0;
    --primary: #004431; /* Unisud Forest Green */
    --primary-alt: #00684c;
    --secondary: #10b981; /* Unisud Emerald */
    --accent: #fbbd23; /* Unisud Golden Yellow */
    --accent-dark: #ea580c;
    --shadow: 0 10px 25px rgba(0, 68, 49, 0.08);
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow-2xl: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.full-width-section { width: 100%; border-radius: 0 !important; }
.lp-hero-wrapper { width: 100%; }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

.fw-black { font-weight: 900; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.opacity-0 { opacity: 0; }
.opacity-75 { opacity: 0.75; }
.object-fit-cover { object-fit: cover; }
.img-fluid { max-width: 100%; height: auto; }
.rounded-4 { border-radius: 1.75rem !important; }
.rounded-5 { border-radius: 2.5rem !important; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.landing-body {
    margin: 0;
    color: var(--text);
    background-color: var(--bg);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Luxury Navbar */
.site-header {
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 0;
    z-index: 1050;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 0.75rem 0;
    box-shadow: 0 10px 30px rgba(0, 68, 49, 0.08);
    border-bottom: 1px solid rgba(0, 68, 49, 0.05);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary) !important;
    font-weight: 850;
    font-size: 1.45rem;
    text-decoration: none;
    letter-spacing: -0.04em;
    transition: transform 0.3s ease;
}

.brand-mark:hover { transform: scale(1.02); }

.brand-dot {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.scrolled .brand-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.lp-nav-link {
    text-decoration: none;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.85;
}

.lp-nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.lp-nav-link:hover {
    opacity: 1;
}

.lp-nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.scrolled .lp-nav-link {
    color: var(--muted) !important;
}

.scrolled .lp-nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.lp-hero-section {
    padding: 4rem 0;
}

.lp-hero-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 650px;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(0, 68, 49, 0.98), rgba(0, 68, 49, 0.6)), url('/assets/images/hero_students.png') center/cover no-repeat;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-hero-content {
    padding: 6rem;
    max-width: 850px;
    z-index: 2;
    color: #fff;
}

.lp-kicker {
    display: inline-block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    background: rgba(251, 189, 35, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(251, 189, 35, 0.2);
}

.lp-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.lp-hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 650px;
}

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

.lp-btn-primary {
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
    border-radius: 16px;
    padding: 1rem 2rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.lp-btn-primary:hover {
    background: var(--primary-alt);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.lp-btn-accent {
    background: var(--accent);
    color: var(--primary) !important;
    text-decoration: none;
    border-radius: 16px;
    padding: 1rem 2rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.lp-btn-accent:hover {
    background: #facc15;
    transform: translateY(-3px);
}

.lp-btn-outline {
    background: transparent;
    color: #fff !important;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 1rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.lp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Section Common */
.lp-section {
    padding: 10rem 0;
}

.lp-section-muted {
    background: var(--surface-soft);
}

.lp-section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.lp-section-subtitle {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 750px;
}

/* Benefit Cards */
.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.lp-benefit-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-benefit-card:hover {
    transform: translateY(-12px);
    border-color: var(--secondary);
    box-shadow: 0 25px 50px -12px rgba(0, 68, 49, 0.15);
}

.lp-benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    display: block;
}

.lp-benefit-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.lp-benefit-text {
    color: var(--muted);
    line-height: 1.7;
}

/* Course Cards */
.lp-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.lp-course-card {
    background: #fff;
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.lp-course-tag {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.lp-course-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Campus Support */
.lp-campus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.lp-campus-card {
    background: #fff;
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.lp-campus-card:hover {
    border-color: var(--secondary);
}

/* Testimonials */
.lp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.lp-testimonial-card {
    background: #fff;
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.lp-testimonial-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.lp-testimonial-author-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lp-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--surface-soft);
}

.lp-testimonial-avatar-fallback {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
}

/* Lead Section/Form */
.lp-lead-section {
    background: var(--primary);
    background-image: radial-gradient(circle at top right, rgba(16, 185, 129, 0.2), transparent 40%);
    padding: 8rem 0;
    color: #fff;
}

.lp-lead-shell {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.lp-lead-info .lp-section-title {
    color: #fff;
}

.lp-lead-info .lp-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.lp-lead-form-card {
    background: #fff;
    padding: 4rem;
    border-radius: 40px;
    color: var(--text);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
}

.lead-input {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lead-input:focus {
    border-color: var(--secondary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    .lp-hero-content {
        padding: 4rem 2rem;
    }
    .lp-benefits-grid, .lp-courses-grid, .lp-campus-grid, .lp-testimonials-grid, .lp-lead-shell {
        grid-template-columns: 1fr;
    }
    .lp-section {
        padding: 6rem 0;
    }
    .lp-lead-form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 576px) {
    .lp-hero-shell {
        min-height: 500px;
        border-radius: 24px;
    }
    .lp-hero-title {
        font-size: 2.2rem;
    }
    .lp-section-title {
        font-size: 2rem;
    }
}

/* Floating WhatsApp Custom */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff !important;
    text-decoration: none !important;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 800;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Identity Login Overhaul */
.identity-login-page {
    background: linear-gradient(135deg, var(--primary) 0%, #002c20 100%), url('https://www.unisud.edu.py/wp-content/uploads/2026/02/aula-en-laboratorio-unisud-nuevo-scaled.png') center/cover;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.identity-login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 520px;
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255,255,255,0.4);
}

.identity-login-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.identity-login-logo {
    margin-bottom: 2rem;
}

.identity-login-title {
    font-weight: 900;
    color: var(--primary);
    font-size: 2.2rem;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.identity-login-subtitle {
    color: var(--muted);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.8;
}

.identity-login-form label {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.identity-login-form .form-control {
    border: 2px solid #f1f3f5;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.identity-login-form .input-group-text {
    border: 2px solid #f1f3f5;
}

.identity-login-form .form-control:focus, 
.identity-login-form .form-control:focus + .input-group-text {
    border-color: var(--secondary);
    background: white;
}

.identity-login-link {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

.ls-1 { letter-spacing: 1px; }
.hover-primary:hover { color: var(--primary) !important; }

/* === ADMIN DESIGN SYSTEM === */
.admin-shell {
    display: flex;
    min-height: 100vh;
    background-color: #f8fafc;
}

.admin-sidebar {
    width: 290px;
    background-color: var(--primary);
    color: white;
    padding: 2.5rem 1.75rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 4rem;
    padding-left: 0.5rem;
}

.admin-brand-title {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    color: white;
}

.admin-brand-subtitle {
    font-size: 0.75rem;
    opacity: 0.6;
    font-weight: 500;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: rgba(255,255,255,0.73) !important;
    text-decoration: none !important;
    padding: 1.1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-nav-link i {
    width: 24px;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
}

.admin-nav-link:hover {
    color: white !important;
    background-color: rgba(255,255,255,0.08);
}

.admin-nav-link.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    border: none;
}

.admin-main {
    flex: 1;
    margin-left: 290px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background-color: white;
    padding: 1.75rem 4rem;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.admin-page-title {
    font-weight: 900;
    color: var(--primary);
    font-size: 2.1rem;
    margin: 0;
    letter-spacing: -0.05em;
}

.admin-page-subtitle {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 500;
    opacity: 0.65;
}

.admin-content {
    padding: 4rem;
    flex: 1;
}

.admin-grid {
    display: grid;
    gap: 2.5rem;
}

.admin-grid-3 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.admin-card {
    background: white;
    padding: 3.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--secondary);
}

.admin-card-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.admin-card-title {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.admin-card-text {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-size: 1.05rem;
    opacity: 0.8;
}

.btn-brand-primary {
    background-color: var(--primary);
    color: white !important;
    padding: 1.15rem 2rem;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-brand-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.bg-light-soft { background-color: #fcfdfe !important; }
.ls-1 { letter-spacing: 0.05em; }

