/* ============================================
   NOVA PANEL – style.css
   Paleta: Negro fondo | Naranja #f97316 | Blanco
   ============================================ */

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

:root {
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --orange-light: rgba(249,115,22,.15);
  --black: #000;
  --bg: #0a0a0a;
  --bg2: #111;
  --bg3: #181818;
  --card: #141414;
  --card2: #1c1c1c;
  --border: rgba(255,255,255,.08);
  --white: #fff;
  --gray: #9ca3af;
  --gray2: #6b7280;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,.5);
  --shadow-orange: 0 4px 24px rgba(249,115,22,.3);
  --transition: .3s ease;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION ── */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(249,115,22,.3);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 12px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
  padding: 8px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* LOGO ORIGINAL – fondo transparente, colores naranja + blanco */
.nav-logo {
  display: flex;
  align-items: center;
  padding: 4px 0;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: .85; }

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: none;
  display: block;
  transition: height var(--transition);
}

.navbar.scrolled .logo-img { height: 40px; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

.logo-img--footer {
  height: 44px;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.07); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--orange-dark) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(249,115,22,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(249,115,22,.07) 0%, transparent 60%),
    var(--black);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f97316' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Hero layout: dos columnas */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  padding: 100px 24px 80px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
}

/* Imagen lado derecho del hero */
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(249,115,22,.22) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}

.hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(249,115,22,.3);
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(249,115,22,.12);
  display: block;
  position: relative;
  z-index: 1;
}

.hero-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(249,115,22,.4);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.hero-img-badge i {
  font-size: 1.5rem;
  color: var(--orange);
}

.hero-img-badge span {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-light);
  border: 1px solid rgba(249,115,22,.4);
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.highlight {
  color: var(--orange);
  position: relative;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  min-width: 130px;
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--orange);
}

.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
}

.stat-card p {
  font-size: .78rem;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,.4);
}

.btn-primary.btn-sm { font-size: .9rem; padding: 10px 22px; margin-top: 20px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover { border-color: var(--orange); background: var(--orange-light); }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray2);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-section { background: var(--bg2); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.35);
  box-shadow: 0 8px 32px rgba(249,115,22,.12);
}

.benefit-icon {
  width: 52px; height: 52px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 20px;
}

.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.benefit-card p { color: var(--gray); font-size: .9rem; line-height: 1.6; }

/* ============================================
   COMPARATIVA
   ============================================ */
.compare-section { background: var(--bg); }

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.compare-table thead tr { background: var(--card2); }

.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table th:first-child { text-align: left; }

.compare-table th { font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); }

.col-nova { color: var(--white); }
.col-trad { color: var(--gray2); }

.compare-table .win { color: var(--orange); font-weight: 700; }
.compare-table .win i { margin-right: 6px; }

.compare-table td i { margin-right: 8px; color: var(--gray2); font-size: .85rem; }
.compare-table .win i { color: var(--orange); }

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: rgba(255,255,255,.02); }

.table-logo {
  height: 32px;
  width: auto;
  filter: none;
  margin: 0 auto;
}

/* ============================================
   SERVICIOS – con imagen
   ============================================ */
.services-section { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.35);
  box-shadow: 0 8px 32px rgba(249,115,22,.1);
}

.service-card--featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), var(--shadow-orange);
}

.service-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

/* Imagen dentro de la tarjeta de servicio */
.service-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.06);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-size: 1.4rem;
  color: var(--orange);
}

/* Contenido bajo la imagen */
.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.service-desc { color: var(--gray); font-size: .9rem; margin-bottom: 18px; }

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray);
  padding: 4px 0;
}

.service-features li i { color: var(--orange); font-size: .75rem; }

/* ============================================
   POR QUÉ ELEGIRNOS
   ============================================ */
.why-section { background: var(--bg); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why-text .section-tag { display: inline-block; margin-bottom: 16px; }
.why-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 36px; }

.why-list { display: flex; flex-direction: column; gap: 28px; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-icon {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--gray); font-size: .87rem; line-height: 1.6; }

/* EPS DIAGRAM */
.why-diagram {
  position: sticky;
  top: 100px;
}

.diagram-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

.eps-diagram { display: flex; flex-direction: column; gap: 8px; }

.eps-layer {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s ease, transform .5s ease;
}

.eps-layer.visible { opacity: 1; transform: translateX(0); }

.eps-layer-color {
  width: 32px; height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.eps-layer span { font-size: .85rem; color: var(--gray); font-weight: 500; }

/* ============================================
   PROCESO
   ============================================ */
.process-section { background: var(--bg2); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(249,115,22,.2);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  width: 64px; height: 64px;
  background: var(--card);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin: 0 auto 16px;
}

.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .82rem; color: var(--gray); line-height: 1.5; }

.step-arrow {
  align-self: center;
  color: var(--orange);
  font-size: 1.2rem;
  opacity: .4;
  margin-top: -32px;
  flex-shrink: 0;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249,115,22,.4);
  box-shadow: 0 8px 24px rgba(249,115,22,.1);
}

.contact-card--wa {
  border-color: rgba(37,211,102,.4);
  background: linear-gradient(135deg, rgba(37,211,102,.07) 0%, var(--card) 60%);
}

.contact-card--wa:hover { border-color: rgba(37,211,102,.7); box-shadow: 0 8px 24px rgba(37,211,102,.15); }

.contact-card i {
  font-size: 2rem;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-card--wa i { color: #25d366; }

.contact-card h3 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.contact-card span { font-size: .85rem; color: var(--gray); }

.contact-card--location { cursor: default; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-copy { font-size: .82rem; color: var(--gray2); }
.footer-web a { font-size: .85rem; color: var(--orange); transition: color var(--transition); }
.footer-web a:hover { color: var(--orange-dark); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 1000;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
  animation: none;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,.45); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,.75); }
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  /* Hero responsive */
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 100px 24px 60px; }
  .hero-image-wrap { order: -1; }
  .hero-img { height: 280px; max-width: 100%; }
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }

  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-diagram { position: static; }

  .process-steps { gap: 0; }
  .step-arrow { display: none; }
  .step { max-width: 160px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(0,0,0,.97); padding: 20px 24px; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .burger { display: flex; }

  .hero-stats { gap: 12px; }
  .stat-card { min-width: 120px; padding: 16px 20px; }

  .process-steps { flex-direction: column; align-items: center; gap: 24px; }
  .step { max-width: 100%; width: 100%; }

  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { justify-content: center; }
  .stat-card { flex: 1; min-width: 100px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.5rem; }
}
