.bodyDiv {
    margin: 0;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
}

.header-image {
    width: 100%;
    max-width: 640px;
    height: 200px;
    border-radius: 10px 10px 0px 0px;
    ;
    overflow: hidden;
    margin: 20px 0 0px 0;
    position: relative;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1.1);
    /* para evitar bordes blancos por el blur */
}

.section {
    width: 90%;
    max-width: 600px;
    background-color: white;
    border: solid 0.2px #80808042;
    border-radius: 10px;
    margin: 10px 0;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.section p.title {
    color: #392B2E;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.data-item {
    margin-bottom: 17px;
    font-size: 14px;
}

.data-item strong {
    display: block;
}

.data-item div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.informationReservation {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.companions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.companion-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #333;

    padding: 12px 15px;
    border-radius: 8px;
    border: solid 0.2px #80808041;
}

.companion-item i {
    font-size: 28px;

    flex-shrink: 0;
}

.companion-item strong {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.actions {
    display: flex;
    gap: 12px;
}

.actions img {
    font-size: 20px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 1rem;
}

.actions i:hover {
    color: #4CAF50;
}

.terms-container {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.terms-title {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.terms-content {
    position: relative;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.terms-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255, 255, 255, 0.719));
    pointer-events: none;
}

.terms-content.expanded {
    max-height: 2000px;
}

.terms-content.expanded::after {
    display: none;
}

.terms-container::after {
    content: "⬇";
    position: absolute;
    bottom: 10px;
    right: 20px;
    color: #392B2E;
    cursor: pointer;
    font-weight: bold;
    z-index: 1;
}

.terms-container .terms-content.expanded ~ .terms-container::after {
    content: "⬆";
}