﻿/* =====================================================
   RECORRIDO MEXICANO — Estilos v2 (Cultural & Cálido)
   =====================================================
   Paleta:
     Terracota:    #d4531f
     Oro/ocre:     #c8913f
     Negro:        #1a1a1a
     Café oscuro:  #3d2314
     Crema:        #fdf8f2
     Arena:        #f0e6d3
     Texto suave:  #6b5b4e
     Blanco:       #ffffff
   Tipografía:
     Headings:     Montserrat (700, 800)
     Body/italic:  Lora (400, 600, italic)
   ===================================================== */

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

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

body {
    font-family: 'Lora', Georgia, serif;
    color: #1a1a1a;
    background: #fdf8f2;
    line-height: 1.7;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
}


/* --- Utilidades ------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5.5rem 0;
}

.section__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.section__title--light  { color: #ffffff; }

.section__subtitle {
    font-family: 'Lora', serif;
    font-size: 17px;
    color: #6b5b4e;
    text-align: center;
    margin-bottom: 3.5rem;
    font-style: italic;
}

.section__subtitle--light { color: rgba(255,255,255,0.75); }


/* --- Botones ---------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    border: 2px solid transparent;
}

.btn--primary {
    background: #d4531f;
    color: #fff;
    border-color: #d4531f;
}
.btn--primary:hover {
    background: #b83f15;
    border-color: #b83f15;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 83, 31, 0.35);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: #6b5b4e;
    border-color: #c8b09a;
}
.btn--outline:hover {
    background: #f0e6d3;
    border-color: #6b5b4e;
    transform: translateY(-2px);
}


/* --- Greca (patrón de borde azteca) ----------------- */
/* Genera una línea decorativa tipo greca mesoamericana */
.hero__greca {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background-image: repeating-linear-gradient(
        90deg,
        #d4531f 0px, #d4531f 8px,
        transparent 8px, transparent 12px,
        #c8913f 12px, #c8913f 20px,
        transparent 20px, transparent 24px,
        #d4531f 24px, #d4531f 28px,
        transparent 28px, transparent 36px,
        #c8913f 36px, #c8913f 40px,
        transparent 40px, transparent 48px
    );
    opacity: 0.7;
}


/* --- Header ----------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fdf8f2;
    border-bottom: 1px solid #e8d9c8;
    transition: box-shadow 0.3s;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.logo__svg  { width: 54px; height: 30px; }
.logo__img  {
    height: 80px;
    width: auto;
    mix-blend-mode: multiply;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3d2314;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: #d4531f;
    transform: scaleX(0);
    transition: transform 0.2s;
    transform-origin: left;
}

.nav__link:hover { color: #d4531f; }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--cta {
    background: #d4531f;
    color: #fff !important;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
    background: #b83f15;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}


/* --- Hero ------------------------------------------- */
.hero {
    background-color: #1a1a1a;
    background-image:
        /* patrón de diamantes sutil — evoca textiles mexicanos */
        repeating-linear-gradient(
            45deg,
            rgba(212, 83, 31, 0.04) 0px, rgba(212, 83, 31, 0.04) 1px,
            transparent 1px, transparent 28px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(200, 145, 63, 0.04) 0px, rgba(200, 145, 63, 0.04) 1px,
            transparent 1px, transparent 28px
        );
    padding: 7rem 0 8rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* TODO: imagen de fondo cuando la tengan
.hero {
    background-image: url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}
.hero::before { content:''; position:absolute; inset:0; background: rgba(20,10,5,0.65); }
*/

.hero__pattern { display: none; } /* placeholder */

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero__eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c8913f;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(200, 145, 63, 0.4);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
}

.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.hero__title em {
    font-style: normal;
    color: #d4531f;
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 400;
}

.hero__subtitle {
    font-family: 'Lora', serif;
    font-size: 19px;
    opacity: 0.85;
    margin-bottom: 2.75rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* --- ¿Por qué nosotros? ----------------------------- */
.por-que {
    background: #fff;
    border-top: 1px solid #e8d9c8;
    border-bottom: 1px solid #e8d9c8;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
}

.feature-card:hover {
    background: #fdf8f2;
    transform: translateY(-4px);
}

.feature-card__icon {
    font-size: 40px;
    margin-bottom: 1rem;
    display: block;
}

.feature-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

.feature-card__desc {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #6b5b4e;
    line-height: 1.65;
}


/* --- Tours ------------------------------------------ */
.tours {
    background: #fdf8f2;
}

/* Carousel */
.tours__carousel-outer {
    position: relative;
    padding: 0 3.5rem;
}

.tours__carousel-wrapper {
    overflow: hidden;
    padding: 12px 0 1.75rem;
}

.tours__track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    /* position controlled by JS via transform */
}

/* Focus / blur effect on adjacent cards */
.tours__track .tour-card {
    transition: opacity 0.55s ease, filter 0.55s ease;
}
.tours__track .tour-card--carousel-adjacent {
    opacity: 0.38;
    filter: blur(2.5px);
}

/* Nav arrows */
.tours__nav-btn {
    display: none;
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 2px solid #e8d9c8;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 20px rgba(61,35,20,0.16);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #3d2314;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    padding: 0;
}
.tours__nav-btn:hover:not(:disabled) {
    background: #d4531f;
    color: #fff;
    border-color: #d4531f;
    box-shadow: 0 6px 24px rgba(212,83,31,0.28);
}
.tours__nav-btn:disabled { opacity: 0.2; cursor: default; }
.tours__nav-btn--prev { left: 0; }
.tours__nav-btn--next { right: 0; }

@media (min-width: 768px) {
    .tours__nav-btn { display: flex; }
}

@media (max-width: 767px) {
    .tours__carousel-outer { padding: 0; }
    /* Cards no se estiran al más alto del track */
    .tours__track { align-items: flex-start; }
}

.tour-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(61, 35, 20, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8d9c8;
    flex-shrink: 0;
    /* width set by JS */
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(61, 35, 20, 0.14);
}

.tour-card--soon { opacity: 0.88; }

/* Imagen — reemplazar gradientes con fotos reales */
.tour-card__image {
    height: 260px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.tour-card__image--teotihuacan {
    background-image: url('../assets/teotihuacan-portada.png');
    background-size: cover;
    background-position: center;
}

.tour-card__image--xochimilco {
    background-image: url('../assets/xochimilco-portada.jpg');
    background-size: cover;
    background-position: center;
}

.tour-card__image--luciernagas {
    background: linear-gradient(160deg, #060e1e 0%, #112a1a 55%, #0a1e10 100%);
}

.tour-card__image--xajha {
    background: linear-gradient(160deg, #083828 0%, #125c3e 55%, #0a4030 100%);
}

/* ── Experiencias: fondos placeholder ── */
.tour-card__image--rappel-cp {
    background: linear-gradient(160deg, #1a1a2e 0%, #3a2060 50%, #5c3a1a 100%);
}
.tour-card__image--rappel-ocotal {
    background: linear-gradient(160deg, #0d1f0d 0%, #1e4020 50%, #2c5010 100%);
}
.tour-card__image--canonismo {
    background: linear-gradient(160deg, #051820 0%, #0a3040 50%, #1a5060 100%);
}
.tour-card__image--cascadas {
    background: linear-gradient(160deg, #0a1a0a 0%, #1a3820 50%, #0d4a2a 100%);
}
.tour-card__image--nevado-valle {
    background: linear-gradient(160deg, #0a0e1a 0%, #1a2a40 50%, #2a3a5a 100%);
}
.tour-card__image--amanecer-izta {
    background: linear-gradient(160deg, #1a0a00 0%, #4a1800 50%, #8a3000 100%);
}
.tour-card__image--wim-hof-minchico {
    background: linear-gradient(160deg, #001a20 0%, #003040 50%, #005060 100%);
}
.tour-card__image--wim-hof-dinamos {
    background: linear-gradient(160deg, #001820 0%, #002838 50%, #003a50 100%);
}
.tour-card__image--equinoterapia {
    background: linear-gradient(160deg, #1a1000 0%, #3a2800 50%, #5a4010 100%);
}
.tour-card__image--luciernagas-cp {
    background: linear-gradient(160deg, #050810 0%, #0a1020 40%, #0d2010 80%, #030808 100%);
}

.tour-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,10,5,0.75) 0%, transparent 55%);
}

.tour-card__image-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
}

.tour-card__tag-location {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.4rem;
}

.tour-card__image-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.tour-card__badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: #c8913f;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 3;
}

.tour-card__body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tour-card__desc {
    font-family: 'Lora', serif;
    font-size: 15px;
    color: #6b5b4e;
    line-height: 1.7;
}

.tour-card__includes {
    background: #fdf8f2;
    border-radius: 8px;
    padding: 1.1rem 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    border: 1px solid #e8d9c8;
}

.tour-card__includes li {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #3d2314;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.include-icon { font-size: 16px; flex-shrink: 0; }

.tour-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid #e8d9c8;
    margin-top: auto;
}

.tour-card__price-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b5b4e;
    margin-bottom: 0.15rem;
}

.tour-card__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #d4531f;
}

.tour-card__price span {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

.tour-card__price--muted {
    font-size: 16px;
    color: #6b5b4e;
}


/* --- Blog / Inspiración ----------------------------- */
.inspiracion { background: #f0e6d3; }

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8d9c8;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(61, 35, 20, 0.12);
}

.blog-card__image {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card__image--1 { background-image: url('../assets/teotihuacan-articulo.jpg'); background-size: cover; background-position: center; }
.blog-card__image--2 { background-image: url('../assets/chinampas-articulo.jpg'); background-size: cover; background-position: center; }
.blog-card__image--3 { background-image: url('../assets/tips-articulo.jpg'); background-size: cover; background-position: center; }

.blog-card__img-placeholder {
    font-size: 32px;
    opacity: 0.4;
}

.blog-card__body { padding: 1.25rem; }

.blog-card__tag {
    display: inline-block;
    background: rgba(212, 83, 31, 0.12);
    color: #d4531f;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.blog-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.blog-card__excerpt {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #6b5b4e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #e8d9c8;
}

.blog-card__read-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #999;
}

.blog-card__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #d4531f;
    transition: color 0.2s;
}
.blog-card__link:hover { color: #b83f15; }

/* =====================================================
   PÁGINAS DE ARTÍCULO (blog/)
   ===================================================== */
.article-hero {
    background: #1a1a1a;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(212,83,31,0.04) 0px, rgba(212,83,31,0.04) 1px,
            transparent 1px, transparent 28px),
        repeating-linear-gradient(-45deg,
            rgba(200,145,63,0.04) 0px, rgba(200,145,63,0.04) 1px,
            transparent 1px, transparent 28px);
}

.article-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.article-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
    transition: color 0.2s;
}
.article-hero__back:hover { color: rgba(255,255,255,0.9); }

.article-hero__tag {
    display: inline-block;
    background: rgba(212,83,31,0.25);
    color: #d4531f;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.article-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
}

/* Imagen hero del artículo */
.article-cover {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #c8965a 0%, #3d2314 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    /* TODO: background-image: url('../assets/...'); background-size: cover; */
}

.article-cover--verde {
    background: linear-gradient(135deg, #5aac8c 0%, #1a4a38 100%);
}

.article-cover--azul {
    background: linear-gradient(135deg, #4a7ab8 0%, #1a3a5e 100%);
}

/* Cuerpo del artículo */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
    padding: 4rem 0 5rem;
}

.article-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2.25rem 0 0.9rem;
}

.article-content h2:first-child { margin-top: 0; }

.article-content p {
    font-family: 'Lora', serif;
    font-size: 17px;
    color: #3d2314;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.article-content ul {
    list-style: none;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.article-content ul li {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #3d2314;
    padding-left: 1.4rem;
    position: relative;
    line-height: 1.65;
}

.article-content ul li::before {
    content: '▸';
    color: #d4531f;
    position: absolute;
    left: 0;
    font-size: 12px;
    top: 4px;
}

.article-pullquote {
    border-left: 4px solid #d4531f;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: #fdf8f2;
    border-radius: 0 8px 8px 0;
}

.article-pullquote p {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-style: italic;
    color: #1a1a1a !important;
    line-height: 1.65;
    margin: 0 !important;
}

/* Imagen dentro del artículo */
.article-img {
    width: 100%;
    border-radius: 10px;
    margin: 1.5rem 0;
    background: #e8d9c8;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    /* TODO: reemplazar con <img> real */
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e8d9c8;
    border-radius: 12px;
    padding: 1.5rem;
}

.sidebar-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6b5b4e;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e8d9c8;
}

.sidebar-tour-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    color: #fff;
}

.sidebar-tour-card__eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c8913f;
    margin-bottom: 0.4rem;
}

.sidebar-tour-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.sidebar-tour-card__desc {
    font-family: 'Lora', serif;
    font-size: 13px;
    font-style: italic;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.sidebar-tour-card .btn {
    width: 100%;
    text-align: center;
    display: block;
}

/* CTA final del artículo */
.article-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d2314 100%);
    border-radius: 14px;
    padding: 2.5rem;
    text-align: center;
    color: #fff;
    margin-top: 3rem;
}

.article-cta__eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c8913f;
    margin-bottom: 0.75rem;
}

.article-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.article-cta__desc,
.article-cta p {
    font-family: 'Lora', serif;
    font-size: 15px;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .article-sidebar { position: static; }
}

@media (max-width: 600px) {
    .article-cover { height: 260px; font-size: 56px; }
    .article-hero { padding: 3.5rem 0 3rem; }
}


/* --- Contacto --------------------------------------- */
.contacto {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.contacto__pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(212, 83, 31, 0.04) 0px, rgba(212, 83, 31, 0.04) 1px,
            transparent 1px, transparent 28px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(200, 145, 63, 0.04) 0px, rgba(200, 145, 63, 0.04) 1px,
            transparent 1px, transparent 28px
        );
    pointer-events: none;
}

.contacto__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.contacto__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 2.5rem 3.5rem;
    min-width: 260px;
    color: #fff;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.contacto__card:hover {
    background: rgba(212, 83, 31, 0.18);
    border-color: #d4531f;
    transform: translateY(-5px);
}

.contacto__icon {
    font-size: 38px;
    margin-bottom: 0.25rem;
}

.contacto__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}

.contacto__value {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.contacto__action {
    font-family: 'Lora', serif;
    font-size: 13px;
    font-style: italic;
    color: #c8913f;
    margin-top: 0.25rem;
}


/* --- Footer ----------------------------------------- */
.footer {
    background: #0d0d0d;
    padding: 2.5rem 0;
    border-top: 3px solid #d4531f;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer__brand { text-align: center; }

.footer__logo {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #fff;
    margin-bottom: 0.35rem;
}

.footer__tagline {
    font-family: 'Lora', serif;
    font-size: 13px;
    font-style: italic;
    color: #6b5b4e;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.75rem;
    justify-content: center;
}

.footer__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #777;
    transition: color 0.2s;
}

.footer__link:hover { color: #d4531f; }

.footer__copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #444;
    text-align: center;
}


/* --- Botón flotante WhatsApp ------------------------ */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 300;
    background: #25d366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}


/* --- Modal ------------------------------------------ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal.modal--open {
    opacity: 1;
    pointer-events: all;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 5, 0.78);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.modal__container {
    background: #fdf8f2;
    border-radius: 16px;
    width: 100%;
    max-width: 820px;
    margin: auto;
    overflow: hidden;
    transform: translateY(32px);
    transition: transform 0.35s ease;
    position: relative;
}

.modal--open .modal__container {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0,0,0,0.45);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.modal__close:hover { background: #d4531f; }

.modal__hero {
    height: 380px;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.modal__hero--teotihuacan {
    background-image: url('../assets/teotihuacan-portada.png');
    background-size: cover;
    background-position: center;
}
.modal__hero--xochimilco {
    background-image: url('../assets/xochimilco-portada.jpg');
    background-size: cover;
    background-position: center;
}

.modal__hero--luciernagas {
    background: linear-gradient(160deg, #060e1e 0%, #112a1a 55%, #0a1e10 100%);
}

.modal__hero--xajha {
    background: linear-gradient(160deg, #083828 0%, #125c3e 55%, #0a4030 100%);
}

/* ── Experiencias: heroes placeholder ── */
.modal__hero--rappel-cp {
    background: linear-gradient(160deg, #1a1a2e 0%, #3a2060 50%, #5c3a1a 100%);
}
.modal__hero--rappel-ocotal {
    background: linear-gradient(160deg, #0d1f0d 0%, #1e4020 50%, #2c5010 100%);
}
.modal__hero--canonismo {
    background: linear-gradient(160deg, #051820 0%, #0a3040 50%, #1a5060 100%);
}
.modal__hero--cascadas {
    background: linear-gradient(160deg, #0a1a0a 0%, #1a3820 50%, #0d4a2a 100%);
}
.modal__hero--nevado-valle {
    background: linear-gradient(160deg, #0a0e1a 0%, #1a2a40 50%, #2a3a5a 100%);
}
.modal__hero--amanecer-izta {
    background: linear-gradient(160deg, #1a0a00 0%, #4a1800 50%, #8a3000 100%);
}
.modal__hero--wim-hof-minchico {
    background: linear-gradient(160deg, #001a20 0%, #003040 50%, #005060 100%);
}
.modal__hero--wim-hof-dinamos {
    background: linear-gradient(160deg, #001820 0%, #002838 50%, #003a50 100%);
}
.modal__hero--equinoterapia {
    background: linear-gradient(160deg, #1a1000 0%, #3a2800 50%, #5a4010 100%);
}
.modal__hero--luciernagas-cp {
    background: linear-gradient(160deg, #050810 0%, #0a1020 40%, #0d2010 80%, #030808 100%);
}

.modal__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,10,5,0.6) 0%, transparent 20%);
}

.modal__hero-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem;
}

.modal__tag-location {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.modal__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.modal__meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal__meta-pill {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.modal__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal__desc {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #3d2314;
    line-height: 1.8;
}

.modal__section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #6b5b4e;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e8d9c8;
}

/* Punto de encuentro */
.modal__meeting-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fef8f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
}
.modal__meeting-pin {
    font-size: 22px;
    flex-shrink: 0;
}
.modal__meeting-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #3d2314;
    margin-bottom: 2px;
}
.modal__meeting-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #7a5c4a;
}
.modal__meeting-map {
    width: 100%;
    height: 210px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}
.modal__meeting-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.modal__meeting-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #3d2314;
    color: #fff;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.modal__meeting-btn:hover { background: #d4531f; }

.modal__meeting-btns {
    display: flex;
    gap: 8px;
}

/* Galería */
.modal__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.modal__gallery-item {
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    background: #e8d9c8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    /* TODO: cuando haya fotos: background-image + background-size: cover */
}

/* Video */
.modal__video-wrap {
    background: #1a1a1a;
    border-radius: 10px;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    gap: 0.5rem;
    overflow: hidden;
}

.modal__video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Itinerario */
.modal__itinerary-steps {
    display: flex;
    flex-direction: column;
}

.modal__step {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
}
.modal__step:last-child { padding-bottom: 0; }

.modal__step-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 3px;
}

.modal__step-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #d4531f;
    box-shadow: 0 0 0 3px rgba(212,83,31,0.2);
    flex-shrink: 0;
}

.modal__step-connector {
    width: 2px;
    flex-grow: 1;
    background: #e8d9c8;
    margin-top: 5px;
}
.modal__step:last-child .modal__step-connector { display: none; }

.modal__step-time {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c8913f;
    margin-bottom: 0.2rem;
}

.modal__step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.modal__step-desc {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #6b5b4e;
    line-height: 1.65;
}

/* Selector de paquetes */
.modal__pkg-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e8d5c0;
}

.modal__pkg-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.85rem 0.5rem;
    border: 2px solid #d4a96a;
    border-radius: 10px;
    background: transparent;
    color: #3d2314;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
}

.modal__pkg-btn:hover {
    background: #fdf5ec;
    border-color: #b8892e;
    transform: translateY(-2px);
}

.modal__pkg-btn-name {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

.modal__pkg-btn-price {
    font-size: 14px;
    font-weight: 800;
    color: #c1692a;
    letter-spacing: -0.01em;
}

.modal__pkg-btn--active {
    background: #c1692a;
    border-color: #c1692a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(193,105,42,0.3);
}

.modal__pkg-btn--active .modal__pkg-btn-name {
    opacity: 0.85;
}

.modal__pkg-btn--active .modal__pkg-btn-price {
    color: #fff;
}

@media (max-width: 480px) {
    .modal__pkg-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Qué incluye */
.modal__includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.65rem;
}

.modal__include-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #3d2314;
}

.modal__include-check { color: #5aac8c; font-size: 15px; flex-shrink: 0; }

/* CTA dentro del modal */
.modal__cta {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.modal__cta-price-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.2rem;
}

.modal__cta-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
}

.modal__cta-price span {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

.modal__cta-note {
    font-family: 'Lora', serif;
    font-size: 12px;
    font-style: italic;
    color: rgba(255,255,255,0.35);
    margin-top: 0.2rem;
}

@media (max-width: 600px) {
    .modal { padding: 4rem 0 0; align-items: flex-end; }
    .modal__container { border-radius: 16px 16px 0 0; }
    .modal__hero { height: 220px; }
    .modal__title { font-size: 24px; }
    .modal__gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .modal__includes-grid { grid-template-columns: 1fr; }
    .modal__cta { flex-direction: column; text-align: center; align-items: center; }
}

/* --- Responsive ------------------------------------- */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fdf8f2;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #e8d9c8;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
    .nav.nav--open { display: flex; }
    .nav__link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #e8d9c8;
        font-size: 14px;
    }
    .nav__link--cta {
        margin: 1rem 1.5rem;
        text-align: center;
        border-radius: 6px;
    }
    .nav__link::after { display: none; }
    .nav-toggle { display: flex; }

    .logo__text { display: none; }

    .blog__grid {
        grid-template-columns: 1fr;
    }

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

    .contacto__grid { flex-direction: column; align-items: center; }
    .contacto__card { width: 100%; max-width: 380px; }

    /* ── Tours: tarjeta compacta en móvil ─────────────── */
    .tours.section { padding: 3rem 0; }

    .tour-card__image { height: 185px; }

    .tour-card__body {
        padding: 1.1rem 1.25rem;
        gap: 0.75rem;
    }

    .tour-card__desc {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tour-card__includes {
        padding: 0.75rem 1rem;
        gap: 0.4rem;
        flex-grow: 0;
    }

    /* Solo 2 items en móvil, una línea cada uno */
    .tour-card__includes li:nth-child(n+3) { display: none; }

    .tour-card__includes li {
        font-size: 12px;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tour-card__footer {
        padding-top: 0.85rem;
    }

    .tour-card__price { font-size: 18px; }

    .tour-card__badge {
        font-size: 10px;
        padding: 0.2rem 0.6rem;
    }
}

/* --- Lightbox ----------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.lightbox--open {
    display: flex;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}

.lightbox__container {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 3;
}

.lightbox__close:hover {
    color: #d4531f;
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 32px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 3;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox__prev { left: -70px; }
.lightbox__next { right: -70px; }

@media (max-width: 768px) {
    .lightbox__prev,
    .lightbox__next {
        left: 10px;
        right: auto;
    }
    .lightbox__next { left: auto; right: 10px; }
}

@media (max-width: 480px) {
    .section { padding: 4rem 0; }
    .features__grid { grid-template-columns: 1fr; }
    .hero { padding: 5rem 0 6rem; }
    .hero__actions { flex-direction: column; align-items: center; }
}


/* =====================================================
   CHATBOT
   ===================================================== */
.chatbot {
    position: fixed;
    bottom: 90px;
    right: 1.75rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chatbot__panel {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(61,35,20,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 480px;
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform-origin: bottom right;
}

.chatbot__panel--open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.chatbot__header {
    background: #3d2314;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chatbot__header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d4531f;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.chatbot__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.chatbot__status {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #a0c878;
    margin-top: 2px;
}

.chatbot__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}
.chatbot__close:hover { color: #fff; }

/* Messages */
.chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fef8f0;
    scroll-behavior: smooth;
    min-height: 280px;
    max-height: 320px;
}

.chatbot__messages::-webkit-scrollbar { width: 4px; }
.chatbot__messages::-webkit-scrollbar-track { background: transparent; }
.chatbot__messages::-webkit-scrollbar-thumb { background: #e8c9a0; border-radius: 2px; }

.chatbot__msg {
    display: flex;
    max-width: 88%;
}

.chatbot__msg--bot  { align-self: flex-start; }
.chatbot__msg--user { align-self: flex-end; }

.chatbot__bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.chatbot__msg--bot .chatbot__bubble {
    background: #fff;
    color: #3d2314;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(61,35,20,0.08);
}

.chatbot__msg--user .chatbot__bubble {
    background: #d4531f;
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Quick replies */
.chatbot__quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 16px 10px;
    background: #fef8f0;
    flex-shrink: 0;
}

.chatbot__qr-btn {
    background: none;
    border: 1.5px solid #d4531f;
    color: #d4531f;
    border-radius: 20px;
    padding: 5px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.chatbot__qr-btn:hover {
    background: #d4531f;
    color: #fff;
}

/* Typing dots */
.chatbot__typing .chatbot__bubble {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 12px 16px;
}

.chatbot__typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8965a;
    animation: chatDot 1.2s infinite ease-in-out;
}
.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* Input bar */
.chatbot__input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid #f0e0cc;
    background: #fff;
    flex-shrink: 0;
}

.chatbot__input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #3d2314;
    background: transparent;
}
.chatbot__input::placeholder { color: #c8a880; }

.chatbot__send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #d4531f;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.chatbot__send:hover { background: #b84218; }

/* Toggle button */
.chatbot__toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #3d2314;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(61,35,20,0.3);
    transition: background 0.2s, transform 0.2s;
    position: relative;
}
.chatbot__toggle:hover { background: #d4531f; transform: scale(1.05); }

.chatbot__toggle-icon {
    position: absolute;
    transition: opacity 0.2s, transform 0.2s;
}
.chatbot__toggle-icon--close { opacity: 0; transform: rotate(-90deg); }
.chatbot__toggle--open .chatbot__toggle-icon--chat  { opacity: 0; transform: rotate(90deg); }
.chatbot__toggle--open .chatbot__toggle-icon--close { opacity: 1; transform: rotate(0); }

/* Pulse dot */
.chatbot__toggle::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background: #a0c878;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: chatPulse 2s infinite;
}
.chatbot__toggle--open::after { display: none; }

@keyframes chatPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

@media (max-width: 600px) {
    .chatbot { bottom: 82px; right: 1rem; }
    .chatbot__panel { width: calc(100vw - 2rem); right: 0; }
}
