/* Base Variables - Matching Image Design */
:root {
    --bg-color: #000000;
    /* Pure black background to prevent any blue flashes */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --color-red: #ff1c1c;
    --btn-primary-bg: #ff1c1c;
    --btn-primary-text: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --slide-width: 300px;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    /* Fixed to appear from beginning and stay visible during scroll */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    z-index: 100;
    /* High z-index to stay above canvas and overlay */
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-red);
}

.nav-links a.btn-nav {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 24px;
    border-radius: 30px;
}

.nav-links a.btn-nav:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle:active {
    transform: scale(0.9);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    /* FIX: Preload the frame 2 as CSS background so it is visible immediately while JS canvas loads */
    background-image: url('../fotogramas/02.webp');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Text Overlay */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left alignment */
    pointer-events: none;
    padding-left: 8%;
    /* Adjust to match center-left proportion */
}

.hero-text-stage {
    position: absolute;
    text-align: left;
    width: 100%;
    max-width: 650px;
    pointer-events: auto;
}

.tag {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    background-color: rgba(255, 255, 255, 0.05);
}

.headline {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.text-red {
    color: var(--color-red);
}

.subheadline {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.6;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-red {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.btn-red:hover {
    transform: scale(1.05);
    background-color: #e01212;
    box-shadow: 0 10px 20px rgba(255, 28, 28, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Fixed Elements */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.wa-icon {
    width: 30px;
    height: 30px;
    background-color: white;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"/></svg>') no-repeat center;
}

/* Nuestra Esencia Section */
.nuestra-esencia {
    position: relative;
    z-index: 3;
    margin-top: -80px;
    /* Overlap by 80px for the slant transition */
    padding: 120px 0;
    /* Less padding to draw content closer to borders */
    background-color: #ffffff;
    color: #1d1d1f;
    clip-path: polygon(0 0, 100% 40px, 100% calc(100% - 40px), 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 40px, 100% calc(100% - 40px), 0 100%);
}

.nuestra-esencia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to right, #ff1c1c, #FCC6BB);
    /* Red to Coral gradient */
    clip-path: polygon(0 0, 100% 40px, 100% 80px, 0 40px);
    -webkit-clip-path: polygon(0 0, 100% 40px, 100% 80px, 0 40px);
    z-index: 2;
    pointer-events: none;
}

.nuestra-esencia::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to right, #ff1c1c, #FCC6BB);
    /* Red to Coral gradient */
    clip-path: polygon(0 40px, 100% 0, 100% 40px, 0 80px);
    -webkit-clip-path: polygon(0 40px, 100% 0, 100% 40px, 0 80px);
    z-index: 2;
    pointer-events: none;
}

.esencia-container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.esencia-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 866 / 1000;
    z-index: 1;
}

.esencia-image-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    background: conic-gradient(from 0deg, #9b30ff, #ff007f, #ff3300, #00d2ff, #9b30ff);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: blur(25px);
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.esencia-image-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, #9b30ff, #ff007f, #ff3300, #00d2ff, #9b30ff);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 2;
    pointer-events: none;
}

.esencia-image-wrapper {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    z-index: 3;
}

.esencia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.esencia-image-container:hover .esencia-img {
    transform: scale(1.05);
}

.esencia-image-container:hover .esencia-image-glow {
    opacity: 0.8;
    filter: blur(20px);
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    color: #0b1021;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 55%;
    height: 55%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    padding: 10px;
    z-index: 2;
}

.experience-badge .exp-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-red);
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .exp-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0b1021;
}

.esencia-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0b1021;
}

.eye-icon {
    color: var(--color-red);
}

.section-tag h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.esencia-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #4a4a4a;
    font-weight: 400;
}

.tabs-container {
    margin-top: 10px;
}

.tabs-header {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: #0b1021;
}

.tab-btn.active {
    color: #0b1021;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-red);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #1d1d1f;
    font-weight: 600;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--color-red);
    flex-shrink: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nuestra Tienda Section */
.nuestra-tienda {
    background-color: #fff;
    color: #ffffff;
    padding: 140px 0 100px 0;
    margin-top: -80px;
    /* Overlap bottom of Nuestra Esencia */
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.nuestra-tienda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background-image: url('../images/background-tienda.jpg'); */
    background-image: url('../images/background2.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.tienda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.tienda-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag-center {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.eye-icon-red {
    color: var(--color-red);
}

.section-tag-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.tienda-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #fff;
    max-width: 650px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    perspective: 1000px;
    /* Enable 3D space for entrance animation */
}

.product-card {
    background-color: #ffffff;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    cursor: pointer;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 28, 28, 0.25), 0 0 25px rgba(138, 0, 255, 0.25);
    /* Dual red/purple glow shadow */
}

.product-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.15));
    /* Soft initial shadow under glasses shape */
}

.product-card:hover .product-img {
    transform: scale(1.12) translateY(-6px);
    filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.25));
    /* Floating effect shadow */
}

.tienda-cta {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    /* Separate button from images */
}

.btn-cta-tienda {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    text-decoration: none;
}

.cart-icon {
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.btn-cta-tienda:hover .cart-icon {
    transform: translateX(4px);
}

/* Nuestros Servicios Section */
.nuestros-servicios {
    background-color: #ffffff;
    color: #0b1021;
    padding: 120px 0 80px 0;
    /* Less padding */
    margin-top: -80px;
    /* Overlap the bottom of nuestra-tienda */
    position: relative;
    z-index: 3;
    clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
}

.nuestros-servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to right, #ff1c1c, #FCC6BB);
    /* Red to Coral gradient matching esencia */
    clip-path: polygon(0 80px, 100% 0, 100% 40px, 0 120px);
    -webkit-clip-path: polygon(0 80px, 100% 0, 100% 40px, 0 120px);
    z-index: 2;
    pointer-events: none;
}

.servicios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 5;
}

.servicios-header {
    text-align: center;
    margin-bottom: 60px;
}

.servicios-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 650px;
    margin: 0 auto;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.servicio-card {
    background-color: #0b1021;
    /* Dark blue background to match brand and look premium */
    color: #ffffff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    cursor: pointer;
}

.servicio-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(255, 28, 28, 0.15), 0 0 30px rgba(138, 0, 255, 0.15);
    /* Sleek glow hover */
}

.servicio-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.servicio-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(11, 16, 33, 0.8), transparent);
    pointer-events: none;
}

.servicio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.servicio-card:hover .servicio-img {
    transform: scale(1.08);
}

.servicio-content {
    padding: 35px 30px 30px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.servicio-icon {
    position: absolute;
    top: 0;
    left: 30px;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background-color: #0b1021;
    border: 2px solid var(--color-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-red);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: transform 0.5s ease, background-color 0.3s, color 0.3s;
}

.servicio-card:hover .servicio-icon {
    transform: translateY(-50%) rotate(360deg);
    background-color: var(--color-red);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 28, 28, 0.5);
}

.servicio-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.servicio-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e0;
    margin-bottom: 24px;
    flex-grow: 1;
}

.servicio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    transition: color 0.3s;
}

.servicio-link span {
    position: relative;
}

.servicio-link .arrow-icon {
    transition: transform 0.3s ease;
}

.servicio-card:hover .servicio-link .arrow-icon {
    transform: translateX(6px);
}

/* Nuestras Marcas Section */
.nuestras-marcas {
    background-color: #ffffff;
    color: #0b1021;
    padding: 80px 0 120px 0;
    position: relative;
    z-index: 3;
}

.marcas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 5;
}

.marcas-header {
    text-align: center;
    margin-bottom: 60px;
}

.marcas-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 650px;
    margin: 0 auto;
}

/* Slider Wrapper with gradient fade edges */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Gradient masks on the sides for a smooth fade effect */
.slider-wrapper::before,
.slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Slider Track */
.slider-track {
    display: flex;
    width: calc(var(--slide-width) * 20);
    /* 10 slides * 2 */
    animation: scrollBrands 35s linear infinite;
}

/* Pause scroll animation on hover to allow detailed inspection of logos */
.slider-track:hover {
    animation-play-state: paused;
}

/* Slides */
.slide {
    width: var(--slide-width);
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide img {
    max-width: 220px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55) contrast(0.9);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Specific styling for Adidas logo because of its black background */
.slide.class-adidas img {
    filter: invert(1) grayscale(100%) opacity(0.55) contrast(0.9);
    background-color: transparent;
}

/* Hover effects for logos */
.slide:hover {
    transform: scale(1.12);
}

.slide:hover img {
    filter: grayscale(0%) opacity(1) contrast(1);
}

/* When hovering specific adidas logo */
.slide.class-adidas:hover img {
    filter: invert(1) grayscale(0%) opacity(1) contrast(1);
}

/* Scroll Animation Keyframes */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--slide-width) * -10));
        /* Move by 10 slides */
    }
}

/* Nuestra Óptica Section */
.nuestra-optica {
    background-color: #fff;
    color: #000;
    padding: 100px 0 120px 0;
    margin-top: 0;
    /* Flat transition, no negative margin overlap */
    position: relative;
    z-index: 4;
    overflow: hidden;
}

/* Background image overlay with opacity */
.nuestra-optica::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
      background-image: url('../images/background1.jpg');
    /* Reuse existing dotted background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.optica-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 5;
}

.optica-header {
    text-align: center;
    margin-bottom: 50px;
}

.optica-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #524E4E;
    max-width: 650px;
    margin: 0 auto;
}

/* Bento Grid */
.optica-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
    perspective: 1000px;
}

.optica-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, border-color 0.3s;
    cursor: pointer;
}

/* Grid layout mapping */
.optica-card.tall {
    grid-column: 1;
    grid-row: 1 / 3;
}

.optica-card.wide {
    grid-column: 2 / 4;
    grid-row: 2;
}

.optica-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

.optica-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 28, 28, 0.25), 0 0 25px rgba(138, 0, 255, 0.25);
    border-color: rgba(255, 28, 28, 0.4);
}

.optica-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.4) contrast(1.1);
}

/* Modern Hover Overlay */
.optica-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 12, 24, 0.95) 0%, rgba(8, 12, 24, 0.4) 60%, rgba(8, 12, 24, 0.1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(2px);
}

.optica-name {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transform: translateY(25px);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    text-shadow: 0 0 15px rgba(255, 28, 28, 0.7);
}

.optica-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--color-red);
    transition: width 0.45s ease;
}

.optica-card:hover .optica-overlay {
    opacity: 1;
}

.optica-card:hover .optica-name {
    transform: translateY(0);
}

.optica-card:hover .optica-name::after {
    width: 60px;
}

/* --- Tu Visión Perfecta, Tu Estilo Único Section --- */
.vision-estilo {
    background-color: #ffffff;
    color: #0b1021;
    padding: 120px 0;
    position: relative;
    z-index: 3;
}

.vision-estilo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.vision-estilo-header {
    text-align: center;
    margin-bottom: 60px;
}

.tag-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #4a4a4a;
    text-transform: uppercase;
}

.vision-estilo-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0b1021;
    margin-top: 10px;
}

.vision-estilo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vision-estilo-card {
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.card-img-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card-info h3 {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0b1021;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card-info p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #718096;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b1021;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    transition: color 0.3s;
}

.card-link .arrow-icon {
    transition: transform 0.3s ease, stroke 0.3s;
}

/* Hover effects */
.vision-estilo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 25px rgba(255, 28, 28, 0.04);
    border-color: rgba(255, 28, 28, 0.2);
}

.vision-estilo-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.vision-estilo-card:hover .card-link {
    color: var(--color-red);
}

.vision-estilo-card:hover .card-link .arrow-icon {
    transform: translateX(6px);
    color: var(--color-red);
}

/* --- Seccion Promocion --- */
.seccion-promocion {
    background-color: #ffffff;
    padding: 60px 0 120px 0;
    position: relative;
    z-index: 3;
}

.promo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.promo-banner {
    display: flex;
    background: linear-gradient(135deg, #fdfdfd 0%, #f6f8fb 100%);
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04), 0 10px 40px rgba(255, 110, 0, 0.12);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.promo-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08), 0 15px 50px rgba(255, 110, 0, 0.22);
}

.promo-content {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.promo-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.promo-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0b1021;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.promo-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0b1021;
}

.promo-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--color-red);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 28, 28, 0.1);
}

.promo-description {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 480px;
}

.btn-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-promo-cta .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-promo-cta:hover .arrow-icon {
    transform: translateX(6px);
}

.promo-image {
    flex: 1;
    min-height: 480px;
    position: relative;
}

.promo-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Sección Contacto --- */
.contacto {
    background-color: #FFF2F2;
    /* Pure black from Hero section */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        radial-gradient(circle at 15% 25%, rgba(255, 28, 28, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(255, 28, 28, 0.1) 0%, transparent 45%);
		
    background-size: 60px 60px, 60px 60px, cover, cover;
    padding: 130px 0;
    position: relative;
    z-index: 3;
    overflow: hidden;
    color: #ffffff;
}

/* Ambient glow in background */
.contacto-glow-ambient {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 28, 28, 0.12) 0%, rgba(138, 0, 255, 0.08) 40%, transparent 70%);
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Columna Izquierda: Info */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eye-icon-glow {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 28, 28, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(255, 28, 28, 0.2);
}

.eye-icon-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 28, 28, 0.4);
    animation: spin 15s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.contacto-headline {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.contacto-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #525151;
    font-weight: 400;
    max-width: 520px;
}

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 28, 28, 0.2);
    transform: translateX(5px);
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-red);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 28, 28, 0.3);
    transition: transform 0.3s ease;
}

.detail-item:hover .detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.detail-content h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: red;
    margin-bottom: 4px;
}

.detail-content p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #525151;
}

/* Columna Derecha: Tarjeta */
.contacto-card-wrapper {
    background: rgba(11, 16, 33, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.contacto-card-wrapper:hover {
    border-color: rgba(255, 28, 28, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 28, 28, 0.1);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0aec0;
    transition: color 0.3s ease;
}

.contacto-form input,
.contacto-form textarea,
.contacto-form select {
    background-color: rgba(6, 10, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
    color: #4a5568;
}

.contacto-form input:hover,
.contacto-form textarea:hover,
.contacto-form select:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background-color: rgba(6, 10, 24, 0.9);
}

.contacto-form input:focus,
.contacto-form textarea:focus,
.contacto-form select:focus {
    border-color: var(--color-red);
    background-color: rgba(6, 10, 24, 0.95);
    box-shadow: 0 0 15px rgba(255, 28, 28, 0.25);
}

.contacto-form input:focus+label,
.form-group:focus-within label {
    color: #ffffff;
}

/* Custom Select Styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.contacto-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 45px;
}

/* Custom dropdown arrow inside select wrapper */
.select-wrapper::after {
    content: '▼';
    font-size: 0.65rem;
    color: #a0aec0;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.select-wrapper:focus-within::after {
    color: var(--color-red);
    transform: translateY(-50%) rotate(180deg);
}

/* Option styling for the dropdown */
.contacto-form select option {
    background-color: #0b1021;
    color: #ffffff;
    padding: 12px;
}

.contacto-form select option:disabled {
    color: #4a5568;
}

.contacto-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 36px;
    font-size: 0.95rem;
    font-weight: 700;
}

.send-icon {
    transition: transform 0.3s ease;
}

.btn-enviar:hover .send-icon {
    transform: translateX(4px) scale(1.05);
}

/* --- Footer --- */
.main-footer {
    background-color: #060a16;
    border-top: 2px solid rgba(255, 28, 28, 0.2);
    padding: 80px 0 0 0;
    position: relative;
    z-index: 3;
    color: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer-top {
    padding-bottom: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1.15fr 1fr;
    gap: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-col {
    gap: 24px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-slogan {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cbd5e0;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    text-decoration: none;
}

.social-btn:hover {
    color: #ffffff;
    transform: translateY(-4px);
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
    border-color: transparent;
}

.social-btn.facebook:hover {
    background-color: #1877f2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
    border-color: transparent;
}

.social-btn.tiktok:hover {
    background-color: #010101;
    box-shadow: 0 5px 15px rgba(255, 0, 80, 0.3), 0 -5px 15px rgba(0, 242, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-red);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--color-red);
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-info li .contact-icon {
    color: var(--color-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-info li .email-text {
    word-break: break-all;
}

.footer-map-container {
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease;
}

.footer-map-container:hover {
    border-color: rgba(255, 28, 28, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background-color: #04060f;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-container p {
    font-size: 0.85rem;
    color: #718096;
}

.footer-bottom-container .credits a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-container .credits a:hover {
    color: var(--color-red);
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        padding: 20px 30px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(4, 6, 15, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 35px;
        align-items: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .nav-links a.btn-nav {
        border-color: var(--color-red);
        background-color: rgba(255, 28, 28, 0.1);
    }

    .nav-links a.btn-nav:hover {
        background-color: rgba(255, 28, 28, 0.2);
    }

    /* Nuestra Esencia Tablet Stack */
    .esencia-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    :root {
        --slide-width: 220px;
    }

    .slide {
        padding: 0 20px;
        height: 100px;
    }

    .slide img {
        max-width: 170px;
        max-height: 55px;
    }

    .optica-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 240px);
        gap: 20px;
    }

    .optica-card.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .optica-card.wide {
        grid-column: auto;
        grid-row: auto;
    }

    .vision-estilo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card-img-wrapper {
        height: 280px;
    }

    .promo-banner {
        flex-direction: column;
    }

    .promo-content {
        padding: 50px 40px;
    }

    .promo-image {
        min-height: 380px;
    }

    /* Contacto Responsive */
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contacto-info {
        text-align: center;
        align-items: center;
    }

    .info-header {
        justify-content: center;
    }

    .contacto-lead {
        margin: 0 auto;
    }

    .contacto-details {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .detail-item {
        text-align: left;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contacto-card-wrapper {
        padding: 30px;
    }

    /* Footer Tablet */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {

    /* Nuestra Esencia Mobile Center */
    .esencia-content {
        text-align: center;
        align-items: center;
    }

    .esencia-content .section-tag {
        justify-content: center;
    }

    .esencia-content .tabs-header {
        justify-content: center;
    }

    .esencia-content .feature-list li {
        justify-content: center;
    }

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

    .tienda-container {
        padding: 0 20px;
    }

    .section-tag-center h2 {
        font-size: 2rem;
    }

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

    .servicios-container {
        padding: 0 20px;
    }

    .marcas-container {
        padding: 0 20px;
    }

    .nuestras-marcas {
        padding: 60px 0 80px 0;
    }

    :root {
        --slide-width: 160px;
    }

    .slide {
        padding: 0 10px;
        height: 80px;
    }

    .slide img {
        max-width: 120px;
        max-height: 40px;
    }

    .optica-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
        gap: 15px;
    }

    .optica-card.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .optica-card.wide {
        grid-column: auto;
        grid-row: auto;
    }

    .optica-container {
        padding: 0 20px;
    }

    .nuestra-optica {
        padding: 100px 0 60px 0;
    }

    .vision-estilo {
        padding: 80px 0;
    }

    .vision-estilo-container {
        padding: 0 20px;
    }

    .vision-estilo-title {
        font-size: 1.8rem;
    }

    .card-info {
        padding: 30px 20px;
    }

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

    .promo-title {
        font-size: 1.75rem;
    }

    .promo-number {
        font-size: 3.5rem;
    }

    .promo-content {
        padding: 40px 24px;
    }

    .promo-image {
        min-height: 300px;
    }

    /* Contacto Mobile */
    .contacto {
        padding: 80px 0;
    }

    .contacto-container {
        padding: 0 20px;
    }

    .contacto-card-wrapper {
        padding: 24px 20px;
        border-radius: 20px;
    }

    /* Footer Mobile */
    .main-footer {
        padding: 60px 0 0 0;
    }

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

    .brand-col {
        align-items: center;
    }

    .footer-logo {
        align-self: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact-info li {
        justify-content: center;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Modern Form Notification --- */
.contact-alert {
    position: fixed;
    bottom: 30px;
    left: 30px;
    padding: 16px 24px;
    border-radius: 16px;
    background: rgba(11, 16, 33, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    max-width: 400px;
}

.contact-alert.show {
    transform: translateY(0);
    opacity: 1;
}

.contact-alert.success {
    border-color: #25D366;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.15);
}

.contact-alert.error {
    border-color: #ff1c1c;
    box-shadow: 0 15px 35px rgba(255, 28, 28, 0.15);
}

.contact-alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-alert-message {
    font-size: 0.9rem;
    font-weight: 550;
    line-height: 1.4;
}