:root {
    --bg-dark: #120308;
    --bg-card: #1f0811;
    --bg-card-hover: #2b0b16;
    --text-primary: #f5eedf;
    --text-secondary: #bba29e;
    --gold: #d6a55e;
    --gold-light: #f7d594;
    --red-glow: rgba(186, 20, 36, 0.4);
    --border-gold: 1px solid rgba(214, 165, 94, 0.25);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    background-image: radial-gradient(circle at 50% 0%, var(--red-glow) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(214, 165, 94, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(186, 20, 36, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--gold);
}

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

ul {
    list-style: none;
}

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

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    border-bottom: var(--border-gold);
    background: rgba(18, 3, 8, 0.85);
    backdrop-filter: blur(15px);
    transition: all 0.3s;
}

.logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.logo h1 {
    font-size: 2rem;
    letter-spacing: 2px;
}

.logo p {
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin: 0.5rem auto 0;
    line-height: 1.5;
    font-family: var(--font-heading);
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .logo p {
        white-space: normal;
        font-size: 0.85rem;
    }
}

.text-red {
    color: #d11124;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(209, 17, 36, 0.4);
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--gold);
}

.btn-agenda {
    border: 1px solid var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    color: var(--gold);
}

.btn-agenda:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2::before,
.section-title h2::after {
    content: " — ";
    color: var(--text-secondary);
    font-weight: 300;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: var(--border-gold);
    border-radius: 10px;
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item:hover,
.service-item.active {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.service-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.service-item-info {
    flex: 1;
}

.service-item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.service-item-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.service-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

.service-detail {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: radial-gradient(circle at 50% 0%, var(--purple-glow), transparent);
    z-index: 0;
    pointer-events: none;
}

.service-detail>* {
    position: relative;
    z-index: 1;
}

.detail-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(0, 0, 0, 0.2);
}

.service-detail h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-detail .desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.detail-content {
    text-align: left;
    margin-bottom: 2rem;
}

.detail-content h4 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.detail-content ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 2rem;
}

.detail-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.detail-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
}

.benefits {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.benefit-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.5rem;
}

.benefit-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-detail {
    display: inline-block;
    background: linear-gradient(135deg, #7a0918, #360209);
    color: #ffffff;
    border: 1px solid var(--gold);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-detail:hover {
    background: linear-gradient(135deg, #960c1d, #4d0510);
    box-shadow: 0 0 15px var(--red-glow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.grid-item {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.grid-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.grid-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.grid-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-small {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--gold);
    border-radius: 15px;
    color: var(--gold);
    font-size: 0.85rem;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-body);
}

.btn-small:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    border-top: var(--border-gold);
    background: rgba(0, 0, 0, 0.3);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 1rem 3rem;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-cta:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrapper {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3 / 4; /* Un aspecto más vertical para ajustarse mejor a la imagen vudú */
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    z-index: 1;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 0, 50, 0.2);
    overflow: hidden;
    /* Uso de posición absoluta para la imagen internamente */
}

.hero-img {
    position: absolute;
    top: -15%; /* Corta el 15% superior de la imagen (elimina los iconos) */
    left: -5%;  /* Corta el 5% izquierdo */
    width: 110%; /* Expande la imagen un 10% a lo ancho */
    height: 125%; /* Expande la imagen un 25% a lo alto (15% arriba, 10% abajo) */
    display: block; 
    object-fit: cover;
    object-position: center;
    /* Al expandir explícitamente y usar top negativo, garantizamos que CUALQUIER línea blanca en los bordes quede fuera del marco */
}

.hero-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(255, 0, 50, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 4s infinite alternate;
}

/* Voodoo Image Color Enhancement */
.voodoo-enhance {
    filter: saturate(160%) contrast(115%) brightness(1.05);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.voodoo-enhance:hover {
    filter: saturate(200%) contrast(125%) brightness(1.15);
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-top: var(--border-gold);
    border-bottom: var(--border-gold);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 450px;
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--gold);
    overflow: hidden;
}

/* Enhanced Voodoo Filter for Images to Match Aesthetic */
.red-tint {
    filter: saturate(160%) contrast(115%) brightness(1.05);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.red-tint:hover {
    filter: saturate(200%) contrast(125%) brightness(1.15);
}

.glow-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Benefits Section */
.benefits-general {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    border-color: var(--gold);
}

.benefit-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(21, 10, 29, 0.7);
    border: var(--border-gold);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.real-work-badge {
    position: absolute;
    top: 35px;
    left: 35px;
    background: rgba(255, 0, 50, 0.85);
    border: 1px solid var(--gold);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.stars {
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-card h4 {
    color: var(--gold);
    font-size: 1rem;
}

/* Payment Methods Section */
.payment-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.payment-container {
    background: linear-gradient(135deg, rgba(30, 5, 10, 0.95), rgba(10, 0, 5, 0.98)); 
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 3rem 4rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15), inset 0 0 20px rgba(212, 175, 55, 0.1);
    position: relative;
    text-align: center;
}

.payment-container::after {
    content: '';
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    pointer-events: none;
}

.payment-title {
    color: var(--gold);
    font-size: 2.5rem;
    font-family: var(--font-heading);
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.payment-title i {
    font-size: 1.5rem;
    vertical-align: middle;
    margin: 0 10px;
    color: #ff2a44;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.payment-option {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(20, 0, 0, 0.8), rgba(40, 5, 10, 0.8));
    border: 1px solid var(--gold);
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.payment-option::after {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    color: var(--gold);
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--gold);
}

.payment-option:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.2);
    border-color: #ffdf73;
}

.payment-icon {
    background: linear-gradient(135deg, #3a0000, #1a0000);
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.3);
}

.payment-text {
    text-align: left;
}

.payment-text h3 {
    color: var(--gold);
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 1px;
}

.payment-text p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin: 0.3rem 0 0 0;
    line-height: 1.2;
}

/* Contact Section */
.contact-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: var(--border-gold);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #1ebd5c;
    transform: scale(1.05);
}

.contact-methods p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-methods i {
    color: var(--gold);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: white;
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.7);
}

.contact-form option {
    background: var(--bg-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: 15px;
    padding: 3rem;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
    transform: scale(1.1);
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
    color: var(--gold);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.modal-content .trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-content .trust-badge i {
    font-size: 2.5rem;
    color: var(--gold);
}

.modal-content .trust-badge p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #1ebd5c;
    color: #fff;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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

/* 3D Tilt Elements */
.tilt-element {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

@media (max-width: 1024px) {

    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content {
        text-align: center;
    }

    .services-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin: 0 auto;
        width: 100%;
        max-width: 350px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .services-section,
    .benefits-section,
    .about-section,
    .contact-section {
        padding: 3rem 1.5rem;
    }

    .payment-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .payment-title {
        font-size: 1.8rem;
    }
    
    .payment-option {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .payment-icon {
        margin: 0 0 1rem 0;
    }
    
    .payment-text {
        text-align: center;
    }
    
    .payment-option::after {
        display: none;
    }
}

@media (max-width: 600px) {

    /* Fix header taking up too much screen */
    .navbar {
        position: relative;
        padding: 0.5rem 0;
    }

    .logo i {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .logo p {
        font-size: 0.7rem;
    }

    .services-grid,
    .benefits-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    nav a {
        padding: 0.5rem;
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .btn-agenda {
        width: 80%;
        margin: 0.5rem auto;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}