/*
Theme Name: INDUSOLDIN Corporate
Theme URI: https://indusoldin.com
Author: LAIOX
Author URI: https://laiox.com.co
Description: Tema corporativo liviano para INDUSOLDIN SAS, orientado a landing B2B, cotización y gestión nativa en WordPress.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: indusoldin
*/

:root {
  --ink: #0e1114;
  --navy: #032767;
  --blue: #2592d0;
  --mist: #e9ebeb;
  --warm: #aeacb6;
  --white: #ffffff;
  --muted: #5b6470;
  --line: #dfe4e8;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(3, 39, 103, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'Libre Baskerville', Georgia, serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: 'Antonio', 'Arial Narrow', Arial, sans-serif; }
input, select, textarea { font-family: 'Libre Baskerville', Georgia, serif; font-size: inherit; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  padding: 10px 14px; background: var(--ink); color: #fff;
  transform: translateY(-150%); transition: .2s;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(3,39,103,.08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 218px; display: block; }
.brand img { width: 100%; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav, .btn, .menu-toggle, label, .contact-list span, .contact-list a, .contact-list p, .coverage, .footer-grid a { font-family: 'Antonio', 'Arial Narrow', Arial, sans-serif; }
.main-nav > a:not(.btn) { text-decoration: none; font-size: .93rem; font-weight: 700; color: #2d3440; }
.main-nav > a:not(.btn):hover { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; display: block; background: var(--navy); margin: 5px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 4px;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  text-decoration: none; font-weight: 800; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 12px 30px rgba(3,39,103,.16); transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(3,39,103,.22); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid #cfd8e4; box-shadow: none; }
.btn-full { width: 100%; }

.hero { position: relative; overflow: hidden; padding: 92px 0 84px; background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%); }
.hero::before {
  content: ""; position: absolute; width: 470px; height: 470px; border-radius: 50%;
  right: -180px; top: -220px; background: radial-gradient(circle, rgba(37,146,208,.16), rgba(37,146,208,0) 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow {
  margin: 0 0 12px; color: var(--blue); font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem;
}
.eyebrow.light { color: #7fd1f4; }
h1, h2, h3 { font-family: 'Antonio', 'Arial Narrow', Arial, sans-serif; line-height: 1.04; margin: 0; color: var(--navy); }
h1 { font-size: clamp(3.2rem, 7vw, 6.3rem); font-weight: 700; letter-spacing: -.035em; max-width: 850px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 650; letter-spacing: -.025em; }
h3 { font-size: 1.8rem; font-weight: 650; }
.hero-lead { margin: 26px 0 0; max-width: 650px; font-size: 1.2rem; color: #4f5965; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts strong { display: block; color: var(--navy); font-family: 'Antonio', 'Arial Narrow', sans-serif; font-size: 1.3rem; }
.hero-facts span { display: block; color: var(--muted); font-size: .86rem; }

.hero-visual { position: relative; }
.brand-panel {
  position: relative; min-height: 545px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(145deg, #f3f7fa, #ffffff 58%);
  border: 1px solid #e4ebef; box-shadow: var(--shadow); display: grid; place-items: center;
}
.brand-panel img { position: relative; z-index: 3; width: 88%; mix-blend-mode: multiply; }
.orb { position: absolute; border-radius: 50%; filter: blur(.2px); }
.orb-a { width: 260px; height: 260px; background: rgba(37,146,208,.12); right: -70px; top: -40px; }
.orb-b { width: 180px; height: 180px; background: rgba(3,39,103,.10); left: -70px; bottom: 35px; }
.industrial-lines { position: absolute; right: 26px; bottom: 28px; width: 170px; height: 28px; z-index: 2;
  background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(3,39,103,.12) 11px 21px); transform: skewX(-12deg); }

.section { padding: 100px 0; }
.section-soft { background: #f7f9fa; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about-copy { font-size: 1.14rem; color: #48515c; max-width: 720px; }
.about-copy p { margin: 0 0 20px; }
.coverage { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 16px; border: 1px solid #dbe4ea; border-radius: 999px; background: #fff; font-weight: 700; color: var(--navy); font-size: .92rem; }
.coverage-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(37,146,208,.12); }

.section-heading { max-width: 760px; }
.section-heading.centered { margin: 0 auto 52px; text-align: center; }
.section-heading.centered > p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 18px auto 0; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution-card { border: 1px solid #e3e8ec; border-radius: 18px; padding: 30px; background: #fff; min-height: 390px; display: flex; flex-direction: column; transition: .25s ease; }
.solution-card:hover { transform: translateY(-5px); border-color: rgba(37,146,208,.5); box-shadow: 0 18px 45px rgba(3,39,103,.1); }
.icon-shell { width: 62px; height: 62px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy), var(--blue)); margin-bottom: 28px; }
.icon-shell svg { width: 35px; height: 35px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.card-kicker { margin: 0 0 8px; font-family: 'Antonio', sans-serif; color: var(--blue); font-weight: 700; letter-spacing: .12em; }
.solution-card p:not(.card-kicker) { color: var(--muted); }
.solution-card a { margin-top: auto; color: var(--navy); font-weight: 800; text-decoration: none; }
.solution-card a span { color: var(--blue); }

.section-dark { background: linear-gradient(135deg, #071a35 0%, #032767 70%, #05467c 100%); color: #fff; position: relative; overflow: hidden; }
.section-dark::after { content: ""; position: absolute; width: 320px; height: 320px; border: 45px solid rgba(255,255,255,.035); border-radius: 50%; right: -100px; top: -120px; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; position: relative; z-index: 2; }
.why-intro h2, .section-dark h3 { color: #fff; }
.why-intro > p:not(.eyebrow) { color: #c8d4e0; font-size: 1.08rem; }
.text-link { display: inline-flex; gap: 6px; margin-top: 18px; color: #8bd7f6; font-weight: 800; text-decoration: none; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefit { padding: 26px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.055); }
.benefit > span { font-family: 'Antonio', sans-serif; color: #73c9ef; font-weight: 700; }
.benefit h3 { margin-top: 22px; font-size: 1.7rem; }
.benefit p { color: #c3cfdb; margin-bottom: 0; }

.cta-section { padding: 74px 0; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 44px 48px; border-radius: 18px; background: #f4f8fb; border: 1px solid #e0e8ed; }
.cta-card h2 { max-width: 780px; font-size: clamp(2.1rem, 4vw, 3.5rem); }

.contact-section { padding-top: 78px; background: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.contact-list { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .88rem; font-weight: 700; }
.contact-list a { color: var(--navy); text-decoration: none; font-weight: 800; }
.contact-list p { margin: 0; color: var(--navy); font-weight: 700; }
.contact-list small { color: var(--muted); font-weight: 400; }
.contact-form { padding: 34px; border-radius: 20px; background: #f7f9fa; border: 1px solid #e1e7ea; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; color: #29323c; font-size: .9rem; font-weight: 800; margin-bottom: 16px; }
input, select, textarea { width: 100%; margin-top: 7px; border: 1px solid #cfd8df; border-radius: 7px; padding: 13px 14px; background: #fff; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,146,208,.12); }
textarea { resize: vertical; }
.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; color: #56606a; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; }
.form-note { margin: 12px 0 0; font-size: .8rem; color: #77808a; text-align: center; }

.site-footer { padding: 34px 0; background: #f6f7f8; border-top: 1px solid #e2e6e9; }
.footer-grid { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; }
.footer-grid img { width: 180px; mix-blend-mode: multiply; }
.footer-grid p { color: #68717b; font-size: .88rem; text-align: center; }
.footer-grid a { color: var(--navy); font-weight: 800; text-decoration: none; font-size: .9rem; }

.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #21b66f; color: #fff; box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.whatsapp-float svg { width: 31px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 76px; padding: 18px; background: #fff; border: 1px solid #e2e8ec; border-radius: 14px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch; gap: 10px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 9px 10px; }
  .hero-grid, .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 64px; }
  .hero-visual { order: -1; }
  .brand-panel { min-height: 390px; max-width: 680px; margin-inline: auto; }
  .cards-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 70px; }
  .brand { width: 170px; }
  .main-nav { top: 66px; left: 14px; right: 14px; }
  .hero { padding: 38px 0 58px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-lead { font-size: 1.06rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .hero-facts div { padding-bottom: 12px; border-bottom: 1px dashed #dbe2e7; }
  .brand-panel { min-height: 280px; border-radius: 18px; }
  .section { padding: 72px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 30px 24px; }
  .cta-card .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid img { margin-inline: auto; }
  .footer-grid p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .solution-card { transition: none; }
}

/* WordPress integration */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.custom-logo-link { display:block; width:218px; }
.custom-logo { width:100%; height:auto; }
.brand-strip { padding: 42px 0 54px; border-top:1px solid var(--line); }
.brand-strip h2 { font-size:1rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); text-align:center; margin-bottom:28px; }
.brand-logos { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:34px 46px; }
.brand-logos article { width:150px; min-height:70px; display:grid; place-items:center; filter:grayscale(1); opacity:.72; transition:.2s ease; }
.brand-logos article:hover { filter:none; opacity:1; }
.brand-logos img { max-height:62px; width:auto; }
.wp-block-post-content { width:min(calc(100% - 40px), var(--max)); margin:70px auto; }

.main-nav .indus-menu { display:flex; align-items:center; gap:28px; list-style:none; padding:0; margin:0; }
.main-nav .indus-menu a { text-decoration:none; font-size:.93rem; font-weight:700; color:#2d3440; }
.main-nav .indus-menu a:hover { color:var(--blue); }
@media (max-width:980px) { .main-nav .indus-menu { flex-direction:column; align-items:stretch; gap:10px; } }


/* Identidad tipográfica INDUSOLDIN
   Antonio: títulos, navegación, etiquetas y acciones.
   Libre Baskerville: sustituto web temporal de Baskerville Old Face para textos de lectura.
   Reemplazar por Baskerville Old Face únicamente cuando el diseñador suministre archivo/licencia web autorizada. */
.hero-lead,
.about-copy,
.section-heading.centered > p:last-child,
.solution-card p:not(.card-kicker),
.why-intro > p:not(.eyebrow),
.benefit p,
.contact-copy > p:not(.eyebrow),
.footer-grid p,
.form-note,
.check {
  font-family: 'Libre Baskerville', Georgia, serif;
}
