/* =======================================================
   ALUMBRAR S.A.S. - ALUMBRADO PÚBLICO DE RICAURTE
   Diseño Exclusivo: Oasis Solar & Turquesa Tropical
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta Turquesa Tropical & Coral Cálido */
    --primary: #0D9488;          /* Turquesa Aguamarina Profundo */
    --primary-dark: #0F766E;
    --primary-light: #2DD4BF;
    --primary-glow: rgba(13, 148, 136, 0.28);
    
    --accent: #F43F5E;           /* Coral Solar Cálido */
    --accent-light: #FB7185;
    --accent-glow: rgba(244, 63, 94, 0.3);
    
    --sun-gold: #F59E0B;
    
    --bg-page: #FAF9F5;          /* Arena Cálida Nácar */
    --bg-surface: #FFFFFF;
    --bg-surface-alt: #F3F1E9;
    --bg-dark: #131E20;          /* Verde Noche Profundo */
    --bg-dark-card: #1A282B;
    
    --text-main: #1C1917;        /* Pizarra Cálido */
    --text-muted: #57534E;
    --text-light: #F5F5F4;
    
    --border-light: #E7E5E4;
    --border-glow: rgba(13, 148, 136, 0.35);
    
    --shadow-sm: 0 4px 12px rgba(19, 30, 32, 0.05);
    --shadow-md: 0 12px 30px rgba(13, 148, 136, 0.12);
    --shadow-lg: 0 20px 45px rgba(19, 30, 32, 0.12);
    --shadow-coral: 0 10px 30px rgba(244, 63, 94, 0.25);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    
    --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

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

/* === LOADER === */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(45, 212, 191, 0.15);
    border-top: 3px solid var(--primary-light);
    border-right: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
    box-shadow: 0 0 30px var(--primary-glow);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === TOP BAR === */
.topbar {
    background: var(--bg-dark);
    color: #A8A29E;
    font-size: 0.85rem;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar__left, .topbar__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar a {
    color: #E7E5E4;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

/* === NAVBAR === */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 5%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.65rem 5%;
    box-shadow: 0 10px 30px rgba(19, 30, 32, 0.08);
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.navbar__logo img {
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.navbar__logo-text {
    display: flex;
    flex-direction: column;
}

.navbar__logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.navbar__logo-subtitle {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.navbar__link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    position: relative;
}

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

.navbar__link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.navbar__dropdown {
    position: relative;
}

.navbar__dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-surface);
    min-width: 230px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.6rem 0;
    border: 1px solid var(--border-light);
    z-index: 100;
}

.navbar__dropdown:hover .navbar__dropdown-content {
    display: block;
    animation: fadeIn 0.25s ease;
}

.navbar__dropdown-content a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar__dropdown-content a:hover {
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
    padding-left: 1.5rem;
}

.navbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #E11D48 100%);
    color: #FFFFFF !important;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-coral);
    transition: var(--transition);
}

.navbar__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.4);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.navbar__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.navbar__hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* === HERO SECTION (SPLIT DIAGONAL) === */
.hero {
    position: relative;
    padding: 5.5rem 5% 6.5rem;
    background: linear-gradient(145deg, #FAF9F5 0%, #F2EFE9 50%, #E6FAF6 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.25) 0%, rgba(244, 63, 94, 0.12) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.25);
    color: var(--primary-dark);
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: 3.6rem;
    line-height: 1.12;
    margin-bottom: 1.4rem;
    color: var(--text-main);
}

.hero__title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero__btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    padding: 1.05rem 2.2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero__btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--primary-glow);
    color: #FFFFFF;
}

.hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 1.05rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero__btn-secondary:hover {
    background: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-3px);
    color: var(--primary);
}

/* Hero Media 3D Card */
.hero__media {
    position: relative;
}

.hero__image-card {
    background: var(--bg-surface);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.hero__image-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.hero__floating-card {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.6rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
}

.hero__floating-icon {
    width: 46px;
    height: 46px;
    background: rgba(13, 148, 136, 0.12);
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.hero__floating-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
}

.hero__floating-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* === SECTIONS GENERAL === */
.section {
    padding: 6.5rem 5%;
}

.section__header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem;
}

.section__tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section__title {
    font-size: 2.6rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.section__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section__divider {
    width: 55px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1.2rem auto 0;
    border-radius: 4px;
}

/* === 3 PILLARS (NOSOTROS) === */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 3rem 2.2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon {
    width: 65px;
    height: 65px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 1.8rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #FFFFFF;
    transform: scale(1.1);
}

.pillar-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* === GALLERY / EXPANSION === */
.gallery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.gallery-card__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .gallery-card__img {
    transform: scale(1.06);
}

.gallery-card__info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-card__title {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.gallery-card__count {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-xl);
    width: fit-content;
    margin-top: 0.6rem;
}

.gallery-card__arrow {
    padding: 1rem 2rem;
    background: var(--bg-surface-alt);
    color: var(--primary-dark);
    font-weight: 700;
    text-align: right;
    border-top: 1px solid var(--border-light);
    transition: var(--transition);
}

.gallery-card:hover .gallery-card__arrow {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #FFFFFF;
    padding-right: 2.5rem;
}

/* === MARCO REGULATORIO (REVISTA DIGITAL) === */
.norm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.norm-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.norm-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.norm-card__icon img {
    max-height: 110px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
    transition: var(--transition);
}

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

.norm-card__title {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.norm-card__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* === ENTES DE CONTROL === */
.control-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.control-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem 2.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    min-width: 250px;
}

.control-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.control-card img {
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.control-card p {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

/* === CONTACTO & PQRS (DESK) === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-info__item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info__icon {
    font-size: 1.5rem;
    width: 52px;
    height: 52px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-info__text h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.contact-info__text p,
.contact-info__text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #FAF9F5;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, #E11D48 100%);
    color: #FFFFFF;
    border: none;
    padding: 1.15rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-coral);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(244, 63, 94, 0.45);
}

/* === FOOTER === */
.footer {
    background: var(--bg-dark);
    color: #A8A29E;
    padding: 5.5rem 5% 2.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto 3.5rem;
}

.footer__brand img {
    height: 55px;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    padding: 4px;
}

.footer__brand h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-top: 1rem;
}

.footer__title {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-light);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: #A8A29E;
    font-size: 0.92rem;
}

.footer__links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: #78716C;
}

/* === MODALS === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 30, 32, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active { display: flex; }

.lightbox__img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: var(--radius-md);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__close { top: 2rem; right: 2rem; }
.lightbox__prev { left: 2rem; }
.lightbox__next { right: 2rem; }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--primary);
}

.lightbox__caption {
    position: absolute;
    bottom: 2rem;
    color: #FFFFFF;
    font-size: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
}

/* PDF Modal */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 30, 32, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.pdf-modal.active { display: flex; }

.pdf-modal__content {
    background: #FFFFFF;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pdf-modal__header {
    padding: 1.2rem 1.8rem;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-modal__header h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
}

.pdf-modal__close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.4rem;
    cursor: pointer;
}

.pdf-modal__content iframe {
    flex: 1;
    border: none;
    width: 100%;
    height: 100%;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.3s ease;
}

.toast--success { background: #10B981; }
.toast--error { background: #EF4444; }
.toast--info { background: var(--primary); }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero__container { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
    .hero__title { font-size: 2.8rem; }
    .hero__actions { justify-content: center; }
    .hero__floating-card { left: 50%; transform: translateX(-50%); bottom: -20px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #FFFFFF;
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
    }
    .navbar__menu.active { left: 0; }
    .navbar__hamburger { display: flex; }
    .hero__title { font-size: 2.2rem; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
