﻿.navbar-logo {
    height: 80px;
    width: auto;
    max-width: 400px;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 60px;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 50px;
        max-width: 250px;
    }
}
.page-indexv2 .hero .container {
    position: relative;
    z-index: 2;
}

a.link-reset {
    all: unset;
    display: inline;
    cursor: pointer;
}

/* Botones del hero con transparencia sutil */
.page-indexv2 .hero .btn-brand {
    background: rgba(255, 127, 39, 0.9);
    border: 2px solid rgba(255, 127, 39, 0.9);
    color: white;
    font-weight: 600;
    transition: all 0.2s ease;
}

 .page-indexv2 .hero .btn-brand:hover {
        background: rgba(255, 127, 39, 1);
        border-color: rgba(255, 127, 39, 1);
        transform: translateY(-1px);
}

.page-indexv2 .hero .btn-dark {
    background: rgba(33, 37, 41, 0.85);
    border: 2px solid rgba(33, 37, 41, 0.85);
    color: white;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-indexv2 .hero .btn-dark:hover {
        background: rgba(33, 37, 41, 1);
        border-color: rgba(33, 37, 41, 1);
        transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-indexv2 .hero {
        min-height: 60vh;
    }
}



/* Estilos para la sección de Turismo */

.page-indexv2 .bg-gradient-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ff8c42 100%);
    position: relative;
    overflow: hidden;
}

.page-indexv2 .card-surface {
    transition: all 0.3s ease;
    border-radius: 16px;
}

    .page-indexv2 .card-surface:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15) !important;
    }

.page-indexv2 .badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.page-indexv2 .text-brand-orange {
    color: var(--brand-orange) !important;
}

.page-indexv2 .btn-outline-brand {
    color: var(--brand-orange);
    border-color: var(--brand-orange);
    background: transparent;
}

    .page-indexv2 .btn-outline-brand:hover {
        background: var(--brand-orange);
        border-color: var(--brand-orange);
        color: white;
    }

/* Estilos para la sección de Pagos Digitales */
.page-indexv2 #pagos-digitales .card {
    cursor: pointer;
}

    .page-indexv2 #pagos-digitales .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15) !important;
    }

        .page-indexv2 #pagos-digitales .card:hover .rounded-circle {
            transform: scale(1.1) rotate(5deg);
        }

.page-indexv2 #pagos-digitales .rounded-circle {
    transition: transform 0.3s ease;
}

.page-indexv2 #pagos-digitales .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(241, 111, 37, 0.3) !important;
}

/* Animaciones sutiles */
.page-indexv2 .card img {
    transition: transform 0.3s ease;
}

.page-indexv2 .card:hover img {
    transform: scale(1.05);
}

.page-indexv2 .bg-gradient-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: indexv2-float 6s ease-in-out infinite;
}

@keyframes indexv2-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.page-indexv2 #turismo .position-relative.overflow-hidden:hover img {
    transform: scale(1.05);
}

.page-indexv2 #turismo a .position-relative.overflow-hidden {
    cursor: pointer;
}

 .page-indexv2 #turismo a .position-relative.overflow-hidden:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
 }

.page-indexv2 #turismo a .position-relative.overflow-hidden:hover img {
    transform: scale(1.1);
 }

.page-indexv2 #turismo a .position-relative.overflow-hidden:hover .position-absolute.top-0.start-0 {
   background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%) !important;
}

.page-indexv2 #turismo .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Scoped styles for NoticiasV2 */
.page-noticiasv2 .search-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.page-noticiasv2 .search-form {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 1rem;
    align-items: end;
}

.page-noticiasv2 .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-noticiasv2 .form-group label {
        font-weight: 600;
        color: var(--brand-gray-700);
        margin-bottom: 0;
}

.page-noticiasv2 .form-control {
    border: 2px solid var(--brand-orange-100);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

 .page-noticiasv2 .form-control:focus {
        border-color: var(--brand-orange);
        box-shadow: 0 0 0 0.2rem rgba(241, 111, 37, 0.25);
        outline: none;
}

.page-noticiasv2 .btn-search {
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.page-noticiasv2 .btn-search:hover {
        background: #d85f1f;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(241, 111, 37, 0.3);
}

.page-noticiasv2 .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.page-noticiasv2 .pagination-info {
    background: white;
    border: 1px solid var(--brand-orange-100);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--brand-gray-700);
}

.page-noticiasv2 .btn-pagination {
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-noticiasv2 .btn-pagination:hover {
        background: #d85f1f;
        color: white;
        transform: translateY(-1px);
}

.page-noticiasv2 .btn-pagination:disabled {
        background: var(--brand-gray-200);
        color: var(--brand-gray-500);
        cursor: not-allowed;
        transform: none;
 }

.page-noticiasv2 .noticia-card {
    background: white;
    border: 1px solid var(--brand-orange-100);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.page-noticiasv2 .noticia-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        border-color: var(--brand-orange);
}

.page-noticiasv2 .noticia-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-noticiasv2 .noticia-date {
    color: var(--brand-gray-500);
    font-size: 0.9rem;
}

.page-noticiasv2 .noticia-category {
    background: var(--brand-orange-100);
    color: var(--brand-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.page-noticiasv2 .noticia-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

 .page-noticiasv2 .noticia-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.3s ease;
 }

.page-noticiasv2 .noticia-title a:hover {
            color: var(--brand-orange);
}

.page-noticiasv2 .noticia-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

.page-noticiasv2 .noticia-image-container {
    width: 250px;
    height: 250px;
}

.page-noticiasv2 .noticia-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--brand-orange-100);
    transition: all 0.3s ease;
}

 .page-noticiasv2 .noticia-image:hover {
        border-color: var(--brand-orange);
        transform: scale(1.05);
}

.page-noticiasv2 .noticia-text {
    padding-left: 2rem;
}

.page-noticiasv2 .noticia-description {
    color: var(--brand-gray-700);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.page-noticiasv2 .btn-read-more {
    background: transparent;
    color: var(--brand-orange);
    border: 2px solid var(--brand-orange);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

 .page-noticiasv2 .btn-read-more:hover {
        background: var(--brand-orange);
        color: white;
        transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-noticiasv2 .search-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-noticiasv2 .noticia-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-noticiasv2 .noticia-image {
        width: 100%;
        height: 200px;
    }

    .page-noticiasv2 .noticia-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .page-noticiasv2 .search-container {
        padding: 1.5rem;
    }

    .page-noticiasv2 .pagination-container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Scoped styles for NoticiaV2 */
.page-noticiav2  {
   margin-bottom:2rem;
}
.page-noticiav2 .noticia-header {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ff8c42 100%);
}

.page-noticiav2 .noticia-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    padding: 2.2rem 0;
    line-height: 1.2;
}

.page-noticiav2 .noticia-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.page-noticiav2 .noticia-date {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
}

.page-noticiav2 .btn-back {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

 .page-noticiav2 .btn-back:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
        transform: translateY(-2px);
 }

.page-noticiav2 .noticia-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-noticiav2 .noticia-short-desc {
    background: var(--brand-orange-100);
    border-left: 4px solid var(--brand-orange);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-noticiav2 .noticia-long-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--brand-gray-700);
}

.page-noticiav2 .noticia-tabs {
    margin: 3rem 0;
}

.page-noticiav2 .nav-tabs {
    border-bottom: 2px solid var(--brand-orange-100);
    margin-bottom: 2rem;
}

.page-noticiav2 .nav-tabs .nav-link {
        border: none;
        color: var(--brand-gray-500);
        font-weight: 600;
        padding: 1rem 1.5rem;
        border-radius: 0;
        transition: all 0.3s ease;
        background: transparent;
 }

 .page-noticiav2 .nav-tabs .nav-link.active {
            color: var(--brand-orange);
            background: transparent;
            border-bottom: 3px solid var(--brand-orange);
 }

  .page-noticiav2 .nav-tabs .nav-link:hover {
            color: var(--brand-orange);
            border-color: transparent;
            background: var(--brand-orange-50);
  }

.page-noticiav2 .tab-content {
    padding: 2rem 0;
}

.page-noticiav2 .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.page-noticiav2 .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 1rem 0;
}

.page-noticiav2 .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .page-noticiav2 .noticia-title {
        font-size: 2rem;
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .page-noticiav2 .noticia-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .page-noticiav2 .noticia-header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .page-noticiav2 .btn-back {
        align-self: flex-start;
    }
}

/* Scoped styles for BoletinOficialV2 */
.page-boletinv2 .boletin-header {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-orange) 100%);
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.page-boletinv2 .boletin-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-boletinv2 .boletin-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-boletinv2 .search-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--brand-orange-100);
}

.page-boletinv2 .search-title {
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.page-boletinv2 .date-input {
    border: 2px solid var(--brand-orange-100);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.page-boletinv2 .date-input:focus {
        border-color: var(--brand-orange);
        box-shadow: 0 0 0 0.1rem var(--brand-orange-100);
}

.page-boletinv2 .search-btn {
    background: var(--brand-orange);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .page-boletinv2 .search-btn:hover {
        background: #d85f1f;
        transform: translateY(-1px);
    }

.page-boletinv2 .btn-outline-secondary {
    border-color: var(--brand-gray-500);
    color: var(--brand-gray-500);
    transition: all 0.2s ease;
}

    .page-boletinv2 .btn-outline-secondary:hover {
        background-color: var(--brand-gray-500);
        border-color: var(--brand-gray-500);
        color: white;
        transform: translateY(-1px);
    }

.page-boletinv2 .resoluciones-container {
    margin-top: 2rem;
    min-height: 500px;
}

.page-boletinv2 .resolucion-item {
    background: white;
    border: 1px solid var(--brand-orange-100);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
}

    .page-boletinv2 .resolucion-item:hover {
        border-color: var(--brand-orange);
        box-shadow: 0 6px 12px rgba(241, 111, 37, 0.15);
        transform: translateY(-2px);
        text-decoration: none;
    }

.page-boletinv2 .resolucion-numero {
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.page-boletinv2 .resolucion-fecha {
    color: var(--brand-gray-500);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.page-boletinv2 .resolucion-titulo {
    color: var(--brand-dark);
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .page-boletinv2 .boletin-title {
        font-size: 2rem;
    }

    .page-boletinv2 .search-section {
        padding: 1.5rem;
    }

    .page-boletinv2 .resolucion-item {
        padding: 1rem;
    }
}

/* Scoped styles for ComunaV2 */
.page-comunav2 .comuna-header {
    background: #fafafa;
    border-radius: 20px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--brand-orange-100);
}

/* Scoped styles for ContactoV2 */

.page-contactov2 .hero-contacto {
    background: url('../img/lacomuna/comuna_lateral.jpg');
    background-size: cover;
    background-position: center center;
    min-height: 55vh;
    position: relative;
}
    .page-contactov2 .hero-contacto::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
    }

    .page-contactov2 .hero-contacto .container {
        position: relative;
        z-index: 2;
    }

    .page-contactov2 .hero-contacto .hero-subtitle {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        font-weight: 300;
        line-height: 1.7;
        max-width: 700px;
        margin: 0 auto 2rem;
    }

.page-contactov2 .contact-hero {
    background: linear-gradient(135deg, var(--brand-orange-100) 0%, #fff 100%);
    padding: 3rem 0 3rem;
}

.page-contactov2 .contact-card {
    border: 1px solid var(--brand-orange-100);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.04);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .page-contactov2 .contact-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,.06);
    }

.page-contactov2 .contact-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--brand-orange);
    color: #fff;
    font-size: 1.5rem;
}

.page-contactov2 .form-control {
    border: 1px solid var(--brand-orange-100);
    border-radius: 12px;
    padding: .75rem 1rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .page-contactov2 .form-control:focus {
        border-color: var(--brand-orange);
        box-shadow: 0 0 0 3px var(--brand-orange-100);
    }

.page-contactov2 .btn-contact {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .75rem 2rem;
    font-weight: 600;
    transition: background .15s ease;
}

    .page-contactov2 .btn-contact:hover {
        background: #d85f1f;
        color: #fff;
    }

.page-contactov2 .location-card {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #d85f1f 100%);
    color: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: transform .15s ease;
}

    .page-contactov2 .location-card:hover {
        transform: translateY(-2px);
        color: #fff;
        text-decoration: none;
    }

.page-contactov2 .location-icon {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.page-contactov2 .alert-message {
    border-radius: 12px;
    border: none;
    padding: 1rem;
}

.page-contactov2 .alert-success {
    background: #d4edda;
    color: #155724;
}

.page-contactov2 .alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.page-contactov2 .alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

.page-contactov2 .whatsapp-btn {
    background: #25d366;
    border: 2px solid #25d366;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

    .page-contactov2 .whatsapp-btn:hover {
        background: #128c7e;
        border-color: #128c7e;
        transform: translateY(-1px);
        color: white;
    }

    .page-contactov2 .whatsapp-btn i {
        font-size: 0.9rem;
    }

.page-contactov2 .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    animation: contactov2-pulse 2s infinite;
}

    .page-contactov2 .whatsapp-float:hover {
        background: #128c7e;
        transform: scale(1.1);
        box-shadow: 0 6px 10px rgba(37, 211, 102, 0.6);
    }

    .page-contactov2 .whatsapp-float:active {
        transform: scale(0.95);
    }



/* Scoped styles for InstitucionalV2 */
.page-institucionalv2   {
   margin-bottom:2rem;
}

.page-institucionalv2 .modal-image {
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Scoped styles for TurismoV2 */

.page-turismov2 .hero-turismo-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
    /* Background with Puente Las Mojarras image */
    .page-turismov2 .hero-turismo-new::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../img/turismov2/puente_las_mojarras/puente_las_mojarras_1.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0.5;
        z-index: 1;
    }

    /* Content positioning */
    .page-turismov2 .hero-turismo-new .container {
        z-index: 10;
    }


/* Hero Badge */
.page-turismov2 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

    .page-turismov2 .hero-badge i {
        color: #ff7f27;
        font-size: 1.1rem;
    }
/* Hero Title */
.page-turismov2 .hero-title-new {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.page-turismov2 .hero-title-highlight {
    background: linear-gradient(135deg, #ff7f27 0%, #ffb366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 4rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

    .page-turismov2 .hero-title-highlight::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, #ff7f27, transparent);
        border-radius: 2px;
    }
/* Hero Description */
.page-turismov2 .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-turismov2 .btn-hero-primary {
    background: linear-gradient(135deg, #ff7f27 0%, #ff6b1a 100%);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(255, 127, 39, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.page-turismov2 .stats-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.page-turismov2 .stats-card-new {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 127, 39, 0.1);
}

    .page-turismov2 .stats-card-new::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #ff7f27, #ffb366);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .page-turismov2 .stats-card-new:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(255, 127, 39, 0.15);
    }

        .page-turismov2 .stats-card-new:hover::before {
            transform: scaleX(1);
        }

.page-turismov2 .stats-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 127, 39, 0.1), rgba(255, 140, 66, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .page-turismov2 .stats-icon i {
        font-size: 2rem;
        color: #ff7f27;
        transition: transform 0.3s ease;
    }

.page-turismov2 .stats-card-new:hover .stats-icon {
    background: linear-gradient(135deg, #ff7f27, #ffb366);
    transform: rotate(360deg);
}

    .page-turismov2 .stats-card-new:hover .stats-icon i {
        color: #fff;
    }

.page-turismov2 .stats-number-new {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff7f27, #ffb366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.page-turismov2 .stats-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    letter-spacing: 0.5px;
}

.page-turismov2 .stats-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 127, 39, 0.05), transparent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.page-turismov2 .stats-card-new:hover .stats-decoration {
    bottom: -10px;
    right: -10px;
    background: linear-gradient(135deg, rgba(255, 127, 39, 0.1), transparent);
}

.page-turismov2 .turismo-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

    .page-turismov2 .turismo-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    }

        .page-turismov2 .turismo-card:hover .card-img-top {
            transform: scale(1.02);
        }

    .page-turismov2 .turismo-card .card-img-top {
        width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
        image-rendering: auto;
        transition: transform 0.4s ease;
        cursor: pointer;
        position: relative;
    }

        .page-turismov2 .turismo-card .card-img-top:hover {
            opacity: 0.9;
            transform: scale(1.02);
        }

        .page-turismov2 .turismo-card .card-img-top::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(241, 111, 37, 0.1);
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 12px 12px 0 0;
        }

    .page-turismov2 .turismo-card:hover .card-img-top::after {
        opacity: 1;
    }

.page-turismov2 .festividad-card {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #d85f1f 100%);
    color: white;
    border: none;
}

.page-turismov2 .section-bg {
    background: #fafafa;
    padding: 5rem 0;
}

.page-turismov2 .stats-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.page-turismov2 .stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 0.5rem;
}

/* WhatsApp Button (scoped) */
.page-turismov2 .whatsapp-btn {
    background: #25d366;
    border: 2px solid #25d366;
    color: white;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
}

    .page-turismov2 .whatsapp-btn:hover {
        background: #128c7e;
        border-color: #128c7e;
        transform: translateY(-1px);
        color: white;
    }

    .page-turismov2 .whatsapp-btn i {
        font-size: 1rem;
    }


/* Scoped styles for UbicacionV2 */
.page-ubicacionv2 .location-hero {
    background: url('../img/ubicacion/ubicacion2.jpg');
    background-size: cover;
    background-position: bottom;
    min-height: 60vh;
    position: relative;
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
}

@media (min-width: 1200px) {
    .page-ubicacionv2 .location-hero {
        background-position: center center;
    }
}

.page-ubicacionv2 .location-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-ubicacionv2 .location-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-ubicacionv2 .location-card {
    border: 1px solid var(--brand-orange-100);
    border-radius: 16px;
    transition: all 0.3s ease;
    background: white;
}

    .page-ubicacionv2 .location-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 10px rgba(0,0,0,0.1);
    }

.page-ubicacionv2 .map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--brand-orange-100);
}

    .page-ubicacionv2 .map-container iframe {
        width: 100%;
        height: 400px;
        border: none;
    }

.page-ubicacionv2 .hero-actions {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .page-ubicacionv2 .location-hero {
        padding: 3rem 0;
    }

    .page-ubicacionv2 .map-container iframe {
        height: 300px;
    }
}

.page-institucionalv2 .institucional-header {
    background: url('../img/lacomuna/comuna_lateral_02.jpg');
    background-size: cover;
    background-position: center center;
    min-height: 50vh;
    position: relative;
    text-align: center;
    padding: 2.5rem 0;
}

    .page-institucionalv2 .institucional-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
    }

    .page-institucionalv2 .institucional-header .container {
        position: relative;
        z-index: 2;
    }

.page-institucionalv2 .institucional-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.page-institucionalv2 .section-card {
    background: #fff;
    border: 1px solid var(--brand-orange-100);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

    .page-institucionalv2 .section-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

.page-institucionalv2 .section-header {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #d85f1f 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-institucionalv2 .section-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.page-institucionalv2 .specialty-card {
    background: #f8f9fa;
    border: 1px solid var(--brand-orange-100);
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    text-align: justify;
}

    .page-institucionalv2 .specialty-card:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 5px 8px rgba(0,0,0,0.08);
    }

.page-institucionalv2 .specialty-title {
    font-weight: 450;
    margin-bottom: 0.5rem;
}

.page-institucionalv2 .download-btn {
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

    .page-institucionalv2 .download-btn:hover {
        background: #d85f1f;
        transform: translateY(-2px);
        color: white;
    }

.page-institucionalv2 .institution-card {
    background: #fff;
    border: 1px solid var(--brand-orange-100);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

    .page-institucionalv2 .institution-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

.page-institucionalv2 .institution-name {
    color: var(--brand-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-institucionalv2 .institution-detail {
    color: var(--brand-gray-500);
    margin-bottom: 0.25rem;
}

.page-institucionalv2 .section-separator {
    height: 1px;
    background: var(--brand-orange-100);
    margin: 3rem 0;
}

.page-institucionalv2 .dispensary-image-container {
    text-align: center;
    margin: 1.5rem 0;
}

.page-institucionalv2 .dispensary-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--brand-orange-100);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .page-institucionalv2 .dispensary-image:hover {
        transform: scale(1.02);
        border-color: var(--brand-orange);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

@media (max-width: 768px) {
    .page-institucionalv2 .institucional-title {
        font-size: 2rem;
    }

    .page-institucionalv2 .section-card {
        margin-bottom: 2rem;
    }

    .page-institucionalv2 .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.page-comunav2 .comuna-contact {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--brand-orange-100);
    margin-bottom: 2rem;
}

    .page-comunav2 .comuna-contact h3 {
        font-weight: 600;
        margin-bottom: 1rem;
    }

.page-comunav2 .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--brand-gray-700);
}

    .page-comunav2 .contact-item i {
        color: var(--brand-orange);
        margin-right: 0.75rem;
        width: 20px;
    }

.page-comunav2 .edificio-img {
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .page-comunav2 .edificio-img:hover {
        transform: scale(1.02);
    }
