/*
Theme Name: NorteFTV Child
Theme URI: https://norteftv.com
Template: hello-elementor
Description: Tema hijo de Hello Elementor para NorteFTV — Web & Estrategia Digital
Author: NorteFTV
Version: 1.0.0
Text Domain: norteftv-child
*/

/* ─────────────────────────────────────────
   GOOGLE FONTS
───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Space+Mono:wght@400;700&display=swap');

/* ─────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────── */
:root {
  --nftv-navy:  #1B3A5C;
  --nftv-cyan:  #00AEEF;
  --nftv-gold:  #C9A84C;
  --nftv-gray:  #8C8C8C;
  --nftv-light: #F2F0EB;
  --nftv-dark:  #0D1E2E;
  --nftv-white: #FFFFFF;
}

/* ─────────────────────────────────────────
   GLOBAL RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--nftv-dark);
  color: var(--nftv-light);
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ─────────────────────────────────────────
   ELEMENTOR PAGE WRAPPER
───────────────────────────────────────── */
.elementor-section-wrap,
.elementor-top-section,
body.elementor-page .site-header { display: block; }

/* Remove Hello Elementor default padding */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100%;
}

/* ─────────────────────────────────────────
   SECTION TAGS
───────────────────────────────────────── */
.nftv-section-tag {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--nftv-gold) !important;
  margin-bottom: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
}

.nftv-section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--nftv-gold);
  display: inline-block;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.nftv-label {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--nftv-cyan) !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 2rem !important;
}

.nftv-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--nftv-cyan);
  display: inline-block;
}

.nftv-outline {
  -webkit-text-stroke: 1.5px var(--nftv-gold) !important;
  color: transparent !important;
}

.nftv-hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.nftv-hero-right {
  position: relative;
  overflow: hidden;
}

.nftv-hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--nftv-dark) 0%, transparent 50%);
  z-index: 1;
}

/* ─────────────────────────────────────────
   BOTONES
───────────────────────────────────────── */
.nftv-btn-primary,
a.nftv-btn-primary {
  font-family: 'Space Mono', monospace !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--nftv-dark) !important;
  background: var(--nftv-cyan) !important;
  padding: 1rem 2rem !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: all 0.3s !important;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)) !important;
}

.nftv-btn-primary:hover,
a.nftv-btn-primary:hover {
  background: var(--nftv-gold) !important;
  transform: translateY(-2px) !important;
}

/* CTA buttons */
.nftv-cta-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.nftv-btn-cta-primary,
a.nftv-btn-cta-primary {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nftv-dark);
  background: var(--nftv-cyan);
  padding: 1.2rem 2.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.nftv-btn-cta-primary:hover { background: var(--nftv-gold); transform: translateY(-3px); }

.nftv-btn-cta-outline,
a.nftv-btn-cta-outline {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nftv-light);
  background: transparent;
  padding: 1.2rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.nftv-btn-cta-outline:hover { border-color: var(--nftv-cyan); color: var(--nftv-cyan); }

/* ─────────────────────────────────────────
   MARQUEE
───────────────────────────────────────── */
.nftv-marquee-outer {
  overflow: hidden;
  width: 100%;
}

.nftv-marquee-track {
  display: flex;
  gap: 3rem;
  animation: nftvMarquee 20s linear infinite;
  width: max-content;
}

.nftv-marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: rgba(242,240,235,0.5);
}

.nftv-marquee-track span.nftv-sep {
  color: var(--nftv-cyan);
}

@keyframes nftvMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   PROBLEM CARDS
───────────────────────────────────────── */
.nftv-prob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.nftv-prob-card {
  background: var(--nftv-dark);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.nftv-prob-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--nftv-cyan);
  transition: height 0.4s ease;
}

.nftv-prob-card:hover::before { height: 100%; }
.nftv-prob-card:hover { background: rgba(0,174,239,0.04); border-color: rgba(0,174,239,0.2); }

.nftv-prob-icon { font-size: 1.6rem; margin-bottom: 0.8rem; }

.nftv-prob-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--nftv-light);
  margin: 0 0 0.5rem;
}

.nftv-prob-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--nftv-gray);
  margin: 0;
}

/* ─────────────────────────────────────────
   SERVICES GRID
───────────────────────────────────────── */
.nftv-serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.nftv-serv-item {
  background: var(--nftv-dark);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
  cursor: default;
}

.nftv-serv-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nftv-cyan), var(--nftv-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.nftv-serv-item:hover::after { transform: scaleX(1); }
.nftv-serv-item:hover { background: rgba(255,255,255,0.02); }

.nftv-serv-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--nftv-cyan);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.nftv-serv-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
}

.nftv-serv-icon svg { width: 100%; height: 100%; }

.nftv-serv-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--nftv-white);
  margin: 0 0 0.8rem;
  line-height: 1.1;
}

.nftv-serv-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--nftv-gray);
  margin: 0;
}

.nftv-serv-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--nftv-gray);
  transition: all 0.3s;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.nftv-serv-item:hover .nftv-serv-arrow {
  background: var(--nftv-cyan);
  color: var(--nftv-dark);
  border-color: var(--nftv-cyan);
}

/* ─────────────────────────────────────────
   DIFFERENTIATOR LIST
───────────────────────────────────────── */
.nftv-diff-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nftv-diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nftv-diff-list li:last-child { border-bottom: none; }

.nftv-diff-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--nftv-cyan);
  min-width: 28px;
  padding-top: 0.15rem;
  flex-shrink: 0;
}

.nftv-diff-list h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--nftv-light);
  margin: 0 0 0.3rem;
}

.nftv-diff-list p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--nftv-gray);
  margin: 0;
}

/* ─────────────────────────────────────────
   PROCESS STEPS
───────────────────────────────────────── */
.nftv-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.nftv-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nftv-cyan), var(--nftv-gold), transparent);
  z-index: 0;
}

.nftv-step {
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.nftv-step-dot {
  width: 48px;
  height: 48px;
  border: 1px solid var(--nftv-cyan);
  background: var(--nftv-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--nftv-cyan);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.3s;
}

.nftv-step:hover .nftv-step-dot {
  background: var(--nftv-cyan);
  color: var(--nftv-dark);
}

.nftv-step h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--nftv-white);
  margin: 0 0 0.6rem;
}

.nftv-step p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--nftv-gray);
  margin: 0;
}

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.nftv-stat {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.nftv-stat:last-child { border-right: none; }

.nftv-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--nftv-cyan);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.nftv-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nftv-gray);
}

/* ─────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.nftv-cta-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nftv-gold);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────
   ELEMENTOR WIDGET OVERRIDES
───────────────────────────────────────── */
.elementor-widget-heading .elementor-heading-title { line-height: inherit; }
.elementor-widget-text-editor p { margin-bottom: 0; }

/* Strong text in body copy */
.elementor-widget-text-editor strong { color: var(--nftv-light); font-weight: 500; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .nftv-serv-grid { grid-template-columns: repeat(2, 1fr); }
  .nftv-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .nftv-steps::before { display: none; }
  .nftv-prob-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nftv-serv-grid { grid-template-columns: 1fr; }
  .nftv-steps { grid-template-columns: 1fr; gap: 2rem; }
  .nftv-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 1.5rem; }
  .nftv-cta-btns { flex-direction: column; align-items: center; }
}
