/* Estilos de Transportes Logiexpress */

:root {
    --navy: #102b45;
    --blue: #176a9b;
    --sky: #7bc7ec;
    --ink: #183047;
    --muted: #526779;
    --pale: #f0f5f8;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: white;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.wrap {
    width: min(1180px,90%);
    margin: auto;
}

.top {
    background: var(--navy);
    color: #dceaf4;
    font-size: 12px;
}

.topinner {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    box-shadow: 0 2px 15px #102b4512;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.brand img {
    width: 66px;
    height: 58px;
    object-fit: contain;
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-top: 5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
}

nav a:hover,nav a:focus-visible {
    color: var(--blue);
}

.navcta {
    background: var(--navy);
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
}

.navcta:hover {
    color: white;
    background: var(--blue);
}

#toggle {
    display: none;
}

.hero {
    min-height: 610px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,#081d31f5 0%,#102b45dc 38%,#102b4540 100%),url('assets/hero.webp') center 52%/cover;
    color: white;
}

.hero-content {
    padding: 90px 0 120px;
}

.eyebrow {
    display: block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.light {
    color: var(--sky);
}

h1,h2,h3,p {
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(48px,7vw,88px);
    line-height: 1.02;
    letter-spacing: -3px;
}

h1 em {
    font-style: normal;
    color: var(--sky);
}

h2 {
    font-size: clamp(30px,4vw,47px);
    line-height: 1.13;
    letter-spacing: -1.4px;
}

h3 {
    font-size: 21px;
    line-height: 1.3;
}

p {
    color: var(--muted);
}

.hero p,.dark p {
    color: #d9e7f2;
    max-width: 560px;
    font-size: 18px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #1976aa;
    color: white;
    padding: 13px 23px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
}

.btn:hover {
    background: #125b86;
}

.outline {
    background: transparent;
    border: 1px solid #b4d0e3;
}

.highlights {
    position: relative;
    margin-top: -52px;
    background: white;
    box-shadow: 0 12px 40px #102b451a;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 25px 0;
    border-radius: 6px;
}

.highlights div {
    padding: 10px 24px;
    border-right: 1px solid #dce5ec;
}

.highlights div:last-child {
    border: 0;
}

.highlights strong {
    display: block;
    font-size: 30px;
    color: var(--blue);
    line-height: 1.2;
}

.highlights span {
    font-size: 13px;
    color: var(--muted);
}

.section {
    padding-top: 88px;
    padding-bottom: 88px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.feature {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 8px;
}

.mission {
    border-left: 3px solid var(--blue);
    padding-left: 20px;
    margin: 25px 0;
}

.mission h3 {
    margin-bottom: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    background: var(--pale);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
}

.pale {
    background: var(--pale);
}

.cards,.gallery {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin-top: 32px;
}

.cards article {
    background: white;
    border-top: 3px solid var(--blue);
    padding: 30px;
    border-radius: 4px;
}

.num {
    display: block;
    color: var(--blue);
    font-weight: bold;
    margin-bottom: 22px;
}

.gallery figure {
    margin: 0;
    background: var(--navy);
    color: white;
    border-radius: 6px;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.gallery figcaption {
    padding: 14px 18px;
    font-weight: 700;
}

.dark {
    background: var(--navy);
    color: white;
}

.routes {
    border-top: 1px solid #ffffff30;
}

.routes div {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    padding: 19px 10px;
    border-bottom: 1px solid #ffffff30;
    font-size: 18px;
}

.routes b {
    color: var(--sky);
}

.locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.locations article {
    border: 1px solid #dce5ec;
    border-radius: 6px;
    overflow: hidden;
}

.locations img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.locations article div {
    padding: 25px;
}

.locations a {
    color: var(--blue);
    font-weight: bold;
}

.security {
    padding: 45px 0;
}

.security img {
    width: 260px;
    margin: auto;
}

.security h2 {
    font-size: 30px;
}

.contact {
    background: var(--pale);
    padding: 30px;
    border-radius: 6px;
    display: grid;
    gap: 6px;
}

.contact span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--muted);
}

.contact a {
    font-size: clamp(15px,2vw,21px);
    font-weight: bold;
    overflow-wrap: anywhere;
    margin-bottom: 15px;
    color: var(--navy);
}

footer {
    background: #091e31;
    color: white;
    padding: 30px 0;
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.foot p {
    color: #a9c0d2;
    margin: 0;
}

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 10px;
    top: 10px;
    background: white;
    z-index: 99;
    padding: 10px;
}

:focus-visible {
    outline: 3px solid #35a4d9;
    outline-offset: 3px;
}

@media (max-width:1050px) {
    #toggle {
        display: block;
        border: 1px solid #cbd8e1;
        background: white;
        color: var(--navy);
        font-size: 24px;
        border-radius: 4px;
        padding: 4px 12px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 16px 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 12px 20px #102b4520;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 12px;
    }

    .navcta {
        margin-top: 5px;
    }

    .split {
        gap: 35px;
    }
}

@media (max-width:700px) {
    .topinner span {
        display: none;
    }

    .topinner {
        justify-content: center;
    }

    .nav {
        min-height: 68px;
    }

    .hero {
        min-height: 530px;
        background-position: 60% center;
    }

    .hero-content {
        padding: 65px 0 100px;
    }

    h1 {
        letter-spacing: -2px;
    }

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

    .highlights div {
        padding: 14px;
    }

    .highlights div:nth-child(2) {
        border: 0;
    }

    .highlights strong {
        font-size: 25px;
    }

    .section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .split,.cards,.gallery,.locations {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature {
        height: 320px;
    }

    .gallery img {
        height: 260px;
    }

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

    .security img {
        width: 200px;
    }

    .routes div {
        font-size: 16px;
    }

    .contact {
        padding: 20px;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Identidad actualizada y galería */

:root {
    --navy: #142e59;
    --blue: #245b9b;
    --sky: #91c6ed;
    --ink: #18304e;
    --pale: #f1f5fa;
}

.brand img {
    width: 118px;
    height: 76px;
    object-fit: contain;
}

.brand-label {
    font-size: 10px;
    max-width: 88px;
    letter-spacing: 1px;
    color: var(--muted);
}

.nav {
    gap: 12px;
}

nav {
    gap: 14px;
}

.hero {
    background: linear-gradient(90deg,#0b2141fa 0%,#142e59e8 38%,#142e5930 100%),url('assets/unidad-completa.webp') right 61%/cover;
}

.gallery img {
    height: 280px;
    object-position: center 64%;
}

.photo-link {
    display: block;
    overflow: hidden;
}

.photo-link img {
    transition: transform .25s;
}

.photo-link:hover img {
    transform: scale(1.035);
}

#photo-dialog {
    border: 0;
    border-radius: 8px;
    padding: 12px;
    background: #10243c;
    max-width: 94vw;
    max-height: 94vh;
    color: white;
}

#photo-dialog::backdrop {
    background: #071322d9;
}

#photo-full {
    max-height: 82vh;
    max-width: 86vw;
    object-fit: contain;
    margin: auto;
}

#photo-close {
    display: block;
    margin: 0 0 8px auto;
    background: white;
    border: 0;
    border-radius: 4px;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
}

@media (max-width:700px) {
    .brand img {
        width: 100px;
        height: 62px;
    }

    .hero {
        background-position: 65% 60%;
    }

    .gallery img {
        height: 270px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .photo-link img {
        transition: none;
    }
}

/* Versión 3: organización fiel a la presentación */

.section-heading {
    max-width: 800px;
    margin-bottom: 32px;
}

.section-heading p {
    font-size: 17px;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}

.identity-grid article {
    padding: 28px;
    border: 1px solid #dae4ef;
    border-top: 4px solid var(--blue);
    border-radius: 6px;
    background: #fff;
}

.identity-grid article h3 {
    font-size: 25px;
}

.identity-grid p {
    margin-bottom: 0;
}

.values {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.values li {
    background: var(--pale);
    padding: 8px 12px;
    border-left: 3px solid var(--blue);
    font-weight: 700;
}

.strengths {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 35px;
    margin-top: 30px;
    padding: 32px;
    background: var(--pale);
    border-radius: 8px;
}

.strengths p {
    margin-bottom: 0;
}

.strengths ul {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 7px;
    color: var(--muted);
}

.strengths li::marker {
    color: var(--blue);
}

.subheading {
    margin-top: 48px;
    margin-bottom: 16px;
}

.service-cards {
    margin-top: 0;
}

.service-cards article {
    box-shadow: 0 4px 18px #142e5909;
}

.service-cards article p {
    margin-bottom: 0;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 16px;
}

.partner-grid figure {
    margin: 0;
    border: 1px solid #dbe5ef;
    border-radius: 7px;
    padding: 18px 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    min-width: 0;
}

.partner-grid img {
    width: 100%;
    height: 88px;
    object-fit: contain;
}

.partner-grid figcaption {
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
    text-align: center;
    line-height: 1.3;
}

.cert-section {
    background: var(--navy);
    color: white;
}

.cert-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.cert-section p {
    color: #e0eaf7;
}

.cert-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 26px;
}

.cert-facts div {
    border: 1px solid #ffffff40;
    border-radius: 5px;
    padding: 15px;
}

.cert-facts small {
    display: block;
    color: var(--sky);
    font-size: 12px;
}

.cert-facts strong {
    font-size: 17px;
    display: block;
    margin-top: 4px;
}

.cert-logo {
    background: white;
    color: var(--navy);
    padding: 32px 24px;
    border-radius: 9px;
    text-align: center;
}

.cert-logo img {
    width: min(100%,330px);
    margin: 0 auto 18px;
}

.cert-logo span {
    font-size: 13px;
    font-weight: bold;
}

.director {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--navy);
}

.business-info {
    background: var(--pale);
    padding: 35px 0 42px;
}

.business-info h2 {
    font-size: 25px;
    letter-spacing: 0;
}

.business-info dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
    margin: 0;
}

.business-info dt {
    font-size: 12px;
    font-weight: bold;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.business-info dd {
    margin: 3px 0 0;
    color: var(--ink);
}

.local-phone {
    margin-top: -8px;
    font-size: 14px;
}

.btn {
    background: var(--blue);
}

.btn:hover {
    background: #194b85;
}

.hero .outline {
    background: transparent;
}

.hero .outline:hover {
    background: #ffffff18;
}

.brand {
    flex-shrink: 0;
}

.brand-label {
    max-width: 95px;
}

.gallery img {
    object-position: center 65%;
}

.gallery figure:last-child:nth-child(3n+1) {
    grid-column: auto;
}

.topinner a:hover {
    text-decoration: underline;
}

@media (min-width:1051px) {
    nav {
        gap: clamp(9px,1.2vw,18px);
    }

    .nav {
        width: min(1280px,94%);
    }
}

@media (max-width:1050px) {
    .partner-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }

    .cert-layout {
        gap: 25px;
    }
}

@media (max-width:700px) {
    .identity-grid,.strengths,.cert-layout,.business-info dl {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .strengths {
        padding: 23px;
    }

    .partner-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .partner-grid img {
        height: 68px;
    }

    .partner-grid figure {
        padding: 12px 8px;
    }

    .cert-facts {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cert-facts strong {
        font-size: 14px;
    }

    .cert-facts div {
        padding: 10px;
    }

    .cert-logo {
        padding: 24px;
    }

    .identity-grid article {
        padding: 23px;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .subheading {
        margin-top: 30px;
    }

    .nav {
        gap: 10px;
    }
}

/* Versión 4: carrusel de la flotilla y ajustes de navegación */

.fleet-carousel {
    margin-top: 42px;
}

.carousel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.carousel-heading h3 {
    margin-bottom: 5px;
}

.carousel-heading p {
    margin-bottom: 0;
    font-size: 14px;
}

.carousel-controls {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.carousel-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid #ccd9e8;
    border-radius: 6px;
    background: white;
    color: var(--navy);
    font-size: 23px;
    cursor: pointer;
}

.carousel-controls button:hover:not(:disabled) {
    background: var(--navy);
    color: white;
}

.carousel-controls button:disabled {
    opacity: .42;
    cursor: default;
}

.fleet-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #a9bed5 transparent;
    padding-bottom: 10px;
}

.fleet-slide {
    margin: 0;
    min-width: 0;
    background: var(--navy);
    color: white;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
}

.fleet-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 65%;
}

.fleet-slide figcaption {
    font-weight: 700;
    padding: 13px 16px;
}

.carousel-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px;
}

.routes .route {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.7fr) auto minmax(0, 1fr);
    gap: 10px;
    font-size: clamp(14px, 1.5vw, 19px);
    text-align: center;
    padding: 20px 0;
}

.business-info {
    padding: 60px 0;
}

.business-info dl {
    grid-template-columns: 1fr;
    gap: 0;
    background: white;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    overflow: hidden;
}

.business-info dl > div {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(0, 2.5fr);
    gap: 20px;
    padding: 16px 22px;
    border-bottom: 1px solid #e2eaf3;
}

.business-info dl > div:last-child {
    border-bottom: 0;
}

.business-info dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.business-info a {
    color: var(--blue);
    font-weight: 700;
}

#instalaciones .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#instalaciones .gallery img {
    height: 270px;
}

nav a {
    white-space: nowrap;
}

@media (max-width: 1200px) {
    #toggle {
        display: block;
        border: 1px solid #cbd8e1;
        background: white;
        color: var(--navy);
        font-size: 24px;
        border-radius: 4px;
        padding: 4px 12px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 75vh;
        overflow-y: auto;
        box-shadow: 0 12px 20px #102b4520;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 10px 12px;
    }
}

@media (max-width: 900px) {
    .fleet-track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 700px) {
    .fleet-track {
        grid-auto-columns: 100%;
    }

    .fleet-slide img {
        height: 310px;
        object-fit: contain;
        background: #11243d;
    }

    .carousel-heading {
        align-items: flex-start;
    }

    .carousel-heading h3 {
        font-size: 19px;
    }

    .carousel-controls button {
        width: 40px;
        height: 40px;
    }

    .business-info dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 15px;
    }

    #instalaciones .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #instalaciones .gallery img {
        height: 160px;
    }

    #instalaciones .gallery figcaption {
        font-size: 13px;
        padding: 10px;
    }

    .routes .route {
        gap: 5px;
        font-size: 14px;
    }
}

/* Ajustes para pantallas de ancho reducido */
@media (max-width: 360px) {
    h1 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }
}


/* Versión 5: navegación superior y fotografías de sucursales */
html {
    scroll-padding-top: 126px;
}

.nav {
    min-height: 104px;
    width: min(1560px, 96%);
}

.brand img {
    width: 146px;
    height: 96px;
}

.brand-label {
    font-size: 12px;
    max-width: 110px;
}

nav {
    font-size: 16px;
    gap: 17px;
}

.locations article .branch-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 0;
    background: var(--pale);
}

.locations article .branch-photos.single {
    grid-template-columns: 1fr;
}

.branch-photos img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center 65%;
}

@media (max-width: 1400px) {
    #toggle {
        display: block;
        border: 1px solid #cbd8e1;
        background: white;
        color: var(--navy);
        font-size: 28px;
        border-radius: 5px;
        padding: 8px 17px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 14px 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 12px 20px #102b4520;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 14px 12px;
        font-size: 17px;
    }
}

@media (max-width: 700px) {
    .nav {
        min-height: 88px;
        width: 90%;
    }

    .brand img {
        width: 112px;
        height: 76px;
    }

    .brand-label {
        font-size: 11px;
        max-width: 90px;
    }

    .branch-photos img {
        height: 170px;
    }

    .branch-photos.single img {
        height: 235px;
    }
}


/* Rastreo satelital: proveedor de monitoreo */
.rastreo-logo {
    margin-top: 20px;
}

.rastreo-logo img {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 5px;
}


/* Ajuste visual: bloque superior de Samsara */
.highlight-samsara img {
    display: block;
    width: 100%;
    max-width: 170px;
    height: auto;
    margin-top: 14px;
}

.highlight-samsara span {
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .highlight-samsara img {
        max-width: 140px;
        margin-top: 10px;
    }
}

/* Sucursal Nuevo Laredo: tres fotografías */

.branch-photos.triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 0;
}

.branch-photos.triple img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Adaptación para celulares */

@media (max-width: 700px) {

    .branch-photos.triple img {
        height: 180px;
    }

}

/* ========================================== */
/* FOTOGRAFÍAS DE SUCURSALES                   */
/* ========================================== */

.locations .branch-photos {
    display: grid;
    gap: 4px;
    padding: 0;
    overflow: hidden;
}

/* Estado de México: dos fotografías */

.locations .branch-photos.double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Nuevo Laredo: tres fotografías */

.locations .branch-photos.triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Estilo general de las fotografías */

.locations .branch-photos .photo-link {
    display: block;
    min-width: 0;
    overflow: hidden;
}

.locations .branch-photos img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

/* Información de cada sucursal */

.locations .branch-info {
    padding: 25px;
}

/* Adaptación para celulares */

@media (max-width: 700px) {

    .locations .branch-photos img {
        height: 180px;
    }

    .locations .branch-info {
        padding: 20px;
    }

}