/* --- VARIABLES --- */
:root {
    --primary-magenta: #D6006E;
    --accent-yellow: #FFC400;
    --dark-text: #2c2c2c;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --footer-bg: #1a1a1a;
    --footer-text: #b0b0b0;
}

/* --- RESET Y BÁSICOS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.script-font {
    font-family: 'Dancing Script', cursive;
    color: var(--accent-yellow);
    font-weight: 400;
}

.highlight-text {
    color: var(--primary-magenta);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--primary-magenta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(214, 0, 110, 0.3);
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--dark-text);
    box-shadow: 0 4px 15px rgba(255, 196, 0, 0.3);
}

.btn:active {
    transform: scale(0.98);
}

/* --- NAVBAR --- */
nav {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary-magenta);
    text-transform: uppercase;
    padding: 5px 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #555;
}

.nav-links a:hover {
    color: var(--primary-magenta);
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #fff0f6 100%);
    overflow: hidden;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.hero-text h2 {
    font-size: 1.1rem;
    color: var(--primary-magenta);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    background: white;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- SECCIONES COMUNES --- */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* --- TLAXCALA / RAICES --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tour-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-bottom: 4px solid var(--primary-magenta);
}

.tour-card:hover {
    transform: translateY(-10px);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--primary-magenta);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card-tag {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--accent-yellow);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

/* --- INTERNACIONAL --- */
.international-section {
    background-color: var(--primary-magenta);
    color: white;
    text-align: center;
}

.international-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.international-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 250px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

/* --- CULTURAL / INDIGENA --- */
.culture-section {
    background-color: #fff8e1;
}

/* --- BLOG / CONSEJOS --- */
.blog-list {
    list-style: none;
    text-align: left;
}

.blog-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.blog-item a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.blog-item a:hover {
    color: var(--primary-magenta);
}

.blog-meta {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-top: 5px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

footer h4 {
    color: white;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-yellow);
    display: inline-block;
    padding-bottom: 5px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a:hover {
    color: var(--accent-yellow);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 992px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        flex-direction: column-reverse;
        padding-top: 110px;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 30px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text h2 {
        font-size: 1rem;
    }

    .trust-badges {
        justify-content: center;
    }

    .btn-group {
        justify-content: center;
    }

    .international-section h2 {
        font-size: 2rem;
    }
}