.contact-hero{
    position: relative;
    min-height: 420px;
    background-image: url("../img/optica-3.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.contact-overlay{
    position: absolute;
    inset: 0;
    background:
    linear-gradient(
        to right,
        rgba(8,24,36,0.95),
        rgba(8,24,36,0.65)
    );
}

.contact-hero-content{
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.contact-hero-content p{
    letter-spacing: 3px;
    opacity: 0.7;
    margin-bottom: 15px;
}

.contact-hero-content h1{
    font-size: 72px;
    line-height: 1;
    margin-bottom: 20px;
}

.contact-hero-content span{
    color: #a6ff00;
}

.contact-hero-content h3{
    opacity: 0.8;
    font-weight: normal;
    line-height: 1.6;
}

.contact-section{
    padding: 80px 60px 40px;
}

.contact-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.contact-card{
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 40px 30px;
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

.contact-card:hover{
    transform: translateY(-8px);
    border-color: rgba(166,255,0,0.4);
    box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    0 0 20px rgba(166,255,0,0.08);
}

.contact-icon{
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-card h2{
    margin-bottom: 15px;
}

.contact-card p{
    opacity: 0.7;
    margin-bottom: 15px;
}

.contact-card span{
    color: #a6ff00;
    font-weight: bold;
}

/* SUCURSALES */

.branches{
    padding: 40px 60px 90px;
}

.branches-title{
    text-align: center;
    margin-bottom: 50px;
}

.branches-title p{
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 15px;
}

.branches-title h2{
    font-size: 48px;
}

.branches-title span{
    color: #a6ff00;
}

.branches-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.branch-card{
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 28px;
    padding: 35px;
    transition: 0.3s ease;
}

.branch-card:hover{
    transform: translateY(-8px);
    border-color: rgba(166,255,0,0.35);
    box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    0 0 20px rgba(166,255,0,0.08);
}

.branch-top{
    margin-bottom: 20px;
}

.branch-logo{
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    display:flex;
    align-items:center;
    justify-content:center;
}

.branch-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-badge{
    background: rgba(166,255,0,0.12);
    color: #a6ff00;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.branch-card h3{
    font-size: 28px;
    margin-bottom: 15px;
}

.branch-card p{
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 25px;
}

.branch-info{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.branch-buttons{
    display: flex;
    gap: 15px;
}

.branch-buttons a{
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 14px;
    transition: 0.3s ease;
    font-weight: bold;
}

.branch-buttons a:first-child{
    background: #a6ff00;
    color: #081824;
}

.branch-buttons a:last-child{
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
}

.branch-buttons a:hover{
    transform: translateY(-3px);
}


/* MAPA */

.map-wrapper{
    padding: 0 60px 90px;
}

.map-title{
    text-align: center;
    margin-bottom: 40px;
}

.map-title p{
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 12px;
}

.map-title h2{
    font-size: 46px;
}

.map-title span{
    color: #a6ff00;
}

#map{
    width: 100%;
    height: 520px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
