@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0f1923;
  --navy-light: #1a2b3d;
  --navy-mid: #243447;
  --orange: #e8750a;
  --orange-light: #f59e0b;
  --orange-glow: rgba(232, 117, 10, 0.15);
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --gradient-orange: linear-gradient(135deg, #e8750a 0%, #f59e0b 100%);
  --gradient-navy: linear-gradient(180deg, #0f1923 0%, #1a2b3d 100%);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(232, 117, 10, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; }

a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-light); }

img { max-width: 100%; height: auto; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 25, 35, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0 24px; height: 72px;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(15, 25, 35, 0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .nav-logo { flex-shrink: 0; width: 48px; height: 48px; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 2px 8px rgba(232, 117, 10, 0.3)); }
.nav-brand-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--white); }
.nav-brand-text span { color: var(--orange); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--gray-300); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--orange); transition: var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gradient-orange); color: var(--white); font-weight: 600;
  padding: 10px 24px; border-radius: 50px; font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 15px rgba(232, 117, 10, 0.3);
  transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/hero-bg.png') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.92) 0%, rgba(15,25,35,0.75) 50%, rgba(15,25,35,0.88) 100%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-glow); border: 1px solid rgba(232,117,10,0.3);
  padding: 8px 16px; border-radius: 50px; font-size: 0.82rem;
  color: var(--orange-light); font-weight: 500; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 20px; color: var(--white); }
.hero h1 .highlight { background: var(--gradient-orange); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.15rem; color: var(--gray-400); margin-bottom: 36px; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none;
  transition: var(--transition); font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--gradient-orange); color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 117, 10, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(232, 117, 10, 0.5); color: var(--white); }
.btn-secondary {
  background: rgba(255,255,255,0.06); color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); color: var(--white); }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.stat { text-align: center; }
.stat-number { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--orange); }
.stat-label { font-size: 0.78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: rgba(255,255,255,0.04); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 24px;
  padding: 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 1.3rem; margin-bottom: 20px; color: var(--white); }
.hero-card-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hero-card-item:last-child { border-bottom: none; }
.hero-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-glow); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.hero-card-item h4 { font-size: 0.95rem; color: var(--white); font-weight: 600; }
.hero-card-item p { font-size: 0.82rem; color: var(--gray-400); margin-top: 2px; }

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-glow); border: 1px solid rgba(232,117,10,0.2);
  padding: 6px 16px; border-radius: 50px; font-size: 0.78rem;
  color: var(--orange); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--gray-400); max-width: 600px; margin: 0 auto; }

/* ===== SERVICES ===== */
#servicios { background: var(--gradient-navy); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 36px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-orange); opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(232,117,10,0.2); box-shadow: var(--shadow-card); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2.2rem; margin-bottom: 20px; display: block; }
.service-card h3 { font-size: 1.15rem; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.6; }

/* ===== EXPERIENCE ===== */
#experiencia { background: var(--navy); }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.exp-text h2 { font-size: 2.4rem; color: var(--white); margin-bottom: 20px; }
.exp-text p { color: var(--gray-400); margin-bottom: 32px; line-height: 1.8; }
.exp-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.exp-highlight {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm); padding: 24px; text-align: center;
  transition: var(--transition);
}
.exp-highlight:hover { border-color: rgba(232,117,10,0.3); background: var(--orange-glow); }
.exp-highlight .number { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--orange); }
.exp-highlight .label { font-size: 0.82rem; color: var(--gray-400); margin-top: 4px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: rgba(232,117,10,0.2); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--navy);
}
.timeline-item h4 { font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.timeline-item .company { font-size: 0.85rem; color: var(--orange); margin-bottom: 4px; }
.timeline-item .period { font-size: 0.78rem; color: var(--gray-500); }
.timeline-item p { font-size: 0.85rem; color: var(--gray-400); margin-top: 6px; }

/* ===== COVERAGE ===== */
#cobertura { background: var(--navy-light); }
.coverage-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.coverage-map {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
}
.coverage-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.6) contrast(1.1); }
.coverage-list { list-style: none; }
.coverage-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem; color: var(--gray-300);
}
.coverage-list li::before { content: '📍'; font-size: 1.1rem; }
.coverage-list li:last-child { border-bottom: none; }

/* ===== CONTACT ===== */
#contacto { background: var(--navy); position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 20px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); cursor: pointer;
  text-decoration: none;
}
.contact-card:hover { border-color: rgba(232,117,10,0.3); transform: translateX(6px); box-shadow: var(--shadow-card); }
.contact-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.contact-icon.phone { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.contact-icon.whatsapp { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
.contact-icon.email { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.contact-card h4 { font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.contact-card p { font-size: 0.9rem; color: var(--gray-400); }
.contact-form-wrap {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 40px;
}
.contact-form-wrap h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,117,10,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy); }
.form-submit { width: 100%; }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition); animation: fabBounce 3s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
.whatsapp-fab svg { width: 32px; height: 32px; fill: white; }
@keyframes fabBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== FOOTER ===== */
.footer {
  background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 0 24px; text-align: center;
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img, .footer-brand svg { height: 36px; width: 36px; filter: drop-shadow(0 2px 8px rgba(232, 117, 10, 0.3)); }
.footer-brand span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer p { color: var(--gray-500); font-size: 0.85rem; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin: 16px 0; }
.footer-links a { color: var(--gray-400); font-size: 0.85rem; }
.footer-links a:hover { color: var(--orange); }

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: rgba(15,25,35,0.98);
    padding: 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .exp-grid, .coverage-content, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 64px 0; }
  .nav-brand .nav-logo { width: 36px; height: 36px; }
  .nav-brand-text { font-size: 1rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat { flex: 1; min-width: 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .exp-highlights { grid-template-columns: 1fr; }
}

/* ===== SEASONAL PROMO POPUP ===== */
.promo-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.promo-overlay.active { opacity: 1; visibility: visible; }
.promo-popup {
  background: linear-gradient(145deg, #0f1923 0%, #1a2b3d 100%);
  border: 1px solid rgba(232, 117, 10, 0.25);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 520px; width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 60px rgba(232, 117, 10, 0.08);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.promo-overlay.active .promo-popup { transform: translateY(0) scale(1); }
.promo-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-400); font-size: 1.6rem; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: var(--transition); line-height: 1;
}
.promo-close:hover { background: rgba(255,255,255,0.12); color: var(--white); transform: rotate(90deg); }
.promo-icon-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }
.promo-emoji { font-size: 2.4rem; animation: promoFloat 3s ease-in-out infinite; }
.promo-emoji:nth-child(2) { animation-delay: 0.3s; }
.promo-emoji:nth-child(3) { animation-delay: 0.6s; }
@keyframes promoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.promo-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444; font-size: 0.72rem; font-weight: 700;
  padding: 6px 16px; border-radius: 50px;
  letter-spacing: 0.12em; margin-bottom: 20px;
}
.promo-title {
  font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800;
  color: var(--white); margin-bottom: 14px; line-height: 1.3;
}
.promo-text { color: var(--gray-400); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; }
.promo-text strong { color: var(--orange-light); }
.promo-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 28px; text-align: left;
}
.promo-feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--gray-300);
  background: rgba(255,255,255,0.03); border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.promo-feat span { font-size: 1rem; }
.promo-cta { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px 32px; }
.promo-disclaimer {
  margin-top: 16px; font-size: 0.82rem; color: var(--gray-500);
}
.promo-disclaimer a { color: var(--orange); font-weight: 600; }

@media (max-width: 480px) {
  .promo-popup { padding: 32px 24px; }
  .promo-title { font-size: 1.3rem; }
  .promo-features { grid-template-columns: 1fr; }
  .promo-emoji { font-size: 1.8rem; }
}
