/* Bootstrap ya se carga por separado */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    text-align: center;
    background: white;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f3e2e2;
    color: #222;
    margin-bottom: 60px;
}

.section {
    padding: 80px 0;
}

.pastel {
    background: #fff5f7;
}

.plan-card {
    border: none;
    border-radius: 15px;
    transition: 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.plan-card-container {
    perspective: 1000px;
    height: 420px;
}

.plan-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s;
    transform-style: preserve-3d;
}

.plan-card-container:hover .plan-card-inner {
    transform: rotateY(180deg);
}

.plan-card-front,
.plan-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    background: white;
    padding: 20px;
    text-align: center;
}

.plan-card-front {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.plan-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
    padding-left: 0;
}

.img-plan {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
}

.destacado {
    border: 2px solid #f3a6b2;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.hero {
    margin: 10% auto 0 auto;
    height: 90vh;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    transition: background-image 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    height: 70vh;
    background: rgba(0,0,0,0.35);
    padding: 50px;
    border-radius: 10px;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.foto-perfil {
    max-height: 320px;
    width: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto-perfil:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 3px solid #ffffff;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.icono-redes {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    font-size: 20px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.icono-redes:hover {
    transform: translateY(-3px);
    color: white;
    background: #e7a6b1;
}

.review-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    height: 100%;
    transition: 0.2s;
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.review-name {
    font-weight: 600;
}

.stars {
    color: #fbbc04;
    font-size: 14px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.carousel {
    position: relative;
}

.carousel img {
    width: 100%;
    display: none;
    transition: transform 0.4s ease;
}

.carousel img.active {
    display: block;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 20px;
    padding: 6px 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.titulo-elegante {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.btn:focus, 
.btn:active:focus, 
.btn-link.nav-link:focus, 
.form-control:focus, 
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

#contacto {
    margin-bottom: 80px;
}

footer {
    background-color: #fbf9f5;
}