/* Base Styles & Variables */
:root {
    --green: #006341;      /* Mexican green */
    --red: #CE1126;        /* Mexican red */
    --white: #FFFFFF;      /* White */
    --gold: #BD8F3D;       /* Mexican gold/bronze accent */
    --dark: #212121;       /* Dark shade for text */
    --light: #F9F9F9;      /* Light background */
    --text: #333;          /* Main text color */
    --text-light: #666;    /* Secondary text color */
    --gradient-green: linear-gradient(135deg, #006341, #00482F);
    --gradient-red: linear-gradient(135deg, #CE1126, #A61022);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8em;
    position: relative;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--red);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.accent {
    color: var(--red);
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

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

.section-header h2 {
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--red);
    transform: translateX(-50%);
}

.section-header p {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--green);
}

.logo-svg {
    margin-right: 10px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 35px;
}

.desktop-nav ul li a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--green);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 99, 65, 0.95);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.menu-close::before,
.menu-close::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    top: 50%;
    left: 0;
}

.menu-close::before {
    transform: rotate(45deg);
}

.menu-close::after {
    transform: rotate(-45deg);
}

.mobile-menu nav {
    text-align: center;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    color: var(--gold);
}

.btn-mobile {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--red);
    color: var(--white) !important;
    border-radius: 50px;
    font-size: 1rem !important;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    overflow: hidden;
    background-color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006341' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.features-list li svg {
    margin-right: 10px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-svg {
    width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(206, 17, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 17, 38, 0.4);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gradient-green);
    color: var(--white);
    border-color: transparent;
}

/* Features Section */
.features {
    background-color: #f7f9fc;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23006341' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--green);
}

.feature-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works::after {
    content: '';
    position: absolute;
    right: -150px;
    bottom: -150px;
    width: 300px;
    height: 300px;
    background: var(--red);
    opacity: 0.03;
    border-radius: 50%;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.steps::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--green), var(--red), var(--gold));
    z-index: 1;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 99, 65, 0.3);
}

.step-number span {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-green);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 99, 65, 0.3);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.cta-banner h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-primary {
    background: var(--gradient-red);
    border: 2px solid var(--white);
    padding: 15px 40px;
    position: relative;
    z-index: 1;
}

/* FAQ Section */
.faq {
    background-color: #f7f9fc;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.accordion-item:hover {
    border-left: 3px solid var(--red);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(206, 17, 38, 0.03);
}

.accordion-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.accordion-icon {
    color: var(--green);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    height: auto;
    padding: 5px 25px 25px;
}

.accordion-item.active .accordion-icon {
    color: var(--red);
}

/* Keywords */
.keywords {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.keywords-cloud span {
    padding: 8px 16px;
    background: rgba(0, 99, 65, 0.05);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

.keywords-cloud span:hover {
    background: rgba(206, 17, 38, 0.1);
    color: var(--red);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-logo .logo-svg {
    margin-right: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--red);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .features-list {
        display: inline-block;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .steps::after {
        display: none;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-banner {
        padding: 40px 20px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
}

/* Menu Open State */
body.menu-open {
    overflow: hidden;
}
