@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

:root {
    --bg-color: #050505;
    --surface: #121212;
    --surface-hover: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #999999;
    --border: #333333;
    --transition: all 0.3s ease;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Tipografía */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; }
.subtitle { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--text-muted); font-weight: 300; }

/* Estructura */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
section { padding: 8rem 0; }

/* Navegación Cabecera */
header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: rgba(5, 5, 5, 0.9); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--border); 
    z-index: 100; 
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.2rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.mobile-menu-btn { display: none; background: none; border: none; color: white; cursor: pointer; }

/* Botones */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 1rem 2rem; 
    background: var(--text-main); 
    color: var(--bg-color); 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.9rem; 
    transition: var(--transition); 
    border: 1px solid var(--text-main); 
}
.btn:hover { background: transparent; color: var(--text-main); }
.btn-outline { background: transparent; color: var(--text-main); border: 1px solid var(--text-main); }
.btn-outline:hover { background: var(--text-main); color: var(--bg-color); }

/* Banner / Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; z-index: -1; }
.hero-content { max-width: 800px; }
.hero .subtitle { margin: 2rem 0 3rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Banner Frase */
.banner-moto { position: relative; padding: 10rem 0; text-align: center; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.banner-moto img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; z-index: -1; }
.banner-moto h2 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); text-transform: uppercase; font-weight: 800; opacity: 0.9; }

/* Tarjetas de Servicios */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.service-card { background: var(--surface); padding: 3rem 2rem; transition: var(--transition); border: 1px solid var(--border); }
.service-card:hover { border-color: var(--text-muted); transform: translateY(-5px); }
.service-card h3 { margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); margin-bottom: 2rem; }

/* Reseñas */
.reviews { background: var(--surface); border-top: 1px solid var(--border); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.review-card { padding: 2rem; border-left: 1px solid var(--border); }
.stars { margin-bottom: 1rem; color: #fff; }
.review-text { font-size: 1.1rem; font-style: italic; color: var(--text-muted); }
.review-rating-global { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; font-size: 1.2rem; }

/* Botones flotantes (WhatsApp y Teléfono) */
.floating-contact { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 99; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; background: var(--surface); border: 1px solid var(--border); transition: var(--transition); }
.float-btn svg { width: 24px; height: 24px; stroke: var(--text-main); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-btn:hover { background: var(--text-main); }
.float-btn:hover svg { stroke: var(--bg-color); }

/* Pie de página */
footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { margin-bottom: 1.5rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p, .footer-col a { color: var(--text-muted); margin-bottom: 0.8rem; display: block; font-size: 0.95rem; }
.footer-col a:hover { color: var(--text-main); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* Adaptación para Móviles */
@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        background: var(--bg-color); 
        flex-direction: column; 
        padding: 2rem; 
        border-bottom: 1px solid var(--border); 
        text-align: center; 
    }
    .nav-links.show { display: flex; }
    .mobile-menu-btn { display: block; }
    section { padding: 5rem 0; }
}