/* ================================================================
   RPM MOTORS — HOJA DE ESTILOS COMPARTIDA
   ✏️  Para personalizar colores busca "VARIABLES GLOBALES" y edita ahí
   ================================================================ */

/* ================================================================
   1. VARIABLES GLOBALES (tokens de diseño)
   ✏️  Cambia aquí para afectar todo el sitio
   ================================================================ */
:root {
    --gold: #FFD700;
    /* Color dorado principal */
    --gold-dark: #E6B800;
    /* Dorado más oscuro (hover) */
    --gold-dim: rgba(255, 215, 0, 0.12);
    /* Dorado semitransparente */
    --bg: #0a0a0a;
    /* Fondo principal (negro) */
    --surface: #141414;
    /* Superficies elevadas */
    --surface2: #1e1e1e;
    /* Tarjetas / cards */
    --border: rgba(255, 255, 255, 0.08);
    /* Bordes sutiles */
    --text: #ffffff;
    /* Texto principal */
    --text-muted: #9a9a9a;
    /* Texto secundario */
    --green-wa: #25D366;
    /* Color WhatsApp */
    --header-h: 100px;
    /* Altura del header */
    --radius: 14px;
    /* Radio de borde general */
    --transition: 0.3s ease;
    /* Transición estándar */
}

/* ================================================================
   2. RESET Y BASE
   ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ================================================================
   3. UTILIDADES
   ================================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section-tag {
    /* Etiqueta pequeña sobre el título */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-dim);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    /* Encabezado de sección centrado */
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.highlight {
    color: var(--gold);
}

/* Texto dorado */

/* ================================================================
   4. BOTONES
   ✏️  .btn-primary = dorado | .btn-outline = borde dorado | .btn-wa = WhatsApp
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

.btn-wa {
    background: var(--green-wa);
    color: #fff;
}

.btn-wa:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-dark {
    background: var(--surface2);
    color: var(--gold);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ================================================================
   5. HEADER Y NAVEGACIÓN
   ================================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ✏️ Logo: 3x del tamaño original — cámbialo aquí */
.logo img {
    height: 190px;
    width: auto;
    /* el header crece automáticamente con el logo */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: var(--gold-dim);
}

.nav-cta {
    /* Botón "Pedir Cita" del header */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--gold);
    color: #000;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.mobile-menu {
    /* Ícono hamburguesa (solo visible en móvil) */
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

/* Menú overlay para móvil */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.nav-overlay.active {
    display: flex;
}

.nav-overlay a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 12px 36px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-overlay a:hover,
.nav-overlay a.active {
    color: var(--gold);
    background: var(--gold-dim);
}

.close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
}

/* ================================================================
   6. HERO — Sección principal con vídeo de fondo
   ✏️  El vídeo se configura en index.html (<source src="...">)
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Vídeo de fondo */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    /* ✏️ Aumenta para ver mejor el vídeo */
}

/* Overlay degradado sobre el vídeo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 10, 10, 0.85) 0%,
            rgba(10, 10, 10, 0.5) 50%,
            rgba(10, 10, 10, 0.8) 100%);
}

/* Efecto shine (barrido dorado) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.06), transparent);
    animation: shine 5s infinite linear;
    z-index: 1;
    pointer-events: none;
}

/* Hero centrado ahora que no hay imagen lateral */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 160px 24px 100px;
    margin: 0 auto;
    text-align: center;
}

/* Etiqueta sobre el título del hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-dim);
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.1s;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.5s;
}

/* Hero buttons eliminados del HTML pero mantenemos el estilo por si se necesitan */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

/* Fila de características (íconos + texto) */
.hero-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    /* centrado sin imagen lateral */
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero-feature i {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Flecha scroll */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold);
    opacity: 0.5;
    animation: bounce 2s infinite;
    font-size: 1.3rem;
}

/* Foto lateral del hero — eliminada del HTML, oculta por CSS */
.hero-image-wrap {
    display: none;
}

/* ================================================================
   7. TRUST BAR — Contadores de estadísticas
   ✏️  Edita data-target="25" en index.html para cambiar los números
   ================================================================ */
.trust-bar {
    background: linear-gradient(135deg, #141414, #1e1e1e);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}

.trust-bar::before {
    /* Efecto shine */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.04), transparent);
    animation: shine 6s infinite linear;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.trust-item:hover {
    transform: translateY(-6px);
}

.trust-icon {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 12px;
    animation: pulse 2.5s infinite;
}

.trust-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text);
    display: block;
    line-height: 1;
}

.trust-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* ================================================================
   8. QUIÉNES SOMOS — Layout con fotos superpuestas
   (Diseño de la versión anterior que te gustó)
   ================================================================ */
.about-section {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Columna izquierda: fotos superpuestas */
.about-photos {
    position: relative;
    height: 520px;
}

.about-photo-main {
    /* Foto grande principal */
    position: absolute;
    left: 0;
    top: 0;
    width: 78%;
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-secondary {
    /* Foto pequeña superpuesta */
    position: absolute;
    right: 0;
    bottom: 0;
    width: 56%;
    height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--bg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.about-photo-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge años de experiencia */
.about-years-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    animation: rotateSlow 12s linear infinite;
}

.about-years-badge .yrs-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.about-years-badge .yrs-txt {
    font-size: 0.55rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Columna derecha: texto */
.about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    /* Grid 2x2 con puntos clave */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.about-highlight-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-highlight-item i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-highlight-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.about-highlight-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================================================
   9. SERVICIOS — Tarjetas de servicios en grid
   ================================================================ */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #141414, #1e1e1e);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.04), transparent);
    animation: shine 5s infinite linear;
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.svc-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(24px);
}

.svc-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.svc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 16px 40px rgba(255, 215, 0, 0.1);
}

.svc-icon {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 18px;
}

.svc-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.svc-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.svc-link {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.svc-link:hover {
    gap: 12px;
}

/* Card de categoría (página servicios.html) */
.service-cat-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s, box-shadow 0.3s;
}

.service-cat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.3);
}

.cat-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #000;
    margin-bottom: 20px;
    position: relative;
}

.cat-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

.service-cat-card h3 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.svc-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    transition: var(--transition);
}

.svc-list-item:last-child {
    border-bottom: none;
}

.svc-list-item:hover {
    color: var(--gold);
    padding-left: 8px;
}

.svc-list-item i {
    color: var(--gold);
    flex-shrink: 0;
}

/* Info banner (página servicios.html) */
.info-banner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: var(--gold-dim);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--radius);
    padding: 20px 32px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.info-banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.info-banner-item i {
    color: var(--gold);
    font-size: 1.3rem;
}

/* ================================================================
   10. PROCESO DE TRABAJO — Pasos numerados con línea conectora
   (Diseño de la versión anterior que te gustó)
   ================================================================ */
.process-section {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 20px;
}

/* Línea horizontal que conecta los pasos */
.process-steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: calc(12.5% + 10px);
    right: calc(12.5% + 10px);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(255, 215, 0, 0.2));
    z-index: 0;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.5s, transform 0.5s;
}

.process-step.visible {
    opacity: 1;
    transform: scale(1);
}

/* Número del paso encima del ícono */
.step-number {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.7;
}

/* Círculo con el ícono */
.step-icon {
    width: 80px;
    height: 80px;
    background: var(--surface2);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--gold);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--gold);
    color: #000;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================================================
   11. TESTIMONIOS
   ================================================================ */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #141414, #1e1e1e);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testi-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(24px);
}

.testi-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testi-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.25);
}

.quote-icon {
    font-size: 2.4rem;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testi-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testi-author {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 700;
    color: var(--gold);
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
}

/* ================================================================
   12. GALERÍA (página servicios.html)
   ================================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.5s, transform 0.5s;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    /* mostrar caras, no recortar */
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: #fff;
    font-size: 1.1rem;
}

/* ================================================================
   13. MARCAS — Grid de logos profesionales
   ✏️  Agrega/quita .brand-logo-card en index.html
   ================================================================ */
.brands-section {
    padding: 80px 0;
    background: var(--bg);
}

.brands-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 48px;
}

.brand-logo-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    cursor: default;
}

.brand-logo-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.1);
    background: var(--surface);
}

/* Logo SVG de la marca — cargado desde simpleicons CDN */
.brand-logo-card img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: brightness(0) invert(0.55);
    /* gris neutro por defecto */
    transition: filter 0.3s;
}

.brand-logo-card:hover img {
    /* Dorado al hacer hover */
    filter: brightness(0) saturate(200%) invert(85%) sepia(60%) saturate(800%) hue-rotate(5deg);
}

.brand-logo-card span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    transition: color 0.3s;
}

.brand-logo-card:hover span {
    color: var(--gold);
}

/* ================================================================
   14. CTA SECTION
   ================================================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gold), #e6b800);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 4s infinite linear;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #000;
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ================================================================
   15. PÁGINA CONTACTO
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.info-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(8px);
}

.info-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--gold);
    width: 18px;
    text-align: center;
}

.contact-item a {
    color: var(--text-muted);
}

.contact-item a:hover {
    color: var(--gold);
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.hours {
    color: var(--gold);
    font-weight: 700;
}

.social-row {
    display: flex;
    gap: 14px;
    margin-top: 16px;
}

.social-btn {
    width: 46px;
    height: 46px;
    background: var(--gold-dim);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-4px) rotate(360deg);
    transition: transform 0.5s, background 0.3s;
}

/* Area de servicio (banner dorado) */
.service-area-banner {
    background: var(--gold);
    padding: 60px 0;
    text-align: center;
    margin-top: 80px;
}

.service-area-banner h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 12px;
}

.service-area-banner p {
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.area-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.area-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
}

.contact-cta-box {
    background: var(--gold-dim);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    margin-top: 60px;
}

.contact-cta-box h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 14px;
}

.contact-cta-box p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ================================================================
   16. PÁGINA QUIÉNES SOMOS (versión completa)
   ================================================================ */
.about-full {
    padding: 100px 0;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.history-img {
    border-radius: var(--radius);
    overflow: hidden;
    height: 440px;
}

.history-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.history-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.years-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--gold-dim);
    border: 2px solid var(--gold);
    padding: 14px 28px;
    border-radius: 50px;
    margin-top: 8px;
}

.years-badge-inline .num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.years-badge-inline .label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 80px;
}

.mv-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-6px);
}

.mv-icon {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 18px;
}

.mv-card h3 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 14px;
}

.mv-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
}

.value-icon-wrap {
    width: 76px;
    height: 76px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #000;
    margin: 0 auto 16px;
    position: relative;
}

.value-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.25;
    animation: pulse 2s infinite;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
}

.team-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: scale(1.03);
    border-color: rgba(255, 215, 0, 0.3);
}

.team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 18px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 6px;
}

.team-card .role {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Banner servicio a domicilio */
.home-svc-banner {
    background: var(--gold);
    padding: 60px 0;
    text-align: center;
    margin: 80px 0;
}

.home-svc-banner h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 14px;
}

.home-svc-banner p {
    color: #333;
    max-width: 640px;
    margin: 0 auto 28px;
}

.home-svc-feats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.home-svc-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-weight: 700;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cert-card {
    background: var(--surface2);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.cert-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.cert-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ================================================================
   17. FOOTER
   ================================================================ */
footer {
    background: #000;
    padding: 64px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social {
    width: 40px;
    height: 40px;
    background: var(--surface2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact-item i {
    color: var(--gold);
    width: 16px;
}

.footer-contact-item a {
    color: var(--text-muted);
}

.footer-contact-item a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: #555;
    font-size: 0.82rem;
}

/* ================================================================
   18. WHATSAPP FLOTANTE
   ================================================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: var(--green-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--green-wa);
    opacity: 0.6;
    animation: pulseRing 2s infinite;
}

/* ================================================================
   19. PARTÍCULAS FLOTANTES (decoración)
   ================================================================ */
#particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ================================================================
   20. KEYFRAMES — Animaciones
   ================================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        background-position-x: -200%;
    }

    100% {
        background-position-x: 200%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes rotateSlow {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatPart {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* ================================================================
   21. RESPONSIVE — Tablet
   ================================================================ */
@media (max-width: 1023px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-photos {
        height: 400px;
    }

    .services-grid-home {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-wrap {
        display: none;
    }

    .hero-content {
        padding-left: 24px;
    }
}

/* ================================================================
   22. RESPONSIVE — Móvil
   ================================================================ */
@media (max-width: 767px) {
    :root {
        --header-h: 70px;
    }

    .logo img {
        height: 52px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-home {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .home-svc-feats {
        flex-direction: column;
        gap: 16px;
    }

    .area-features {
        flex-direction: column;
        gap: 14px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .about-photos {
        height: 320px;
    }

    .about-years-badge {
        width: 80px;
        height: 80px;
    }

    .about-years-badge .yrs-num {
        font-size: 1.4rem;
    }

    .contact-cta-box {
        padding: 28px 20px;
    }

    .wa-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 18px;
        right: 18px;
    }

    .about-highlight-item {
        grid-column: span 2;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}