/*
Theme Name: Kimiker Theme
Theme URI: https://kimiker.com.ar
Description: Tema personalizado para Kimiker SRL - Productos Químicos para la Industria
Author: Kimiker SRL
Template: astra
Version: 1.8.0
Text Domain: kimiker-theme
*/

/* ── VARIABLES ─────────────────────────────────── */
:root {
  --rojo: #C8102E;
  --rojo-d: #9B0B22;
  --rojo-l: #E8293F;
  --negro: #0A0A0A;
  --gris1: #111;
  --gris2: #1A1A1A;
  --linea: #E5E7EB;
  --linea-d: #2A2A2A;
  --texto: #1F2937;
  --texto2: #6B7280;
  --texto3: #9CA3AF;
  --blanco: #FFFFFF;
  --fondo: #F7F7F7;
}

/* ── RESET / BASE ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'DM Sans', sans-serif !important;
  background: var(--blanco);
  color: var(--texto);
  overflow-x: hidden;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');


/* ── ASTRA FULL OVERRIDE ───────────────────────── */
html, body { width: 100% !important; overflow-x: hidden !important; margin: 0 !important; padding: 0 !important; }

/* Remove ALL Astra wrappers constraints */
.ast-container,
.ast-grid-common-col,
#page,
#content,
.site-content,
.ast-flex,
.content-area,
main#main,
.site-main,
.ast-article-single,
.entry-content,
.post-0,
article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide Astra header and footer completely */
#masthead,
.site-header,
.ast-above-header-bar,
.ast-below-header-bar,
#colophon,
.site-footer,
.ast-footer-overlay,
.ast-breadcrumbs-wrapper,
.ast-comment-list-wrap,
.comments-area,
.post-navigation,
.entry-header,
.entry-footer,
.ast-single-post-order,
.page-header,
.ast-page-builder-template .entry-content-wrap {
  display: none !important;
}

/* Hero must be full viewport */
.kimiker-hero {
  width: 100vw !important;
  min-height: 100vh !important;
  margin-left: calc(-50vw + 50%) !important;
  position: relative !important;
}

/* Force full width on all sections */
#industrias, #confianza, #proceso, #noticias, #contacto, #kimiker-footer, #kimiker-nav {
  width: 100% !important;
  max-width: 100% !important;
}


/* ── NAV ───────────────────────────────────────── */
#kimiker-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 84px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 48px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--linea);
  box-shadow: 0 1px 16px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
#kimiker-nav .nav-logo img { height: 68px; width: auto; display: block; }
#kimiker-nav .nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
#kimiker-nav .nav-menu a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; letter-spacing: .5px;
  color: var(--texto2); font-weight: 500;
  text-decoration: none; transition: color .2s;
  position: relative;
}
#kimiker-nav .nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--rojo);
  transform: scaleX(0); transition: transform .2s;
}
#kimiker-nav .nav-menu a:hover { color: var(--texto); }
#kimiker-nav .nav-menu a:hover::after { transform: scaleX(1); }
#kimiker-nav .nav-cta {
  background: var(--rojo) !important; color: white !important;
  padding: 9px 20px;
  clip-path: polygon(0 0,calc(100% - 6px) 0,100% 50%,calc(100% - 6px) 100%,0 100%);
}
#kimiker-nav .nav-cta::after { display: none !important; }
#kimiker-nav .nav-cta:hover { background: var(--rojo-l) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--texto); display: block; }

/* ── HERO ──────────────────────────────────────── */
.kimiker-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 48px 80px;
  position: relative; overflow: hidden; background: var(--negro);
}
.hero-carousel { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide.active img { animation: kenBurns 9s ease-in-out forwards; }
@keyframes kenBurns { 0%{transform:scale(1)} 100%{transform:scale(1.05)} }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to right, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.94) 25%, rgba(10,10,10,0.75) 45%, rgba(10,10,10,0.30) 65%, rgba(10,10,10,0.05) 85%, rgba(10,10,10,0.00) 100%),
    linear-gradient(to top, rgba(10,10,10,0.70) 0%, rgba(10,10,10,0.20) 20%, transparent 45%);
}
.carousel-dots {
  position: absolute; bottom: 56px; right: 48px;
  display: flex; gap: 8px; z-index: 10;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.2); cursor: pointer; transition: all .3s;
}
.carousel-dot.active { background: var(--rojo); width: 20px; border-radius: 3px; }
.hero-grid {
  position: absolute; inset: 0; z-index: 3; opacity: .025;
  background-image: linear-gradient(rgba(255,255,255,.8) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.8) 1px,transparent 1px);
  background-size: 64px 64px;
}
.hero-stripe { position: absolute; top: 0; bottom: 0; right: 120px; width: 1px; z-index: 3; background: linear-gradient(to bottom,transparent,rgba(200,16,46,.4) 30%,rgba(200,16,46,.4) 70%,transparent); }
.hero-stripe2 { position: absolute; top: 0; bottom: 0; right: 80px; width: 1px; z-index: 3; background: linear-gradient(to bottom,transparent,rgba(200,16,46,.15) 30%,rgba(200,16,46,.15) 70%,transparent); }
.hero-kpi { position: absolute; top: 50%; right: 48px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 3px; z-index: 10; animation: fadeRight .8s ease .9s both; }
.kpi-box { background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); padding: 18px 24px; text-align: center; min-width: 110px; backdrop-filter: blur(4px); }
.kpi-box:first-child { border-top: 2px solid var(--rojo); }
.kpi-num { font-family: 'Bebas Neue', sans-serif; font-size: 38px; color: white; line-height: 1; }
.kpi-num span { color: var(--rojo); }
.kpi-label { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,.35); text-transform: uppercase; margin-top: 4px; }
.hero-content { position: relative; z-index: 10; max-width: 640px; }
.hero-pre { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 4px; color: var(--rojo); text-transform: uppercase; font-weight: 600; margin-bottom: 24px; display: flex; align-items: center; gap: 14px; animation: fadeUp .7s ease .1s both; }
.hero-pre::before { content: ''; width: 36px; height: 2px; background: var(--rojo); }
.hero-h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(60px,9vw,130px); line-height: .92; letter-spacing: 2px; margin-bottom: 28px; animation: fadeUp .7s ease .25s both; color: white; }
.hero-h1 em { color: var(--rojo); font-style: normal; }
.hero-desc { font-size: 17px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,.6); max-width: 500px; margin-bottom: 40px; animation: fadeUp .7s ease .4s both; }
.hero-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; animation: fadeUp .7s ease .55s both; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 10; animation: fadeIn 1s ease 1.4s both; }
.hero-scroll span { font-family: 'DM Sans', sans-serif; font-size: 9px; letter-spacing: 3px; color: rgba(255,255,255,.25); text-transform: uppercase; }
.scroll-bar { width: 1px; height: 36px; background: linear-gradient(to bottom,var(--rojo),transparent); animation: pulse 2s ease-in-out infinite; }

/* ── BUTTONS ───────────────────────────────────── */
.btn-rojo {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rojo); color: white;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  letter-spacing: 1px; font-weight: 600; padding: 14px 28px;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%);
  transition: background .2s, transform .15s; border: none; cursor: pointer;
  text-decoration: none;
}
.btn-rojo:hover { background: var(--rojo-l); transform: translateX(2px); color: white; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--rojo); color: var(--rojo);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 600; padding: 13px 24px; transition: all .2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--rojo); color: white; }
.hero-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7);
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 500; padding: 13px 24px; transition: all .2s;
  text-decoration: none;
}
.hero-btn-outline:hover { border-color: rgba(255,255,255,.6); color: white; }

/* ── SECTION COMMONS ───────────────────────────── */
.tag { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 3px; color: var(--rojo); text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tag::before { content: ''; width: 28px; height: 2px; background: var(--rojo); flex-shrink: 0; }
.tag-center { justify-content: center; }
.tag-center::before, .tag-center::after { content: ''; width: 28px; height: 2px; background: var(--rojo); flex-shrink: 0; }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,5vw,66px); letter-spacing: 2px; line-height: 1; margin-bottom: 16px; }
.section-sub { font-size: 17px; font-weight: 400; color: var(--texto); line-height: 1.8; max-width: 460px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── INDUSTRIAS ────────────────────────────────── */
#industrias { padding: 100px 48px; background: var(--blanco); }
.ind-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.ind-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.ind-card { background: var(--blanco); border: 1.5px solid var(--linea); padding: 28px 24px; position: relative; overflow: hidden; transition: all .25s; display: flex; flex-direction: column; cursor: pointer; }
.ind-card:hover { border-color: var(--rojo); box-shadow: 0 8px 32px rgba(200,16,46,.08); transform: translateY(-3px); }
.ind-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 0; background: var(--rojo); transition: height .3s; }
.ind-card:hover::before { height: 3px; }
.ind-num { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--texto3); margin-bottom: 14px; text-transform: uppercase; }
.ind-icon-wrap { width: 52px; height: 52px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; filter: invert(14%) sepia(90%) saturate(5000%) hue-rotate(342deg) brightness(85%) contrast(110%); }
.ind-icon-wrap svg { width: 44px; height: 44px; }
.ind-nombre { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; margin-bottom: 10px; line-height: 1.1; color: var(--negro); }
.ind-desc { font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 300; color: var(--texto2); line-height: 1.75; margin-bottom: 18px; flex: 1; }
.ind-prods { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.prod-item { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; color: var(--texto2); line-height: 1.5; display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.prod-item::before { content: ''; width: 6px; height: 6px; background: var(--rojo); border-radius: 50%; flex-shrink: 0; opacity: .7; }
.ind-link { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 1px; color: var(--rojo); text-transform: uppercase; display: flex; align-items: center; gap: 6px; font-weight: 600; opacity: 0; transition: opacity .25s; margin-top: auto; }
.ind-card:hover .ind-link { opacity: 1; }

/* ── CONFIANZA ─────────────────────────────────── */
#confianza { padding: 80px 48px; background: var(--negro); }
.conf-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.conf-inner .section-title { color: white; }
.confianza-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.06); margin-top: 48px; border: 1px solid rgba(255,255,255,.06); }
.conf-item { background: var(--gris1); padding: 36px 24px; text-align: center; }
.conf-num { font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: white; line-height: 1; }
.conf-num span { color: var(--rojo); }
.conf-label { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.3); text-transform: uppercase; margin-top: 8px; line-height: 1.6; }

/* ── PROCESO ───────────────────────────────────── */
#proceso { padding: 100px 48px; background: var(--fondo); }
.proceso-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch; }
.proceso-steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--linea); }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--rojo); line-height: 1; flex-shrink: 0; width: 40px; opacity: .5; }
.step-title { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--negro); }
.step-desc { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 300; color: var(--texto2); line-height: 1.75; }
.proceso-right { height: 100%; display: flex; flex-direction: column; }
.cta-box { background: var(--negro); border-top: 3px solid var(--rojo); padding: 40px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cta-box-title { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 1px; margin-bottom: 10px; color: white; }
.cta-box-desc { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 24px; }
.cta-box-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cta-item { display: flex; align-items: center; gap: 12px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: rgba(255,255,255,.6); }
.cta-item-check { width: 20px; height: 20px; background: rgba(200,16,46,.15); border: 1px solid rgba(200,16,46,.4); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--rojo); flex-shrink: 0; }
.wsp-btn { display: flex; align-items: center; justify-content: center; gap: 12px; background: #25D366; color: white; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; padding: 15px 24px; transition: background .2s; margin-top: 10px; border: none; cursor: pointer; width: 100%; text-decoration: none; }
.wsp-btn:hover { background: #1ea855; color: white; }

/* ── NOTICIAS ──────────────────────────────────── */
#noticias { padding: 100px 48px; background: var(--fondo); }
.noticias-header { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.noticias-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.nota-card { background: var(--blanco); border: 1.5px solid var(--linea); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.nota-card:hover { border-color: var(--rojo); box-shadow: 0 8px 32px rgba(200,16,46,.08); transform: translateY(-3px); }
.nota-img { width: 100%; height: 200px; overflow: hidden; position: relative; background: var(--gris2); }
.nota-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) brightness(.6); transition: filter .3s; }
.nota-card:hover .nota-img img { filter: grayscale(80%) brightness(.7); }
.nota-cat { position: absolute; top: 14px; left: 14px; background: var(--rojo); color: white; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; }
.nota-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.nota-fecha { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 1px; color: var(--texto3); text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
.nota-titulo { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; color: var(--negro); line-height: 1.15; margin-bottom: 10px; }
.nota-resumen { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 300; color: var(--texto2); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.nota-link { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rojo); display: flex; align-items: center; gap: 6px; transition: gap .2s; text-decoration: none; }
.nota-card:hover .nota-link { gap: 10px; }
.nota-card.destacada { grid-column: span 2; }
.nota-card.destacada .nota-img { height: 280px; }
.nota-card.destacada .nota-titulo { font-size: 30px; }
.noticias-cta { text-align: center; margin-top: 48px; }

/* ── CONTACTO ──────────────────────────────────── */
#contacto { padding: 100px 48px; background: var(--blanco); }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-wrap { padding-top: 0; }
.contact-cards { display: flex; flex-direction: column; gap: 2px; margin-top: 36px; max-width: 100%; }
.contact-card { background: var(--fondo); border: 1px solid var(--linea); padding: 18px 22px; display: flex; align-items: center; gap: 16px; transition: border-color .2s; }
.contact-card:hover { border-color: var(--rojo); }
.contact-card-icon { width: 42px; height: 42px; background: rgba(200,16,46,.06); border: 1px solid rgba(200,16,46,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-label { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 2px; color: var(--rojo); text-transform: uppercase; margin-bottom: 2px; font-weight: 600; }
.contact-card-val { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--texto); font-weight: 400; }
.form-wrap h3 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,5vw,66px); letter-spacing: 2px; line-height: 1; margin-bottom: 16px; color: var(--negro); }
.form-sub { font-family: 'DM Sans', sans-serif; font-size: 17px; color: var(--texto); margin-bottom: 24px; font-weight: 400; line-height: 1.8; }
.fg { margin-bottom: 14px; }
.flabel { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 1.5px; color: var(--texto3); text-transform: uppercase; display: block; margin-bottom: 7px; font-weight: 600; }
.finput, .fselect, .ftextarea { width: 100%; background: var(--fondo); border: 1.5px solid var(--linea); color: var(--texto); padding: 13px 15px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 300; outline: none; transition: border-color .2s; -webkit-appearance: none; }
.finput:focus, .fselect:focus, .ftextarea:focus { border-color: var(--rojo); }
.ftextarea { height: 100px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--texto3); margin-bottom: 16px; font-weight: 300; line-height: 1.6; }

/* ── FOOTER ────────────────────────────────────── */
#kimiker-footer { background: var(--negro); border-top: 1px solid var(--linea-d); padding: 40px 48px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.footer-logo img { height: 48px; width: auto; display: block; }
.footer-nav { display: flex; gap: 28px; list-style: none; justify-content: center; margin: 0; padding: 0; }
.footer-nav a { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.25); text-transform: uppercase; transition: color .2s; text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: rgba(255,255,255,.6); }
.footer-copy { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,.2); text-align: right; font-weight: 300; }

/* ── BLOG SINGLE POST ──────────────────────────── */
.kimiker-post { padding-top: 84px; }
.post-header { background: var(--negro); padding: 80px 48px 60px; }
.post-cat-badge { display: inline-block; background: var(--rojo); color: white; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; margin-bottom: 20px; }
.post-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,5vw,72px); color: white; letter-spacing: 2px; line-height: 1; margin-bottom: 20px; }
.post-meta { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.4); }
.post-featured-img { width: 100%; max-height: 500px; object-fit: cover; filter: grayscale(30%); display: block; }
.post-content-wrap { max-width: 800px; margin: 0 auto; padding: 60px 48px; }
.post-content-wrap h2 { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--negro); letter-spacing: 1px; margin: 40px 0 16px; }
.post-content-wrap h3 { font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--negro); margin: 32px 0 12px; }
.post-content-wrap p { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 300; color: var(--texto2); line-height: 1.9; margin-bottom: 20px; }
.post-content-wrap ul { padding-left: 20px; margin-bottom: 20px; }
.post-content-wrap ul li { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 300; color: var(--texto2); line-height: 1.8; margin-bottom: 8px; }
.post-content-wrap ul li::marker { color: var(--rojo); }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--rojo); text-decoration: none; margin-bottom: 32px; }

/* ── ANIMATIONS ────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }
@keyframes fadeRight { from{opacity:0;transform:translateX(24px)} to{opacity:1;transform:none} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes pulse { 0%,100%{opacity:.5} 50%{opacity:1} }

/* ── RESPONSIVE ────────────────────────────────── */
@media(max-width:1200px) { .ind-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:960px) {
  #kimiker-nav{padding:0 20px}
  .nav-menu{display:none}
  .nav-menu.open{display:flex;flex-direction:column;position:fixed;top:84px;left:0;right:0;bottom:0;background:rgba(255,255,255,.99);padding:40px 24px;gap:20px;z-index:199}
  .nav-menu.open a{font-size:18px;color:var(--texto)}
  .hamburger{display:flex}
  .kimiker-hero{padding:90px 20px 60px}
  .hero-kpi{display:none}
  #industrias,#confianza,#proceso,#noticias,#contacto{padding:70px 20px}
  .ind-header{grid-template-columns:1fr}
  .ind-grid{grid-template-columns:1fr 1fr}
  .confianza-grid{grid-template-columns:1fr 1fr}
  .proceso-inner{grid-template-columns:1fr}
  .proceso-right{position:static}
  .noticias-header{grid-template-columns:1fr}
  .noticias-grid{grid-template-columns:1fr}
  .nota-card.destacada{grid-column:span 1}
  .contacto-inner{grid-template-columns:1fr}
  .frow{grid-template-columns:1fr}
  #kimiker-footer{padding:32px 20px}
  .footer-inner{grid-template-columns:1fr;gap:20px}
  .footer-copy{text-align:left}
  .footer-nav{justify-content:flex-start;flex-wrap:wrap;gap:16px}
  .post-header{padding:60px 20px 40px}
  .post-content-wrap{padding:40px 20px}
}
@media(max-width:600px) { .ind-grid{grid-template-columns:1fr} }

/* ── SECTION SUBTITLE FIXES ───────────────────── */
#industrias .section-sub,
#noticias .section-sub {
  font-size: 22px;
  font-weight: 400;
  color: var(--texto);
  line-height: 1.8;
  max-width: 100%;
  border-left: 3px solid var(--rojo);
  padding-left: 20px;
}

#contacto .section-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--texto);
  line-height: 1.8;
  max-width: 100%;
  margin-bottom: 8px;
}

/* Contact cards full width */
.contact-cards {
  margin-top: 28px;
}

/* Form wrap — ensure it uses full column width */
.form-wrap {
  width: 100%;
}

/* WPForms styling */
.wpforms-form input,
.wpforms-form select,
.wpforms-form textarea {
  width: 100% !important;
  background: var(--fondo) !important;
  border: 1.5px solid var(--linea) !important;
  color: var(--texto) !important;
  padding: 13px 15px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-color: var(--rojo) !important;
}
.wpforms-form .wpforms-field-label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  color: var(--texto3) !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}
.wpforms-form button[type=submit],
.wpforms-form .wpforms-submit {
  background: var(--rojo) !important;
  color: white !important;
  border: none !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 16px 32px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background .2s !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,0 100%) !important;
}
.wpforms-form button[type=submit]:hover {
  background: var(--rojo-l) !important;
}

/* ── INDUSTRIAS GRID CARDS CONTENT FIX ────────── */
.ind-card .ind-icon-wrap svg {
  width: 44px;
  height: 44px;
  color: var(--rojo);
  stroke: var(--rojo);
}

/* Ensure sections have proper padding even with Astra */
#industrias, #noticias, #proceso, #contacto, #confianza {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

/* ── CUSTOM SELECT ─────────────────────────────── */
.custom-select-wrap {
  position: relative;
  width: 100%;
}
.custom-select {
  width: 100% !important;
  background: var(--fondo) !important;
  border: 1.5px solid var(--linea) !important;
  color: var(--texto) !important;
  padding: 13px 40px 13px 15px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
  line-height: 1.5 !important;
  border-radius: 0 !important;
  transition: border-color .2s !important;
}
.custom-select:focus {
  border-color: var(--rojo) !important;
}
.custom-select option {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--texto) !important;
  background: white !important;
  padding: 10px !important;
}
.custom-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--texto3);
  font-size: 11px;
  pointer-events: none;
  line-height: 1;
}

/* ── SELECT SIZE FIX FINAL ─────────────────────── */
.fg select,
.custom-select,
select.finput,
.contacto-inner select {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1F2937 !important;
  font-family: Arial, sans-serif !important;
  padding: 14px 40px 14px 15px !important;
  height: 52px !important;
  line-height: 52px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #F7F7F7 !important;
  border: 1.5px solid #E5E7EB !important;
  width: 100% !important;
  display: block !important;
  border-radius: 0 !important;
}
.fg select option,
.custom-select option {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1F2937 !important;
  font-family: Arial, sans-serif !important;
  padding: 10px !important;
  line-height: 2 !important;
}

/* ── REAL SVG ICONS ────────────────────────────── */
.ind-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Convert black SVG paths to Kimiker red #C8102E */
  filter: invert(14%) sepia(94%) saturate(4500%) hue-rotate(342deg) brightness(85%) contrast(110%);
}
.ind-icon-wrap .ind-svg {
  width: 52px;
  height: 52px;
  display: block;
}

/* ── KIMIKER CUSTOM SELECT ─────────────────────── */
.kselect {
  position: relative;
  width: 100%;
  user-select: none;
}
.kselect-display {
  width: 100%;
  background: var(--fondo);
  border: 1.5px solid var(--linea);
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color .2s;
  min-height: 50px;
}
.kselect.open .kselect-display {
  border-color: var(--rojo);
}
.kselect-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--texto3);
  line-height: 1.5;
}
.kselect-arrow {
  font-size: 11px;
  color: var(--texto3);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 8px;
}
.kselect.open .kselect-arrow {
  transform: rotate(180deg);
}
.kselect-opts {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--rojo);
  border-top: none;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.kselect.open .kselect-opts {
  display: block;
}
.kselect-opts li {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--texto);
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid var(--linea);
  transition: background .15s;
  line-height: 1.4;
}
.kselect-opts li:last-child { border-bottom: none; }
.kselect-opts li:hover {
  background: rgba(200,16,46,.06);
  color: var(--rojo);
}
