:root {
    --bg: #030303;
    --border: rgba(255, 255, 255, 0.1);
    --card-bg: #0a0a0a;
    --success: #1748A6;
    --text-dim: #888;
}

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

body, html {
    background: var(--bg);
    color: #fff;
    font-family: 'Inter', sans-serif;
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* REVEAL SCREEN */
#reveal-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1.2s ease;
}

#reveal-screen.fade-out { opacity: 0; }

.reveal-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
}

.logo-reveal { width: clamp(120px, 30vw, 180px); opacity: 0; transform: scale(0.9); animation: logoFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.brand-reveal { font-family: 'Montserrat', sans-serif; font-size: clamp(1.2rem, 5vw, 2rem); font-weight: 900; text-transform: uppercase; letter-spacing: 5px; margin-top: 20px; opacity: 0; animation: fadeIn 1s ease forwards 0.4s; }
.line-reveal { height: 1px; width: 0; background: linear-gradient(90deg, transparent, #fff, transparent); margin: 20px 0; animation: expandLine 1.2s ease forwards 0.6s; }
.slogan-reveal { font-size: 0.6rem; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; margin-top: 10px; opacity: 0; animation: fadeIn 1s ease forwards 1s; }

@keyframes logoFadeIn { to { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes expandLine { to { width: 60%; } }

/* NAVIGATION RESPONSIVE */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.nav-center {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    background: transparent;
    border: none;
    color: #555;
    font-weight: 800;
    font-size: 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 12px;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-btn.active { color: #fff; border-bottom: 2px solid #fff; }

.esperumos-nav-btn {
    background: transparent;
    color: var(--success);
    border: 1px solid var(--success);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Montserrat';
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.esperumos-nav-btn:hover { background: rgba(23, 72, 166, 0.2); }

/* HEADER */
.site-header {
    padding: 50px 15px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-main { width: 90px; margin-bottom: 15px; }
.agency-name { font-family: 'Montserrat'; font-weight: 900; letter-spacing: 4px; text-transform: uppercase; font-size: 1.4rem; }
.slogan { font-size: 0.65rem; letter-spacing: 1.5px; color: var(--text-dim); text-transform: uppercase; margin-top: 10px; line-height: 1.4; }

.container { max-width: 1200px; margin: 0 auto; padding: 15px; }
.section { display: none; }
.section.active { display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
}

.title-small { font-size: 0.6rem; color: #555; letter-spacing: 2px; margin-bottom: 8px; font-weight: 800; text-transform: uppercase; }
.value-large { font-family: 'Montserrat'; font-size: 1.3rem; font-weight: 900; margin-bottom: 15px; }

.form-input {
    background: #000;
    border: 1px solid var(--border);
    color: #fff;
    padding: 10px 12px;
    margin: 6px 0;
    width: 100%;
    font-size: 0.9rem;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}

.form-input::placeholder { color: #666; }
.form-input:focus { border-color: var(--success); outline: none; }

.action-btn {
    background: var(--success);
    color: #fff;
    padding: 12px;
    font-family: 'Montserrat';
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(23, 72, 166, 0.3);
    width: 100%;
}

.action-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(23, 72, 166, 0.5); }

.loading {
    display: none;
    margin: 10px 0;
    color: var(--success);
    font-size: 0.85rem;
    text-align: center;
}

.success-message {
    display: none;
    background: rgba(23, 72, 166, 0.2);
    border: 1px solid var(--success);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.find-code-btn {
    background: transparent;
    color: var(--success);
    border: 1px solid var(--success);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    margin: 12px 0 5px;
    border-radius: 6px;
    transition: 0.3s;
    width: 100%;
    font-size: 0.85rem;
}

.find-code-btn:hover { background: rgba(23, 72, 166, 0.15); }

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    max-width: 500px;
    width: 90%;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.modal-title {
    font-family: 'Montserrat';
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-text { font-size: 0.9rem; line-height: 1.6; color: #ddd; }
.modal-steps { text-align: left; margin: 15px 0; padding-left: 15px; }
.modal-steps li { margin-bottom: 10px; line-height: 1.5; }

.theme-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
}

.theme-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.theme-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--success);
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.theme-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.theme-card:hover .theme-img img { transform: scale(1.1); }

.theme-title { font-family: 'Montserrat'; font-weight: 900; font-size: 1rem; text-transform: uppercase; letter-spacing: 1.5px; }

details {
    border: 1px solid var(--border);
    background: #070707;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
}

summary {
    font-family: 'Montserrat';
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: uppercase;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after { content: '+'; color: var(--success); font-size: 1.4rem; font-weight: 900; }
details[open] summary::after { content: '-'; }

.glossary-content { font-size: 0.8rem; color: var(--text-dim); margin-top: 15px; line-height: 1.5; padding-left: 10px; }

footer { text-align: center; padding: 60px 20px; color: #333; font-size: 0.5rem; letter-spacing: 3px; font-weight: 900; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-center { gap: 10px; }
    .nav-btn { font-size: 0.75rem; padding: 8px 12px; }
    .esperumos-nav-btn { font-size: 0.75rem; padding: 8px 16px; }
}

@media (max-width: 768px) {
    nav { padding: 10px; }
    .nav-inner { flex-direction: column; gap: 10px; }
    .nav-center { width: 100%; flex-direction: column; gap: 8px; }
    .esperumos-nav-btn { width: 100%; text-align: center; }
    .site-header { padding: 40px 15px 30px; }
    .logo-main { width: 80px; }
    .agency-name { font-size: 1.3rem; }
    .slogan { font-size: 0.6rem; }
    .card { padding: 15px; }
    .value-large { font-size: 1.0rem; }
    .form-input { padding: 10px; font-size: 0.9rem; }
    .action-btn { padding: 12px; font-size: 0.9rem; }
    .theme-list { gap: 20px; }
    .theme-img { width: 100px; height: 100px; }
    .modal-content { padding: 20px; }
    footer { padding: 50px 15px; }
}

@media (max-width: 480px) {
    .grid { grid-template-columns: 1fr; }
    .theme-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .nav-btn { padding: 6px 10px; font-size: 0.7rem; }
}