/* ═══════════════════════════════════════════════
   GoTV — Estilos Compartidos
   gotvcunduacan@gmail.com
   ═══════════════════════════════════════════════ */

:root {
  --orange: #FF6B00;
  --orange-light: #FF8C00;
  --orange-dark: #D45500;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --white: #FFFFFF;
  --gray: #F5F5F5;
  --gray2: #E8E8E8;
  --text: #333333;
  --green-wa: #25D366;
}

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

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

/* ── NAVBAR ───────────────────────────────────── */
nav {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(255,107,0,0.3);
}

.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--white);
}
.logo-text span { color: var(--orange); }
.logo-sub {
  font-size: 9px;
  color: #999;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
}

nav ul { display: flex; list-style: none; gap: 30px; }
nav ul a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
nav ul a:hover,
nav ul a.active { color: var(--orange); }

.btn-nav {
  background: var(--orange);
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 800 !important;
  font-size: 13px !important;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-nav:hover { background: var(--orange-dark); transform: scale(1.04); }

/* ── HAMBURGUESA ──────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.97);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  animation: menuFadeIn 0.3s ease;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: white;
  text-decoration: none;
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  letter-spacing: 4px;
  transition: color 0.2s;
  padding: 8px 20px;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn-wa-mobile {
  background: var(--green-wa);
  color: white !important;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 18px !important;
  letter-spacing: 2px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

/* ── BOTONES COMUNES ──────────────────────────── */
.btn-wa {
  background: var(--green-wa);
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.4); }

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: white; color: var(--black); }

.btn-orange {
  background: var(--orange);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ── SECTION HELPERS ─────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.section-icon {
  width: 44px; height: 44px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--black);
}
.section-sub { color: #777; font-size: 13px; font-weight: 600; }

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a0a00 50%, #0A0A0A 100%);
  padding: 60px 5%;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,107,0,0.15) 0%, transparent 70%);
}
.page-hero h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: 64px;
  color: white;
  letter-spacing: 4px;
  position: relative;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p {
  color: #aaa;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  position: relative;
}

/* ── LOGO IMG (navbar) ────────────────────────── */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a0a00 50%, #0A0A0A 100%);
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 70px 5%;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(255,107,0,0.18) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 560px;
  animation: fadeInLeft 0.8s ease both;
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-logo-img {
  width: 340px;
  max-width: 90%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 24px rgba(255,107,0,0.35));
}
.hero-tagline {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px; color: white;
  letter-spacing: 6px; margin-bottom: 18px;
}
.hero-desc {
  color: #ccc; font-size: 15px;
  line-height: 1.7; margin-bottom: 34px; font-weight: 600;
}
.hero-desc strong { color: white; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: absolute; right: 6%; top: 50%;
  transform: translateY(-50%);
  animation: fadeInRight 0.8s ease both;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateY(-50%) translateX(40px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.speed-badge {
  background: radial-gradient(circle at center, #1a1a1a, #0a0a0a);
  border: 3px solid var(--orange);
  border-radius: 50%;
  width: 160px; height: 160px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 0 50px rgba(255,107,0,0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255,107,0,0.5); }
  50%       { box-shadow: 0 0 80px rgba(255,107,0,0.8); }
}
.speed-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 60px; color: var(--orange); line-height: 1;
}
.speed-unit { font-size: 14px; color: white; font-weight: 700; }

/* ── FOOTER LOGO IMG ──────────────────────────── */
.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 8px;
  opacity: 0.9;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--black);
  padding: 50px 5% 20px;
  color: #888;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #222;
  margin-bottom: 20px;
}
.footer-brand-sub {
  font-size: 11px; color: #666;
  margin-top: 4px; margin-bottom: 10px;
  letter-spacing: 2px; text-transform: uppercase;
}
.footer-brand-desc { font-size: 12px; color: #666; line-height: 1.6; }
.footer-heading {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px; letter-spacing: 2px;
  color: white; margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: #888; text-decoration: none;
  font-size: 13px; font-weight: 600; transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-link {
  display: flex; align-items: center; gap: 10px;
  color: #888; text-decoration: none;
  font-size: 13px; font-weight: 600; transition: color 0.2s;
}
.social-link:hover { color: white; }
.social-icon {
  width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.si-fb { background: #1877F2; }
.si-wa { background: var(--green-wa); }
.footer-contact p { font-size: 13px; font-weight: 700; color: #ccc; margin-bottom: 6px; }
.footer-contact a {
  color: #888; text-decoration: none;
  font-size: 12px; font-weight: 600; transition: color 0.2s; display: block;
}
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { text-align: center; font-size: 12px; color: #555; font-weight: 600; }
.footer-bottom span { color: var(--orange); }

/* ── FLOATING WHATSAPP ───────────────────────── */
.floating-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  cursor: pointer; z-index: 999;
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── FORM ────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-input {
  border: 2px solid var(--gray2);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 600;
  outline: none; transition: border-color 0.2s;
  color: var(--text); background: var(--gray);
}
.form-input:focus { border-color: var(--orange); background: white; }
.form-input::placeholder { color: #bbb; }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 90px; }

.btn-submit {
  background: var(--orange); color: white;
  padding: 15px 32px; border-radius: 8px;
  font-weight: 800; font-size: 15px;
  border: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; transition: all 0.2s;
  width: 100%; justify-content: center;
  font-family: 'Nunito', sans-serif;
}
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,0,0.3); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }

.form-msg {
  padding: 14px 18px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  margin-top: 14px; display: none;
}
.form-msg.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.form-msg.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }

.spinner {
  width: 18px; height: 18px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  nav ul { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .hero-logo-img { width: 260px; }
  .page-hero h1 { font-size: 44px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .hero-logo-img { width: 200px; }
  .page-hero h1 { font-size: 34px; }
}
