@charset "utf-8";

/* ============================================
   WELDING.CSS - Estilos para páginas de soldadura
   Coherente con inicio.css pero adaptado a contenido técnico
   ============================================ */

/* ============================================
   VARIABLES (coherentes con inicio.css)
   ============================================ */
:root {
    --primary-red: rgb(170, 4, 4);
    --primary-red-dark: rgb(140, 0, 0);
    --primary-red-light: rgb(200, 30, 30);
    --dark-bg: rgba(31, 31, 31, 0.95);
    --text-light: rgb(255, 255, 255);
    --text-gray: rgb(220, 220, 220);
    --text-dark: #1a1a1a;
    --border-glow: rgba(170, 4, 4, 0.3);
    --shadow-default: 0 15px 40px rgba(0, 0, 0, 0.4);
    --transition-default: all 0.3s ease;
}

/* ============================================
   UTILIDADES GR (Grid/Container)
   ============================================ */
.gr-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gr-container--narrow {
    max-width: 900px;
}

.gr-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.gr-section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.gr-section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   BOTONES (coherentes con inicio.css)
   ============================================ */
.gr-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-default);
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
}

.gr-btn--primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    border: 2px solid var(--primary-red-light);
}

.gr-btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(170, 4, 4, 0.4);
    color: white;
}

.gr-btn--ghost {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.gr-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-3px);
}

.gr-btn--lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.weld-hero {
    position: relative;
    padding: 100px 20px 80px;
    background: var(--dark-bg);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding-top: 150px;
    margin-bottom: 50px;
    border: 1px solid var(--border-glow);
    overflow: hidden;
}

/* Background específico para aluminio */
.weld-hero--aluminium {
    background: linear-gradient(135deg,
            rgba(31, 31, 31, 0.3) 0%,
            rgba(31, 31, 31, 0.45) 100%),
        url('/img/welding/aluminium-hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.weld-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.weld-hero__eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 600;
}

.weld-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-light);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
}

.weld-hero h1 span {
    color: var(--primary-red);
    display: inline-block;
}

.weld-hero__sub {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.weld-hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Stats */
.weld-hero__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.weld-hero__stats div {
    text-align: center;
}

.weld-hero__stats strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.weld-hero__stats span {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SERVICIOS (GRID de tarjetas)
   ============================================ */
.weld-services {
    padding: 60px 0;
    background: var(--dark-bg);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    margin-bottom: 50px;
}

.weld-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.weld-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-default);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.weld-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--border-glow);
}

.weld-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.weld-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.weld-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.weld-card__note {
    font-size: 0.85rem;
    color: var(--primary-red);
    border-left: 3px solid var(--primary-red);
    padding-left: 12px;
    margin-top: 15px;
    font-style: italic;
}

/* ============================================
   SECCIÓN TÉCNICA (expertise)
   ============================================ */
.weld-tech {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    margin-bottom: 50px;
}

.weld-tech__points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.weld-tech__point {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    border-top: 3px solid var(--primary-red);
}

.weld-tech__point h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-red);
}

.weld-tech__point p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   NO HACEMOS (filtro explícito)
   ============================================ */
.weld-nope {
    padding: 60px 0;
    background: rgba(170, 4, 4, 0.1);
    border-radius: 16px;
    margin-bottom: 50px;
    border: 1px solid rgba(170, 4, 4, 0.3);
}

.weld-nope h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.weld-nope h2 em {
    color: var(--primary-red);
    font-style: normal;
}

.weld-nope p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.weld-nope__list {
    max-width: 600px;
    margin: 0 auto 30px;
    padding-left: 0;
    list-style: none;
}

.weld-nope__list li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   FAQ (coherente con diseño)
   ============================================ */
.gr-faq {
    padding: 60px 0;
    background: var(--dark-bg);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    margin-bottom: 50px;
}

.gr-faq__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gr-faq__item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-default);
}

.gr-faq__item summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition-default);
}

.gr-faq__item summary:hover {
    color: var(--primary-red);
}

.gr-faq__item summary::-webkit-details-marker {
    color: var(--primary-red);
}

.gr-faq__item p {
    padding: 0 20px 20px 20px;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   CTA FINAL
   ============================================ */
.gr-cta {
    padding: 60px 0;
    background: linear-gradient(135deg,
            rgba(170, 4, 4, 0.95) 0%,
            rgba(100, 0, 0, 0.95) 100%);
    border-radius: 16px;
    text-align: center;
    margin-bottom: 50px;
}

.gr-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.gr-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.gr-cta__actions {
    margin-bottom: 20px;
}

.gr-cta__disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 1024px) {
    .gr-container {
        width: 95%;
    }

    .weld-hero h1 {
        font-size: 2.8rem;
    }

    .weld-services__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .gr-section-header h2 {
        font-size: 1.8rem;
    }

    .weld-hero {
        padding: 60px 15px;
    }

    .weld-hero h1 {
        font-size: 2.2rem;
    }

    .weld-hero__sub {
        font-size: 1rem;
    }

    .weld-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .gr-btn {
        width: 100%;
        max-width: 280px;
    }

    .weld-hero__stats {
        gap: 20px;
    }

    .weld-hero__stats strong {
        font-size: 1rem;
    }

    .weld-tech__points,
    .weld-services__grid {
        grid-template-columns: 1fr;
    }

    .weld-card {
        padding: 20px;
    }

    .gr-cta h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .gr-section-header h2 {
        font-size: 1.5rem;
    }

    .weld-hero h1 {
        font-size: 1.8rem;
    }

    .weld-hero__stats div {
        flex: 1;
        min-width: 80px;
    }

    .weld-nope__list li {
        font-size: 0.9rem;
    }
}

/* ============================================
   ANIMACIONES (coherentes con inicio.css)
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.weld-hero,
.weld-services,
.weld-tech,
.weld-nope,
.gr-faq,
.gr-cta {
    animation: fadeInUp 0.6s ease-out;
}

.weld-services {
    animation-delay: 0.1s;
}

.weld-tech {
    animation-delay: 0.2s;
}

.weld-nope {
    animation-delay: 0.3s;
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    .weld-hero,
    .weld-services,
    .weld-tech,
    .weld-nope,
    .gr-faq,
    .gr-cta {
        animation: none;
    }

    .weld-card:hover {
        transform: none;
    }
}

/* ============================================
   FALLBACKS
   ============================================ */
@supports not (backdrop-filter: blur(8px)) {

    .weld-hero,
    .weld-services,
    .weld-tech,
    .gr-faq {
        background: var(--dark-bg);
    }
}