/* ============================================================
   1. HERO Y BREADCRUMB
============================================================ */
.mv-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    overflow: hidden;
}

.mv-hero-imagen {
    width: 100%;
    height: 100%;
}

.mv-hero-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mv-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,18,38,0.4),
        rgba(0,18,38,0.75)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px 8%;
}

.mv-hero-overlay h2 {
    font-size: 3.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
    line-height: 1;
}

.mv-hero-overlay h2 span { color: #daa520; }

.mv-hero-overlay p {
    font-size: 1.1rem;
    color: #dddddd;
    margin-top: 10px;
    letter-spacing: 1px;
}

.breadcrumb {
    background-color: #f5f5f5;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-container a {
    color: #001f3f;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.breadcrumb-container a:hover { color: #ff4136; }
.breadcrumb-container i { color: #aaaaaa; font-size: 0.7rem; }
.breadcrumb-container span { color: #888888; }

/* ============================================================
   ESTILOS PRINCIPALES
============================================================ */
.adt-main {
    padding: 60px 0;
    width: 100%;
    background-color: #ffffff;
}

.adt-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.adt-titulo {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.adt-titulo span { color: #ff4136; }

.adt-linea-deco {
    width: 80px;
    height: 4px;
    background-color: #daa520;
    margin: 0 auto 20px auto;
}

.adt-subtitulo {
    text-align: center;
    color: #777777;
    margin-bottom: 50px;
}

/* ============================================================
   GRID DE CARDS (ELIMINAMOS GRID Y USAMOS FLEX)
============================================================ */
.flip-grid {
    display: flex;            /* Usamos Flexbox */
    justify-content: center;  /* CENTRA HORIZONTALMENTE */
    align-items: center;      /* Alinea verticalmente */
    flex-wrap: wrap;          /* Permite que bajen en móviles */
    gap: 40px;                /* Espacio entre las dos cards */
    width: 100%;              /* Asegura que ocupe todo el ancho */
    margin: 0 auto;
}

/* ============================================================
   ESTRUCTURA DE LA CARD
============================================================ */
.flip-card {
    width: 380px;             /* Ancho fijo para las cards */
    height: 450px;
    perspective: 1200px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    border-radius: 20px;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.flip-front {
    background-size: cover;
    background-position: center;
}

.flip-front-overlay {
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.flip-icono {
    font-size: 2.5rem;
    color: #daa520;
    margin-bottom: 15px;
}

.flip-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: white;
}

.flip-btn {
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.flip-btn:hover {
    background: white;
    color: black;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .flip-card {
        width: 90%; /* En pantallas pequeñas ocupan casi todo el ancho */
        max-width: 380px;
    }
}