/* ========================================================
   RAÍCES DE AGUA — Micrositio Cultural Almoloya del Río
   cultura.css — Estilos completos
   ======================================================== */

/* --- Variables de Cultura -------------------------------------------------------- */
:root {
    --c-primary: #064E3B;
    --c-primary-l: #059669;
    --c-primary-d: #022C22;
    --c-gold: #C77B17;
    --c-gold-l: #F59E0B;
    --c-terracota: #9D3B1C;
    --c-agua: #0E7490;
    --c-agua-l: #06B6D4;
    --c-bg: #F0FDF4;
    --c-bg-alt: #ECFDF5;
    --c-white: #FFFFFF;
    --c-text: #0F172A;
    --c-text2: #475569;
    --c-light: #F8FAFC;

    --c-font-title: 'Playfair Display', Georgia, serif;
    --c-font-body: 'Outfit', sans-serif;

    --c-radius-sm: 8px;
    --c-radius-md: 16px;
    --c-radius-lg: 24px;
    --c-radius-xl: 32px;

    --c-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --c-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.1);
    --c-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
    --c-shadow-glow: 0 0 30px rgba(5, 150, 105, 0.25);

    --c-trans: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --c-trans-fast: 0.18s ease;
}

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

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

body {
    font-family: var(--c-font-body);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Layout -------------------------------------------------------- */
.c-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

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

.c-section-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(6, 78, 59, 0.1);
    color: var(--c-primary);
    border: 1px solid rgba(6, 78, 59, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.c-section-title {
    font-family: var(--c-font-title);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-primary-d);
    margin-bottom: 1rem;
}

.c-section-title em {
    font-style: italic;
    color: var(--c-primary-l);
}

.c-section-desc {
    color: var(--c-text2);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Botones -------------------------------------------------------- */
.c-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--c-radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--c-trans);
}

.c-btn-primary {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-l) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.35);
}

.c-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 78, 59, 0.45), var(--c-shadow-glow);
}

.c-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.c-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.c-btn-gold {
    background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-l) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(199, 123, 23, 0.35);
}

.c-btn-gold:hover {
    transform: translateY(-3px);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.c-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--c-trans);
}

.c-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--c-shadow-md);
    padding: 0.5rem 0;
}

.c-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.c-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.c-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    transition: var(--c-trans);
}

.c-navbar.scrolled .c-logo-img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    height: 72px;
}

.c-logo-text {
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: 1.2;
}

.c-navbar.scrolled .c-logo-text {
    color: var(--c-primary-d);
}

.c-logo-name {
    font-family: var(--c-font-title);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.c-navbar.scrolled .c-logo-name {
    text-shadow: none;
}

.c-logo-sub {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    color: var(--c-gold-l);
}

.c-nav {
    display: flex;
}

.c-nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.c-nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.3rem 0;
    position: relative;
    transition: var(--c-trans-fast);
    white-space: nowrap;
}

.c-navbar.scrolled .c-nav-link {
    color: var(--c-text);
}

.c-nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-gold-l);
    transition: var(--c-trans-fast);
}

.c-nav-link:hover::after,
.c-nav-link.active::after {
    width: 100%;
}

.c-nav-link:hover {
    color: var(--c-gold-l);
}

.c-navbar.scrolled .c-nav-link:hover {
    color: var(--c-primary-l);
}

.c-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.c-hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: var(--c-trans);
}

.c-navbar.scrolled .c-hamburger span {
    background: var(--c-text);
}

.c-hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.c-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.c-hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ================================================================
   HERO
   ================================================================ */
.c-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.c-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.c-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg,
            rgba(2, 44, 34, 0.94) 0%,
            rgba(6, 78, 59, 0.75) 50%,
            rgba(14, 116, 144, 0.55) 100%);
}

.c-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.c-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(199, 123, 23, 0.2);
    color: var(--c-gold-l);
    border: 1px solid rgba(199, 123, 23, 0.4);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.c-hero-title {
    margin-bottom: 1.5rem;
}

.c-title-main {
    display: block;
    font-family: var(--c-font-title);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.c-title-sub {
    display: block;
    font-family: var(--c-font-title);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--c-gold-l);
    margin-top: 0.35rem;
    letter-spacing: 2px;
}

.c-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.c-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.c-hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-width: 240px;
}

.c-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--c-radius-md);
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--c-trans);
}

.c-mini-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.c-mini-icon {
    font-size: 1.8rem;
}

.c-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.c-hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ================================================================
   IDENTITY CARDS
   ================================================================ */
.c-identity {
    padding: 4rem 0 3rem;
    background: #F0FDF4;
}

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

.c-id-card {
    padding: 2rem 1.5rem;
    border-radius: var(--c-radius-lg);
    text-align: center;
    transition: var(--c-trans);
    border: 1px solid transparent;
}

.c-id-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--c-shadow-lg);
}

.c-id-agua {
    background: linear-gradient(135deg, #0E7490, #0891b2);
    color: #fff;
}

.c-id-textil {
    background: linear-gradient(135deg, #064E3B, #059669);
    color: #fff;
}

.c-id-arte {
    background: linear-gradient(135deg, #C77B17, #F59E0B);
    color: #fff;
}

.c-id-nature {
    background: linear-gradient(135deg, #166534, #16a34a);
    color: #fff;
}

.c-id-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.c-id-card h3 {
    font-family: var(--c-font-title);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.c-id-card p {
    font-size: 0.88rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* ================================================================
   BIENVENIDA
   ================================================================ */
.c-bienvenida {
    padding: 5rem 0;
    background: var(--c-white);
}

.c-bienvenida-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.c-bienvenida-text .c-section-badge {
    margin-bottom: 0.75rem;
}

.c-bienvenida-text .c-section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.c-bienvenida-text p {
    color: var(--c-text2);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.c-bienvenida-text strong {
    color: var(--c-primary);
}

.c-bienvenida-img {
    border-radius: var(--c-radius-xl);
    overflow: hidden;
    box-shadow: var(--c-shadow-lg);
    aspect-ratio: 4/3;
    position: relative;
}

.c-bienvenida-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--c-trans);
}

.c-bienvenida-img:hover img {
    transform: scale(1.04);
}

/* ================================================================
   SUBPAGES GRID
   ================================================================ */
.c-subpages {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ECFDF5 0%, #F0FDF4 100%);
}

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

.c-sp-card {
    border-radius: var(--c-radius-xl);
    overflow: hidden;
    background: var(--c-white);
    box-shadow: var(--c-shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--c-trans);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.c-sp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--c-shadow-lg);
}

.c-sp-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.c-sp-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--c-trans);
}

.c-sp-card:hover .c-sp-img-wrap img {
    transform: scale(1.06);
}

.c-sp-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.c-sp-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.c-sp-card h3 {
    font-family: var(--c-font-title);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--c-primary-d);
}

.c-sp-card p {
    color: var(--c-text2);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
}

.c-sp-cta {
    display: inline-block;
    margin-top: 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--c-trans-fast);
}

.c-sp-card:hover .c-sp-cta {
    transform: translateX(4px);
}

/* Color accents per card */
.c-sp-cultura .c-sp-label,
.c-sp-cultura .c-sp-cta {
    color: var(--c-terracota);
}

.c-sp-talleres .c-sp-label,
.c-sp-talleres .c-sp-cta {
    color: var(--c-agua);
}

.c-sp-artesanos.c-sp-label,
.c-sp-artesanos .c-sp-cta {
    color: var(--c-gold);
}

.c-sp-sabores .c-sp-label,
.c-sp-sabores .c-sp-cta {
    color: var(--c-primary-l);
}

.c-sp-artesanos .c-sp-label {
    color: var(--c-gold);
}

.c-sp-artesanos .c-sp-cta {
    color: var(--c-gold);
}

/* ================================================================
   TEXTO 2
   ================================================================ */
.c-texto2 {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--c-primary-d) 0%, var(--c-primary) 100%);
    color: #fff;
}

.c-texto2-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.c-quote {
    border-left: none;
    margin-bottom: 2rem;
}

.c-quote p {
    font-family: var(--c-font-title);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--c-gold-l);
    quotes: "\201C" "\201D";
}

.c-quote p::before {
    content: open-quote;
}

.c-quote p::after {
    content: close-quote;
}

.c-texto2-p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ================================================================
   TURISMO
   ================================================================ */
.c-turismo {
    padding: 5rem 0;
    background: var(--c-white);
}

.c-turismo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.c-turismo-card {
    border-radius: var(--c-radius-lg);
    overflow: hidden;
    background: var(--c-white);
    box-shadow: var(--c-shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--c-trans);
    display: flex;
    flex-direction: column;
}

.c-turismo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--c-shadow-lg), var(--c-shadow-glow);
}

.c-turismo-img {
    height: 200px;
    overflow: hidden;
}

.c-turismo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--c-trans);
}

.c-turismo-card:hover .c-turismo-img img {
    transform: scale(1.07);
}

.c-turismo-body {
    padding: 1.5rem;
    flex: 1;
}

.c-turismo-body h3 {
    font-family: var(--c-font-title);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--c-primary-d);
}

.c-turismo-body p {
    color: var(--c-text2);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.c-turismo-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-primary-l);
    background: rgba(5, 150, 105, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.c-turismo-btn {
    text-align: center;
}

/* ================================================================
   LINKS DE INTERÉS
   ================================================================ */
.c-interes {
    padding: 3rem 0;
    background: var(--c-bg-alt);
    border-top: 1px solid rgba(6, 78, 59, 0.12);
}

.c-interes-title {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-text2);
    margin-bottom: 1.5rem;
}

.c-interes-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.c-interes-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--c-white);
    border-radius: var(--c-radius-md);
    box-shadow: var(--c-shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text);
    transition: var(--c-trans);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.c-interes-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-shadow-md);
    color: var(--c-primary);
}

.c-interes-icon {
    font-size: 1.8rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.c-footer {
    background: var(--c-primary-d);
    color: rgba(255, 255, 255, 0.8);
}

.c-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding: 3rem 1.25rem;
}

.c-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.c-footer-logo {
    height: 110px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.c-footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.c-footer-brand strong {
    color: #fff;
}

.c-footer-links h4,
.c-footer-main h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--c-gold-l);
    margin-bottom: 1rem;
}

.c-footer-links ul li,
.c-footer-main ul li {
    margin-bottom: 0.5rem;
}

.c-footer-links ul a,
.c-footer-main ul a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--c-trans-fast);
}

.c-footer-links ul a:hover,
.c-footer-main ul a:hover {
    color: #fff;
    padding-left: 4px;
}

.c-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.c-back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 46px;
    height: 46px;
    background: var(--c-primary-l);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--c-shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: var(--c-trans);
}

.c-back-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.c-back-top:hover {
    background: var(--c-primary);
    transform: translateY(-3px);
}

/* ================================================================
   SUBPAGE SHARED STYLES
   ================================================================ */

/* Inner hero (for subpages) */
.c-inner-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding: 100px 0 3rem;
    overflow: hidden;
}

.c-inner-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.c-inner-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(2, 44, 34, 0.92) 0%, rgba(6, 78, 59, 0.5) 60%, transparent 100%);
}

.c-inner-hero-content {
    position: relative;
    z-index: 2;
}

.c-inner-hero-content .c-badge {
    margin-bottom: 0.75rem;
}

.c-inner-hero-content h1 {
    font-family: var(--c-font-title);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.c-inner-hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 600px;
}

/* Breadcrumb */
.c-breadcrumb {
    padding: 1rem 0;
    background: var(--c-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.c-breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.c-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: var(--c-text2);
}

.c-breadcrumb li a {
    color: var(--c-primary-l);
    font-weight: 600;
}

.c-breadcrumb li a:hover {
    text-decoration: underline;
}

.c-breadcrumb li:not(:last-child)::after {
    content: '›';
    color: var(--c-text2);
}

/* Accordion (for cultura.html) */
.c-accordion {
    border-radius: var(--c-radius-lg);
    overflow: hidden;
    box-shadow: var(--c-shadow-md);
    margin-bottom: 1.5rem;
}

.c-acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    user-select: none;
    gap: 1rem;
}

.c-acc-header .c-acc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--c-trans);
}

.c-acc-header.open .c-acc-icon {
    transform: rotate(180deg);
}

.c-acc-body {
    background: var(--c-white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.c-acc-body.open {
    max-height: 9999px;
}

.c-acc-list {
    padding: 1.5rem 1.75rem;
}

.c-acc-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.c-acc-item:last-child {
    border-bottom: none;
}

.c-acc-item-date {
    min-width: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--c-primary-l);
}

.c-acc-item-name {
    font-size: 0.92rem;
    color: var(--c-text);
    flex: 1;
}

.c-acc-item-link {
    color: var(--c-agua);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.c-acc-item-link:hover {
    text-decoration: underline;
}

/* Carousel */
.c-carousel {
    position: relative;
    border-radius: var(--c-radius-xl);
    overflow: hidden;
    box-shadow: var(--c-shadow-lg);
}

.c-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-carousel-slide {
    min-width: 100%;
}

.c-carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.c-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--c-shadow-md);
    transition: var(--c-trans-fast);
    z-index: 10;
}

.c-carousel-btn:hover {
    background: var(--c-primary-l);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.c-carousel-prev {
    left: 1rem;
}

.c-carousel-next {
    right: 1rem;
}

.c-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.c-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--c-trans-fast);
}

.c-carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Table / Cards for artisans & merchants */
.c-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.c-person-card {
    background: var(--c-white);
    border-radius: var(--c-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--c-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--c-trans);
}

.c-person-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-shadow-md);
}

.c-person-card h4 {
    font-family: var(--c-font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-primary-d);
    margin-bottom: 0.75rem;
}

.c-person-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--c-text2);
}

.c-person-label {
    font-weight: 600;
    color: var(--c-primary);
    min-width: 80px;
    flex-shrink: 0;
}

/* Taller cards */
.c-taller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.c-taller-card {
    background: var(--c-white);
    border-radius: var(--c-radius-lg);
    overflow: hidden;
    box-shadow: var(--c-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--c-trans);
}

.c-taller-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--c-shadow-md);
}

.c-taller-img {
    height: 180px;
    overflow: hidden;
}

.c-taller-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--c-trans);
}

.c-taller-card:hover .c-taller-img img {
    transform: scale(1.05);
}

.c-taller-body {
    padding: 1.25rem;
}

.c-taller-body h3 {
    font-family: var(--c-font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-primary-d);
    margin-bottom: 0.5rem;
}

.c-taller-row {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--c-text2);
    margin-bottom: 0.3rem;
}

.c-taller-row strong {
    color: var(--c-primary);
    min-width: 70px;
}

/* Turismo blocks (navegando) */
.c-lugar-section {
    padding: 4rem 0;
}

.c-lugar-section:nth-child(even) {
    background: var(--c-bg-alt);
}

.c-lugar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.c-lugar-inner.reverse {
    direction: rtl;
}

.c-lugar-inner.reverse>* {
    direction: ltr;
}

.c-lugar-text .c-section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.c-lugar-text p {
    color: var(--c-text2);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.c-lugar-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.c-info-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(6, 78, 59, 0.07);
    padding: 0.75rem 1rem;
    border-radius: var(--c-radius-sm);
    font-size: 0.83rem;
}

.c-info-chip strong {
    display: block;
    font-weight: 700;
    color: var(--c-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Shared section padding */
.c-section {
    padding: 5rem 0;
}

.c-section-alt {
    padding: 5rem 0;
    background: var(--c-bg-alt);
}

/* Fade-in animation */
.c-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.c-reveal.visible {
    opacity: 1;
    transform: none;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1024px) {
    .c-identity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .c-hero-content {
        grid-template-columns: 1fr;
    }

    .c-hero-cards {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 2rem;
    }
}

@media (max-width:768px) {
    .c-hamburger {
        display: flex;
    }

    .c-logo-img {
        height: 56px;
    }

    .c-navbar.scrolled .c-logo-img {
        height: 52px;
    }

    .c-logo-text {
        display: none;
    }

    .c-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--c-white);
        padding: 80px 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: var(--c-trans);
        z-index: 999;
    }

    .c-nav.open {
        right: 0;
    }

    .c-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .c-nav-link {
        color: var(--c-text) !important;
        font-size: 1rem;
    }

    .c-nav-link::after {
        background: var(--c-primary-l);
    }

    .c-subpages-grid {
        grid-template-columns: 1fr;
    }

    .c-bienvenida-inner {
        grid-template-columns: 1fr;
    }

    .c-identity-grid {
        grid-template-columns: 1fr 1fr;
    }

    .c-turismo-grid {
        grid-template-columns: 1fr;
    }

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

    .c-footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .c-lugar-inner {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }

    .c-carousel-slide img {
        height: 250px;
    }

    .c-hero-btns {
        flex-direction: column;
    }
}

@media (max-width:480px) {
    .c-identity-grid {
        grid-template-columns: 1fr;
    }

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

    .c-cards-grid {
        grid-template-columns: 1fr;
    }

    .c-taller-grid {
        grid-template-columns: 1fr;
    }

    .c-lugar-info {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   VISIT COUNTER
   ================================================================ */
.c-visit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
}

.c-visit-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--c-trans);
}

.c-visit-counter:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.c-visit-text {
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.c-visit-number {
    font-weight: 700;
    color: var(--c-gold-l);
    font-size: 0.95rem;
}

.c-visit-number.c-loading {
    opacity: 0.5;
}

/* ========================================= */
/* CARRETE INFOGRAFIAS (FLIERS MARQUEE)      */
/* ========================================= */

.c-flyers-section {
    padding: 5rem 0;
    background-color: var(--color-bg);
    overflow: hidden;
    /* Hide horizontal scrollbar */
    position: relative;
}

.c-marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full width bleed */
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(90deg, rgba(5, 150, 105, 0.05) 0%, rgba(5, 150, 105, 0.1) 50%, rgba(5, 150, 105, 0.05) 100%);
    box-shadow: inset 0px 4px 20px rgba(0, 0, 0, 0.02), inset 0px -4px 20px rgba(0, 0, 0, 0.02);
}

.c-marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 60s linear infinite;

    padding-left: 0;
}

/* Pause animation on hover */
.c-marquee-track:hover {
    animation-play-state: paused;
}

.c-marquee-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-right: 2rem;
    /* The gap for the seamless loop */
}

.c-flyer-img {
    height: 400px;
    /* Keep uniform height for the posters */
    width: auto;
    max-width: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    background-color: white;
    /* In case of transparency */
}

/* Glassmorphism styling effect on hover */
.c-flyer-img:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 35px -5px rgba(5, 150, 105, 0.25), 0 10px 15px -5px rgba(5, 150, 105, 0.15);
    z-index: 10;
    position: relative;
}

/* Fade out other elements on hover for focus effect */
.c-marquee-track:hover .c-flyer-img:not(:hover) {
    opacity: 0.6;
    transform: scale(0.95);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .c-flyer-img {
        height: 280px;
    }

    .c-marquee-track {
        animation-duration: 40s;
        /* Faster on mobile since screen is smaller */
        gap: 1rem;
        padding-left: 1rem;
    }

    .c-marquee-content {
        gap: 1rem;
    }

    .c-marquee-container {
        padding: 1.5rem 0;
    }
}

/* Keyframes for the infinite scrolling */
@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translate left by 50% of the track width (which equals exactly 1 instance of the duplicate) */
        /* To work properly with flex layout and exact halves, we move 50% minus half the gap difference if any - flex handles it usually natively if we translate -50% */
        transform: translateX(-50%);
    }
}



/* ========================================= */
/* GALERÍA INTERNA (ACTIVIDADES)             */
/* ========================================= */

.c-mini-gallery {
    margin-top: 1.5rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(5, 150, 105, 0.4) transparent;
    border-radius: 8px;
    /* Smooth scrolling setup */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for Webkit */
.c-mini-gallery::-webkit-scrollbar {
    height: 6px;
}

.c-mini-gallery::-webkit-scrollbar-track {
    background: transparent;
}

.c-mini-gallery::-webkit-scrollbar-thumb {
    background: rgba(5, 150, 105, 0.4);
    border-radius: 10px;
}

.c-mini-gallery::-webkit-scrollbar-thumb:hover {
    background: rgba(5, 150, 105, 0.7);
}

.c-mg-track {
    display: inline-flex;
    gap: 1rem;
}

.c-mg-img {
    height: 140px;
    width: auto;
    max-width: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.c-mg-img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.2);
    z-index: 2;
}

/* Lightbox support logic (fallback generic modal via CSS) */
/* We will just apply a simple hover effect. The user asked if they wanted lightbox or static. They said 'estas en lo correcto eliminalos y procede', implicitly agreeing to the proposal of the static mini gallery I proposed in the Important callout. */

@media (max-width: 768px) {
    .c-mg-img {
        height: 100px;
        /* smaller for mobile */
    }
}

/* ========================================= */
/* LIGHTBOX MODAL (MERCADO LIBRE STYLE)      */
/* ========================================= */

.c-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.c-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.c-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.c-lightbox-close:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.c-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.c-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.c-lightbox.is-active .c-lightbox-img {
    transform: scale(1);
}