:root {
    --primary-color: #06bc06; /* Mercado Libre Yellow */
    --secondary-color: #be10ff; /* Deep Blue */
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --gray-text: #666666;
    --font-main: 'Proxima Nova', 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 21px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
    font-display: swap;
    font-size: x-large;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ca5efc;
}

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

/* Header */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 800;
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Hero */
.hero {
    background-color: var(--primary-color);
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-text .subtitle {
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--white);
    font-size: 21px;
}

@media screen and (max-width: 768px) {
    .hero-text .subtitle {
      font-size: 18px;  
    }
    
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* Sections General */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

section {
    padding: 60px 0;
}

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

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Steps */
.steps {
    background-color: var(--white);
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-item h3 {
    color: var(--secondary-color);
    font-weight: 700;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Modalities */
.modalities {
    background-color: var(--light-bg);
}

.modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.modality-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.modality-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modality-card .question {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-text);
}

.cta-container {
    text-align: center;
}

/* About */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    text-align: left;
}

.about-logo {
    flex: 1;
    text-align: center;
}

.about-logo img {
    max-width: 300px;
}

/* Locations */
.locations {
    background-color: var(--primary-color);
    color: var(--white);
}

.locations .section-title {
    color: var(--white);
}

.locations-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    width: 300px;
}

.badge {
    background-color: var(--light-bg);
    color: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* CTA align center */
.cta-flex {
    display: flex; 
    justify-content: center;
    align-items: center;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    cursor: pointer;
}

summary {
    font-weight: 800;
    color: var(--primary-color);
    list-style: none;
    position: relative;
    font-size: 21px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: bold;
}

details[open] summary::after {
    content: '-';
}

/* Footer */
.main-footer {
    background-color: #f1f1f1;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 5px;
}

.footer-links a {
    margin: 0 10px;
    color: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}