/* Configuración de Fuentes */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* Navbar con efecto Glassmorphism */
.nav-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #991b1b;
    /* Red 800 */
}

.logo-text span {
    color: #78716c;
    /* Stone 500 */
    text-decoration: underline;
    text-decoration-color: #2563eb;
    /* Blue 600 */
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #dc2626;
    /* Red 600 */
}

/* Hero Section con video de fondo */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

/* Botones */
.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: scale(1.05);
}

.btn-wood {
    background-color: #2563eb;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-wood:hover {
    background-color: #1e40af;
}

.btn-outline {
    border: 1px solid white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #1c1917;
}

/* Tarjetas de Servicios */
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid #dc2626;
}

.service-card:hover {
    transform: translateY(-12px);
}

/* Sección de Valores */
.value-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: #2563eb;
    color: white;
}

/* Contenedor de Contacto */
.contact-container {
    border-radius: 2rem;
    overflow: hidden;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d6d3d1;
    border-radius: 0.25rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #2563eb;
}

.btn-submit {
    width: 100%;
    background: #dc2626;
    color: white;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #b91c1c;
}

/* Stats */
.stat-box {
    padding: 1.5rem;
    border: 1px solid #444;
    border-radius: 0.75rem;
    text-align: center;
}

/* Efectos visuales adicionales */
.service-img-hover {
    transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
    filter: brightness(0.9);
}

.service-img-hover:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
}

/* Floating Socials */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-email {
    background-color: #ea4335;
}

.btn-facebook {
    background-color: #1877F2;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Mobile Response for Floating Socials */
@media (max-width: 768px) {
    .floating-socials {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}