:root {
    --bg-obsidian: #08040e;
    --bg-purple-dark: #130924;
    --bg-card: rgba(24, 12, 43, 0.85);
    --gold: #e5b83b;
    --gold-bright: #ffe07d;
    --crimson-alert: #9b111e;
    --text-white: #ffffff;
    --text-muted: #c4b9d6;
    --border-gold: rgba(229, 184, 59, 0.35);
    --input-height: 52px; /* Tamaño unificado de campos */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-obsidian);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

h1, h2, h3, .brand-title {
    font-family: 'Cinzel', serif;
}

/* Banner Superior de Urgencia */
.top-urgency-banner {
    background: linear-gradient(90deg, #5c0a14, #a81323, #5c0a14);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.88rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gold);
    position: relative;
    z-index: 200;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulseGlow 1.5s infinite;
}

.banner-link {
    background: var(--gold);
    color: #08040e;
    font-weight: 700;
    text-decoration: none;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.banner-link:hover {
    transform: scale(1.05);
}

/* Navbar y Logo */
.navbar {
    background: rgba(8, 4, 14, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 150;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    height: 48px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    color: var(--gold-bright);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.btn-gold-outline {
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--bg-obsidian);
}

/* Slider Principal Automático (2 segundos con efecto Ken Burns / Zoom) */
.hero-slider {
    position: relative;
    height: 560px;
    overflow: hidden;
    border-bottom: 2px solid var(--border-gold);
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-purple-dark);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
    transition: opacity 0.8s ease-in-out, transform 2.2s ease-out, visibility 0.8s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.slide-content {
    max-width: 720px;
}

.slide-badge {
    display: inline-block;
    background: rgba(229, 184, 59, 0.16);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.slide-content h1 {
    font-size: 3.1rem;
    line-height: 1.15;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 25%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.12rem;
    color: #e2d9f3;
    margin-bottom: 30px;
}

.slide-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: #08040e;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(229, 184, 59, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(229, 184, 59, 0.55);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
}

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gold-bright);
    width: 30px;
    border-radius: 10px;
}

/* Sección de Servicios / Trabajos */
.services-section {
    padding: 80px 0;
    background: radial-gradient(circle at top center, #1d0d38 0%, var(--bg-obsidian) 70%);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-tag {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 12px;
    color: var(--gold-bright);
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(229, 184, 59, 0.18);
}

.service-img-box {
    height: 220px;
    overflow: hidden;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-box img {
    transform: scale(1.08);
}

.service-body {
    padding: 26px;
}

.service-body h3 {
    font-size: 1.25rem;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Sección Combinada: 6 Testimonios + 2 Videos */
.proof-section {
    padding: 70px 0 90px;
    background: #0c0617;
    border-top: 1px solid rgba(229, 184, 59, 0.15);
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 35px;
    align-items: stretch;
}

.testimonials-box {
    background: linear-gradient(145deg, #1b0d33, #0f071f);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 230px;
}

.testimonial-item {
    display: none;
    animation: fadeInSlide 0.6s ease;
}

.testimonial-item.active {
    display: block;
}

.stars {
    color: #ffc107;
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.quote {
    font-size: 1.12rem;
    font-style: italic;
    color: #f3effa;
    margin-bottom: 22px;
    line-height: 1.7;
}

.author strong {
    display: block;
    color: var(--gold-bright);
    font-size: 1.05rem;
}

.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}

.t-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 10px;
}

/* Videos al lado de los testimonios */
.videos-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}

.video-label {
    font-weight: 700;
    color: var(--gold-bright);
    font-size: 0.92rem;
    margin-bottom: 10px;
    text-align: center;
}

.video-card video {
    width: 100%;
    height: 290px;
    border-radius: 12px;
    background: #000;
    object-fit: cover;
}

/* Footer con Formulario SQL, Maps y Redes */
.footer-section {
    background: #06030b;
    border-top: 2px solid var(--border-gold);
    padding: 75px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-form-card, .footer-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 35px;
}

.footer-form-card h3, .footer-info-card h3 {
    font-size: 1.5rem;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.footer-form-card p, .footer-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 22px;
}

/* Formulario Unificado con Tamaño Idéntico y Animación */
.unified-form .form-group {
    margin-bottom: 16px;
}

.unified-form input,
.unified-form textarea {
    width: 100%;
    height: var(--input-height);
    padding: 0 18px;
    background: rgba(8, 4, 14, 0.85);
    border: 1px solid rgba(229, 184, 59, 0.25);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.98rem;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.unified-form textarea {
    height: 105px;
    padding: 14px 18px;
    resize: vertical;
}

.unified-form input:focus,
.unified-form textarea:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 4px rgba(229, 184, 59, 0.18);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    height: var(--input-height);
}

.status-msg {
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
}

.map-container {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    margin-bottom: 22px;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-btn.fb {
    background: #1877f2;
}

.social-btn.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.meta-disclaimer {
    margin-top: 6px;
    font-size: 0.78rem;
    opacity: 0.75;
}

/* Botón Flotante Llamativo a Messenger */
.floating-messenger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #0099ff, #0066ff);
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 132, 255, 0.55);
    border: 2px solid #ffffff;
    z-index: 999;
    animation: floatBounce 2.5s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.floating-messenger:hover {
    transform: scale(1.06);
}

.fm-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fm-status {
    font-size: 0.72rem;
    color: #a7f3d0;
    font-weight: 600;
}

.fm-text strong {
    font-size: 0.98rem;
}

/* Animaciones */
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 920px) {
    .services-grid, .proof-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .slide-content h1 {
        font-size: 2.2rem;
    }
    .hero-slider {
        height: 500px;
    }
}

@media (max-width: 600px) {
    .videos-box, .social-links {
        grid-template-columns: 1fr;
    }
    .brand-title {
        font-size: 0.98rem;
    }
    .floating-messenger {
        bottom: 16px;
        right: 16px;
        padding: 10px 18px;
    }
}