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

:root {
    --dark:        #0C0C1D;
    --dark-2:      #16162E;
    --dark-3:      #0A0A16;
    --orange:      #FF4D00;
    --orange-2:    #FF7A3D;
    --gold:        #FFB800;
    --white:       #FFFFFF;
    --off-white:   #F5F7FA;
    --text-muted:  #A0A8B5;
    --border-dark: rgba(255,255,255,0.07);
    --border-orange: rgba(255, 77, 0, 0.25);
    --orange-glow: rgba(255, 77, 0, 0.3);
    --gradient:    linear-gradient(135deg, #FF4D00 0%, #FF0066 100%);
    --gradient-dark: linear-gradient(135deg, #0C0C1D 0%, #1a1a3e 100%);
    --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-hover: 0 20px 60px rgba(255,77,0,0.20);
    --radius: 16px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    overflow-x: hidden;
    background: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Header ─────────────────────────────────────── */
.header {
    background: rgba(12, 12, 29, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-orange);
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.logo-text h1 { margin: 0; font-size: 1.35rem; font-weight: 800; color: white; letter-spacing: -0.5px; }
.logo-text p { margin: 0; font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

/* Nav */
.nav ul { display: flex; list-style: none; gap: 0.25rem; }

.nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.3px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav a:hover { color: white; background: rgba(255,77,0,0.1); }
.nav a:hover::after { width: 60%; }
.nav a.active { color: white; }
.nav a.active::after { width: 60%; }

/* ─── Page Header ────────────────────────────────── */
.page-header {
    background: var(--gradient-dark);
    color: white;
    padding: 9rem 0 5rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,77,0,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,0,102,0.10) 0%, transparent 60%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    position: relative;
    font-weight: 400;
}

/* ─── Buttons ────────────────────────────────────── */
.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 14px 38px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    box-shadow: 0 8px 25px var(--orange-glow);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255,77,0,0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--orange);
    padding: 13px 36px;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--orange);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--orange);
    color: white;
    box-shadow: 0 8px 25px var(--orange-glow);
    transform: translateY(-2px);
}

/* ─── Section Title ──────────────────────────────── */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.section-title span { color: var(--orange); }

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 400;
}

/* ─── Section Badge ──────────────────────────────── */
.section-badge {
    display: inline-block;
    background: rgba(255,77,0,0.1);
    color: var(--orange);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,77,0,0.2);
}

/* ─── CTA Section ────────────────────────────────── */
.cta-section {
    background: var(--gradient-dark);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255,77,0,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ─── Footer ─────────────────────────────────────── */
.footer {
    background: #070710;
    color: white;
    border-top: 1px solid var(--border-orange);
}

.footer-main { padding: 5rem 0 3rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 3rem;
}

.footer-col .footer-logo { margin-bottom: 1.25rem; }
.footer-col .footer-logo img { height: 44px; width: auto; }

.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    max-width: 280px;
}

.footer-social { display: flex; gap: 0.75rem; }

.social-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover { transform: translateY(-3px); color: white; }
.social-btn.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; }
.social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 24px; height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-col ul li a i { font-size: 0.6rem; color: var(--orange); transition: transform 0.3s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-col ul li a:hover i { transform: translateX(4px); }

.footer-contact { display: flex; flex-direction: column; gap: 0.9rem; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.42);
}

.footer-contact-item i { color: var(--orange); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; width: 16px; }

.footer-contact-item a {
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.25rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom-content p {
    color: rgba(255,255,255,0.22);
    font-size: 0.8rem;
    margin: 0;
}

.footer-tagline { font-style: italic; }
.footer-tagline a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.25s; }
.footer-tagline a:hover { color: var(--orange); }

/* ─── Admin Panel ────────────────────────────────── */
.admin-button {
    position: fixed;
    bottom: 20px; right: 20px;
    background: var(--gradient);
    color: white;
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px var(--orange-glow);
    z-index: 1000;
    border: none;
    transition: var(--transition);
}

.admin-button:hover { transform: scale(1.1); box-shadow: 0 10px 30px var(--orange-glow); }

.admin-panel {
    position: fixed;
    top: 0; right: -430px;
    width: 430px; height: 100vh;
    background: white;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    z-index: 1001;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}

.admin-panel.show { right: 0; }
.admin-content { padding: 2rem; }
.admin-content h3 { color: var(--dark); margin-bottom: 1.5rem; font-weight: 700; font-size: 1.2rem; }

.close-admin {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #888;
}

.admin-tabs { display: flex; gap: 8px; margin-bottom: 1.5rem; }

.tab-button {
    background: #f0f2f7; border: none; padding: 0.65rem 1.2rem;
    border-radius: 8px; cursor: pointer; transition: var(--transition); font-weight: 500;
    font-family: inherit; font-size: 0.9rem;
}

.tab-button.active { background: var(--gradient); color: white; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.admin-form { background: #f5f7fa; padding: 1.5rem; border-radius: 12px; margin-bottom: 2rem; }

.admin-form input, .admin-form textarea {
    width: 100%; padding: 0.8rem 1rem; margin-bottom: 0.75rem;
    border: 1.5px solid #e0e4ef; border-radius: 8px; font-family: inherit;
    font-size: 0.9rem; transition: border-color 0.3s; background: white;
}

.admin-form input:focus, .admin-form textarea:focus {
    outline: none; border-color: var(--orange);
}

.admin-form button {
    background: var(--gradient); color: white; padding: 0.8rem 1.5rem;
    border: none; border-radius: 8px; cursor: pointer; font-weight: 600;
    font-family: inherit; font-size: 0.9rem;
}

.admin-item {
    background: #f5f7fa; padding: 1rem 1.25rem; margin-bottom: 0.75rem;
    border-radius: 10px; border-left: 4px solid var(--orange);
}

.admin-item h4 { color: var(--dark); margin-bottom: 0.4rem; font-size: 0.95rem; }
.admin-item .actions { margin-top: 0.75rem; }

.admin-item .actions button {
    background: #ff4d4d; color: white; border: none; padding: 0.45rem 1rem;
    border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-family: inherit;
}

/* ─── Scroll Reveal ──────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Hamburger ──────────────────────────────────── */
.mobile-menu-btn {
    display: none;
    background: none; border: none; color: white; cursor: pointer;
    padding: 0.5rem; flex-direction: column; align-items: center; gap: 5px;
    z-index: 1001;
}

.menu-text {
    font-size: 9px; font-weight: 700; color: white;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;
}

.hamburger {
    width: 24px; height: 2px; background: white;
    border-radius: 2px; display: block; transition: 0.3s;
}

.mobile-menu-btn.active .hamburger:nth-child(2) { transform: rotate(-45deg) translate(-4px, 5px); }
.mobile-menu-btn.active .hamburger:nth-child(3) { opacity: 0; }
.mobile-menu-btn.active .hamburger:nth-child(4) { transform: rotate(45deg) translate(-4px, -5px); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 768px) {
    .header .container {
        position: relative; display: flex;
        justify-content: center; align-items: center; height: 70px;
    }
    .logo { position: absolute; left: 50%; transform: translateX(-50%); z-index: 1000; }
    .logo img { height: 40px; }

    .mobile-menu-btn {
        display: flex; position: absolute;
        left: 15px; top: 50%; transform: translateY(-50%);
    }

    .nav {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(10,10,22,0.98); display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        border-top: 1px solid var(--border-orange);
    }

    .nav.mobile-open { display: block; animation: slideDown 0.3s ease; }
    .nav ul { flex-direction: column; padding: 0.5rem 0; gap: 0; }
    .nav ul li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .nav ul li:last-child { border-bottom: none; }
    .nav ul li a { display: block; padding: 1rem 1.5rem; border-radius: 0; }
    .nav a::after { display: none; }

    .footer-main { padding: 3.5rem 0 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { grid-column: auto; }
    .footer-bottom-content { justify-content: center; text-align: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .page-header { padding: 7rem 0 3.5rem; }
    .page-header h1 { font-size: 2rem; }
    .admin-panel { width: 100%; right: -100%; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
