:root {
    --azul: #1d5fa7;
    --azul-oscuro: #0f2540;
    --azul-medio: #1a3a5f;
    --naranja: #ff8c42;
    --gris-bg: #f4f5f7;
    --texto: #1a1a1a;
    --texto-suave: #5a6470;
    --borde: #e3e6ea;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    color: var(--texto);
    line-height: 1.5;
    background: white;
}

.contenedor {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   HEADER
   ============================================ */

header {
    background: white;
    border-bottom: 1px solid var(--borde);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--texto);
    font-weight: 700;
    font-size: 18px;
    height: 50px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

/* Deprecated - kept for reference if needed */
.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--azul);
    border-radius: 4px;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 3px;
    transform: rotate(45deg);
}

nav.main-nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

nav.main-nav a {
    text-decoration: none;
    color: var(--texto);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

nav.main-nav a:hover {
    color: var(--azul);
}

.btn-header {
    background: var(--azul);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-header:hover {
    background: #154a85;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 48px 0;
    background: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    color: var(--azul);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content p.descripcion {
    color: var(--texto-suave);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 440px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    padding: 13px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--azul);
    color: white;
}

.btn-primary:hover {
    background: #154a85;
}

.btn-outline {
    background: white;
    color: var(--azul);
    border: 1.5px solid var(--azul);
}

.btn-outline:hover {
    background: #f0f5fa;
}

.hero-features {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--texto-suave);
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-icon {
    color: var(--azul);
    font-weight: bold;
}

/* ============================================
   HERO IMAGE
   ============================================ */

.hero-image {
    background: linear-gradient(135deg, #0f2540 0%, #1a3a5f 100%);
    border-radius: 8px;
    height: 420px;
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image::before,
.hero-image::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #4a9eff;
}

.hero-image::before {
    top: 16px;
    left: 16px;
    border-right: none;
    border-bottom: none;
}

.hero-image::after {
    bottom: 16px;
    right: 16px;
    border-left: none;
    border-top: none;
}

.hero-image-corners {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 20px;
    height: 20px;
    border: 2px solid #4a9eff;
    border-left: none;
    border-bottom: none;
}

.hero-image-corners2 {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 20px;
    height: 20px;
    border: 2px solid #4a9eff;
    border-right: none;
    border-top: none;
}

/* Imagen real en hero */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    z-index: 2;
}

.componente-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.componente-pieza {
    width: 65%;
    height: 50%;
    background: linear-gradient(180deg, #b8b8b8 0%, #888 30%, #d4a574 45%, #b8722e 55%, #888 70%, #b8b8b8 100%);
    border-radius: 50% / 30%;
    position: relative;
    box-shadow: 0 0 60px rgba(0,0,0,0.4);
}

.etiqueta {
    position: absolute;
    color: var(--naranja);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
    z-index: 3;
}

.etiqueta::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background: var(--naranja);
}

.etiqueta-1 {
    top: 25%;
    right: 12%;
    text-align: left;
}

.etiqueta-1::before {
    top: 50%;
    left: -40px;
}

.etiqueta-2 {
    top: 45%;
    right: 8%;
    text-align: left;
}

.etiqueta-2::before {
    top: 50%;
    left: -40px;
}

.etiqueta-3 {
    bottom: 25%;
    right: 12%;
    text-align: left;
}

.etiqueta-3::before {
    top: 50%;
    left: -40px;
}

.etiqueta-blanca {
    color: white;
}

.etiqueta-blanca::before {
    background: white;
}

/* ============================================
   BENEFICIOS
   ============================================ */

.beneficios {
    padding: 40px 0 60px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card-beneficio {
    border-radius: 12px;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 240px;
    border: 1px solid #e0e7ff;
    background: white;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    padding: 28px;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
    color: var(--texto);
}

.card-image {
    display: none;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--azul);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
    color: white;
}

.card-beneficio h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--texto);
}

.card-subtitle {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--azul);
    text-transform: capitalize;
}

.card-beneficio p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--texto-suave);
}

.card-beneficio:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.card-overlay {
    position: relative;
    z-index: 2;
    padding: 28px;
    width: 100%;
    color: var(--texto);
}

.card-image {
    display: none;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--azul);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
    color: white;
}

.card-beneficio h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--texto);
}

.card-subtitle {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--azul);
    text-transform: capitalize;
}

.card-beneficio p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--texto-suave);
}

/* ============================================
   SECCIÓN TÉCNICA
   ============================================ */

.seccion-tecnica {
    padding: 60px 0 80px;
}

.tecnica-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 48px;
    align-items: start;
}

.tecnica-titulo h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.tecnica-linea {
    width: 40px;
    height: 3px;
    background: var(--naranja);
    margin-top: 16px;
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.numero-card {
    background: white;
    border: 1px solid var(--borde);
    border-radius: 6px;
    padding: 20px 16px;
    text-align: center;
}

.numero-grande {
    font-size: 32px;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 8px;
}

.numero-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--texto);
    line-height: 1.3;
}

.numero-bullets {
    list-style: none;
    margin-bottom: 12px;
}

.numero-bullets li {
    font-size: 12px;
    color: var(--texto-suave);
    line-height: 1.5;
    margin-bottom: 6px;
}

.numero-icon-bottom {
    font-size: 24px;
    margin-top: 12px;
}

/* ============================================
   PROCESO
   ============================================ */

.proceso {
    padding: 0;
    background: var(--azul-oscuro);
    color: white;
}

.proceso .contenedor {
    padding: 0;
    max-width: 100%;
}

.proceso-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 0;
    align-items: stretch;
    min-height: auto;
}

.proceso-imagen {
    width: 100%;
    height: 100%;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5f, #0f2540);
}

.proceso-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.proceso-contenido {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.proceso-contenido h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: white;
}

.proceso-contenido > p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.paso-card {
    background: transparent;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.paso-numero-pq {
    font-size: 24px;
    font-weight: 700;
    color: var(--naranja);
    margin: 0 0 6px 0;
    line-height: 1;
}

.paso-card h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: white;
    line-height: 1.2;
}

.paso-card p {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
}

.paso-icono {
    display: none;
}

.paso-card::after {
    content: '→';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--naranja);
    font-weight: bold;
}

.paso-card:last-child::after {
    display: none;
}

/* ============================================
   APLICACIONES
   ============================================ */

.aplicaciones {
    background: var(--gris-bg);
    padding: 80px 0;
}

.aplicaciones > .contenedor > h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--texto);
}

.aplicaciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.aplicacion-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--borde);
}

.aplicacion-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #a8702e, #6b4220);
    overflow: hidden;
}

.aplicacion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.aplicacion-content {
    padding: 24px;
}

.aplicacion-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--texto);
}

.aplicacion-bullets {
    list-style: none;
}

.aplicacion-bullets li {
    font-size: 13px;
    color: var(--texto-suave);
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.aplicacion-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--azul);
    font-weight: bold;
}

/* ============================================
   SECTORES
   ============================================ */

.sectores {
    background: white;
    padding: 80px 0;
}

.sectores > .contenedor > h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--texto);
}

.sectores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sector-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--borde);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.sector-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sector-thumb {
    display: none;
}

.sector-info {
    padding: 16px;
}

.sector-info h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--texto);
    line-height: 1.2;
}

.sector-info p {
    font-size: 12px;
    color: var(--texto-suave);
    line-height: 1.4;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
    background: var(--azul);
    color: white;
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60px;
    background: var(--naranja);
}

.cta-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 0 140px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.cta-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
}

.cta-content p {
    font-size: 13px;
    opacity: 0.95;
}

.btn-cta {
    background: white;
    color: var(--azul);
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: #f0f5fa;
}

/* ============================================
   FAQ + FORMULARIO
   ============================================ */

.faq-form {
    padding: 60px 0 80px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.faq h2, .form-titulo h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.faq-item {
    border-bottom: 1px solid var(--borde);
}

.faq-pregunta {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--texto);
    user-select: none;
}

.faq-pregunta:hover {
    color: var(--azul);
}

.faq-icon {
    color: var(--azul);
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.25s ease;
}

.faq-item.abierto .faq-icon {
    transform: rotate(45deg);
}

.faq-respuesta {
    display: none;
    padding: 0 0 18px;
    font-size: 14px;
    color: var(--texto-suave);
    line-height: 1.7;
}

.faq-item.abierto .faq-respuesta {
    display: block;
}

.formulario {
    background: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--borde);
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    background: white;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--azul);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.input-archivo {
    border: 1px dashed var(--borde);
    border-radius: 4px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--texto-suave);
    font-size: 13px;
    cursor: pointer;
}

.input-archivo:hover {
    border-color: var(--azul);
    background: #fafbfc;
}

.form-exito {
    text-align: center;
    padding: 48px 24px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

.form-exito-icon {
    width: 56px;
    height: 56px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    font-weight: 700;
    margin: 0 auto 16px;
}

.form-exito h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--texto);
}

.form-exito p {
    font-size: 14px;
    color: var(--texto-suave);
}

.form-error-msg {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 16px;
}

.input-archivo {
    cursor: pointer;
}

.btn-form {
    background: var(--azul);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    transition: background 0.2s;
}

.btn-form:hover {
    background: #154a85;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #1a2333;
    color: #9ca3af;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.8fr 1.1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.footer-powered span {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-sts-logo {
    max-height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.footer-sectores-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    height: 40px;
}

.footer-logo .logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.footer-tagline {
    font-size: 12px;
    line-height: 1.5;
    color: #9ca3af;
}

.footer-col h4 {
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    padding: 4px 0;
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-bottom {
    background: white;
    border-top: 1px solid var(--borde);
    padding: 18px 0;
    font-size: 12px;
    color: var(--texto-suave);
}

.footer-bottom .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--texto-suave);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--azul);
}

/* ============================================
   IMAGE OVERRIDES
   ============================================ */

.hero-image img {
    object-fit: contain !important;
    object-position: center !important;
}

.proceso-imagen img,
.aplicacion-image img,
.sector-image img {
    object-fit: cover !important;
    object-position: center !important;
    width: 100%;
    height: 100%;
}

@media (min-width: 1025px) {
    .proceso-imagen { height: 450px !important; }
    .aplicacion-image { height: 300px !important; }
    .sector-image { height: 220px !important; }
}

/* ============================================
   DROPDOWN NAV
   ============================================ */

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-arrow {
    font-size: 10px;
    color: var(--texto-suave);
    transition: transform 0.2s;
    display: inline-block;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: -12px;
    background: white;
    border: 1px solid var(--borde);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 220px;
    padding: 6px 0;
    display: none;
    z-index: 200;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--texto) !important;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid var(--borde);
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
}

.nav-dropdown a:last-child {
    border-bottom: none;
}

.nav-dropdown a:hover {
    background: var(--gris-bg);
    color: var(--azul) !important;
}

/* Sector cards clickables en homepage */
a.sector-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ============================================
   SECTOR PAGE — HERO
   ============================================ */

.sector-hero {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.sector-hero-overlay {
    width: 100%;
    background: linear-gradient(to top, rgba(10,20,40,0.92) 0%, rgba(10,20,40,0.5) 55%, transparent 100%);
    padding: 52px 0;
}

.sector-hero-breadcrumb {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.sector-hero-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.sector-hero-breadcrumb a:hover {
    color: white;
}

.sector-hero-eyebrow {
    color: var(--naranja);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sector-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 14px;
    max-width: 640px;
}

.sector-hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    line-height: 1.55;
}

/* ============================================
   SECTOR PAGE — PROCESO
   ============================================ */

.sector-proceso {
    background: var(--azul-oscuro);
    color: white;
    padding: 64px 0;
}

.sector-proceso-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: start;
}

.sector-proceso-texto h2 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--naranja);
    display: inline-block;
}

.sector-proceso-texto p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 18px;
}

.sector-proceso-texto strong {
    color: white;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.cert-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.sector-clientes-box h3 {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.clientes-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cliente-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
}

/* ============================================
   SECTOR PAGE — NECESIDADES
   ============================================ */

.sector-necesidades {
    background: var(--gris-bg);
    padding: 64px 0;
}

.sector-necesidades > .contenedor > h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
}

.necesidades-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
}

.necesidades-col h3 {
    font-size: 12px;
    font-weight: 700;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--azul);
}

.necesidad-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--texto);
    line-height: 1.5;
    align-items: flex-start;
}

.nec-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--azul);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}

.tratamientos-col ul {
    list-style: none;
}

.tratamientos-col li {
    font-size: 14px;
    color: var(--texto);
    padding: 9px 0 9px 20px;
    border-bottom: 1px solid var(--borde);
    position: relative;
    line-height: 1.4;
}

.tratamientos-col li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--naranja);
    font-weight: bold;
}

.piezas-col p {
    font-size: 14px;
    color: var(--texto-suave);
    line-height: 1.75;
}

/* ============================================
   SECTOR PAGE — TECNOLOGÍA
   ============================================ */

.sector-tecnologia {
    background: white;
    padding: 64px 0;
}

.sector-tecnologia > .contenedor > h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tech-subtitle {
    font-size: 15px;
    color: var(--texto-suave);
    margin-bottom: 40px;
    line-height: 1.5;
}

.tecnologia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.tecnologia-texto p {
    font-size: 14px;
    color: var(--texto-suave);
    line-height: 1.75;
    margin-bottom: 16px;
}

.ventajas-titulo {
    font-size: 12px;
    font-weight: 700;
    color: var(--texto);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 28px 0 16px;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ventaja-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--texto);
    padding: 9px 12px;
    background: var(--gris-bg);
    border-radius: 4px;
    border-left: 3px solid var(--azul);
    line-height: 1.3;
}

.ventaja-item span {
    color: var(--naranja);
    font-weight: bold;
    flex-shrink: 0;
}

.tecnologia-diagrama {
    background: var(--azul-oscuro);
    border-radius: 8px;
    padding: 32px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tecnologia-diagrama-img {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tecnologia-diagrama-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.diagrama-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.diagrama-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
}

.diag-electrodo {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px 6px 0 0;
    padding: 10px 32px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    width: 100%;
    text-align: center;
}

.diag-conector {
    width: 2px;
    height: 16px;
    background: var(--naranja);
    margin: 0 auto;
}

.diag-tampón {
    background: var(--naranja);
    border-radius: 4px;
    padding: 10px 32px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    width: 100%;
    text-align: center;
}

.diag-corriente {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.diag-pieza {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,140,66,0.35);
    border-radius: 4px;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    width: 100%;
    text-align: center;
}

.diag-bandeja {
    background: rgba(29,95,167,0.25);
    border: 1px solid rgba(29,95,167,0.4);
    border-radius: 0 0 4px 4px;
    padding: 10px 32px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    width: 100%;
    text-align: center;
}

/* ============================================
   SECTOR PAGE — APLICACIONES & TRATAMIENTOS
   ============================================ */

.sector-aplic-trat {
    background: var(--gris-bg);
    padding: 64px 0;
}

.sector-aplic-trat > .contenedor > h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
}

.aplic-trat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.aplic-tabla,
.trat-tabla {
    background: white;
    border-radius: 8px;
    border: 1px solid var(--borde);
    overflow: hidden;
}

.aplic-tabla-header,
.trat-tabla-header {
    background: var(--azul-oscuro);
    color: white;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
}

.aplic-tabla-body,
.trat-tabla-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.aplic-item,
.trat-item {
    padding: 11px 16px;
    font-size: 13px;
    color: var(--texto);
    border-bottom: 1px solid var(--borde);
    border-right: 1px solid var(--borde);
    line-height: 1.3;
}

.aplic-item:nth-child(even),
.trat-item:nth-child(even) {
    border-right: none;
}

.aplic-item.highlight {
    background: rgba(29,95,167,0.05);
    font-weight: 600;
    color: var(--azul);
}

/* ============================================
   SECTOR PAGE — SERVICIOS
   ============================================ */

.sector-servicios {
    background: white;
    padding: 64px 0;
}

.sector-servicios > .contenedor > h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.servicio-card {
    border: 1px solid var(--borde);
    border-radius: 8px;
    padding: 32px;
    background: white;
    transition: box-shadow 0.2s;
}

.servicio-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.servicio-icon {
    width: 48px;
    height: 48px;
    background: var(--gris-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    border: 1px solid var(--borde);
}

.servicio-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--texto);
}

.servicio-card p {
    font-size: 14px;
    color: var(--texto-suave);
    line-height: 1.65;
}

/* ============================================
   SECTOR PAGE — EJEMPLOS
   ============================================ */

.sector-ejemplos {
    background: var(--gris-bg);
    padding: 64px 0;
}

.sector-ejemplos > .contenedor > h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
}

.ejemplos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ejemplo-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--borde);
}

.ejemplo-image {
    height: 200px;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-medio));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ejemplo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ejemplo-placeholder {
    font-size: 48px;
    opacity: 0.6;
}

.ejemplo-content {
    padding: 20px;
}

.ejemplo-content p {
    font-size: 13px;
    color: var(--texto-suave);
    line-height: 1.55;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    border-top: 2px solid var(--azul);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: none;
}

.cookie-banner.visible {
    display: block;
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 13px;
    color: #d1d5db;
    line-height: 1.55;
    flex: 1;
    min-width: 260px;
    margin: 0;
}

.cookie-banner p strong {
    color: white;
}

.cookie-banner p a {
    color: #60a5fa;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-banner p a:hover {
    color: white;
}

.cookie-btn {
    background: var(--azul);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cookie-btn:hover {
    background: #154a85;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        padding: 16px;
        gap: 14px;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   PÁGINAS LEGALES
   ============================================ */

.legal-hero {
    background: var(--azul-oscuro);
    color: white;
    padding: 48px 0;
}

.legal-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0;
}

.legal-body {
    padding: 56px 0 80px;
}

.legal-content {
    max-width: 820px;
}

.legal-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 36px 0 12px;
    color: var(--texto);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--azul);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--texto-suave);
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 0 0 16px 20px;
}

.legal-content li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--texto-suave);
    margin-bottom: 6px;
}

.legal-content strong {
    color: var(--texto);
}

.legal-content a {
    color: var(--azul);
    text-decoration: underline;
}

.legal-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 20px;
}

.legal-tabla th {
    background: var(--azul-oscuro);
    color: white;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.legal-tabla td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--borde);
    color: var(--texto-suave);
    vertical-align: top;
}

.legal-tabla tr:nth-child(even) td {
    background: var(--gris-bg);
}

.legal-actualizado {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 36px;
}

/* ============================================
   POST INDIVIDUAL
   ============================================ */

.post-single-hero {
    background: var(--azul-oscuro);
    color: white;
    padding: 48px 0;
}

.post-single-hero h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0;
    max-width: 800px;
}

.post-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.post-body {
    padding: 56px 0 80px;
}

.post-content-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.post-imagen-principal {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
    display: block;
}

.post-categorias {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.post-cat-tag {
    background: var(--gris-bg);
    color: var(--azul);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--borde);
    transition: background 0.15s, color 0.15s;
}

.post-cat-tag:hover {
    background: var(--azul);
    color: white;
    border-color: var(--azul);
}

.post-contenido-html h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--texto);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--azul);
}

.post-contenido-html h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--texto);
}

.post-contenido-html p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--texto-suave);
    margin-bottom: 18px;
}

.post-contenido-html ul,
.post-contenido-html ol {
    margin: 0 0 18px 24px;
}

.post-contenido-html li {
    font-size: 15px;
    line-height: 1.65;
    color: var(--texto-suave);
    margin-bottom: 6px;
}

.post-contenido-html strong {
    color: var(--texto);
}

.post-contenido-html a {
    color: var(--azul);
    text-decoration: underline;
}

.post-volver {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--borde);
}

.post-volver a {
    color: var(--azul);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.post-volver a:hover {
    text-decoration: underline;
}

/* ============================================
   RECURSOS — LISTADO DE POSTS
   ============================================ */

.recursos-hero {
    background: var(--azul-oscuro);
    color: white;
    padding: 48px 0;
}

.recursos-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.recursos-hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}

.recursos-body {
    padding: 40px 0 80px;
}

.filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filtro-btn {
    padding: 8px 18px;
    border: 1px solid var(--borde);
    border-radius: 20px;
    background: white;
    color: var(--texto);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.filtro-btn:hover {
    border-color: var(--azul);
    color: var(--azul);
}

.filtro-btn.activo {
    background: var(--azul);
    color: white;
    border-color: var(--azul);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--borde);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.post-imagen {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

.post-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-contenido {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-fecha {
    font-size: 12px;
    color: var(--texto-suave);
    margin-bottom: 8px;
}

.post-titulo {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--texto);
    line-height: 1.3;
}

.post-resumen {
    font-size: 13px;
    color: var(--texto-suave);
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.post-link {
    font-size: 13px;
    color: var(--azul);
    font-weight: 600;
}

.sin-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--texto-suave);
}

.sin-posts h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ============================================
   RESPONSIVE — SECTOR PAGES
   ============================================ */

@media (max-width: 1024px) {
    .sector-proceso-grid {
        grid-template-columns: 1fr;
    }
    .clientes-lista {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .cliente-item {
        flex: 1 1 140px;
    }
    .necesidades-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tecnologia-grid {
        grid-template-columns: 1fr;
    }
    .aplic-trat-grid {
        grid-template-columns: 1fr;
    }
    .ejemplos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sector-hero {
        height: 320px;
    }
    .sector-hero h1 {
        font-size: 26px;
    }
    .necesidades-grid {
        grid-template-columns: 1fr;
    }
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    .ventajas-grid {
        grid-template-columns: 1fr;
    }
    .ejemplos-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-image {
        height: 350px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .tecnica-grid {
        grid-template-columns: 1fr;
    }
    .numeros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .proceso-grid {
        grid-template-columns: 1fr;
    }
    .proceso-imagen {
        height: 300px;
    }
    .pasos-grid {
        grid-template-columns: 1fr;
    }
    .aplicaciones-grid {
        grid-template-columns: 1fr;
    }
    .sectores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cta-inner {
        grid-template-columns: 1fr;
        padding: 0 32px;
    }
    .cta-banner::before {
        display: none;
    }
    nav.main-nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 30px;
    }
    nav.main-nav a:not(:last-child) {
        display: none;
    }
    .numeros-grid {
        grid-template-columns: 1fr;
    }
    .sectores-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-sectores-cols {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom .contenedor {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .contenedor {
        padding: 0 16px;
    }
    .header-inner {
        padding: 0 16px;
    }
    .card-image {
        height: 160px;
    }
    .proceso-imagen {
        height: 250px;
    }
    .aplicacion-image {
        height: 180px;
    }
    .sector-image {
        height: 140px;
    }
}
