@charset "utf-8";
/* ============================================================
   RESTAURACIÓN AUTOMOTRIZ — TuneUpBarn
   /cssstyle/restauracion.css
   Estética: industrial de lujo — oscuro, acento metálico + rojo
   ============================================================ */

/* ============================================================
   VARIABLES LOCALES
   ============================================================ */
:root {
    --rst-red: #CC0000;
    --rst-red-dark: #990000;
    --rst-red-glow: rgba(204, 0, 0, 0.22);
    --rst-silver: #C8CDD4;
    --rst-silver-dim: #7A8290;
    --rst-gold: #B8960C;
    --rst-surface: rgba(14, 14, 16, 0.97);
    --rst-surface-2: rgba(22, 22, 26, 0.96);
    --rst-surface-3: rgba(30, 30, 36, 0.95);
    --rst-border: rgba(200, 205, 212, 0.10);
    --rst-border-red: rgba(204, 0, 0, 0.30);
    --rst-text: #D8DCE4;
    --rst-text-muted: #8A8F9A;
    --rst-radius: 12px;
    --rst-radius-sm: 6px;
    --rst-gap: 28px;
    --rst-section-mb: 80px;
    --rst-max: 1160px;
}

/* ============================================================
   FONDO — textura metálica sutil sobre oscuro base
   ============================================================ */
body {
    background:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 120px,
            rgba(200, 205, 212, 0.015) 120px,
            rgba(200, 205, 212, 0.015) 121px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 80px,
            rgba(200, 205, 212, 0.015) 80px,
            rgba(200, 205, 212, 0.015) 81px),
        #0e0e10;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.rst-main {
    width: 100%;
    min-height: 100vh;
    padding-top: 90px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--rst-text);
}

.rst-container {
    width: 90%;
    max-width: var(--rst-max);
    margin-inline: auto;
    padding-inline: 16px;
    box-sizing: border-box;
}

.rst-container--narrow {
    max-width: 800px;
}

/* ============================================================
   SECCIONES
   ============================================================ */
.rst-section {
    margin-bottom: var(--rst-section-mb);
    animation: rstFadeUp 0.55s ease both;
}

.rst-section--dark {
    background: var(--rst-surface);
    border-top: 1px solid var(--rst-border);
    border-bottom: 1px solid var(--rst-border);
    padding-block: 70px;
    margin-inline: 0;
}

.rst-section:nth-child(2) {
    animation-delay: 0.05s;
}

.rst-section:nth-child(3) {
    animation-delay: 0.10s;
}

.rst-section:nth-child(4) {
    animation-delay: 0.15s;
}

.rst-section:nth-child(5) {
    animation-delay: 0.20s;
}

.rst-section:nth-child(6) {
    animation-delay: 0.25s;
}

.rst-section:nth-child(7) {
    animation-delay: 0.30s;
}

@keyframes rstFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título genérico de sección */
.rst-section__title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}

.rst-section__title i {
    color: var(--rst-red);
    margin-right: 12px;
    font-size: 0.85em;
}

.rst-section__title--center {
    text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.rst-hero {
    position: relative;
    padding: 80px 20px 90px;
    text-align: center;
    overflow: hidden;
}

/* Grid de líneas industriales en el fondo */
.rst-hero__bg-grid {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 59px,
            rgba(200, 205, 212, 0.04) 59px,
            rgba(200, 205, 212, 0.04) 60px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 59px,
            rgba(200, 205, 212, 0.04) 59px,
            rgba(200, 205, 212, 0.04) 60px);
    pointer-events: none;
    z-index: 0;
}

.rst-hero__bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%,
            rgba(204, 0, 0, 0.06) 0%,
            transparent 70%);
}

.rst-hero>.rst-container {
    position: relative;
    z-index: 1;
}

/* Eyebrow */
.rst-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rst-silver-dim);
    margin-bottom: 28px;
}

.rst-eyebrow__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rst-red);
    box-shadow: 0 0 10px var(--rst-red);
    animation: rstPulse 2s ease-in-out infinite;
}

@keyframes rstPulse {

    0%,
    100% {
        box-shadow: 0 0 6px var(--rst-red);
    }

    50% {
        box-shadow: 0 0 18px var(--rst-red), 0 0 30px var(--rst-red-glow);
    }
}

/* Título hero */
.rst-hero__title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 28px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.rst-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--rst-silver) 20%, var(--rst-silver-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rst-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--rst-text);
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.rst-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.rst-btn-hero {
    font-size: 1.05rem !important;
    padding: 16px 32px !important;
}

.rst-hero__note {
    font-size: 0.82rem;
    color: var(--rst-text-muted);
    margin: 0;
}

.rst-hero__note i {
    color: var(--rst-red);
    margin-right: 6px;
}

/* ============================================================
   INTRO CARD
   ============================================================ */
.rst-intro-card {
    position: relative;
    padding: 44px 44px 44px 56px;
    background: var(--rst-surface-2);
    border-radius: var(--rst-radius);
    border: 1px solid var(--rst-border);
    border-left: 5px solid var(--rst-red);
    overflow: hidden;
}

.rst-intro-card__accent {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.rst-intro-card h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.rst-intro-card h2 i {
    color: var(--rst-red);
}

.rst-intro-card p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--rst-text);
    margin-bottom: 18px;
}

.rst-intro-card p:last-of-type {
    margin-bottom: 24px;
}

.rst-intro-card p strong {
    color: #fff;
    font-weight: 600;
}

.rst-quote {
    font-style: italic;
    padding: 20px 24px;
    background: rgba(204, 0, 0, 0.07);
    border-left: 3px solid var(--rst-red);
    border-radius: var(--rst-radius-sm);
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   HEADER DE SECCIÓN CON LÍNEAS
   ============================================================ */
.rst-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.rst-section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    margin: 0;
}

.rst-section-header__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rst-border) 40%, var(--rst-red) 100%);
}

.rst-section-header__line:first-child {
    background: linear-gradient(90deg, var(--rst-red), var(--rst-border) 60%, transparent);
}

/* ============================================================
   TARJETAS DE SERVICIO
   ============================================================ */
.rst-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: var(--rst-gap);
}

.rst-service-card {
    position: relative;
    padding: 32px 28px 28px;
    background: var(--rst-surface-2);
    border: 1px solid var(--rst-border);
    border-radius: var(--rst-radius);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.rst-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rst-red), var(--rst-silver-dim));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rst-service-card:hover {
    border-color: rgba(204, 0, 0, 0.35);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(204, 0, 0, 0.12);
}

.rst-service-card:hover::before {
    opacity: 1;
}

.rst-service-card__tag {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rst-red);
    border: 1px solid var(--rst-border-red);
    padding: 3px 9px;
    border-radius: 30px;
}

.rst-service-card__icon {
    font-size: 2.2rem;
    color: var(--rst-red);
    margin-bottom: 18px;
    line-height: 1;
}

.rst-service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.rst-service-card p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--rst-text-muted);
    margin-bottom: 22px;
}

.rst-service-card__marcas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rst-badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--rst-silver);
    background: rgba(200, 205, 212, 0.07);
    border: 1px solid rgba(200, 205, 212, 0.18);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ============================================================
   VENTAJAS TIG
   ============================================================ */
.rst-ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--rst-gap);
}

.rst-ventaja {
    padding: 28px 24px;
    background: var(--rst-surface-3);
    border-radius: var(--rst-radius);
    border: 1px solid var(--rst-border);
    transition: border-color 0.3s ease;
}

.rst-ventaja:hover {
    border-color: rgba(200, 205, 212, 0.25);
}

.rst-ventaja__num {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(204, 0, 0, 0.4);
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.rst-ventaja h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rst-silver);
    margin-bottom: 12px;
}

.rst-ventaja p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--rst-text-muted);
    margin: 0;
}

/* ============================================================
   OTROS SERVICIOS
   ============================================================ */
.rst-otros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--rst-gap);
}

.rst-otro-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 30px;
    background: var(--rst-surface-2);
    border-radius: var(--rst-radius);
    border: 1px solid var(--rst-border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.rst-otro-card:hover {
    border-color: rgba(200, 205, 212, 0.2);
    transform: translateY(-4px);
}

.rst-otro-card>i {
    font-size: 2rem;
    color: var(--rst-red);
    flex-shrink: 0;
    margin-top: 4px;
}

.rst-otro-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.rst-otro-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--rst-text-muted);
    margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.rst-faq {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rst-faq__item {
    background: var(--rst-surface-2);
    border: 1px solid var(--rst-border);
    border-radius: var(--rst-radius-sm);
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.rst-faq__item[open] {
    border-color: rgba(204, 0, 0, 0.30);
}

.rst-faq__item summary {
    list-style: none;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--rst-silver);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    transition: color 0.2s ease;
}

.rst-faq__item summary::-webkit-details-marker {
    display: none;
}

.rst-faq__item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--rst-red);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.rst-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.rst-faq__item summary:hover {
    color: #fff;
}

.rst-faq__item p {
    padding: 0 24px 22px;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--rst-text-muted);
    margin: 0;
    border-top: 1px solid var(--rst-border);
    padding-top: 18px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.rst-cta {
    position: relative;
    padding: 56px 48px;
    text-align: center;
    background: var(--rst-surface-2);
    border-radius: var(--rst-radius);
    border: 1px solid var(--rst-border-red);
    overflow: hidden;
    margin-bottom: 80px;
}

/* Efecto metálico decorativo */
.rst-cta__metal {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(204, 0, 0, 0.08) 0%,
            transparent 40%,
            rgba(200, 205, 212, 0.04) 80%,
            transparent 100%);
    pointer-events: none;
}

.rst-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.rst-cta p {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--rst-text);
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 38px;
    line-height: 1.8;
    position: relative;
}

.rst-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
}

.rst-cta__trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    position: relative;
}

.rst-cta__trust li {
    font-size: 0.82rem;
    color: var(--rst-text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
}

.rst-cta__trust li i {
    color: var(--rst-red);
    font-size: 0.7rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .rst-intro-card {
        padding: 36px 32px 36px 40px;
    }
}

@media (max-width: 768px) {
    .rst-main {
        padding-top: 80px;
    }

    .rst-hero {
        padding: 60px 16px 70px;
    }

    .rst-hero__title {
        letter-spacing: -0.01em;
    }

    .rst-hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .rst-hero__cta .gr-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .rst-intro-card {
        padding: 28px 22px 28px 28px;
    }

    .rst-section-header {
        flex-direction: column;
        gap: 12px;
    }

    .rst-section-header h2 {
        white-space: normal;
        text-align: center;
    }

    .rst-section-header__line {
        width: 60px;
        height: 2px;
        flex: none;
    }

    .rst-services-grid,
    .rst-ventajas-grid,
    .rst-otros-grid {
        grid-template-columns: 1fr;
    }

    .rst-cta {
        padding: 40px 24px;
    }

    .rst-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .rst-cta__buttons .gr-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .rst-cta__trust {
        flex-direction: column;
        align-items: center;
    }

    .rst-section--dark {
        padding-block: 50px;
    }
}

@media (max-width: 480px) {
    .rst-service-card {
        padding: 28px 20px 24px;
    }

    .rst-service-card__tag {
        font-size: 0.6rem;
    }

    .rst-ventaja {
        padding: 22px 18px;
    }

    .rst-otro-card {
        flex-direction: column;
        gap: 14px;
    }

    .rst-faq__item summary {
        padding: 16px 18px;
        font-size: 0.9rem;
    }

    .rst-faq__item p {
        padding: 0 18px 18px;
        padding-top: 14px;
    }
}