:root {
    /* Colores exactos del logo */
    --color-blue: #1C2B54; /* Azul oscuro del contenedor principal */
    --color-blue-light: #2A3C72;
    --color-yellow: #F08018; /* Naranja/Amarillo de los bloques inferiores */
    --color-red: #DD3B2E; /* Rojo vibrante de los bloques superiores */
    --color-white: #FFFFFF;
    --color-bg: #F8FAFC;
    --color-bg-dark: #F1F5F9;
    --color-text: #1E293B;
    --color-text-light: #64748B;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transición suave y moderna */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ─── Accesibilidad ─── */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    left: -10000px;
    top: 12px;
    background: var(--color-blue);
    color: #fff;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 9999;
}
.skip-link:focus {
    left: 12px;
    outline: 3px solid var(--color-yellow);
    outline-offset: 2px;
}
:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 2px;
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Helpers Typografia */
.text-blue { color: var(--color-blue); }
.text-yellow { color: var(--color-yellow); }
.text-red { color: var(--color-red); }
.text-center { text-align: center; }
.text-left { text-align: left; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3.5rem;
    color: var(--color-text-light);
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Fix Global de Main para que el Navbar no lo tape */
.main-content {
    padding-top: 72px;
    min-height: 80vh;
    background-color: var(--color-bg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--color-blue);
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.22);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: #111e3a;
    box-shadow: 0 4px 24px rgba(0,0,0,0.32);
}

/* Logo inline */
.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
    flex-shrink: 0;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.32));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo img:hover {
    transform: translateY(-2px) scale(1.02);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-yellow);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--color-yellow);
}

.nav-links a:hover::after,
.nav-links a[style*="color: var(--color-red)"]::after {
    width: 100%;
}

/* Página activa en nav — usar amarillo en lugar de rojo sobre fondo oscuro */
.nav-links a[style*="color: var(--color-red)"] {
    color: var(--color-yellow) !important;
}

/* Botones */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--color-yellow);
    color: var(--color-white);
    box-shadow: 0 2px 10px rgba(240, 128, 24, 0.28);
}

.contact-btn {
    margin-left: 1rem;
    background: var(--color-yellow) !important;
    color: #fff !important;
    padding: 0.5rem 1.4rem !important;
    font-size: 0.88rem !important;
}

.btn-primary:hover {
    color: var(--color-white);
    background: #d97010;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 128, 24, 0.35);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.12);
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.9);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.22);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
}

.btn-outline:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Hero Section — Carousel */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

/* Carousel slides container */
.carousel-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(160deg, rgba(10,18,40,0.72) 0%, rgba(28,43,84,0.55) 60%, rgba(221,59,46,0.20) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

/* Carousel navigation arrows */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }
.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Carousel dots */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.6rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    border: none;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Logo principal en el hero */
.hero-logo {
    width: 760px;
    max-width: 92vw;
    display: block;
    margin: 0 auto 2rem;
    filter:
        drop-shadow(0 10px 28px rgba(0,0,0,0.5))
        drop-shadow(0 22px 56px rgba(0,0,0,0.38));
    animation: hero-logo-in 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes hero-logo-in {
    from { opacity: 0; transform: translateY(-16px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Grid General para Catálogo y Ubicaciones */
.catalog-grid, .locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

/* Tarjetas */
/* Línea de acento inferior */
/* Enlaces/Botones dentro de Tarjetas */

/* Iconos de las tarjetas del catálogo */
.icon-estructural { background: linear-gradient(135deg, #1C2B54, #2d4a8a); }
.icon-comercial   { background: linear-gradient(135deg, #F08018, #e06010); }
.icon-especializado { background: linear-gradient(135deg, #DD3B2E, #b02820); }
.icon-pintura     { background: linear-gradient(135deg, #7c3aed, #5b21b6); }

/* ── Hero genérico con gradiente de marca (guia, ubicaciones, contacto, catálogo) ── */
.page-hero-grad {
    margin-top: 72px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5.5rem 2rem 3.5rem;
    background: linear-gradient(135deg, #060d1e 0%, var(--color-blue) 55%, rgba(221,59,46,0.4) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero-grad::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 72% 50%, rgba(240,128,24,0.10) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero de sección catálogo */
.catalog-hero {
    background: linear-gradient(135deg, rgba(28,43,84,0.88) 0%, rgba(45,74,138,0.88) 100%),
                url('https://images.pexels.com/photos/12771407/pexels-photo-12771407.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat;
    padding: 6.5rem 2rem 4rem;
    margin-top: 72px;
    text-align: center;
    color: var(--color-white);
}
.catalog-hero h1 { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; }
.catalog-hero h1 span { color: var(--color-yellow); }
.catalog-hero p { font-size: 1.2rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* Banner hero de sub-páginas de catálogo */
.subcat-hero {
    padding: 6rem 2rem 3.5rem;
    margin-top: 72px;
    text-align: center;
    color: var(--color-white);
}
.subcat-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.subcat-hero .breadcrumb:hover { color: var(--color-white); }
.subcat-hero h1 { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; margin-bottom: 0.75rem; }
.subcat-hero p { font-size: 1.1rem; opacity: 0.85; }
.hero-comercial {
    background: linear-gradient(135deg, rgba(217,119,6,0.82) 0%, rgba(240,128,24,0.82) 100%),
                url('https://images.pexels.com/photos/46167/pexels-photo-46167.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat;
}
.hero-estructural {
    background: linear-gradient(135deg, rgba(28,43,84,0.85) 0%, rgba(45,74,138,0.85) 100%),
                url('https://images.pexels.com/photos/12771407/pexels-photo-12771407.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat;
}
.hero-especializado {
    background: linear-gradient(135deg, rgba(185,28,28,0.85) 0%, rgba(221,59,46,0.85) 100%),
                url('https://images.pexels.com/photos/9242912/pexels-photo-9242912.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat;
}
.hero-pintura {
    background: linear-gradient(135deg, rgba(91,33,182,0.85) 0%, rgba(124,58,237,0.85) 100%),
                url('https://images.pexels.com/photos/5641684/pexels-photo-5641684.jpeg?auto=compress&cs=tinysrgb&w=1400') center/cover no-repeat;
}


/* Banner imagen en sección Nosotros */
.section-banner-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}
.section-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}
.section-banner-img .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(28,43,84,0.70), rgba(221,59,46,0.50));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.section-banner-img .banner-text {
    text-align: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    max-width: 700px;
}


/* Certificado de Proveedor callout */
.cert-callout {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #eff6ff;
    border-left: 4px solid var(--color-blue);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.cert-callout-icon {
    font-size: 1.8rem;
    color: var(--color-blue);
    flex-shrink: 0;
}
.cert-callout-text {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.cert-callout-text strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cert-callout-text span {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.4;
}
.cert-callout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #25d366;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}
.cert-callout-btn:hover { background: #1da851; }

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.values-list {
    list-style: none;
    margin-top: 2rem;
}
.values-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--color-blue);
    display: flex;
    align-items: center;
    background: var(--color-bg-dark);
    padding: 10px 20px;
    border-radius: 8px;
}
.values-list li i {
    color: var(--color-red);
    margin-right: 15px;
    font-size: 1.5rem;
}

.image-frame {
    position: relative;
    border-radius: 12px;
}
.image-frame::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    border: 6px solid var(--color-yellow);
    width: 60%; height: 60%;
    border-radius: 12px;
    z-index: 0;
}
.image-frame::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    border: 6px solid var(--color-red);
    width: 60%; height: 60%;
    border-radius: 12px;
    z-index: 0;
}
.image-frame img {
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Footer Masivo */
footer {
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 6rem 3rem 2rem 3rem;
    border-top: 8px solid var(--color-red);
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    margin-top: 1.5rem;
}
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--color-yellow);
    padding-left: 8px;
}

.footer-contact h3 { margin-bottom: 1.5rem; }

/* Redes Sociales - Estilo Oficial */
.social-icons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 16px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}
.social-link:hover {
    transform: translateY(-4px);
    color: var(--color-white);
}
.social-link.fb:hover { background: #1877F2; }
.social-link.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-link.tk:hover { background: #010101; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
}

/* Responsive */
.hamburger { display: none; cursor: pointer; background: none; border: 0; padding: 0; }
.hamburger .line { width: 26px; height: 3px; background-color: rgba(255,255,255,0.85); margin: 5px; border-radius: 2px; }

@media (max-width: 900px) {
    .navbar {
        padding: 0 1.2rem;
        height: 62px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 62px;
        left: 0;
        width: 100%;
        background-color: var(--color-blue);
        text-align: center;
        padding: 1.2rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .nav-links.active { display: flex; }
    .nav-links a::after { display: none; }
    .hamburger { display: block; }
    .contact-btn { display: none; }
    .hero-logo { width: 460px; max-width: 92vw; }
    .hero-content h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .logo img { height: 40px; }
    .hero-section        { padding-top: 62px; }
    .catalog-hero        { margin-top: 62px; }
    .subcat-hero         { margin-top: 62px; }
    .guide-filters-bar   { top: 62px; }
    .pindex-wrap         { top: 62px; }
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Botón de mapa para ubicaciones */
.map-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #1C2B54 0%, #2d4080 100%);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.map-banner:hover {
    background: linear-gradient(135deg, var(--color-red) 0%, #f05020 100%);
    transform: translateY(-3px);
    color: #fff;
}

/* Headers de secciones de herrería */
.herr-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}
.herr-blue { background: var(--color-blue); }
.herr-red  { background: var(--color-red); }

/* ============================================
   TELÉFONO EN NAVBAR
   ============================================ */
.navbar-phone {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .03em;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.navbar-phone:hover {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    color: #fff;
}
.navbar-phone i { font-size: .8rem; }
@media (max-width: 900px) { .navbar-phone { display: none; } }

/* ============================================
   CONSTRUTIPS
   ============================================ */
.construtips-section { background: #f8fafc; padding: 7rem 0; }
.construtips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}
.construtip-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(28,43,84,.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.construtip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(28,43,84,.13);
}
.construtip-icon {
    background: var(--color-blue);
    color: #fff;
    font-size: 1.8rem;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
}
.construtip-body { padding: 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.construtip-tag {
    display: inline-block;
    background: #EEF2FF;
    color: var(--color-blue);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .2rem .65rem;
    border-radius: 999px;
    width: fit-content;
}
.construtip-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-blue);
    line-height: 1.3;
}
.construtip-body p {
    font-size: .9rem;
    color: #475569;
    line-height: 1.65;
    flex: 1;
}
.construtip-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--color-red);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    margin-top: .5rem;
    transition: gap .2s;
}
.construtip-link:hover { gap: .7rem; }
@media (max-width: 900px) {
    .construtips-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-float i {
    color: white;
    font-size: 2.2rem;
    line-height: 1;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
}
.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 72px;
    background: var(--color-blue);
    color: white;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    font-family: var(--font-body);
    font-weight: 600;
    transition: opacity 0.3s ease;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ============================================
   TABLAS DE ESPECIFICACIONES TÉCNICAS
   ============================================ */
.specs-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.88rem;
    background: var(--color-white);
}
.specs-table thead tr {
    background: var(--color-blue);
    color: var(--color-white);
}
.specs-table th {
    padding: 0.65rem 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    white-space: nowrap;
}
.specs-table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--color-text);
    white-space: nowrap;
}
.specs-table tbody tr:last-child td { border-bottom: none; }
.specs-table tbody tr:nth-child(even) { background: var(--color-bg); }
.specs-table tbody tr:hover { background: #EEF2FF; }
.specs-table td strong { color: var(--color-blue); }
.specs-table .badge-new {
    background: var(--color-red);
    color: white;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 4px;
    font-family: var(--font-heading);
    vertical-align: middle;
    margin-left: 4px;
}
.specs-section-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin: 1.5rem 0 0.5rem 0;
}
.prolamsa-note {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid var(--color-yellow);
    background: #FFFBF5;
    border-radius: 0 4px 4px 0;
}

/* ============================================
   BOTÓN SOLICITAR COTIZACIÓN
   ============================================ */
.btn-cotizar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-yellow);
    color: var(--color-white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    margin-top: 2rem;
}
.btn-cotizar:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(240, 128, 24, 0.4);
}

/* ============================================
   PRODUCTOS RELACIONADOS
   ============================================ */
.related-section {
    margin: 4rem 0 2rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}
.related-section h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    margin-bottom: .4rem;
}
.related-section h2 span { color: var(--color-yellow); }
.related-section .related-sub {
    color: var(--color-text-light);
    font-size: .95rem;
    margin-bottom: 2rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}
.related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.3rem 1.2rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    gap: .5rem;
}
.related-card:hover {
    border-color: var(--color-yellow);
    box-shadow: 0 6px 20px rgba(28,43,84,.1);
    transform: translateY(-3px);
}
.related-card .rc-icon {
    font-size: 1.6rem;
    color: var(--color-blue);
    margin-bottom: .3rem;
}
.related-card .rc-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    line-height: 1.2;
}
.related-card .rc-page {
    font-size: .78rem;
    color: var(--color-yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.related-card .rc-desc {
    font-size: .84rem;
    color: var(--color-text-light);
    flex: 1;
}
.related-card .rc-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-blue);
    margin-top: .4rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.related-card:hover .rc-link { color: var(--color-yellow); }
@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   SECCIÓN ESTADÍSTICAS (Homepage)
   ============================================ */
.stats-section {
    background: var(--color-blue);
    padding: 5.5rem 2rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}
.stat-item i {
    font-size: 2.5rem;
    color: var(--color-yellow);
    margin-bottom: 0.8rem;
    display: block;
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECCIÓN CATEGORÍAS (Homepage)
   ============================================ */
.home-catalog-section {
    padding: 6rem 2rem;
    background: var(--color-bg-dark);
}

/* ============================================
   SECCIÓN CATEGORÍAS (Homepage)
   ============================================ */
.home-cats {
    padding: 6rem 2rem;
    background: var(--color-white);
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1250px;
    margin: 3rem auto 0;
}
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--color-bg);
    border-radius: 16px;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.cat-card:hover {
    border-color: var(--color-yellow);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(240,128,24,0.15);
}
.cat-card i {
    font-size: 2.5rem;
    color: var(--color-yellow);
    margin-bottom: 1.2rem;
    display: block;
}
.cat-card h3 {
    color: var(--color-blue);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.cat-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}
.cat-link {
    margin-top: 1.5rem;
    color: var(--color-yellow);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
@media (max-width: 768px) {
    .home-cats { padding: 4rem 1.5rem; }
    .cat-grid { gap: 1.5rem; }
}
@media (max-width: 480px) {
    .home-cats { padding: 3rem 1rem; }
    .cat-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SECCIÓN ¿POR QUÉ RAMAR? (Homepage)
   ============================================ */
.why-ramar {
    padding: 7rem 2rem;
    background: #fff;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    max-width: 1250px;
    margin: 3rem auto 0;
}
.why-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}
.why-item i {
    font-size: 3rem;
    color: var(--color-yellow);
    margin-bottom: 1.5rem;
    display: block;
}
.why-item h3 {
    color: var(--color-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.why-item p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   GUÍA DE PROYECTOS
   ============================================ */
.guide-filters-bar {
    background: var(--color-white);
    border-bottom: 2px solid #e2e8f0;
    padding: 1.2rem 0;
    position: sticky;
    top: 72px;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.guide-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-btn {
    padding: 0.55rem 1.4rem;
    border: 2px solid #e2e8f0;
    background: var(--color-white);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.filter-btn:hover { border-color: var(--color-blue); color: var(--color-blue); }
.filter-btn.active { background: var(--color-blue); border-color: var(--color-blue); color: var(--color-white); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 0.5rem;
}
.project-card {
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(28,43,84,0.12);
    border-color: var(--color-blue);
}
.proj-tag-bar { display: flex; gap: 0.5rem; }
.proj-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.tag-herreria    { background: #eff6ff; color: var(--color-blue); border: 1px solid #bfdbfe; }
.tag-aluminio    { background: #e0f2fe; color: #0369a1;           border: 1px solid #bae6fd; }
.tag-construccion{ background: #fff7ed; color: #c2410c;           border: 1px solid #fed7aa; }
.tag-muebles     { background: #f0fdf4; color: #15803d;           border: 1px solid #bbf7d0; }
.proj-svg-wrap {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    border-radius: 10px;
    background: #f8fafc;
}
.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.proj-desc { font-size: 0.92rem; color: var(--color-text-light); line-height: 1.6; margin: 0; }
.project-card h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin: 0;
}
.mat-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin: 0; }
.mat-list li { display: flex; align-items: baseline; gap: 0.5rem; font-size: 0.88rem; line-height: 1.4; }
.mat-name { font-weight: 700; color: var(--color-blue); white-space: nowrap; flex-shrink: 0; }
.mat-use  { color: var(--color-text-light); }
.proj-tip {
    background: #fffbeb;
    border-left: 3px solid var(--color-yellow);
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 0;
}
.proj-tip i  { color: var(--color-yellow); font-size: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.proj-tip p  { font-size: 0.85rem; color: #78350f; line-height: 1.5; margin: 0; }
.proj-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: auto; flex-wrap: wrap; }
.proj-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}
.proj-link:hover { gap: 0.6rem; }
.btn-proj-quote {
    background: #25D366;
    color: var(--color-white);
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    margin-left: auto;
}
.btn-proj-quote:hover { background: #1da851; transform: scale(1.04); }
@media (max-width: 900px) {
    .guide-filters-bar { top: 80px; }
    .projects-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CALCULADORA DE MATERIALES
   ============================================ */
.calc-section { background: #f1f5f9; padding: 2.5rem 0 0; }
.calc-card {
    background: var(--color-white);
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(28,43,84,0.09);
}
.calc-header {
    background: linear-gradient(135deg, var(--color-blue) 0%, #0f1a35 100%);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: white;
}
.calc-icon {
    background: rgba(240,128,24,0.18);
    border: 2px solid var(--color-yellow);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.calc-icon i { font-size: 1.5rem; color: var(--color-yellow); }
.calc-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.2rem;
}
.calc-header p { margin: 0; opacity: 0.78; font-size: 0.92rem; }
.calc-body { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.calc-field { display: flex; flex-direction: column; gap: 0.4rem; }
.calc-field label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-light);
}
.calc-field label i { margin-right: 0.35rem; color: var(--color-blue); }
.calc-field select,
.calc-field input[type="number"] {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: white;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.calc-field select:focus,
.calc-field input[type="number"]:focus { border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(28,43,84,0.1); }
.calc-dim-wrap { display: flex; align-items: center; gap: 0.5rem; }
.calc-dim-unit { font-size: 0.88rem; color: var(--color-text-light); font-weight: 700; white-space: nowrap; }
.calc-dims-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem; }
.btn-calcular {
    background: var(--color-yellow);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}
.btn-calcular:hover { background: #d06010; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(240,128,24,0.35); }
.calc-results {
    border-top: 2px solid #e2e8f0;
    padding: 2rem;
    background: #f8fafc;
    display: none;
}
.calc-results-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-blue);
    margin: 0 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.calc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.calc-table th {
    text-align: left;
    padding: 0.6rem 0.9rem;
    background: var(--color-blue);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}
.calc-table th:first-child { border-radius: 8px 0 0 0; }
.calc-table th:last-child  { border-radius: 0 8px 0 0; }
.calc-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid #e2e8f0; vertical-align: top; line-height: 1.4; }
.calc-table tr:last-child td { border-bottom: none; }
.calc-table tr:nth-child(even) td { background: #f1f5f9; }
.calc-qty { font-weight: 700; color: var(--color-blue); font-size: 0.95rem; }
.calc-bars { font-size: 0.8rem; color: var(--color-text-light); }
.calc-disclaimer {
    margin-top: 1.2rem;
    padding: 0.85rem 1rem;
    background: #fffbeb;
    border-left: 3px solid var(--color-yellow);
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: #78350f;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    line-height: 1.5;
}
.calc-disclaimer i { color: var(--color-yellow); flex-shrink: 0; margin-top: 2px; }
.calc-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1.2rem;
    transition: all 0.2s;
}
.calc-wa-btn:hover { background: #1da851; transform: translateY(-2px); }
.unit-toggle-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.unit-toggle { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.unit-btn {
    padding: 0.45rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    background: white;
    color: var(--color-text-light);
    transition: all 0.2s;
}
.unit-btn.active { background: var(--color-blue); border-color: var(--color-blue); color: white; }
.unit-btn:hover:not(.active) { border-color: var(--color-blue); color: var(--color-blue); }

/* ---- In-card calculator ---- */
.btn-calc-toggle {
    background: transparent;
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-calc-toggle:hover,
.btn-calc-toggle.active { background: var(--color-blue); color: white; }
.card-calc-panel {
    display: none;
    border-top: 2px dashed #d1d5db;
    margin-top: 0.8rem;
    padding-top: 1.1rem;
    flex-direction: column;
    gap: 0.9rem;
}
.ccp-unit-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.ccp-unit-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--color-text-light); }
.ccp-unit-toggle { display: flex; gap: 0.35rem; }
.ccp-unit-btn {
    padding: 0.28rem 0.85rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background: white;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.2s;
}
.ccp-unit-btn.active { background: var(--color-blue); border-color: var(--color-blue); color: white; }
.ccp-dims { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.7rem; }
.ccp-field { display: flex; flex-direction: column; gap: 0.25rem; }
.ccp-field label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-light); }
.ccp-field .calc-dim-wrap { display: flex; align-items: center; gap: 0.35rem; }
.ccp-field .ccp-dim-input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.ccp-field .ccp-dim-input:focus { border-color: var(--color-blue); }
.ccp-calc-btn {
    background: var(--color-yellow);
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
}
.ccp-calc-btn:hover { background: #d06010; transform: translateY(-2px); }
.ccp-results { font-size: 0.85rem; }
.ccp-results .calc-table { font-size: 0.8rem; }
.ccp-results .calc-table th { font-size: 0.7rem; padding: 0.5rem 0.7rem; }
.ccp-results .calc-table td { padding: 0.6rem 0.7rem; }
.ccp-res-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-blue);
    margin: 0 0 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.badge-pedido {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
    vertical-align: middle;
}
.ccp-results .calc-disclaimer { margin-top: 0.6rem; font-size: 0.78rem; }
.ccp-results .calc-wa-btn { margin-top: 0.8rem; font-size: 0.82rem; padding: 0.55rem 1.2rem; }
@media (max-width: 768px) {
    .calc-dims-row { grid-template-columns: 1fr 1fr; }
    .calc-table .hide-mobile { display: none; }
    .calc-header { padding: 1.2rem 1.2rem; }
    .calc-body { padding: 1.2rem; }
    .calc-results { padding: 1.2rem; }
}
@media (max-width: 480px) {
    .calc-dims-row { grid-template-columns: 1fr; }
    .calc-header { flex-direction: column; text-align: center; }
    .btn-calcular { align-self: stretch; justify-content: center; }
}

/* ============================================
   BREAKPOINT TABLET (768px)
   ============================================ */
@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    .hero-logo { width: 380px; max-width: 92vw; }
    .hero-content h1 { font-size: 2.4rem; }
    .hero-tagline { font-size: 1.05rem; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }
    .stat-number { font-size: 2.6rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    footer { padding: 3rem 1.5rem 2rem; }
    .footer-container { gap: 2rem; }
    .why-grid { gap: 1.5rem; }
    .catalog-hero h1 { font-size: 2.4rem; }
    .catalog-hero p { font-size: 1rem; }
    .subcat-hero h1 { font-size: 2.2rem; }
    .about-grid { gap: 3rem; }
    .locations-grid, .catalog-grid { gap: 1.5rem; }
}

/* ============================================
   BREAKPOINT MÓVIL PEQUEÑO (480px)
   ============================================ */
@media (max-width: 480px) {
    .section-title { font-size: 1.75rem; letter-spacing: -0.5px; }
    .section-subtitle { font-size: 0.95rem; }
    .hero-logo { width: 320px; max-width: 92vw; margin-bottom: 1.2rem; }
    .hero-content h1 { font-size: 1.9rem; line-height: 1.15; }
    .hero-tagline { font-size: 0.95rem; margin-bottom: 1.8rem; }
    .container { padding: 0 1rem; }
    .btn-primary, .btn-secondary { padding: 0.85rem 1.5rem; font-size: 0.95rem; width: 100%; text-align: center; }
    .hero-buttons { width: 100%; max-width: 280px; margin: 0 auto; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.78rem; }
    .stat-item i { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stats-section { padding: 2.5rem 1rem; }
    .why-ramar { padding: 3rem 1rem; }
    .why-grid { gap: 1rem; }
    .why-item { padding: 1.5rem 1rem; }
    .why-item i { font-size: 2rem; margin-bottom: 0.75rem; }
    .why-item h3 { font-size: 1.2rem; }
    .why-item p { font-size: 0.9rem; }
    .footer-brand h2 { font-size: 1.6rem; }
    .footer-container { gap: 1.5rem; }
    footer { padding: 2.5rem 1rem 1.5rem; }
    .logo img { height: 36px; }
    .whatsapp-float { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; }
    .whatsapp-float i { font-size: 1.8rem; }
    /* Hero mobile */
    .catalog-hero { margin-top: 85px; padding: 3.5rem 1.2rem 2.5rem; }
    .catalog-hero h1 { font-size: 1.9rem; }
    .catalog-hero p { font-size: 0.95rem; }
    .subcat-hero { margin-top: 85px; padding: 3rem 1.2rem 2.5rem; }
    .subcat-hero h1 { font-size: 1.8rem; }
    /* Cards mobile */
    /* main-content mobile */
    .main-content { padding-top: 85px; }
    /* History section mobile */
    .history-section { padding: 3rem 0 !important; }
    /* Locations */
    .locations-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    /* Contact grid */
    .contact-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

    .pindex-wrap { top: 60px; padding: 0.9rem 1rem 0.7rem; }
    .pindex-card { width: 84px; }
    .pindex-card svg { width: 54px; height: 38px; }
}

/* ===========================
   FACEBOOK FEED SECTION (index.html)
   =========================== */
.fb-feed-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}
.fb-feed-sub {
    font-family: var(--font-body);
    color: #475569;
    font-size: 1rem;
    max-width: 600px;
    margin: 1rem auto 2.5rem;
    line-height: 1.5;
}
.fb-feed-wrap {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 540px;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.06),
        0 12px 32px rgba(28,43,84,0.10);
    overflow: hidden;
}
.fb-feed-wrap iframe {
    border-radius: 8px;
    width: 100% !important;
    max-width: 500px;
}

/* Video grid (3 columnas en desktop, 1 en mobile) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}
.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.06),
        0 10px 28px rgba(28,43,84,0.12);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.10),
        0 18px 40px rgba(28,43,84,0.22);
}
.video-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.05) 0%, rgba(15,23,42,0.55) 100%);
    transition: background 0.3s ease;
}
.video-card:hover .video-thumb::after {
    background: linear-gradient(180deg, rgba(15,23,42,0.10) 0%, rgba(28,43,84,0.65) 100%);
}
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease;
}
.video-play i {
    margin-left: 4px; /* óptica del triángulo */
}
.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--color-red);
    color: #fff;
}
.video-caption {
    font-family: var(--font-body);
    color: var(--color-blue);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 1rem 1.2rem 1.2rem;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
    line-height: 1.4;
}
/* Skeleton loader */
.video-skeleton .video-thumb {
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.video-skeleton .video-thumb::after { display: none; }
.video-skeleton .video-caption {
    color: #94a3b8;
    font-style: italic;
}
@keyframes skeleton-pulse {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (max-width: 600px) {
    .video-play { width: 60px; height: 60px; font-size: 1.3rem; }
}
.fb-feed-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
.fb-feed-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #1877F2;
    color: #fff;
    padding: 0.9rem 1.6rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 14px rgba(24,119,242,0.35);
}
.fb-feed-cta .btn-primary:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24,119,242,0.45);
}
@media (max-width: 600px) {
    .fb-feed-section { padding: 4rem 1rem; }
    .fb-feed-wrap { padding: 8px; }
}

/* ===========================
   BRANDS SECTION (index.html)
   =========================== */
.brands-section {
    padding: 7rem 2rem;
    background: #fff;
    text-align: center;
}
.brands-headline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: 0.5px;
    color: var(--color-blue);
    margin: 1rem auto 1.5rem;
    text-transform: uppercase;
}
.brands-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: #475569;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.55;
}
@media (max-width: 600px) {
    .brands-headline { font-size: 2.2rem; }
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 3rem auto 0;
}
.brand-card {
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(28, 43, 84, 0.10);
    border-color: var(--color-yellow);
}
.brand-card--dark {
    background: #1a1a1a;
}
.brand-card--dark .brand-type {
    color: #aaa;
}
.brand-card--text {
    background: var(--color-blue);
}
.brand-text-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
}
.brand-logo {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
}
.brand-type {
    font-size: 0.72rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-body);
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .brands-section { padding: 3rem 1rem; }
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .brand-logo { max-width: 110px; max-height: 48px; }
    .brand-card { padding: 1.2rem 0.75rem; }
}

/* ═══════════════════════════════════════════════════════
   NUEVO DISEÑO HOME — ESTILO LADESA
   ═══════════════════════════════════════════════════════ */

/* ── Helpers extra ── */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}
.section-eyebrow.light { color: rgba(255,255,255,0.6); }
.section-eyebrow.dark  { color: var(--color-yellow); }
.section-title-dark {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 0;
    text-transform: uppercase;
}
.section-title-light {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.section-sub-light {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

/* ── Hero rediseñado ── */
.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-yellow);
    margin-bottom: 1.2rem;
    display: block;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
    animation: hero-title-in 0.9s cubic-bezier(0.4,0,0.2,1) 0.1s both;
}
.hero-title-accent { color: var(--color-yellow); }
.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 2.5rem;
    animation: hero-title-in 0.9s cubic-bezier(0.4,0,0.2,1) 0.25s both;
}
@keyframes hero-title-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: hero-title-in 0.9s cubic-bezier(0.4,0,0.2,1) 0.4s both;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    background: var(--color-yellow);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(240,128,24,0.4);
}
.btn-hero-primary:hover {
    background: #d97010;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(240,128,24,0.45);
}
.btn-hero-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: #25D366;
    color: #fff;
    border: 2px solid #25D366;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-hero-wa:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    animation: bounce-y 2s ease-in-out infinite;
}
@keyframes bounce-y {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ── */
.stats-bar {
    background: var(--color-blue);
    padding: 0;
}
.stats-bar-inner {
    max-width: 1250px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.sbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 3rem;
    flex: 1;
    min-width: 140px;
}
.sbar-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-yellow);
    line-height: 1;
}
.sbar-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    margin-top: 0.3rem;
    font-weight: 500;
}
.sbar-div {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ── Catalog Cards Section ── */
/* Tarjeta de catálogo — estilo foto full-bleed con overlay */
.ccat-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    cursor: pointer;
}
.ccat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.ccat-card:hover img { transform: scale(1.09); }
.ccat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(5,10,25,0.55) 0%, rgba(5,10,25,0.75) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}
.ccat-card:hover .ccat-overlay {
    background: linear-gradient(160deg, rgba(28,43,84,0.65) 0%, rgba(28,43,84,0.85) 100%);
}
.ccat-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
}
.ccat-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-yellow);
    margin-bottom: 0.4rem;
}
.ccat-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}
.ccat-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.ccat-cta {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-yellow);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ccat-card:hover .ccat-cta {
    opacity: 1;
    transform: translateY(0);
}
.ccat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.06);
    z-index: 3;
    pointer-events: none;
}

/* ── Applications Section ── */
.apps-section {
    background: #111827;
    padding: 5rem 0;
}
.apps-section .container { margin-bottom: 2.5rem; }
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4px;
}
.app-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
}
.app-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.app-card:hover img { transform: scale(1.08); }
.app-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,10,25,0.52);
    transition: background 0.4s;
    z-index: 1;
}
.app-card:hover .app-overlay { background: rgba(28,43,84,0.68); }
.app-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
}
.app-body i {
    font-size: 1.4rem;
    color: var(--color-yellow);
    margin-bottom: 0.5rem;
}
.app-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.app-body span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.25s;
}
.app-card:hover .app-body span { color: var(--color-yellow); }

/* ── Botones outline ── */
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.btn-outline-light:hover {
    border-color: var(--color-yellow);
    color: var(--color-yellow);
    transform: translateY(-2px);
}
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-outline-dark:hover {
    background: var(--color-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Por qué RAMAR (foto de fondo) ── */
.why-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.why-bg-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.why-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,18,40,0.9) 0%, rgba(28,43,84,0.82) 100%);
    z-index: 1;
}
.why-content { position: relative; z-index: 2; }
.why-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.why-card-new {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.why-card-new:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--color-yellow);
    transform: translateY(-4px);
}
.why-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--color-yellow);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.2rem;
}
.why-card-new h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.why-card-new p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ── Tips Section ── */
.tips-section {
    background: var(--color-bg);
    padding: 6rem 0;
}
/* Nota: el diseño anterior de tips era una rejilla de 3 columnas
   (.tips-grid / .tip-accent / .tip-inner / .tip-tag). Se eliminó al pasar
   al rotador; su .tip-card sobrevivía y le aplicaba display:flex en fila
   a las tarjetas del rotador, que se apilan. El estilo vigente de
   .tip-card está junto a .tip-rotator más abajo. */
.tip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-yellow);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: gap 0.2s;
}
.tip-link:hover { gap: 0.6rem; }

/* ── Brands — scroll infinito ── */
.brands-track-wrap {
    overflow: hidden;
    margin-top: 3rem;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.brands-track {
    display: flex;
    align-items: center;
    animation: brand-scroll 30s linear infinite;
    width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes brand-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.brand-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f1f5f9;
    padding: 0 1.5rem;
    transition: background 0.25s;
}
.brand-item:hover { background: #f8fafc; }
.brand-item img {
    max-width: 110px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(0.4);
    transition: filter 0.25s;
}
.brand-item:hover img { filter: grayscale(0); }
.brand-item--dark { background: #111; }
.brand-item--dark:hover { background: #222; }
.brand-item--dark img { filter: brightness(1); }
.brand-item .brand-text-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-blue);
}

/* ── Banner sección con gradiente (sin imagen) ── */
.section-banner-grad {
    width: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, var(--color-blue) 0%, #2d4a8a 50%, rgba(221,59,46,0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}
.section-banner-grad-inner {
    text-align: center;
    max-width: 700px;
}
.section-banner-grad .banner-text {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── CTA Final ── */
.cta-final {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-final-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.cta-final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,18,40,0.88) 0%, rgba(28,43,84,0.78) 100%);
    z-index: 1;
}
.cta-final-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 700px;
}
.cta-final-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}
.cta-final-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}
.cta-final-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-wa-big {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    background: #25d366;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-wa-big:hover {
    background: #1db954;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.4);
}

/* ── Responsive nuevo diseño ── */
@media (max-width: 1100px) {
    .why-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 240px);
    }
    .tips-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .sbar-div { display: none; }
    .sbar-item { padding: 1rem 1.5rem; }
    .sbar-num { font-size: 2.2rem; }
}
@media (max-width: 700px) {
    .apps-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
        padding: 0 1rem;
    }
    .why-grid-new { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .ccat-name { font-size: 1.2rem; }
    .ccat-desc { display: none; }
    .sbar-item { min-width: 50%; padding: 1.2rem 1rem; }
    .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
}
@media (max-width: 480px) {
}

/* ══════════════════════════════════════════
   HOMEPAGE — Hero Headline
══════════════════════════════════════════ */
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 1.2rem;
    animation: hero-title-in 0.9s cubic-bezier(0.4,0,0.2,1) 0.15s both;
}

/* ══════════════════════════════════════════
   HOMEPAGE — Categorías de Productos
══════════════════════════════════════════ */
.home-categories {
    padding: 5rem 0 0;
    background: var(--color-bg);
}
.home-categories .container {
    padding-bottom: 3rem;
}
.home-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 520px;
}
.home-cat-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    cursor: pointer;
}
.home-cat-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.home-cat-card:hover .home-cat-img {
    transform: scale(1.06);
}
.home-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,18,40,0.92) 0%,
        rgba(10,18,40,0.5) 45%,
        rgba(10,18,40,0.15) 100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}
.home-cat-card:hover .home-cat-overlay {
    background: linear-gradient(
        to top,
        rgba(28,43,84,0.95) 0%,
        rgba(28,43,84,0.6) 45%,
        rgba(28,43,84,0.25) 100%
    );
}
.home-cat-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2.2rem;
    color: #fff;
}
.home-cat-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-yellow);
    background: rgba(240,128,24,0.15);
    border: 1px solid rgba(240,128,24,0.4);
    border-radius: 3px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.8rem;
}
.home-cat-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}
.home-cat-card:hover .home-cat-content h3 {
    color: var(--color-yellow);
}
.home-cat-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    max-width: 280px;
}
.home-cat-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-yellow);
    transition: gap 0.3s ease;
}
.home-cat-card:hover .home-cat-cta {
    gap: 0.9rem;
}
/* separador entre tarjetas */
.home-cat-card + .home-cat-card {
    border-left: 1px solid rgba(255,255,255,0.08);
}

/* ══════════════════════════════════════════
   HOMEPAGE — Por qué RAMAR
══════════════════════════════════════════ */
.home-why {
    padding: 5rem 0;
    background: var(--color-bg-dark);
}
.home-why .section-title {
    margin-bottom: 3.5rem;
}
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.home-why-item {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-why-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(28,43,84,0.10);
}
.home-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.5rem;
    color: var(--color-yellow);
    box-shadow: 0 6px 20px rgba(28,43,84,0.2);
    transition: transform 0.3s ease;
}
.home-why-item:hover .home-why-icon {
    transform: scale(1.1) rotate(-5deg);
}
.home-why-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.7rem;
}
.home-why-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ══════════════════════════════════════════
   RESPONSIVE — nuevas secciones home
══════════════════════════════════════════ */
@media (max-width: 900px) {
    .home-cats-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .home-cat-card {
        min-height: 340px;
    }
    .home-cat-card + .home-cat-card {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .home-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .home-why-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .home-cat-content h3 {
        font-size: 1.6rem;
    }
    .hero-headline {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }
}

/* ═══════════ TIPS ROTATIVOS (index.html) ═══════════ */
.tips-section {
    position: relative;
    padding: 6rem 1.5rem;
    background:
        radial-gradient(ellipse at top left, rgba(240,128,24,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(221,59,46,0.10) 0%, transparent 50%),
        linear-gradient(160deg, #060d1e 0%, var(--color-blue) 50%, #0f1c45 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}
.tips-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 10% 40%, rgba(240,128,24,0.10) 0%, transparent 35%),
        radial-gradient(circle at 90% 60%, rgba(221,59,46,0.08) 0%, transparent 35%);
    pointer-events: none; z-index: 0;
    animation: tips-drift 18s ease-in-out infinite alternate;
}
@keyframes tips-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-20px, 10px) scale(1.05); }
}
.tips-section .container { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.tips-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.4rem, 6.5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0.7rem 0 0.5rem;
    line-height: 1;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.tips-sub {
    font-size: 1.02rem;
    opacity: 0.78;
    margin: 0 auto 3rem;
    max-width: 520px;
    line-height: 1.5;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.tip-rotator {
    position: relative;
    background: linear-gradient(155deg, #ffffff 0%, #f8fafc 100%);
    color: var(--color-blue);
    border-radius: 28px;
    padding: 2rem 2rem 2.2rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 4px 12px rgba(0,0,0,0.10),
        0 18px 50px rgba(6,13,30,0.45),
        0 35px 80px rgba(6,13,30,0.30);
    min-height: 260px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.6);
}
.tip-rotator::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1.4rem;
    font-family: 'Oswald', Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    color: var(--color-yellow);
    opacity: 0.10;
    pointer-events: none;
    font-weight: 700;
}
.tip-rotator:hover { transform: translateY(-4px); }
.tip-card { animation: tip-fade-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes tip-fade-in {
    0%   { opacity: 0; transform: translateY(20px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0)    scale(1);    }
}
/* Las tarjetas del rotador se apilan y van centradas. */
.tip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.tip-icon {
    position: relative;
    width: 132px;
    height: 132px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.3rem;
    padding: 24px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 55%, #ffffff 100%);
    border-radius: 50%;
    border: 2px solid rgba(240,128,24,0.30);
    box-shadow:
        0 3px 10px rgba(28,43,84,0.08),
        0 10px 26px rgba(28,43,84,0.13);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.tip-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(28,43,84,0.16));
}
.tip-rotator:hover .tip-icon { transform: scale(1.03); }
.cat-menu-illu { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); }
/* El tamaño móvil de .tip-icon se define en el bloque @media de tips, más abajo. */
.tip-cat {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--color-red);
    background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(221,59,46,0.15);
}
.tip-headline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    margin: 0 0 1rem;
    line-height: 1.1;
    color: var(--color-blue);
    letter-spacing: -0.5px;
}
.tip-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #475569;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 540px;
    font-weight: 400;
}
.tip-text strong {
    color: var(--color-blue);
    font-weight: 700;
    background: linear-gradient(180deg, transparent 60%, rgba(240,128,24,0.25) 60%);
    padding: 0 2px;
}

/* Barra de progreso del tip activo */
.tip-rotator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-red) 100%);
    border-radius: 0 0 28px 28px;
    transform-origin: left center;
    animation: tip-progress 6s linear infinite;
}
@keyframes tip-progress {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* Dots refinados */
.tip-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.8rem;
}
.tip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.tip-dot:hover { background: rgba(255,255,255,0.55); transform: scale(1.3); }
.tip-dot.active {
    background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-red) 100%);
    width: 32px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(240,128,24,0.5);
}
@media (max-width: 600px) {
    .tips-section { padding: 4.5rem 1rem; }
    .tip-rotator { padding: 2.8rem 1.4rem 2rem; min-height: 280px; border-radius: 22px; }
    .tip-rotator::before { font-size: 6rem; }
    .tip-icon { width: 108px; height: 108px; padding: 19px; margin-bottom: 1rem; }
}

/* ═══════════ GUÍA TÉCNICA — SOLDADURA (guia.html) ═══════════ */
.welding-guide-section {
    position: relative;
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #060d1e 0%, var(--color-blue) 60%, #1a2754 100%);
    color: #fff;
    overflow: hidden;
    margin-top: 3rem;
}
.welding-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(240,128,24,0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(221,59,46,0.15) 0%, transparent 45%);
    pointer-events: none; z-index: 0;
}
.welding-guide-section .container { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.welding-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    text-align: center;
    text-transform: uppercase;
    margin: 0.5rem 0 2rem;
    letter-spacing: 0.5px;
}
.electrode-grid, .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.electrode-card {
    background: #fff;
    color: var(--color-blue);
    border-radius: 14px;
    padding: 1.6rem 1.4rem 1.4rem;
    box-shadow: 0 10px 32px rgba(0,0,0,0.35);
    border-top: 5px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.electrode-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.50); }
.electrode-6013 { border-top-color: #16a34a; }
.electrode-6011 { border-top-color: #dc2626; }
.electrode-7018 { border-top-color: #1e40af; }
.electrode-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    color: #fff;
    padding: 0.3rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 0.6rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}
.electrode-6013 .electrode-badge { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.electrode-6011 .electrode-badge { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.electrode-7018 .electrode-badge { background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); }
.electrode-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem;
}
.electrode-uses { list-style: none; padding: 0; margin: 0; }
.electrode-uses li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.4rem 0;
    font-size: 0.92rem;
    line-height: 1.4;
    border-bottom: 1px dashed #e2e8f0;
}
.electrode-uses li:last-child { border-bottom: 0; }
.electrode-uses li i { color: #16a34a; margin-top: 0.2rem; flex-shrink: 0; }
.electrode-6011 .electrode-uses li i { color: #dc2626; }
.electrode-7018 .electrode-uses li i { color: #2563eb; }
.process-card {
    background: #fff;
    color: var(--color-blue);
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.30);
    border-top: 5px solid;
    transition: transform 0.3s ease;
}
.process-card:hover { transform: translateY(-6px); }
.process-mma { border-top-color: #1e293b; }
.process-mig { border-top-color: #c2410c; }
.process-tig { border-top-color: #1e40af; }
.process-acronym {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 1px;
}
.process-mma .process-acronym { color: #1e293b; }
.process-mig .process-acronym { color: #c2410c; }
.process-tig .process-acronym { color: #1e40af; }
.process-fullname {
    display: block;
    font-size: 0.74rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0.3rem 0 0.9rem;
    font-weight: 600;
}
.process-card p { margin: 0; font-size: 0.94rem; line-height: 1.5; color: #334155; }
.welding-cta { text-align: center; margin-top: 2.5rem; }
.btn-welding-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #25D366;
    color: #fff;
    padding: 0.95rem 1.9rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37,211,102,0.45);
    transition: transform 0.25s ease, background 0.25s ease;
}
.btn-welding-wa:hover { background: #1da957; transform: translateY(-3px); }
.btn-welding-wa i { font-size: 1.25rem; }

/* Tip card en modal de catálogo: la fila con icono fa-lightbulb destaca como tip */
.pmodal-spec:has(.fa-lightbulb) {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid var(--color-yellow);
    border-radius: 10px;
    padding: 0.85rem 1rem !important;
    grid-column: 1 / -1;
    margin: 0.4rem 0;
}
.pmodal-spec:has(.fa-lightbulb) .fa-lightbulb {
    color: #b45309 !important;
    background: var(--color-yellow);
    color: #fff !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(240,128,24,0.4);
}
.pmodal-spec:has(.fa-lightbulb) strong {
    color: #78350f;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.pmodal-spec:has(.fa-lightbulb) p {
    color: #451a03;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .welding-guide-section { padding: 3.5rem 1rem; }
    .electrode-badge { font-size: 1.9rem; }
    .process-acronym { font-size: 1.7rem; }
}
