body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(180deg, #f5f6fa 0%, #e9ebf3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* Margen para separar la tarjeta del borde superior e inferior */
    padding-top: 50px;
    padding-bottom: 32px;
}

.card-container {
    background: rgba(20, 40, 80, 0.90);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.18);
    max-width: 370px;
    width: 95vw;
    padding: 32px 18px 18px 18px; /* Regresa el padding superior original */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 16px;
    margin-bottom: 16px;
    border: 2.5px solid #111;
}

.logo-circle {
    background: #fff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -60px; /* La mitad del círculo sobresale */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    z-index: 2;
    border: 2.5px solid #444a5a;
}

.logo-img {
    width: 90px;
    height: auto;
}

.card-content {
    margin-top: 70px; /* Ajusta el contenido para compensar el logo flotante */
    text-align: center;
    color: #fff;
}

.empresa {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    letter-spacing: 1px;
}
.giro {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}
.profesion {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #e0b36a;
}
.frase {
    font-size: 0.98rem;
    margin-bottom: 18px;
    color: #e0e6f0;
    text-align: left;
}
.frase br {
    line-height: 2.2;
    content: " ";
    display: block;
    margin-bottom: 10px;
}
.botones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    border-radius: 16px;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    color: #1a2a4d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s;
}
.btn.whatsapp {
    background: #25d366;
    color: #fff;
}
.btn.whatsapp:hover {
    background: #1ebe57;
}
.btn.web {
    background: #fff;
    color: #1a2a4d;
}
.btn.web:hover {
    background: #e0b36a;
    color: #fff;
}
.btn.mail {
    background: #1a2a4d;
    color: #fff;
}
.btn.mail:hover {
    background: #e0b36a;
    color: #fff;
}
.direccion {
    margin-top: 18px;
    font-size: 0.95rem;
    color: #e0e6f0;
    text-align: center;
    border-top: 1px solid #e0b36a44;
    padding-top: 10px;
    width: 100%;
}

.servicios {
    margin: 18px 0 10px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.servicio-bloque {
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 12px 14px 8px 14px;
}
.servicio-bloque h3 {
    color: #e0b36a;
    font-size: 1.08rem;
    margin: 0 0 6px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.servicio-bloque ul {
    margin: 0;
    padding-left: 18px;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.5;
    text-align: left;
}
.servicio-bloque li {
    margin-bottom: 3px;
    text-align: left;
}

@media (max-width: 480px) {
    .card-container {
        padding: 24px 4vw 12px 4vw;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .logo-circle {
        width: 90px;
        height: 90px;
        top: -45px;
    }
    .logo-img {
        width: 65px;
    }
    .empresa {
        font-size: 1.2rem;
    }
    .giro {
        font-size: 0.95rem;
    }
    .profesion, .frase, .direccion {
        font-size: 0.90rem;
    }
    .servicios {
        gap: 12px;
    }
    .servicio-bloque {
        padding: 8px 6vw 4px 6vw;
    }
    .servicio-bloque h3 {
        font-size: 0.98rem;
    }
    .servicio-bloque ul {
        font-size: 0.92rem;
    }
    .card-content {
        margin-top: 55px;
    }
} 