/*
Theme Name: GOMC BI Consulting v3 (fixed)
Theme URI: https://gomc.com.ar
Author: GOMC
Description: Theme WordPress basado en el HTML provisto (landing corporativa) con secciones Hero/Fabric/Servicios/Casos/Contacto.
Version: 3.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gomc
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy: #0a0f1e;
    --navy2: #0f1628;
    --accent: #00c4ff;
    --accent2: #7c5cfc;
    --text: #e8eeff;
    --text-muted: #7a8fb5;
    --border: rgba(255,255,255,0.09);
    --card-bg: rgba(255,255,255,0.04);
    --font-head: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
  }
  html { scroll-behavior: smooth; }
  body { background: var(--navy); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; overflow-x: hidden; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,15,30,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 6%; height: 64px; }
  .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .nav-logo span { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #e8eeff; letter-spacing: 0.08em; }
  .nav-links { display: flex; gap: 32px; list-style: none; }
  .nav-links a { font-size: 13px; font-weight: 500; color: #7a8fb5; text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
  .nav-links a:hover { color: #e8eeff; }
  .nav-cta { background: var(--accent); color: #0a0f1e; font-family: var(--font-body); font-size: 13px; font-weight: 600; padding: 8px 20px; border-radius: 6px; text-decoration: none; letter-spacing: 0.04em; transition: opacity 0.2s; }
  .nav-cta:hover { opacity: 0.85; }

  /* HERO */
  #hero { min-height: 100vh; display: flex; align-items: center; padding: 80px 6% 60px; position: relative; overflow: hidden; }
  .hero-grid { position: absolute; inset: 0; opacity: 0.03; background-image: linear-gradient(rgba(232,238,255,0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(232,238,255,0.6) 1px, transparent 1px); background-size: 60px 60px; }
  .hero-glow { position: absolute; top: -200px; right: -100px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(0,196,255,0.07) 0%, transparent 68%); pointer-events: none; }
  .hero-glow2 { position: absolute; bottom: -200px; left: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,92,252,0.06) 0%, transparent 68%); pointer-events: none; }
  .hero-content { position: relative; max-width: 700px; }
  .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,196,255,0.1); border: 1px solid rgba(0,196,255,0.22); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: #60d8ff; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 28px; }
  .hero-badge::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #60d8ff; }
  h1 { font-family: var(--font-head); font-size: clamp(36px, 5vw, 62px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; color: #e8eeff; }
  h1 em { font-style: normal; background: linear-gradient(90deg, #00c4ff, #7c5cfc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .hero-sub { font-size: 18px; color: #8fa4cc; font-weight: 300; max-width: 540px; margin-bottom: 40px; line-height: 1.65; }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 48px; }
  .btn-primary { background: var(--accent); color: #0a0f1e; font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: 8px; text-decoration: none; letter-spacing: 0.03em; transition: opacity 0.2s, transform 0.15s; display: inline-block; }
  .btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
  .btn-secondary { border: 1px solid rgba(255,255,255,0.15); color: #c5d0e8; font-weight: 500; font-size: 14px; padding: 13px 28px; border-radius: 8px; text-decoration: none; letter-spacing: 0.03em; transition: border-color 0.2s, background 0.2s; display: inline-block; }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
  .hero-certs { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .hero-cert-label { font-size: 12px; color: #5a6e90; }

  /* SECTION BASE */
  section { padding: 100px 6%; }
  .section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #40c8f0; margin-bottom: 16px; }
  .section-title { font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 16px; color: #e8eeff; }
  .section-sub { font-size: 17px; color: #7a8fb5; font-weight: 300; max-width: 560px; line-height: 1.65; margin-bottom: 60px; }

  /* FABRIC */
  #fabric { background: var(--navy2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .fabric-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .fabric-diagram-wrap { width: 100%; }
  .fabric-diagram-wrap svg { width: 100%; height: auto; display: block; }

  /* SERVICES */
  #services { background: var(--navy); }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .srv-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; padding: 32px; position: relative; overflow: hidden; transition: border-color 0.25s, transform 0.2s; }
  .srv-card:hover { border-color: rgba(0,196,255,0.28); transform: translateY(-3px); }
  .srv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #00c4ff, #7c5cfc); opacity: 0; transition: opacity 0.25s; }
  .srv-card:hover::before { opacity: 1; }
  .srv-num { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: rgba(255,255,255,0.04); position: absolute; top: 20px; right: 24px; letter-spacing: -0.04em; }
  .srv-icon-wrap { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; }
  .srv-icon-wrap.blue { background: rgba(0,196,255,0.1); }
  .srv-icon-wrap.purple { background: rgba(124,92,252,0.12); }
  .srv-icon-wrap.green { background: rgba(0,210,120,0.1); }
  .srv-icon-wrap.amber { background: rgba(251,191,36,0.1); }
  .srv-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin-bottom: 12px; color: #dde8ff; }
  .srv-desc { font-size: 14px; color: #7a8fb5; line-height: 1.65; }
  .srv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
  .srv-tag { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 4px; color: #7a8fb5; letter-spacing: 0.04em; }

  /* CASOS */
  #casos { background: var(--navy2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .casos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
  .caso-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; padding: 32px; }
  .caso-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .caso-industry { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #40c8f0; }
  .caso-badge { font-size: 11px; background: rgba(0,210,120,0.1); border: 1px solid rgba(0,210,120,0.22); color: #00d278; border-radius: 4px; padding: 3px 10px; font-weight: 600; }
  .caso-title { font-family: var(--font-head); font-size: 18px; font-weight: 600; margin-bottom: 12px; line-height: 1.3; color: #dde8ff; }
  .caso-desc { font-size: 14px; color: #7a8fb5; line-height: 1.65; margin-bottom: 24px; }
  .caso-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .caso-metric { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 12px; text-align: center; }
  .caso-metric-val { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #00c4ff; display: block; }
  .caso-metric-label { font-size: 11px; color: #5a6e90; line-height: 1.4; margin-top: 2px; display: block; }

  /* CERTS */
  #certificaciones { background: var(--navy); }
  .cert-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .cert-cards { display: flex; flex-direction: column; gap: 14px; }
  .cert-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; transition: border-color 0.2s; }
  .cert-card:hover { border-color: rgba(0,196,255,0.3); }
  .cert-logo { width: 42px; height: 42px; border-radius: 8px; background: rgba(0,120,212,0.12); border: 1px solid rgba(0,120,212,0.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ms-icon { width: 24px; height: 24px; }
  .cert-code { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #dde8ff; }
  .cert-name { font-size: 13px; color: #5a6e90; margin-top: 2px; }
  .cert-badge { margin-left: auto; background: rgba(0,196,255,0.08); border: 1px solid rgba(0,196,255,0.18); border-radius: 4px; padding: 3px 10px; font-size: 11px; font-weight: 600; color: #40c8f0; white-space: nowrap; }

  /* CONTACTO */
  #contacto { background: var(--navy2); border-top: 1px solid var(--border); }
  .contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .contact-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .contact-item:last-child { border-bottom: none; }
  .contact-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(0,196,255,0.08); border: 1px solid rgba(0,196,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; margin-top: 2px; }
  .contact-item-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #5a6e90; margin-bottom: 3px; }
  .contact-item-val { font-size: 15px; font-weight: 500; color: #c5d0e8; }
  .contact-item-val a { color: #40c8f0; text-decoration: none; }
  .contact-item-val a:hover { text-decoration: underline; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-group { margin-bottom: 14px; }
  .form-group label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: #5a6e90; margin-bottom: 8px; text-transform: uppercase; }
  .form-group input, .form-group textarea, .form-group select { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.11); border-radius: 8px; padding: 11px 14px; color: #c5d0e8; font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color 0.2s; }
  .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.18); }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: rgba(0,196,255,0.45); }
  .form-group select { appearance: none; cursor: pointer; }
  .form-group select option { background: #1a2235; color: #c5d0e8; }
  .form-group textarea { resize: vertical; min-height: 110px; }
  .form-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: #5a6e90; font-size: 12px; }
  .form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
  .btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.22); color: #25d366; font-weight: 600; font-size: 14px; padding: 13px; border-radius: 8px; text-decoration: none; transition: background 0.2s; }
  .btn-whatsapp:hover { background: rgba(37,211,102,0.16); }
  .wa-icon { width: 20px; height: 20px; }
  .form-submit { width: 100%; background: #00c4ff; color: #0a0f1e; font-weight: 700; font-size: 14px; padding: 13px; border-radius: 8px; border: none; cursor: pointer; font-family: var(--font-body); letter-spacing: 0.04em; transition: opacity 0.2s; margin-top: 4px; }
  .form-submit:hover { opacity: 0.88; }
  #form-success { display: none; background: rgba(0,210,120,0.08); border: 1px solid rgba(0,210,120,0.2); border-radius: 8px; padding: 18px; color: #00d278; font-size: 14px; text-align: center; margin-top: 12px; }

  /* FOOTER */
  footer { background: var(--navy); border-top: 1px solid var(--border); padding: 32px 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .footer-brand span { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #e8eeff; letter-spacing: 0.06em; }
  .footer-copy { font-size: 13px; color: #5a6e90; }
  .footer-ms { font-size: 12px; color: #3a4e70; }

  @media (max-width: 768px) {
    nav { padding: 0 5%; }
    .nav-links { display: none; }
    section { padding: 70px 5%; }
    .fabric-inner, .contact-wrap, .cert-intro { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    footer { flex-direction: column; text-align: center; }
  }
