:root {
    /* Colors */
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --primary-glow: #00ffcc;
    /* Teal/Cyan Neon */
    --secondary-glow: #ff00ff;
    /* Magenta Neon */
    --card-bg: #161616;
    --border-color: #333;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;

    /* Typography */
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--primary-glow);
    color: var(--primary-glow);
    transform: translateY(-2px);

}

.btn-block {
    width: 100%;
}

.text-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
}

.text-btn:hover {
    color: var(--text-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
    /* Ensure this is above mobile menu (999) */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.home {
    margin-top: 10px;
    margin-bottom: 5px;
    height: 40px;
    width: auto;
    transition: filter 0.1s ease;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.4s ease;
    /* Match menu duration */
}

.mobile-menu-btn.active {
    transform: rotate(180deg);
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
}

/* Mobile Menu Open State */
.navbar.menu-open .nav-left {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: -10px;
    padding-bottom: 30px;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 400px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 100%;
    height: 400px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.abstract-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    filter: blur(60px);
    transform: translate(-50%, -50%);
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: auto;
    z-index: 2;
    animation: zoomIn 1.5s ease-out forwards, opacity 3s ease-out forwards;
}

@keyframes zoomIn {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes opacity {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

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

.portfolio-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-);
}

.portfolio-thumb {
    height: 200px;
    background: #222;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Information Section */
.info-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.info-content p {
    margin-bottom: 20px;
}

/* Servicios Section */
.service-branding {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.branding-title {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.branding-dynamic-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
    min-height: 30px;
    transition: opacity 0.3s ease;
    display: none;
}

.branding-arrow,
.gallery-arrow {
    font-size: 1rem;
    color: var(--text-color);
    margin: 10px;
    text-align: center;
    display: none;
}

.branding-carousel {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.branding-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.branding-label-desktop {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.branding-image {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    border: 0px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .branding-image:hover {
        transform: scale(1.03);
    }
}



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

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
}

.price-icon {
    color: var(--primary-glow);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.price-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
    flex-grow: 1;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.prices-disclaimer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.prices-action {
    text-align: center;
}

.btn-whatsapp {
    background-color: #00ff5e8c;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(23, 172, 77, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* Reviews */
.reviews-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 50px;
    scrollbar-width: none;
    align-items: center;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.loading-spinner {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-style: italic;
}

.review-card {
    min-width: 300px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.review-stars {
    color: gold;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
}

.review-author {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.review-business {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.review-form-container h3 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-glow);
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.5rem;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: gold;
}

/* Footer */
.footer {
    position: relative;
    margin: 0 !important;
    padding-bottom: 0 !important;
    padding: 50px 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    gap: 30px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Admin Styles */
#admin-login-view h2 {
    margin-bottom: 20px;
}

#adminLoginForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#admin-password {
    width: 100%;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-family: inherit;
    text-align: center;
}

#admin-password:focus {
    outline: none;
    border-color: var(--primary-glow);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.pending-list {
    max-height: 300px;
    overflow-y: auto;
    margin: 20px 0;
    text-align: left;
}

.pending-item {
    background: #0a0a0a;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.pending-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-approve {
    background: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reject {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* Imagenes / Gallery Section */
.gallery-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    width: 100%;
    border-radius: 12px;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    min-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Aspect ratio handling for images */
.gallery-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 550px;
    /* Prevent too tall images */
    object-fit: contain;
    /* Keep full image visible without cropping */
    border-radius: 12px;
}

.gallery-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    user-select: none;
}

.gallery-nav:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: scale(1.1);
    border-color: var(--text-color);
}

/* Isotipo Section */
.isotipo-desktop {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.isotipo-item {
    display: flex;
    align-items: center;
    gap: 80px;
}

.isotipo-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.isotipo-visual img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .isotipo-visual img:hover {
        transform: scale(1.02);
    }
}

.isotipo-info {
    flex: 1;
}

.isotipo-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.isotipo-info ul {
    list-style: none;
    /* Custom bullets or keep simple */
    padding-left: 0;
}

.isotipo-info li {
    margin-bottom: 12px;
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
}

.isotipo-info li::before {
    content: '•';
    color: var(--primary-glow);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.isotipo-mobile {
    display: none;
}

/* Responsive */
@media (max-width: 820px) {

    /* Reduce general spacing */
    :root {
        --section-padding: 50px 5px;
    }

    .abstract-shape {
        width: 100px;
        height: 100px;
    }

    .container {
        padding: 0 30px;
    }

    /* Navbar adjustments */
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .home {
        height: 32px;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        display: flex;
    }

    .nav-right .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu a {
        font-size: 1.2rem;
    }

    .copyright {
        padding: 10px;
    }

    /* Hero section - centered vertically on mobile */
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .hero-text p {
        margin: 0 auto;
        font-size: 1rem;
    }

    .visual-placeholder {
        height: 250px;
    }

    .hero-icon {
        width: 300px;
    }

    /* Section titles smaller */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-item {
        border-radius: 10px;
    }

    .portfolio-thumb {
        height: 160px;
    }

    .portfolio-info {
        padding: 15px;
    }

    .portfolio-info h3 {
        font-size: 1.1rem;
    }

    .portfolio-info p {
        font-size: 0.85rem;
    }

    /* Information section */
    .info-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .info-content p {
        margin-bottom: 15px;
    }

    /* Branding section */
    .branding-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .branding-dynamic-text {
        display: block;
        font-size: 1rem;
        min-height: 24px;
        margin-bottom: 8px;
    }

    .branding-arrow,
    .gallery-arrow {
        display: block;
        font-size: 0.9rem;
        margin: 8px;
    }

    .gallery-arrow {
        margin-top: 25px;
    }

    .branding-label-desktop {
        display: none;
    }

    .branding-carousel {
        flex-direction: row;
        overflow-x: hidden;
        /* JS controlled */
        scroll-snap-type: none;
        scrollbar-width: none;
        gap: 0;
        padding: 0;
    }

    .branding-carousel::-webkit-scrollbar {
        display: none;
    }

    .branding-slide {
        min-width: 100%;
        scroll-snap-align: none;
        padding: 0 20px;
        /* Match gallery item padding */
        box-sizing: border-box;
        flex: 0 0 100%;
    }

    .branding-image {
        max-width: 100%;
        border-radius: 10px;
    }

    /* Prices section */
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .price-card {
        padding: 20px;
        border-radius: 10px;
        gap: 12px;
    }

    .price-card h3 {
        font-size: 1.15rem;
    }

    .price-card p {
        font-size: 0.88rem;
    }

    .price {
        font-size: 1.1rem;
        padding-top: 12px;
    }

    .prices-disclaimer {
        font-size: 0.9rem;
        margin: 0 auto 30px;
    }

    .btn-whatsapp {
        padding: 10px 24px;
        font-size: 1rem;
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }

    /* Reviews section */
    .review-card {
        min-width: 250px;
        padding: 18px;
        border-radius: 10px;
    }

    .review-header {
        margin-bottom: 12px;
    }

    .review-stars {
        font-size: 0.9rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .review-author {
        margin-top: 12px;
        font-size: 0.85rem;
    }

    .review-business {
        font-size: 0.75rem;
    }

    /* Review form */
    .review-form-container {
        padding: 25px;
        border-radius: 12px;
    }

    .review-form-container h3 {
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .form-group input[type="text"],
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .star-rating label {
        font-size: 1.3rem;
    }

    /* Buttons */
    .btn {
        padding: 8px 18px;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    /* Footer */
    .footer {
        padding: 35px 0;
        margin-top: 50px;
    }

    .footer-links {
        gap: 20px;
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.85rem;
    }

    /* Modal adjustments */
    .modal-content {
        padding: 30px;
        max-width: 350px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    /* Admin styles */
    #admin-password {
        padding: 10px;
        font-size: 0.95rem;
    }

    .pending-item {
        padding: 12px;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .pending-actions {
        gap: 8px;
        margin-top: 8px;
    }

    .btn-approve,
    .btn-reject {
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    /* Gallery Mobile */
    .gallery-track {
        gap: 0;
        /* Remove gap, handle spacing via JS logic or padding if needed */
        padding: 0;
        overflow-x: hidden;
        /* Disable native scroll */
        scroll-snap-type: none;
    }

    .gallery-nav {
        display: none;
    }

    .gallery-item {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 0 20px;
        /* Internal spacing instead of gap */
        box-sizing: border-box;
    }

    .gallery-item img {
        border-radius: 8px;
    }

    /* Isotipo Mobile */
    .isotipo-desktop {
        display: none;
    }

    .isotipo-mobile {
        display: block;
        text-align: center;
    }

    .isotipo-info-container {
        min-height: 150px;
        /* Min height to prevent layout shift */
        transition: opacity 0.3s ease;
        opacity: 1;
    }

    .isotipo-mobile-list {
        text-align: left;
        padding-left: 0;
        margin-top: 40px;
        color: var(--text-muted);
        font-size: 0.95rem;
    }

    #isotipo-dynamic-text {
        margin-bottom: 25px;
    }

    .isotipo-mobile-list li {
        margin-bottom: 10px;
        position: relative;
        padding-left: 20px;
    }

    .isotipo-mobile-list li::before {
        content: '•';
        color: var(--primary-glow);
        position: absolute;
        left: 0;
        font-size: 1.1rem;
        line-height: 1;
    }
}