:root {
    --bg: #07090f;
    --panel: #0f1424;
    --text: #f6f7fb;
    --muted: #b7bed4;
    --accent: #64d6ff;
    --accent-strong: #4fb3da;
    --card: #0c1020;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: transform, opacity;
}

[data-animate].scroll-up {
    transform: translateY(-28px);
}

[data-animate].scroll-down {
    transform: translateY(28px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 10% 10%, rgba(100, 214, 255, 0.08), transparent 25%),
        radial-gradient(circle at 90% 30%, rgba(148, 107, 255, 0.08), transparent 22%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.dynamic-lights {
    position: fixed;
    inset: -10%;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.45;
    mix-blend-mode: screen;
    z-index: 0;
}

.dynamic-lights .light {
    position: absolute;
    width: 42vw;
    max-width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0.9;
    background: radial-gradient(circle, rgba(100, 214, 255, 0.9), rgba(100, 214, 255, 0));
    animation: float-light 22s ease-in-out infinite alternate;
}

.dynamic-lights .light.cyan {
    top: 8%;
    left: 6%;
    background: radial-gradient(circle, rgba(100, 214, 255, 0.85), rgba(100, 214, 255, 0));
    animation-duration: 20s;
}

.dynamic-lights .light.magenta {
    top: 18%;
    right: 2%;
    background: radial-gradient(circle, rgba(255, 98, 195, 0.7), rgba(255, 98, 195, 0));
    animation-duration: 24s;
    animation-delay: -3s;
}

.dynamic-lights .light.purple {
    bottom: 6%;
    left: 24%;
    background: radial-gradient(circle, rgba(148, 107, 255, 0.7), rgba(148, 107, 255, 0));
    animation-duration: 26s;
    animation-delay: -6s;
}

@keyframes float-light {
    0% {
        transform: translate3d(-6%, -4%, 0) scale(1);
    }
    50% {
        transform: translate3d(8%, 10%, 0) scale(1.08);
    }
    100% {
        transform: translate3d(-10%, 14%, 0) scale(0.96);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section.muted {
    background: linear-gradient(135deg, rgba(100, 214, 255, 0.05), rgba(10, 16, 28, 0.6));
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin: 12px 0;
    font-size: clamp(28px, 3vw, 36px);
}

.eyebrow {
    display: inline-block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text);
}

p {
    margin: 0;
    color: var(--muted);
}

.lead {
    font-size: clamp(16px, 2.2vw, 20px);
    max-width: 640px;
    margin-top: 14px;
}

.hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(100, 214, 255, 0.18), transparent 25%),
        radial-gradient(circle at 80% 10%, rgba(125, 98, 255, 0.18), transparent 22%),
        linear-gradient(120deg, #060910, #0c1324 60%, #0d0f1b);
}

.hero.has-video {
    background: #05070f;
}

.hero-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background: #000;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 177.78vh; /* 16:9 based on viewport height to avoid black bars */
    height: 56.25vw; /* 16:9 based on viewport width */
    min-width: 100%;
    min-height: 100%;
    border: none;
    pointer-events: none;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1400&q=80') center/cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: saturate(0.8);
    z-index: 1;
}

.hero.has-video .overlay {
    opacity: 0.16;
}

.hero .overlay.tint {
    background: radial-gradient(circle at 20% 20%, rgba(6, 9, 16, 0.75), rgba(6, 9, 16, 0.35)),
        linear-gradient(160deg, rgba(5, 7, 15, 0.75), rgba(9, 12, 24, 0.2));
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.brand-mark {
    margin: 0 0 14px;
}

.brand-mark img {
    width: min(600px, 100%);
    height: auto;
    max-height: 600px;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.hero h1 {
    font-size: clamp(44px, 5vw, 56px);
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0 16px;
    flex-wrap: wrap;
}

.social-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    padding-inline: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-btn .social-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.stats div {
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 6px;
}

.stats strong {
    font-size: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #04121f;
    box-shadow: var(--shadow);
}

.btn.ghost {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.btn:hover {
    transform: translateY(-2px);
}

.floating-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 14px 16px;
    margin: 0 auto;
    background: rgba(12, 16, 28, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transform: translateY(-26px);
    position: sticky;
    top: 12px;
    z-index: 10;
}

.floating-nav a {
    color: var(--muted);
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    transition: color 150ms ease, background 150ms ease;
}

.floating-nav a.active {
    color: var(--text);
    background: rgba(100, 214, 255, 0.12);
}

.floating-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.floating-nav .accent {
    color: var(--text);
    background: rgba(100, 214, 255, 0.12);
}

.grid {
    display: grid;
    gap: 18px;
}

.services {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.events {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonials {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    padding: 20px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
    min-height: 180px;
}

.card .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.card h3 {
    margin-bottom: 8px;
}

.dynamic-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dynamic-card {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) 1fr;
    gap: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.dynamic-card__media {
    position: relative;
    min-height: 220px;
}

.dynamic-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dynamic-card__body {
    padding: 26px;
    display: grid;
    gap: 10px;
    align-content: center;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}

.checks {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    gap: 12px;
}

.checks li {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.checks span {
    color: var(--accent);
    font-weight: 800;
}

.panel {
    background: linear-gradient(145deg, #0f1424, #0b1020);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    box-shadow: var(--shadow);
}

.panel-header {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.timeline {
    display: grid;
    gap: 18px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.bullet {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(100, 214, 255, 0.16);
    color: var(--accent);
    font-weight: 800;
    border: 1px solid rgba(100, 214, 255, 0.35);
}

.quote {
    color: var(--text);
    font-weight: 600;
    font-size: 18px;
}

.author {
    margin-top: 10px;
    font-weight: 600;
    color: var(--accent);
}

.contact .badge {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(100, 214, 255, 0.12);
    color: var(--accent);
    border: 1px solid rgba(100, 214, 255, 0.3);
    font-weight: 700;
}

.form-panel {
    padding: 24px;
}

.field {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

label {
    font-weight: 700;
    color: var(--text);
}

input, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: inherit;
}

input::placeholder, textarea::placeholder {
    color: var(--muted);
}

textarea {
    resize: vertical;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-weight: 600;
}

.alert.success {
    background: rgba(92, 227, 132, 0.1);
    color: #8af0b3;
    border: 1px solid rgba(92, 227, 132, 0.3);
}

.alert.error {
    background: rgba(255, 107, 107, 0.1);
    color: #ffc6c6;
    border: 1px solid rgba(255, 107, 107, 0.35);
}

.alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.form-footnote {
    margin-top: 8px;
    font-size: 14px;
}

.link {
    color: var(--accent);
    font-weight: 700;
}

.cta-inline {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #25d366;
    color: #04230c;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.18);
    z-index: 20;
    transition: transform 150ms ease;
}

.whatsapp:hover {
    transform: translateY(-2px);
}

.page-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.confirmation-shell {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
}

.confirmation-card {
    max-width: 760px;
    width: min(760px, 100%);
    text-align: center;
    display: grid;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 32px 28px;
    backdrop-filter: blur(8px);
}

.confirmation-card .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.confirmation-card .lead {
    margin: 0 auto;
    color: #c6d2e8;
}

.status-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    font-weight: 800;
    font-size: 26px;
    color: #0a0e19;
}

.status-icon.success {
    background: linear-gradient(135deg, #6abdeb, #8ef6c0);
    box-shadow: 0 10px 30px rgba(110, 189, 235, 0.3);
}

.auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(106, 189, 235, 0.08), transparent 25%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 25%),
        var(--surface);
}

.auth-card,
.panel-card,
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(8px);
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.muted {
    color: rgba(255, 255, 255, 0.72);
}

.muted.small {
    font-size: 14px;
}

.auth-form {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    color: #fff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 2px solid #6abdeb;
    border-color: #6abdeb;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember input {
    width: 16px;
    height: 16px;
}

.btn.full {
    width: 100%;
    justify-content: center;
}

.flash {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.flash-success {
    background: rgba(86, 227, 180, 0.12);
    color: #b5f8dd;
    border-color: rgba(86, 227, 180, 0.4);
}

.flash-error {
    background: rgba(255, 107, 107, 0.12);
    color: #ffb8b8;
    border-color: rgba(255, 107, 107, 0.38);
}

.flash-info {
    background: rgba(106, 189, 235, 0.12);
    color: #d0edff;
    border-color: rgba(106, 189, 235, 0.4);
}

.flash-token {
    font-family: 'Manrope', monospace;
}

.auth-links {
    margin-top: 16px;
}

.auth-links.spaced {
    display: grid;
    gap: 12px;
}

.link {
    color: #6abdeb;
    font-weight: 600;
}

.admin-shell {
    min-height: 100vh;
}

.admin-shell .btn,
.admin-shell .panel-card,
.admin-shell .form-panel,
.admin-shell .pill,
.admin-shell .preview,
.admin-shell .flash,
.admin-shell .alert,
.admin-shell input,
.admin-shell textarea,
.admin-shell select {
    border-radius: 0;
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card h2 {
    font-size: 36px;
    margin: 4px 0 8px;
}

.panel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.preview {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 8px;
}

.preview img {
    max-height: 120px;
    object-fit: contain;
}

.panel-card__actions {
    white-space: nowrap;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pill-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pill {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.pill .icon {
    font-size: 20px;
    line-height: 1;
}

.pill__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pill__body small {
    color: #a4b0c0;
}

.pill__delete {
    background: transparent;
    border: none;
    color: #a4b0c0;
    font-size: 20px;
    cursor: pointer;
}

.pill__delete:hover {
    color: #ff6b6b;
}

.pill-list.stack {
    gap: 16px;
}

.pill--block {
    flex-direction: column;
    gap: 14px;
}

.pill__body.grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 16px;
}

.pill__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.preview.small img {
    max-height: 120px;
}

.field.compact input[type='number'] {
    max-width: 120px;
}

.table-wrapper {
    margin-top: 16px;
    overflow-x: auto;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
}

.simple-table th,
.simple-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.simple-table th {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.simple-table td.text-right {
    text-align: right;
}

.admin-shell .btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 960px) {
    .dynamic-card {
        grid-template-columns: 1fr;
    }

    .dynamic-card__body {
        padding: 20px;
    }
}

@media (max-width: 720px) {
    .floating-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 100px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
