/* Variables CSS */
:root {
    --color-primary: #2c3e50;
    --color-secondary: #34495e;
    --color-accent: #3498db;
    --color-light: #f8f9fa;
    --color-dark: #1a252f;
    --color-white: #ffffff;
    --color-text: #2c3e50;
    --color-text-light: #7f8c8d;
    --font-primary: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
    --container-width: 1200px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1, h2, h3 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    color: #203A2B;
    letter-spacing: 0.5px;
}

/* Cuerpo de texto */
body, p, .detalles-content, .entorno-text p, .contacto-intro, .footer-section p {
    font-family: 'Open Sans', 'Lato', 'Lora', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    font-style: normal;
}

/* Citas y slogans */
.slogan, .cita, .hero-content p {
    font-style: italic;
    font-size: 19px;
    font-family: 'Open Sans', 'Lato', 'Lora', sans-serif;
}

/* Botones y CTA */
.btn-primary, .btn-submit, .btn-hover-slide {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-dark);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    transition: var(--transition);
}

section:hover .section-title::after {
    width: 80px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    position: relative;
    z-index: 1;
    text-decoration: none;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
}

.btn-primary:focus {
    outline: none;
}

.btn-submit {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--color-secondary);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-hover);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.logo {
    flex-shrink: 0;
    max-width: 70%;
    overflow: hidden;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    height: 56px;
}

.logo img {
    height: 56px;
    width: auto;
    margin-right: 0.7rem;
    display: block;
}

.navigation {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 1;
    overflow: hidden;
}

.nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-menu li {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
    height: 40px;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-dark);
    text-decoration: none;
    padding: 0 0.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 40px;
    padding-top: 8px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

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

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    max-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Detalles Section */
.detalles {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.detalles-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.1rem;
}

/* Galería Section */
.galeria {
    padding: 60px 0;
    background-color: #f7f7f7;
}

.galeria .container {
    max-width: 1400px;
}

.galeria .carousel {
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 85vh;
    position: relative;
}

.galeria .carousel:hover {
    box-shadow: var(--shadow-hover);
}

.galeria .carousel-item {
    height: 85vh;
    position: relative;
}

.galeria .carousel-item img,
.galeria .carousel-item video {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption, .galeria .carousel-caption {
    display: block !important;
    font-size: 1.2rem;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.2rem 1.2rem 1.2rem;
    border-radius: 0 0 12px 12px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    position: absolute;
    z-index: 2;
}

.galeria .carousel-indicators {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.galeria .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.galeria .carousel-indicators .active {
    background-color: var(--color-white);
    transform: scale(1.2);
}

.galeria .carousel-control-prev,
.galeria .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.galeria .carousel-control-prev:hover,
.galeria .carousel-control-next:hover {
    opacity: 1;
}

/* Entorno Section */
.entorno {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.entorno-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.entorno-item {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.entorno-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: var(--transition);
}

.entorno-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.entorno-item:hover::before {
    height: 6px;
}

.icon-container {
    font-size: 6.5rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
    height: 120px;
    width: 120px;
    margin-left: auto;
    margin-right: auto;
}

.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.entorno-item:hover .icon-container {
    transform: scale(1.05);
}

.entorno-text {
    text-align: justify;
}

.entorno-text p {
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Masterplan Section */
.masterplan {
    padding: 4rem 0;
    background-color: var(--color-light);
}

.masterplan .section-title {
    margin-bottom: 1rem;
}

.masterplan .section-subtitle {
    margin-bottom: 2rem;
}

.masterplan-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.masterplan-frame {
    width: 100%;
    height: 70vh;
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.masterplan-frame:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.masterplan-content .btn-primary {
    margin-top: 1rem;
}

.placeholder-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text);
}

/* Ubicación Section */
.ubicacion {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.ubicacion-text {
    order: 2;
}

.ubicacion-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.distancias {
    margin-top: 1.5rem;
}

.distancias li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.distancias li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.ubicacion-map {
    order: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.ubicacion-map:hover {
    box-shadow: var(--shadow-hover);
}

.map-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Contacto Section */
.contacto {
    padding: 6rem 0;
    background-color: var(--color-light);
}

.contacto-intro {
    text-align: justify;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contacto-content {
    max-width: 700px;
    margin: 0 auto;
}

.contacto-form {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.contacto-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 100%;
    overflow: hidden;
}

.footer-section h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.whatsapp-btn a {
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn a:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-hover);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-modal.active {
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-modal.active .gallery-modal-content img {
    transform: scale(1);
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-modal-close:hover {
    transform: rotate(90deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 10px;
    }
    .ubicacion-content {
        grid-template-columns: 1fr;
    }
    
    .ubicacion-map {
        order: 1;
        margin-top: 0;
    }
    
    .ubicacion-text {
        order: 2;
        margin-top: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .header .container {
        height: 70px;
        padding: 0 10px;
    }
    
    .logo img, .logo h1, .nav-menu a, .nav-menu li {
        height: 32px;
        line-height: 32px;
        font-size: 1.1rem;
    }
    .nav-menu a::after {
        bottom: 2px;
    }
    .nav-menu li {
        margin-left: 1rem;
    }
    .nav-toggle-label {
        display: block !important;
        position: absolute;
        top: 50%;
        right: 2rem;
        transform: translateY(-50%);
        z-index: 9999 !important;
        cursor: pointer;
        background: none;
        border: none;
        width: 40px;
        height: 40px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: var(--color-white);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 2rem;
        z-index: 9998;
    }
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }
    .nav-menu a {
        width: 100%;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        padding: 0 10px;
        overflow: visible !important;
    }
    .logo {
        display: flex;
        align-items: center;
        max-width: none;
        overflow: visible;
    }
    .logo h1 {
        max-width: none;
        overflow: visible;
    }
    .logo img {
        margin-right: 0.5rem;
    }
    .nav-menu {
        display: none;
    }
    .nav-toggle-label {
        display: block !important;
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        z-index: 9999 !important;
        cursor: pointer;
        background: none;
        border: none;
        width: 40px;
        height: 40px;
    }
    
    .navigation .nav-menu {
        display: none;
    }
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 101;
        transition: right 0.5s ease;
        overflow-y: auto;
    }
     .nav-toggle:not(:checked) ~ .nav-menu {
        right: -250px;
    }
    .nav-menu li {
        margin: 1rem 0;
        height: auto;
    }
    .nav-menu a {
        height: auto;
        line-height: 1.5;
        padding: 0.5rem 0;
        font-size: 1rem;
    }
     .nav-menu a::after {
        bottom: 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contacto-form {
        padding: 2rem;
    }
    
    .galeria .carousel,
    .galeria .carousel-item {
        height: 60vh;
    }
    
    .galeria .carousel-caption {
        font-size: 1rem;
        padding: 0.8rem 0.8rem 1.2rem;
    }
    
    .galeria .carousel-indicators {
        bottom: 0.3rem;
    }
    
    .icon-container {
        font-size: 5rem;
        height: 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 8px;
    }
    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 50px;
        padding: 0 8px;
        overflow: visible !important;
    }
    .logo {
        display: flex;
        align-items: center;
        max-width: none;
        overflow: visible;
    }
    .logo h1 {
        max-width: none;
        overflow: visible;
    }
    .logo img {
        margin-right: 0.5rem;
    }
     .nav-toggle:checked ~ .nav-menu {
         width: 200px;
         padding: 80px 1rem 1rem;
     }
      .nav-toggle:not(:checked) ~ .nav-menu {
        right: -200px;
    }
      .nav-menu li {
         margin: 0.8rem 0;
     }
      .nav-menu a {
         font-size: 0.9rem;
     }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .detalles-content {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .galeria .carousel,
    .galeria .carousel-item {
        height: 40vh;
    }
    
    .icon-container {
        font-size: 4rem;
        height: 70px;
    }
    .nav-toggle-label {
        display: block !important;
        position: absolute;
        top: 50%;
        right: 0.5rem;
        transform: translateY(-50%);
        z-index: 9999 !important;
        cursor: pointer;
        background: none;
        border: none;
        width: 36px;
        height: 36px;
    }
}

/* Justificar todos los textos */
p, .detalles-content, .entorno-text p, .contacto-intro, .footer-section p {
    text-align: justify;
}

/* Animaciones de Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Asegurarnos que el botón en el hero tenga el mismo comportamiento */
.hero-content .btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin-top: 1rem;
    display: inline-block;
}

.hero-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
}

.hero-content .btn-primary:focus {
    outline: none;
}

/* Logo más pequeño en móvil */
@media (max-width: 768px) {
    .logo img {
        height: 32px !important;
    }
    .logo h1 {
        font-size: 1.1rem !important;
    }
}
@media (max-width: 576px) {
    .logo img {
        height: 24px !important;
    }
    .logo h1 {
        font-size: 0.95rem !important;
    }
}

/* Video portada solo ocupa el hero, no pantalla completa */
@media (max-width: 768px) {
    #hero-video {
        max-height: 60vh;
    }
}

/* Captions de galería siempre visibles */
.carousel-caption, .galeria .carousel-caption {
    display: block !important;
    font-size: 1.2rem;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.2rem 1.2rem 1.2rem;
    border-radius: 0 0 12px 12px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    position: absolute;
    z-index: 2;
}
@media (max-width: 768px) {
    .carousel-caption, .galeria .carousel-caption {
        font-size: 1rem;
        padding: 0.8rem 0.8rem 1.2rem;
    }
}

/* Hamburguesa visible */
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--color-primary);
    height: 3px;
    width: 28px;
    border-radius: 2px;
    position: absolute;
    left: 6px;
    transition: 0.3s;
    content: '';
}

.nav-toggle-label span {
    position: relative;
    top: 18px;
}

.nav-toggle-label span::before {
    content: '';
    position: absolute;
    top: -9px;
}

.nav-toggle-label span::after {
    content: '';
    position: absolute;
    top: 9px;
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        background: #fff;
    }
    #hero-video {
        height: 100%;
        max-height: 100vh;
        min-height: 100vh;
    }
} 