@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #d97706;
    --primary-dark: #b45309;
    --primary-light: #fbbf24;
    --accent: #fbbf24;
    --bg-dark: #101922;
    --bg-black: #080d12;
    --bg-carbon: #1e293b;
    --bg-white: #ffffff;
    --bg-light: #f5f7f8;
    --text-main: #0f172a;
    --text-white: #FFFFFF;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(16, 25, 34, 0.7);
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}

.wpz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Styles */
.wpz-site-header {
    background: var(--bg-black);
    padding: 1.5rem 0 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
}

.site-branding .site-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-social {
    display: flex;
    gap: 0.8rem;
}

.header-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    background: transparent;
    transition: all 0.3s ease;
}

.wpz-site-header.is-scrolled {
    padding-top: 0.5rem;
}

.wpz-site-header .wpz-container {
    padding: 0 1rem;
}

.main-navigation {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: var(--primary);
}

.brand-logo {
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary);
    padding: 5px;
}

.menu-toggle .fa-times {
    display: none;
}

@media (max-width: 992px) {
    .wpz-site-header {
        padding-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        background: var(--bg-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 1rem;
        z-index: 1001;
        margin-top: 1rem;
        border: 1px solid var(--border);
    }

    .main-navigation a {
        padding: 0.75rem 1rem;
        width: 100%;
        border-radius: var(--radius);
        color: var(--text-main);
    }

    .main-navigation a:hover {
        background: var(--bg-light);
        color: var(--primary);
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .site-branding .brand-logo {
        max-height: 35px;
    }
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.8;
}

/* Category Grid */
.categories-section {
    padding: 80px 0;
    background: white;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.category-card {
    height: 180px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--primary);
    /* Fallback */
    box-shadow: var(--shadow-md);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    z-index: 1;
}

.category-card-content {
    position: relative;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card:hover h3 {
    color: var(--accent);
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.featured-special {
    border: 2px solid var(--primary);
    position: relative;
}

.card-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 10px 0 20px;
}

/* Profile Enhancements (Anti-flat) */
.wpz-prof-card {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    border: none;
    transition: all 0.3s ease;
}

.wpz-sidebar {
    padding: 80px 50px;
    border-radius: 24px 0 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 700;
}

.contact-info-list {
    text-align: left;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.info-item i {
    width: 20px;
    text-align: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.wpz-stats {
    gap: 20px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 5px;
}

/* Profile Main Content */
.wpz-main {
    padding: 80px;
    background: white;
    border-radius: 0 24px 24px 0;
}

.wpz-content-wrapper {
    max-width: 800px;
}

.wpz-description {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 60px;
    color: #475569;
}

/* CTA Box */
.cta-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border: 1px solid var(--border);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    opacity: 0.03;
    border-radius: 50%;
}

.cta-box i {
    font-size: 2rem;
    color: var(--primary);
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.cta-text h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Buttons */
.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Footer Section */
.wpz-site-footer {
    background: var(--bg-black);
    border-top: 2px solid var(--primary);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list a {
    color: var(--text-white);
    opacity: 0.6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links-list a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-social a {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social a:hover {
    background: var(--primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4);
}

.wpz-site-footer input[type="email"] {
    transition: all 0.3s ease;
}

.wpz-site-footer input[type="email"]:focus {
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-left {
    max-width: 450px;
}

.footer-logo-wrapper {
    margin-bottom: 25px;
}

.footer-logo-wrapper img {
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.2));
    /* Updated from green */
}

.footer-site-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.footer-legend p {
    font-size: 1.05rem;
    color: var(--text-white);
    opacity: 0.8;
    line-height: 1.8;
    font-weight: 300;
}

.footer-right {
    text-align: right;
}

.footer-navigation {
    margin-bottom: 30px;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-social i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social i:hover {
    color: var(--accent);
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px var(--primary));
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-white);
    opacity: 0.5;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-left {
    max-width: 400px;
}

.footer-logo-wrapper {
    margin-bottom: 20px;
}

.footer-logo-wrapper img {
    max-height: 50px;
    width: auto;
}

.footer-site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.footer-legend p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-right {
    text-align: right;
}

.footer-navigation {
    margin-bottom: 20px;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Utilities */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dark .glass-panel {
    background: var(--glass-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient-orange {
    background: linear-gradient(to right, #fbbf24, #d97706);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.footer-social i:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Pagination Styles */
.wpz-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.wpz-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wpz-pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: white;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.dark .wpz-pagination .page-numbers {
    background: var(--bg-carbon);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.wpz-pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.wpz-pagination .page-numbers.current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.wpz-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* Registration Form Styles */
.wpzamora-registro-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 40px;
}

.wpzamora-registro-intro {
    background: linear-gradient(135deg, var(--bg-carbon) 0%, var(--bg-black) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.wpzamora-registro-intro h3 {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.wpzamora-registro-intro p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.wpzamora-ventajas {
    list-style: none;
    padding: 0;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wpzamora-ventajas li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.wpzamora-ventajas li .material-icons {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.wpzamora-premium-form {
    padding: 30px;
    background: var(--bg-light);
    /* Soft background behind the boxes */
}

.wpzamora-form-section {
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpzamora-form-section:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
    border-color: rgba(217, 119, 6, 0.2);
}

.wpzamora-form-section h4 {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.wpzamora-premium-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.wpzamora-premium-form input[type="text"],
.wpzamora-premium-form input[type="email"],
.wpzamora-premium-form input[type="tel"],
.wpzamora-premium-form select,
.wpzamora-premium-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-light);
    font-family: inherit;
    transition: all 0.3s ease;
}

.wpzamora-premium-form input:focus,
.wpzamora-premium-form select:focus,
.wpzamora-premium-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.image-upload-group {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    margin-bottom: 20px;
}

.image-upload-group input[type="file"] {
    color: transparent;
}

.gallery-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.terms-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal !important;
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 5px;
}

.form-submit-wrapper {
    text-align: center;
}

.form-submit-wrapper .button {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-wrapper .button:hover:not(.disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-submit-wrapper .button.disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 768px) {

    .wpzamora-ventajas,
    .form-row,
    .gallery-inputs {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 15px;
    }

    .wpzamora-premium-form {
        padding: 15px;
    }

    .wpzamora-form-section {
        padding: 20px;
    }
}

/* MailPoet Footer Custom Styles */
.wpz-mailpoet-custom .mailpoet_form {
    padding: 0;
}

.wpz-mailpoet-custom .mailpoet_paragraph {
    margin-bottom: 0.5rem;
}

.wpz-mailpoet-custom input.mailpoet_text {
    width: 100%;
    background: #1e293b;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.wpz-mailpoet-custom input.mailpoet_text:focus {
    box-shadow: 0 0 0 2px var(--primary);
}

.wpz-mailpoet-custom input.mailpoet_submit {
    width: 100%;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpz-mailpoet-custom input.mailpoet_submit:hover {
    opacity: 0.9;
}

.wpz-mailpoet-custom .mailpoet_message {
    color: white;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}