/*
Theme Name: Lizard Systems
Theme URI: https://lizardsystems.io
Author: Lizard Systems
Author URI: https://lizardsystems.io
Description: Tema personalizado para Lizard Systems - Webs que crecen. Diseño oscuro moderno con enfoque en conversión.
Version: 1.0
License: GPL v2 or later
Text Domain: lizard-systems
*/

/* ========== ESTILOS COMPLETOS (copia del código original con fondo oscuro) ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --g: #2B9348;
  --gd: #1a6b30;
  --gl: #5ebe71;
  --b: #0066CC;
  --bd: #004fa0;
  --bl: #3399ff;
  --dark: #060d12;
  --dark2: #0d1a22;
  --dark3: #14242f;
  --text: #e8f4f0;
  --text2: #8aadb8;
  --white: #ffffff;
  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.07);
  --rad: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, .logo-text, .plan-name, .stat-num, .fb-num, .section-heading, .mini-hero-title, .price-card .plan-price, .contact-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge, .btn-nav, .service-tag, .plan-label, .section-label, .port-stat, .testi-name, .contact-item div:first-child {
  font-family: 'Montserrat', sans-serif;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(43,147,72,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,147,72,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

#blob {
  position: fixed;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(43,147,72,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: left 0.6s cubic-bezier(.23,1,.32,1), top 0.6s cubic-bezier(.23,1,.32,1);
  z-index: 0;
}

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  background: rgba(6,13,18,0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
}
.logo >  img {
  width: 44px; height: 44px; object-fit: contain;
  animation: logoBob 3s ease-in-out infinite;
}
@keyframes logoBob {
  0%,100% { transform: translateY(0) rotate(0deg); }
  40% { transform: translateY(-4px) rotate(-2deg); }
  60% { transform: translateY(-2px) rotate(2deg); }
}

.logo, .custom-logo-link img {
    width: 85px;
    height: 85px;
    object-fit: contain;
}
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-text span:first-child { color: var(--gl); }
.logo-text span:last-child { color: var(--white); }

.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--text2); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.btn-nav {
  background: var(--g);
  color: white !important;
  padding: 0.5rem 1.3rem;
  border-radius: 40px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.btn-nav:hover { background: var(--gd) !important; transform: translateY(-1px); }

.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2rem 5rem;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(43,147,72,0.15);
  border: 1px solid rgba(43,147,72,0.3);
  color: var(--gl); font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 1rem; border-radius: 40px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gl);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
h1 .line1 { display: block; color: var(--white); }
h1 .line2 {
  display: block;
  background: linear-gradient(90deg, var(--gl), var(--bl));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-desc {
  color: var(--text2); font-size: 1.1rem; line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--g); color: white;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px -8px rgba(43,147,72,0.5); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text); border: 1px solid var(--border);
  padding: 0.85rem 2rem; border-radius: 50px;
  font-weight: 500; font-size: 0.95rem;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: white; }

.hero-visual { position: relative; }
.screen-mock {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden;
}
.screen-bar {
  background: var(--dark3);
  padding: 0.8rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.d1{background:#ff5f57;} .d2{background:#febc2e;} .d3{background:#28c840;}
.url-bar {
  flex: 1; background: var(--dark); border-radius: 6px;
  padding: 0.3rem 0.8rem; font-size: 0.75rem; color: var(--text2);
  margin-left: 0.5rem;
}
.screen-content { padding: 1.5rem; }
.mini-hero-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 1.4rem; color: white; margin-bottom: 0.5rem;
}
.mini-hero-sub { font-size: 0.8rem; color: var(--text2); margin-bottom: 1rem; }
.mini-btn {
  background: var(--g); color: white;
  padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.75rem; display: inline-block;
}
.mini-cards {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem; margin-top: 1rem;
}
.mini-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 0.8rem 0.6rem;
  text-align: center; font-size: 0.7rem; color: var(--text2);
}
.mini-card-icon { font-size: 1.2rem; margin-bottom: 0.3rem; }
.mini-card strong { display: block; color: var(--gl); font-size: 0.85rem; font-family: 'Montserrat', sans-serif; }

.floating-badge {
  position: absolute;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 0.7rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem;
}
.fb1 { top: -20px; right: -20px; animation: floatBadge 4s ease-in-out infinite; }
.fb2 { bottom: -15px; left: -20px; animation: floatBadge 4s ease-in-out infinite 1.5s; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fb-icon { font-size: 1.3rem; }
.fb-num { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--gl); }
.fb-label { font-size: 0.7rem; color: var(--text2); }

.stats {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.stat-num {
  font-family: 'Montserrat', sans-serif; font-size: 3rem;
  font-weight: 800; color: var(--gl);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.85rem; color: var(--text2); margin-top: 0.2rem; }
.stat-divider { width: 1px; background: var(--border); }

section.main-section {
  position: relative; z-index: 1;
  padding: 6rem 2rem;
}
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  color: var(--gl); text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-heading {
  font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 1.5rem;
}
.section-sub { color: var(--text2); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }

.services-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: end; margin-bottom: 4rem;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rad); padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g), var(--b));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(.23,1,.32,1);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43,147,72,0.3);
  background: rgba(43,147,72,0.05);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(43,147,72,0.1);
  border: 1px solid rgba(43,147,72,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: 'Montserrat', sans-serif; font-size: 1.25rem;
  font-weight: 700; margin-bottom: 0.8rem;
}
.service-card p { color: var(--text2); font-size: 0.9rem; line-height: 1.7; }
.service-tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(43,147,72,0.1); color: var(--gl);
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem; border-radius: 20px;
  margin-top: 1.2rem;
}

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.port-card {
  border-radius: var(--rad); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark2);
  transition: transform 0.3s;
  cursor: pointer;
}
.port-card:hover { transform: translateY(-6px); }
.port-thumb {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.pt-eco { background: linear-gradient(135deg, #0a3d1f, #1a6b3a); }
.pt-acad { background: linear-gradient(135deg, #04264f, #0a5fa0); }
.pt-lex { background: linear-gradient(135deg, #1a1030, #3a1a60); }
.port-thumb .overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.port-card:hover .overlay { opacity: 1; }
.port-info { padding: 1.2rem 1.5rem; }
.port-info h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; margin-bottom: 0.4rem; }
.port-info p { color: var(--text2); font-size: 0.85rem; }
.port-stat {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 0.7rem;
  color: var(--gl); font-size: 0.8rem; font-weight: 600;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.price-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--rad); padding: 2rem;
  transition: transform 0.3s;
}
.price-card.featured {
  background: rgba(43,147,72,0.08);
  border-color: rgba(43,147,72,0.4);
  transform: scale(1.03);
}
.price-card:hover { transform: translateY(-5px); }
.price-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.plan-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--text2); text-transform: uppercase; margin-bottom: 0.5rem;
}
.plan-name {
  font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800;
}
.plan-price {
  font-family: 'Montserrat', sans-serif; font-size: 3.2rem; font-weight: 800;
  color: var(--white); margin: 1.2rem 0 0.3rem;
  letter-spacing: -0.04em;
}
.plan-price span { font-size: 1.2rem; color: var(--text2); font-weight: 400; }
.plan-desc { color: var(--text2); font-size: 0.85rem; margin-bottom: 1.5rem; }
.plan-divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.plan-features li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.88rem; color: var(--text2);
}
.plan-features li .check { color: var(--gl); font-size: 0.9rem; }
.price-btn {
  display: block; width: 100%; margin-top: 2rem;
  padding: 0.85rem; border-radius: 50px;
  text-align: center; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all 0.2s;
}
.price-btn-outline {
  border: 1px solid var(--border); color: var(--text);
}
.price-btn-outline:hover { border-color: rgba(255,255,255,0.3); color: white; }
.price-btn-solid {
  background: var(--g); color: white; border: none;
}
.price-btn-solid:hover { background: var(--gd); transform: translateY(-2px); }
.badge-pop {
  display: inline-block;
  background: var(--g); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 0.2rem 0.7rem; border-radius: 20px;
  margin-left: 0.5rem; vertical-align: middle;
}

.testi-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 3rem;
}
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--rad); padding: 2rem;
}
.testi-stars { color: #f59e0b; margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 2px; }
.testi-text { color: var(--text); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g), var(--b));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.testi-name { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; }
.testi-role { font-size: 0.75rem; color: var(--text2); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  margin-top: 3rem; align-items: start;
}
.contact-info h3 {
  font-family: 'Montserrat', sans-serif; font-size: 1.4rem;
  font-weight: 700; margin-bottom: 1rem;
}
.contact-info p { color: var(--text2); line-height: 1.7; margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.contact-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(43,147,72,0.1); border: 1px solid rgba(43,147,72,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gl); font-size: 1rem; flex-shrink: 0;
}
.contact-form-wrap {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--rad); padding: 2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text2); margin-bottom: 0.5rem; letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.85rem 1rem;
  color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(43,147,72,0.5);
  box-shadow: 0 0 0 3px rgba(43,147,72,0.08);
}

footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-copy { color: var(--text2); font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a {
  color: var(--text2); font-size: 0.85rem;
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gl); }
.footer-socials { display: flex; gap: 1rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); font-size: 0.9rem;
  text-decoration: none; transition: all 0.2s;
}
.social-btn:hover { border-color: rgba(43,147,72,0.4); color: var(--gl); }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

.typing-wrap { display: inline-flex; align-items: center; gap: 0; }
.typing-text { color: var(--gl); }
.cursor {
  display: inline-block; width: 3px; height: 1em;
  background: var(--gl); margin-left: 4px;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .services-header { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
/* Toast flotante estilo moderno - ESQUINA SUPERIOR DERECHA */
.toast-notification {
    position: fixed;
    top: 130px;              /* ← CAMBIADO: antes bottom: 30px */
    right: 30px;
    bottom: auto;           /* ← AÑADIDO: para anular el bottom */
    background: #1e2a32;
    backdrop-filter: blur(12px);
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-left: 4px solid;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 380px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    border-left-color: #2B9348;
    background: rgba(30, 42, 50, 0.95);
}

.toast-notification.success::before {
    content: "✅";
    margin-right: 8px;
}

.toast-notification.error {
    border-left-color: #dc3545;
    background: rgba(30, 42, 50, 0.95);
}

.toast-notification.error::before {
    content: "❌";
    margin-right: 8px;
}

/* Móvil */
@media (max-width: 480px) {
    .toast-notification {
        top: 70px;           /* ← CAMBIADO: antes bottom: 20px */
        right: 20px;
        left: 20px;
        bottom: auto;        /* ← AÑADIDO */
        max-width: none;
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}

/* Modal promocional con imagen */
.promo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.promo-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.promo-modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.promo-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.promo-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.promo-link:hover .promo-image {
    transform: scale(1.02);
}

.promo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 25px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-link:hover .promo-overlay {
    opacity: 1;
}

.promo-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.promo-wa-btn i {
    font-size: 1.2rem;
}

.promo-wa-btn:hover {
    transform: scale(1.05);
    background: #20b859;
}

.promo-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.promo-modal-close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Móvil */
@media (max-width: 480px) {
    .promo-modal-content {
        width: 85%;
    }
    
    .promo-wa-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .promo-modal-close {
        top: 10px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.8rem 0;
    background: rgba(6, 13, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo - contenedor principal */
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    z-index: 101;
    flex-shrink: 0;
}

.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    animation: logoBob 3s ease-in-out infinite;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-text span:first-child { 
    color: var(--gl); 
}

.logo-text span:last-child { 
    color: var(--white); 
}

/* ===== MENU HAMBURGUESA ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Contenedor del menú desktop */
.nav-links-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.btn-nav {
    background: var(--g);
    color: white !important;
    padding: 0.5rem 1.3rem;
    border-radius: 40px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
    display: inline-block;
}

.btn-nav:hover {
    background: var(--gd) !important;
    transform: translateY(-1px);
}

/* ===== RESPONSIVE - MÓVIL ===== */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    /* Ajuste del logo en móvil */
    .logo img {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    /* Menú lateral - oculto por defecto */
    .nav-links-container {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 80%;
        max-width: 300px;
        background: rgba(6, 13, 18, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        display: block;
    }
    
    .nav-links-container.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    .btn-nav {
        display: inline-block;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    /* Overlay cuando el menú está abierto */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    .nav {
        padding: 0 1rem;
    }
    
    .logo img {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 0.85rem;
    }
}

/* ===== PORTFOLIO SLIDER ===== */
.portfolio-slider-container {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.portfolio-slider {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.port-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    border-radius: var(--rad);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--dark2);
    transition: transform 0.3s;
    cursor: pointer;
}

.port-card:hover {
    transform: translateY(-6px);
}

/* Thumbnail con imagen de fondo */
.port-thumb {
    height: 220px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.port-thumb .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.port-card:hover .overlay {
    opacity: 1;
}

.ver-proyecto {
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s;
    display: inline-block;
}

.ver-proyecto:hover {
    transform: scale(1.05);
    background: rgba(0, 102, 204, 1);
}

/* Botones de navegación */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(43, 147, 72, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--g);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

/* Indicadores (dots) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gl);
    width: 25px;
    border-radius: 10px;
}

.dot:hover {
    background: var(--gl);
}

/* ===== RESPONSIVE ===== */
/* Tablet */
@media (max-width: 900px) {
    .port-card {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -10px;
    }
    
    .next-btn {
        right: -10px;
    }
}

/* Móvil - desactivamos slider y mostramos en columna */
@media (max-width: 600px) {
    .portfolio-slider-container {
        overflow: visible;
    }
    
    .portfolio-slider {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        transform: none !important;
    }
    
    .port-card {
        flex: 0 0 auto;
        min-width: 100%;
        width: 100%;
    }
    
    .slider-btn {
        display: none;
    }
    
    .slider-dots {
        display: none;
    }
    
    .port-thumb {
        height: 180px;
    }
}

/* Botones de navegación - más delgados y elegantes */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(43, 147, 72, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.slider-btn:hover {
    background: var(--g);
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

/* Para desktop, poner flechas más afuera */
@media (min-width: 1200px) {
    .prev-btn {
        left: -7px;
    }
    
    .next-btn {
        right: -7px;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        opacity: 0.9;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
}

/* Móvil - ocultar flechas */
@media (max-width: 600px) {
    .slider-btn {
        display: none;
    }
}