/* ============================================================
   National Streaming — styles.css
   ============================================================ */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0d1b2a;
  --navy2: #132233;
  --navy3: #1a2f46;
  --gold: #c9a227;
  --gold2: #e2b93b;
  --white: #ffffff;
  --gray: #f4f6f9;
  --gray2: #e8ecf1;
  --text: #1e293b;
  --muted: #64748b;
  --green: #25d366;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: 90%;
  max-width: 1160px;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}

.btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--outline-gold {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}
.navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 0.6rem 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
}
.logo-icon--sm {
  width: 34px;
  height: 34px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.12em;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.25em;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-cta {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy3) 55%,
    #2a3a1a 100%
  );
  z-index: 0;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 80% 50%,
      rgba(201, 162, 39, 0.12) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 10% 80%,
      rgba(201, 162, 39, 0.06) 0%,
      transparent 60%
    );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  max-width: 1160px;
  /* max-width: 760px; */
}
.hero__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.text-gold {
  color: var(--gold);
}
.hero__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% {
    top: 6px;
    opacity: 1;
  }
  80% {
    top: 22px;
    opacity: 0;
  }
  100% {
    top: 6px;
    opacity: 0;
  }
}

/* ---------- Sections common ---------- */
.section {
  padding-block: 5rem;
}
.section--light {
  background: var(--white);
}
.section--dark {
  background: var(--navy);
}
.section--mid {
  background: var(--gray);
}
.section--cta {
  background: var(--navy2);
}

.section__tag {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section__tag--gold {
  color: var(--gold2);
}

.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: inherit;
  text-align: center;
}
.section--dark .section__title,
.section--cta .section__title {
  color: var(--white);
}

.section__subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 3rem;
  text-align: center;
  margin-inline: auto;
}
.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}
.about__body {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: justify;
}
.mission-card {
  background: var(--gray);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
.mission-card p {
  color: var(--muted);
  font-size: 0.93rem;
  text-align: justify;
}
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.values-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.value-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.value-card p {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: justify;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}
.service-card:hover {
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 10px;
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  text-align: justify;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
  counter-reset: steps;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  position: relative;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.step-num {
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.step-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.step-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: justify;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--popular {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 40px rgba(201, 162, 39, 0.2);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
}
.price-currency {
  font-size: 0.8rem;
  color: var(--muted);
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray2);
  padding-bottom: 0.6rem;
}
.check {
  display: inline-flex;
  width: 18px;
  height: 18px;
  background: rgba(201, 162, 39, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
}
.check::before {
  content: "";
  display: block;
  margin: auto;
  width: 6px;
  height: 10px;
  border: 2px solid var(--gold);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -2px);
}

.pricing-note {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: #fffbea;
  border: 1px solid #f5e090;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: #7a5c00;
}

/* ---------- Contacto / Formulario ---------- */
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
  padding-block: 1rem;
}
.contact__info {
  text-align: left;
}
.cta__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Form */
.contact__form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.4rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}
.form-group label span {
  color: var(--gold);
}
.form-group input {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.92rem;
  font-family: inherit;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.form-group input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.form-group input.input-error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.form-error {
  font-size: 0.75rem;
  color: #fca5a5;
  min-height: 1rem;
}
.form-submit {
  align-self: flex-start;
  margin-top: 0.4rem;
  font-size: 1rem;
  padding: 0.85rem 2rem;
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
.form-success {
  font-size: 0.9rem;
  color: #86efac;
  font-weight: 600;
  min-height: 1.2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  padding-top: 2.5rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.footer__bottom {
  text-align: center;
  padding: 1.2rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover {
  transform: translateY(-3px);
  background: var(--gold2);
}
.back-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Animations ---------- */
.animate-pop {
  animation: popIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.animate-up {
  animation: fadeUp 0.7s ease both;
}
.delay-1 {
  animation-delay: 0.15s;
}
.delay-2 {
  animation-delay: 0.3s;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact__wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact__info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .hamburger {
    display: flex;
  }
  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--navy2);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  .navbar__nav.open {
    right: 0;
  }
  .nav-link {
    font-size: 1rem;
    color: var(--white);
  }
  .nav-cta {
    margin-top: 1rem;
  }

  /* Hero */
  .hero__content {
    padding-block: 3rem;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sections */
  .section {
    padding-block: 3.5rem;
  }
  .br-desk {
    display: none;
  }

  /* About */
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Pricing */
  .pricing-card--popular {
    margin-top: 1rem;
  }
}

@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-submit {
    width: 100%;
    justify-content: center;
  }
  .hero__ctas .btn {
    font-size: 0.88rem;
  }
  .back-top {
    bottom: 1.2rem;
    right: 1.2rem;
  }
}
