/*
Theme Name: TRINOVA Child
Theme URI: https://trinova.cl
Description: Tema personalizado TRINOVA Soluciones de TI - Child theme de Kadence
Author: TRINOVA
Author URI: https://trinova.cl
Template: kadence
Version: 1.7.0
Text Domain: trinova-child
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

  :root {
    --bg: #07080f;
    --bg2: #0d0f1a;
    --bg3: #131629;
    --surface: #1a1d2e;
    --border: rgba(255,255,255,0.07);
    --border-bright: rgba(0,210,255,0.25);
    --cyan: #00d2ff;
    --green: #00e5a0;
    --white: #f0f2ff;
    --muted: #7b82a8;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

  /* ── GRID BACKGROUND ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,210,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,210,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* ── NAVIGATION ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 5%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(7,8,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  .logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    text-decoration: none;
  }
  .logo span { color: var(--cyan); }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }

  .nav-cta {
    background: var(--cyan);
    color: #07080f;
    padding: 10px 22px;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .hero-glow {
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(ellipse, rgba(0,210,255,0.12) 0%, transparent 70%);
    top: -100px; right: -150px;
    pointer-events: none;
  }
  .hero-glow2 {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(ellipse, rgba(0,229,160,0.08) 0%, transparent 70%);
    bottom: 50px; left: -80px;
    pointer-events: none;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1280px;
    width: 100%;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-bright);
    background: rgba(0,210,255,0.05);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 5.5vw, 74px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
  }
  .hero-title .accent { color: var(--cyan); }
  .hero-title .accent2 { color: var(--green); }

  .hero-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 40px;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--cyan);
    color: #07080f;
    padding: 14px 30px;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(0,210,255,0.25);
  }
  .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,210,255,0.4); }

  .btn-ghost {
    color: var(--white);
    padding: 14px 30px;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }

  .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }
  .hero-stat-num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--cyan);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
  }
  .hero-stat-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.5px;
  }

  /* Hero visual */
  .hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tech-orb {
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(0,210,255,0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate1 20s linear infinite;
  }
  @keyframes rotate1 { to { transform: rotate(360deg); } }

  .tech-orb::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0,229,160,0.1);
    animation: rotate1 12s linear infinite reverse;
  }
  .tech-orb::after {
    content: '';
    position: absolute;
    inset: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0,210,255,0.2);
    animation: rotate1 7s linear infinite;
  }

  .orb-center {
    width: 120px; height: 120px;
    background: var(--bg3);
    border-radius: 50%;
    border: 1px solid rgba(0,210,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 40px rgba(0,210,255,0.15), inset 0 0 30px rgba(0,210,255,0.05);
    animation: none;
  }
  .orb-center svg { animation: rotate1 20s linear infinite reverse; }

  .orbit-dot {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cyan);
    animation: none;
  }
  .orbit-dot.d1 { top: -4px; left: 50%; transform: translateX(-50%); }
  .orbit-dot.d2 { bottom: -4px; right: 40px; background: var(--green); box-shadow: 0 0 12px var(--green); }
  .orbit-dot.d3 { top: 50%; right: -4px; transform: translateY(-50%); }

  .float-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 12px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
  }
  .float-card .fc-label { color: var(--muted); margin-bottom: 3px; font-size: 11px; }
  .float-card .fc-val { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
  .float-card.c1 { top: 20px; left: -20px; animation: float1 4s ease-in-out infinite; }
  .float-card.c2 { bottom: 80px; right: -40px; animation: float1 5s ease-in-out infinite 1s; }
  .float-card.c3 { top: 180px; right: -60px; animation: float1 3.5s ease-in-out infinite 0.5s; }
  @keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

  .fc-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 6px; }

  /* ── SECTIONS ── */
  section { position: relative; z-index: 1; }

  .section-header {
    text-align: center;
    margin-bottom: 64px;
  }
  .section-tag {
    display: inline-block;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .section-desc {
    font-size: 16px;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
  }

  /* ── SERVICES ── */
  #services {
    padding: 120px 5%;
    background: var(--bg2);
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
  }

  .service-card {
    background: var(--bg2);
    padding: 40px 36px;
    transition: background 0.3s;
    cursor: default;
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover { background: var(--surface); }

  .service-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(0,210,255,0.08);
    border: 1px solid rgba(0,210,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
  }

  .service-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
  }
  .service-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .service-link {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
  }
  .service-link:hover { gap: 10px; }

  /* ── ABOUT ── */
  #about {
    padding: 120px 5%;
  }
  .about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
  }
  .about-img {
    position: relative;
  }
  .about-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
  }
  .about-panel::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(ellipse, rgba(0,229,160,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .about-panel-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .cert-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .cert-item:last-child { border-bottom: none; }
  .cert-badge {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(0,210,255,0.08);
    border: 1px solid rgba(0,210,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
  }
  .cert-name { font-weight: 500; line-height: 1.3; }
  .cert-org { font-size: 12px; color: var(--muted); }

  .about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
  }
  .about-content h2 span { color: var(--green); }
  .about-content p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
  }
  .about-feature-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(0,229,160,0.1);
    border: 1px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .about-feature-dot::after {
    content: '';
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
  }
  .about-feature-text strong { color: var(--white); }
  .about-feature-text span { color: var(--muted); }

  /* ── STATS ── */
  #stats {
    padding: 80px 5%;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
  }
  .stat-cell {
    background: var(--bg2);
    padding: 40px 32px;
    text-align: center;
    transition: background 0.2s;
  }
  .stat-cell:hover { background: var(--surface); }
  .stat-number {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    display: block;
  }
  .stat-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
  }

  /* ── PROCESS ── */
  #process {
    padding: 120px 5%;
  }
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
  }
  .process-step {
    padding: 0 24px;
    text-align: center;
  }
  .step-num {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--cyan);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    transition: background 0.2s, box-shadow 0.2s;
  }
  .process-step:hover .step-num {
    background: rgba(0,210,255,0.1);
    box-shadow: 0 0 30px rgba(0,210,255,0.2);
  }
  .step-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .step-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
  }

  /* ── TECH STACK ── */
  #stack {
    padding: 80px 5%;
    background: var(--bg2);
  }
  .stack-track {
    overflow: hidden;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
  }
  .stack-track::before, .stack-track::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
  }
  .stack-track::before { left: 0; background: linear-gradient(90deg, var(--bg2), transparent); }
  .stack-track::after  { right: 0; background: linear-gradient(-90deg, var(--bg2), transparent); }
  .stack-items {
    display: flex;
    gap: 16px;
    animation: scroll-left 25s linear infinite;
    width: max-content;
  }
  .stack-items:hover { animation-play-state: paused; }
  @keyframes scroll-left { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
  .stack-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s, color 0.2s;
  }
  .stack-item:hover { border-color: rgba(0,210,255,0.3); color: var(--white); }

  /* ── TESTIMONIALS ── */
  #testimonials {
    padding: 120px 5%;
  }
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;
  }
  .testi-card:hover { border-color: rgba(0,210,255,0.2); transform: translateY(-4px); }
  .testi-quote {
    font-size: 36px;
    line-height: 1;
    color: var(--cyan);
    font-family: Georgia, serif;
    margin-bottom: 16px;
    opacity: 0.6;
  }
  .testi-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
  }
  .testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--cyan);
    flex-shrink: 0;
  }
  .author-name { font-weight: 600; font-size: 14px; }
  .author-role { font-size: 12px; color: var(--muted); }
  .stars { color: #fbbf24; font-size: 12px; margin-bottom: 16px; letter-spacing: 2px; }

  /* ── CTA BANNER ── */
  #cta {
    padding: 0 5% 120px;
  }
  .cta-inner {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: 24px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-inner::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(0,210,255,0.1) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }
  .cta-inner h2 span { color: var(--cyan); }
  .cta-inner p {
    color: var(--muted);
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
  }
  .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  /* ── CONTACT ── */
  #contact {
    padding: 120px 5%;
    background: var(--bg2);
  }
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
  }
  .contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    line-height: 1.1;
  }
  .contact-info h2 span { color: var(--cyan); }
  .contact-info p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
  }
  .contact-methods { display: flex; flex-direction: column; gap: 20px; }
  .contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
  }
  .method-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(0,210,255,0.08);
    border: 1px solid rgba(0,210,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
  }
  .method-label { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; margin-bottom: 2px; }
  .method-value { font-weight: 500; color: var(--white); }

  .contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { margin-bottom: 20px; }
  .form-group label { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
  }
  .form-group select option { background: var(--bg2); }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--cyan); }
  .form-group textarea { resize: vertical; min-height: 110px; }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: rgba(123,130,168,0.5); }
  .btn-submit {
    width: 100%;
    background: var(--cyan);
    color: #07080f;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
  }
  .btn-submit:hover { opacity: 0.88; transform: translateY(-1px); }

  /* ── FOOTER ── */
  footer {
    padding: 60px 5% 32px;
    border-top: 1px solid var(--border);
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }
  .footer-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    display: block;
  }
  .footer-logo span { color: var(--cyan); }
  .footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 260px; margin-bottom: 24px; }
  .footer-social { display: flex; gap: 10px; }
  .social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s;
  }
  .social-btn:hover { border-color: rgba(0,210,255,0.3); background: rgba(0,210,255,0.05); }
  .footer-col h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
  .footer-col a:hover { color: var(--cyan); }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
  }

  /* ── ANIMATIONS ── */
  .fade-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-in.animate { opacity: 0; transform: translateY(24px); }
  .fade-in.animate.visible { opacity: 1; transform: none; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-inner { padding: 48px 24px; }
    #hero { padding: 100px 5% 60px; }
  }

/* ── WORDPRESS RESET ── */
.site-header, .site-footer, #masthead, #colophon,
.wp-block-post-title, .entry-header, .entry-footer,
.kadence-top-header-wrap, .kadence-sticky-header,
.site-top-header-wrap { display: none !important; }

body.page-template-trinova-landing,
body.page-template-page-trinova-landing {
  background: #07080f !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

body.page-template-trinova-landing .site,
body.page-template-trinova-landing .site-content,
body.page-template-trinova-landing .content-area,
body.page-template-trinova-landing #primary,
body.page-template-trinova-landing .entry-content,
body.page-template-trinova-landing main,
body.page-template-trinova-landing article,
body.page-template-trinova-landing .wp-site-blocks,
body.page-template-trinova-landing .is-layout-flow {
  padding: 0 !important; margin: 0 !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
}

body.page-template-trinova-landing nav {
  position: fixed !important; top: 0 !important; z-index: 9999 !important;
}
body.admin-bar.page-template-trinova-landing nav { top: 32px !important; }
body.page-template-trinova-landing, body.page-template-trinova-landing * {
  -webkit-font-smoothing: antialiased;
}


/* ── FORCE WHITE ON ALL TITLES (Kadence override) ── */
body.page-template-trinova-landing .section-title,
body.page-template-trinova-landing .hero-title,
body.page-template-trinova-landing .service-title,
body.page-template-trinova-landing .step-title,
body.page-template-trinova-landing .about-content h2,
body.page-template-trinova-landing .contact-info h2,
body.page-template-trinova-landing .cta-inner h2,
body.page-template-trinova-landing .footer-col h4,
body.page-template-trinova-landing h1,
body.page-template-trinova-landing h2,
body.page-template-trinova-landing h3,
body.page-template-trinova-landing h4,
body.page-template-trinova-landing h5,
body.page-template-trinova-landing h6 {
  color: #f0f2ff !important;
  -webkit-text-fill-color: #f0f2ff !important;
}

/* Keep accent colors only where explicitly set */
body.page-template-trinova-landing .hero-title .accent {
  color: #00d2ff !important;
  -webkit-text-fill-color: #00d2ff !important;
}
body.page-template-trinova-landing .hero-title .accent2,
body.page-template-trinova-landing .about-content h2 span {
  color: #00e5a0 !important;
  -webkit-text-fill-color: #00e5a0 !important;
}
body.page-template-trinova-landing .cta-inner h2 span,
body.page-template-trinova-landing .contact-info h2 span {
  color: #00d2ff !important;
  -webkit-text-fill-color: #00d2ff !important;
}

/* Stat numbers keep gradient */
body.page-template-trinova-landing .stat-number {
  background: linear-gradient(135deg, #00d2ff, #00e5a0) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Section tags stay cyan */
body.page-template-trinova-landing .section-tag {
  color: #00d2ff !important;
  -webkit-text-fill-color: #00d2ff !important;
}

/* Step numbers stay cyan */
body.page-template-trinova-landing .step-num {
  color: #00d2ff !important;
  -webkit-text-fill-color: #00d2ff !important;
}

/* Nav links and general text */
body.page-template-trinova-landing p,
body.page-template-trinova-landing li,
body.page-template-trinova-landing span {
  -webkit-text-fill-color: unset;
}


/* ── FLOAT CARDS TEXT WHITE ── */
body.page-template-trinova-landing .float-card,
body.page-template-trinova-landing .float-card .fc-val,
body.page-template-trinova-landing .float-card .fc-label,
body.page-template-trinova-landing .fc-val,
body.page-template-trinova-landing .fc-label {
  color: #f0f2ff !important;
  -webkit-text-fill-color: #f0f2ff !important;
}
body.page-template-trinova-landing .float-card .fc-label {
  color: #7b82a8 !important;
  -webkit-text-fill-color: #7b82a8 !important;
}
body.page-template-trinova-landing .float-card .fc-val[style*="color:var(--green)"],
body.page-template-trinova-landing .float-card .fc-val[style*="color: var(--green)"] {
  color: #00e5a0 !important;
  -webkit-text-fill-color: #00e5a0 !important;
}
/* Also fix any other muted text that Kadence overrides */
body.page-template-trinova-landing .hero-stat-num {
  color: #00d2ff !important;
  -webkit-text-fill-color: #00d2ff !important;
}
body.page-template-trinova-landing .hero-stat-label,
body.page-template-trinova-landing .hero-sub,
body.page-template-trinova-landing .service-desc,
body.page-template-trinova-landing .step-desc,
body.page-template-trinova-landing .section-desc,
body.page-template-trinova-landing .testi-text,
body.page-template-trinova-landing .about-content p,
body.page-template-trinova-landing .stat-label {
  color: #7b82a8 !important;
  -webkit-text-fill-color: #7b82a8 !important;
}
body.page-template-trinova-landing .service-link,
body.page-template-trinova-landing .about-panel-title,
body.page-template-trinova-landing .section-tag {
  color: #00d2ff !important;
  -webkit-text-fill-color: #00d2ff !important;
}
body.page-template-trinova-landing .hero-content,
body.page-template-trinova-landing .hero-title,
body.page-template-trinova-landing .author-name,
body.page-template-trinova-landing .cert-name,
body.page-template-trinova-landing .method-value,
body.page-template-trinova-landing .nav-links a:hover,
body.page-template-trinova-landing .footer-col a:hover {
  color: #f0f2ff !important;
  -webkit-text-fill-color: #f0f2ff !important;
}
body.page-template-trinova-landing .nav-links a,
body.page-template-trinova-landing .footer-col a,
body.page-template-trinova-landing .author-role,
body.page-template-trinova-landing .cert-org,
body.page-template-trinova-landing .method-label,
body.page-template-trinova-landing .footer-tagline {
  color: #7b82a8 !important;
  -webkit-text-fill-color: #7b82a8 !important;
}


/* ── FORM FIELDS FIX ── */
body.page-template-trinova-landing .form-group input,
body.page-template-trinova-landing .form-group textarea,
body.page-template-trinova-landing .form-group select {
  background: #0d0f1a !important;
  background-color: #0d0f1a !important;
  color: #f0f2ff !important;
  -webkit-text-fill-color: #f0f2ff !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 8px !important;
}
body.page-template-trinova-landing .form-group input:focus,
body.page-template-trinova-landing .form-group textarea:focus,
body.page-template-trinova-landing .form-group select:focus {
  border-color: #00d2ff !important;
  outline: none !important;
  box-shadow: none !important;
}
body.page-template-trinova-landing .form-group input::placeholder,
body.page-template-trinova-landing .form-group textarea::placeholder {
  color: rgba(123,130,168,0.5) !important;
  -webkit-text-fill-color: rgba(123,130,168,0.5) !important;
}
/* Select dropdown options - white text */
body.page-template-trinova-landing .form-group select option {
  background: #0d0f1a !important;
  background-color: #0d0f1a !important;
  color: #f0f2ff !important;
  -webkit-text-fill-color: #f0f2ff !important;
}
body.page-template-trinova-landing .form-group select option:hover,
body.page-template-trinova-landing .form-group select option:checked,
body.page-template-trinova-landing .form-group select option:focus {
  background: #00d2ff !important;
  color: #07080f !important;
  -webkit-text-fill-color: #07080f !important;
}
/* Fix autofill background */
body.page-template-trinova-landing .form-group input:-webkit-autofill,
body.page-template-trinova-landing .form-group input:-webkit-autofill:hover,
body.page-template-trinova-landing .form-group input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #0d0f1a inset !important;
  -webkit-text-fill-color: #f0f2ff !important;
  border-color: rgba(255,255,255,0.07) !important;
}
/* Form labels */
body.page-template-trinova-landing .form-group label {
  color: #7b82a8 !important;
  -webkit-text-fill-color: #7b82a8 !important;
}
