
:root {
    --lila-dark: #5b2d8e;
    --lila-mid: #7c3fbf;
    --lila-light: #a96fd8;
    --lila-pale: #e8d5f7;
    --amarillo: #f5c800;
    --amarillo-light: #ffe566;
    --amarillo-pale: #fff9d6;
    --grad-main: linear-gradient(
        135deg,
        #391462 0%,
        #511c89 40%,
        #641d93 70%,
        #9c810c 100%
    );
    --grad-btn: linear-gradient(90deg, #7c3fbf, #f5c800);
    --grad-section: linear-gradient(160deg, #c6a7e5 0%, #e6d886 100%);
    --white: #ffffff;
    --text-dark: #1a0933;
    --text-mid: #4a3060;
    --radius: 18px;
    --shadow: 0 8px 32px rgba(91, 45, 142, 0.18);
    --shadow-card: 0 4px 24px rgba(91, 45, 142, 0.12);
}

/* ── BASE ───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--text-dark);
    background: #faf7ff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Lato", sans-serif;
}

/* ── SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f0e8ff;
}

::-webkit-scrollbar-thumb {
    background: var(--lila-mid);
    border-radius: 4px;
}

/* ── TOP BAR ────────────────────────────────────────── */
#topbar {
    background: var(--lila-dark);
    color: #dcc8f5;
    font-size: 0.78rem;
    padding: 6px 0;
    letter-spacing: 0.02em;
}

#topbar a {
    color: var(--amarillo-light);
    text-decoration: none;
}

#topbar a:hover {
    color: #fff;
}

/* ── NAVBAR ─────────────────────────────────────────── */
#mainNav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(91, 45, 142, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 30px rgba(91, 45, 142, 0.18);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    background: var(--grad-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 14px rgba(91, 45, 142, 0.35);
    flex-shrink: 0;
}

.brand-text strong {
    display: block;
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--lila-dark);
    line-height: 1;
}

.brand-text span {
    font-size: 0.68rem;
    color: var(--text-mid);
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.nav-link {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark) !important;
    padding: 8px 14px !important;
    border-radius: 10px;
    transition: all 0.25s;
}

.nav-link:hover,
.nav-link.active {
    background: var(--lila-pale);
    color: var(--lila-dark) !important;
}

.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(91, 45, 142, 0.18);
    padding: 8px;
    min-width: 220px;
    animation: dropIn 0.2s ease;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 9px 14px;
    color: var(--text-dark);
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--grad-main);
    color: #fff;
}

.dropdown-item i {
    color: var(--lila-mid);
    margin-right: 8px;
}

.dropdown-item:hover i {
    color: var(--amarillo);
}

/* ── HERO ───────────────────────────────────────────── */
#inicio {
    background: var(--grad-main);
    min-height: 92vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: #fff;
    top: -150px;
    right: -100px;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--amarillo);
    bottom: -100px;
    left: -80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 7px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .accent {
    color: var(--amarillo);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.btn-hero-primary {
    background: var(--amarillo);
    color: var(--lila-dark);
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    padding: 14px 34px;
    box-shadow: 0 6px 24px rgba(245, 200, 0, 0.4);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 200, 0, 0.5);
    color: var(--lila-dark);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 13px 30px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-family: "Lato", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--amarillo);
}

.hero-stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
}

.hero-card-float {
    background: rgba(0, 0, 0, 0.152);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 32px;
    color: #fff;
}

.hero-card-float h4 {
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--amarillo);
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s;
    border: 1px solid transparent;
}

.quick-action:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(6px);
    color: var(--amarillo);
}

.quick-action .qa-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-action .qa-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.quick-action .qa-text small {
    font-size: 0.75rem;
    opacity: 0.75;
}

/* ── SECTION COMMONS ───────────────────────────────── */
section {
    padding: 90px 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lila-pale);
    color: var(--lila-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title .grad {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    color: var(--text-mid);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.7;
}

.divider-lila {
    width: 60px;
    height: 4px;
    background: var(--grad-btn);
    border-radius: 4px;
    margin: 18px 0;
}

/* ── INSTITUCIONAL ─────────────────────────────────── */
#institucional {
    background: var(--grad-section);
}

.inst-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 32px;
    height: 100%;
    border: 1px solid rgba(91, 45, 142, 0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.inst-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-btn);
}

.inst-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.inst-card .ic-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--grad-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(91, 45, 142, 0.3);
}

.inst-card h5 {
    font-weight: 700;
    color: var(--lila-dark);
    margin-bottom: 10px;
}

/* ── DERECHOS ──────────────────────────────────────── */
#derechos {
    background: #fff;
}

.derecho-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--grad-section);
    border: 1px solid rgba(91, 45, 142, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.derecho-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--lila-light);
}

.derecho-num {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-main);
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── OBLIGACIONES ──────────────────────────────────── */
#obligaciones {
    background: var(--grad-section);
}

.oblig-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 24px;
    border-left: 5px solid var(--lila-mid);
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    height: 100%;
}

.oblig-card:hover {
    transform: translateX(6px);
    border-left-color: var(--amarillo);
}

.oblig-card i {
    font-size: 1.8rem;
    color: var(--lila-mid);
    margin-bottom: 12px;
}

/* ── SERVICIOS ─────────────────────────────────────── */
#servicios {
    background: var(--lila-dark);
    position: relative;
    overflow: hidden;
}

#servicios::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
}

#servicios .section-title {
    color: #fff;
}

#servicios .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

#servicios .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.serv-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 32px 26px;
    color: #fff;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    cursor: pointer;
}

.serv-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    border-color: var(--amarillo);
}

.serv-card .sc-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.serv-card:hover .sc-icon {
    background: var(--amarillo);
    border-color: var(--amarillo);
    color: var(--lila-dark);
}

.serv-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.serv-card p {
    font-size: 0.88rem;
    opacity: 0.8;
}

/* ── ATENCIÓN AL USUARIO ────────────────────────────── */
#atencion {
    background: #fff;
}

/* ── FORMULARIO RECLAMO ────────────────────────────── */
#reclamo {
    background: var(--grad-section);
}

.form-section-header {
    background: var(--grad-main);
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 28px 36px;
    color: #fff;
}

.form-section-header h3 {
    font-weight: 800;
    margin: 0;
}

.form-section-header p {
    margin: 6px 0 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.form-section-header .fsh-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.form-body {
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.form-step-indicator {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    background: #f5eeff;
    border-radius: 50px;
    padding: 4px;
}

.fsi-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.3s;
}

.fsi-step.active {
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 4px 12px rgba(91, 45, 142, 0.25);
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-mid);
    margin-bottom: 6px;
}

.form-label span {
    color: #e74c3c;
}

.form-control,
.form-select {
    border: 2px solid #e8d5f7;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: all 0.25s;
    background: #faf7ff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--lila-mid);
    box-shadow: 0 0 0 4px rgba(124, 63, 191, 0.12);
    background: #fff;
    outline: none;
}

.form-control::placeholder {
    color: #b8a0d0;
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.input-group-text {
    background: var(--lila-pale);
    border: 2px solid #e8d5f7;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--lila-mid);
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.btn-form-primary {
    background: var(--grad-main);
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(91, 45, 142, 0.3);
    transition: all 0.3s;
}

.btn-form-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 45, 142, 0.4);
    color: #fff;
}

.btn-form-secondary {
    background: transparent;
    color: var(--lila-mid);
    font-family: "Lato", sans-serif;
    font-weight: 700;
    border: 2px solid var(--lila-mid);
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-form-secondary:hover {
    background: var(--lila-pale);
}

.form-check-input:checked {
    background-color: var(--lila-mid);
    border-color: var(--lila-mid);
}

.file-upload-area {
    border: 2px dashed #c5a8e8;
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #faf7ff;
}

.file-upload-area:hover {
    border-color: var(--lila-mid);
    background: var(--lila-pale);
}

.file-upload-area i {
    font-size: 2.2rem;
    color: var(--lila-light);
    display: block;
    margin-bottom: 8px;
}

.form-progress {
    height: 6px;
    background: #e8d5f7;
    border-radius: 50px;
    margin-bottom: 28px;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: var(--grad-btn);
    border-radius: 50px;
    transition: width 0.4s ease;
}

.field-group-title {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--lila-dark);
    padding: 8px 14px;
    background: var(--lila-pale);
    border-radius: 8px;
    margin: 20px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── FORMULARIO SUGERENCIA ─────────────────────────── */
#sugerencia {
    background: #fff;
}

.sug-header {
    background: linear-gradient(135deg, #f5c800, #e8a000);
}

.rating-stars {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.star-btn {
    font-size: 2rem;
    color: #d0b8e8;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border: none;
    padding: 4px;
}

.star-btn.active,
.star-btn:hover {
    color: var(--amarillo);
    transform: scale(1.2);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-pill {
    padding: 9px 18px;
    border-radius: 50px;
    border: 2px solid #e8d5f7;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.25s;
    background: #faf7ff;
    user-select: none;
}

.cat-pill.selected,
.cat-pill:hover {
    background: var(--grad-main);
    color: #fff;
    border-color: transparent;
}

.priority-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(
        to right,
        var(--lila-mid) 0%,
        var(--lila-mid) 50%,
        #e8d5f7 50%,
        #e8d5f7 100%
    );
    outline: none;
}

.priority-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lila-mid);
    box-shadow: 0 2px 8px rgba(91, 45, 142, 0.35);
    cursor: pointer;
}

.priority-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-mid);
    margin-top: 4px;
}

/* ── DENUNCIA ──────────────────────────────────────── */
#denuncia {
    background: var(--grad-section);
}

.den-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.den-card:hover {
    border-color: var(--lila-mid);
    transform: translateY(-4px);
}

.den-card.selected {
    border-color: var(--lila-mid);
    background: var(--lila-pale);
}

.den-card i {
    font-size: 2.2rem;
    color: var(--lila-mid);
    margin-bottom: 14px;
    display: block;
}

/* ── NOTICIAS ──────────────────────────────────────── */
#noticias {
    background: var(--grad-section);
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    border: 1px solid rgba(91, 45, 142, 0.08);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.news-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.news-img-1 {
    background: linear-gradient(135deg, #7c3fbf, #c78af0);
}

.news-img-2 {
    background: linear-gradient(135deg, #f5c800, #e8a000);
}

.news-img-3 {
    background: linear-gradient(135deg, #5b2d8e, #7c3fbf);
}

.news-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--lila-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
}

.news-body {
    padding: 24px;
}

.news-date {
    font-size: 0.78rem;
    color: var(--lila-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-body h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-body p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.btn-news {
    color: var(--lila-mid);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    transition: gap 0.2s;
}

.btn-news:hover {
    gap: 10px;
    color: var(--lila-dark);
}

/* ── TRANSPARENCIA ─────────────────────────────────── */
#transparencia {
    background: #fff;
}

.trans-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid #e8d5f7;
    transition: all 0.25s;
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.trans-item:hover {
    background: var(--lila-pale);
    border-color: var(--lila-mid);
    transform: translateX(6px);
    color: var(--lila-dark);
}

.trans-item .ti-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--lila-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--lila-mid);
    flex-shrink: 0;
}

.trans-item:hover .ti-icon {
    background: var(--lila-mid);
    color: #fff;
}

/* ── FAQ ───────────────────────────────────────────── */
#faq {
    background: var(--grad-section);
}

.accordion-item {
    border: 1px solid #e8d5f7 !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: var(--text-dark) !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 20px 22px;
    font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
    color: var(--lila-dark) !important;
    background: var(--lila-pale) !important;
}

.accordion-button::after {
    filter: hue-rotate(260deg);
}

.accordion-body {
    padding: 18px 22px;
    color: var(--text-mid);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ── CONTACTO ──────────────────────────────────────── */
#contacto2 {
    background: var(--lila-dark);
    position: relative;
    overflow: hidden;
}

#contacto2::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(245, 200, 0, 0.15) 0%,
        transparent 70%
    );
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

#contacto2 .section-title {
    color: #fff;
}

#contacto2 .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

#contacto2 .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    color: #fff;
    height: 100%;
    transition: all 0.3s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.contact-card .cc-icon {
    width: 60px;
    height: 60px;
    background: var(--amarillo);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--lila-dark);
    margin: 0 auto 16px;
}

.contact-card h6 {
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.88rem;
    opacity: 0.85;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--amarillo);
    box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.2);
    color: #fff;
}

.contact-form .form-label {
    color: rgba(255, 255, 255, 0.85);
}

.contact-form select option {
    background: var(--lila-dark);
    color: #fff;
}

.btn-contact {
    background: var(--amarillo);
    color: var(--lila-dark);
    font-family: "Lato", sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 14px 36px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(245, 200, 0, 0.3);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 200, 0, 0.4);
    color: var(--lila-dark);
}

/* ── FOOTER ────────────────────────────────────────── */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

footer .footer-brand strong {
    font-family: "Lato", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

footer .footer-brand p {
    font-size: 0.85rem;
    margin-top: 10px;
    line-height: 1.7;
}

footer h6 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    display: block;
    margin-bottom: 8px;
}

footer a:hover {
    color: var(--amarillo);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 48px;
    font-size: 0.8rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-right: 8px;
    transition: all 0.25s;
    font-size: 1rem;
}

.social-btn:hover {
    background: var(--lila-mid);
    color: #fff;
    border-color: var(--lila-mid);
    transform: translateY(-2px);
}

/* ── WHATSAPP BTN ──────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.wa-bubble {
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
    color: var(--text-dark);
    max-width: 220px;
    display: none;
    position: relative;
    animation: bubbleIn 0.3s ease;
    border: 1px solid #e8e8e8;
}

.wa-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 22px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    transform: rotate(45deg);
}

.wa-bubble.show {
    display: block;
}

.wa-bubble strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.wa-bubble span {
    color: var(--text-mid);
    font-size: 0.8rem;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wa-btn {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
}

.wa-btn:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.wa-btn svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.wa-btn .wa-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--amarillo);
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--lila-dark);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.wa-label {
    position: absolute;
    right: 74px;
    background: var(--text-dark);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.wa-btn:hover .wa-label {
    opacity: 1;
}

/* ── TOAST ─────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
}

.toast-lila {
    background: var(--lila-dark);
    color: #fff;
    border-radius: 14px;
    border: none;
}

.toast-lila .toast-header {
    background: var(--lila-mid);
    color: #fff;
    border-radius: 14px 14px 0 0;
}

/* ── SUCCESS STATE ─────────────────────────────────── */
.form-success {
    text-align: center;
    padding: 50px 30px;
    display: none;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    margin: 0 auto 20px;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* ── MISC UTILS ────────────────────────────────────── */
.gradient-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-lila {
    background: var(--lila-pale);
    color: var(--lila-dark);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 50px;
}

.badge-amarillo {
    background: var(--amarillo-pale);
    color: #7a5c00;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 50px;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 24px;
    }

    .form-body {
        padding: 24px 18px;
    }

    .form-section-header {
        padding: 22px 24px;
    }

    .wa-float {
        bottom: 20px;
        right: 20px;
    }
}
