/* =========================================================
   PLAYNET SOLUCIONES — Hoja de estilos global, mobile-first
   ========================================================= */

/* ── Variables ────────────────────────────────────────── */
:root {
  --red:        #E31E24;
  --red-dark:   #b81820;
  --red-light:  #ff4c52;
  --dark:       #111111;
  --dark-2:     #1e1e1e;
  --dark-3:     #2a2a2a;
  --gray:       #6b7280;
  --gray-light: #f4f4f6;
  --white:      #ffffff;
  --font:       'Inter', 'Montserrat', Arial, sans-serif;
  --radius:     12px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.12);
  --shadow-md:  0 6px 24px rgba(0,0,0,.18);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.25);
  --trans:      .25s ease;
}

/* ── Reset / Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utilities ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(227,30,36,.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 24px rgba(227,30,36,.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
}
.section-tag {
  display: inline-block;
  background: rgba(227,30,36,.1);
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
.section-title span { color: var(--red); }
.section-sub {
  font-size: 1rem;
  color: var(--gray);
  margin-top: 10px;
  max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Navbar ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17,17,17,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background var(--trans);
}
.navbar.scrolled {
  background: rgba(17,17,17,.98);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
}
.nav-logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
}
.nav-logo-text span { color: var(--red); }
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--trans);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-cta { display: none; }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--trans);
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--trans);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .mob-cta {
  margin-top: 16px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  justify-content: center;
  font-size: 1rem;
}
.mobile-menu .mob-cta:hover { background: var(--red-dark); color: var(--white); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0505 50%, #1a0505 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(227,30,36,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(227,30,36,.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 10px 0;
  text-align: center;
}
.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.hero-logo-wrap img {
  height: auto;
  width: 100%;
  max-width: 125px;
  border-radius: 0;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.55));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(227,30,36,.15);
  border: 1px solid rgba(227,30,36,.35);
  color: #ff7c7f;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}
.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hero-title .accent { color: var(--red); }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 440px;
  margin: 0 auto;
}
.hero-stat {
  background: rgba(255,255,255,.04);
  padding: 16px 8px;
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.35);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll i { font-size: 1.1rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Ticker / Social proof bar ────────────────────────── */
.ticker-bar {
  background: var(--red);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: ticker 18s linear infinite;
  white-space: nowrap;
}
.ticker-inner span {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-inner span::before {
  content: '●';
  font-size: .5rem;
  opacity: .7;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Services Section ─────────────────────────────────── */
.services {
  padding: 72px 0;
  background: var(--gray-light);
}
.services-header {
  margin-bottom: 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(227,30,36,.2);
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(227,30,36,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--red);
  flex-shrink: 0;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}
.service-card p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
}
.service-card .service-link {
  margin-top: auto;
  color: var(--red);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans);
}
.service-card:hover .service-link { gap: 10px; }

/* ── Why Us Section ───────────────────────────────────── */
.why-us {
  padding: 72px 0;
  background: var(--white);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.why-visual {
  background: linear-gradient(135deg, var(--dark) 0%, #2a0606 100%);
  border-radius: 20px;
  padding: 40px 32px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(227,30,36,.15);
}
.why-visual img {
  height: 100px;
  width: auto;
  margin: 0 auto 20px;
  border-radius: 12px;
  position: relative;
}
.why-visual-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
}
.why-visual-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  position: relative;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-num {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-size: .9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item h4 { font-size: .98rem; font-weight: 700; margin-bottom: 4px; }
.why-item p { font-size: .88rem; color: var(--gray); line-height: 1.5; }

/* ── Process Section ──────────────────────────────────── */
.process {
  padding: 72px 0;
  background: var(--dark);
}
.process .section-title { color: var(--white); }
.process .section-tag { background: rgba(227,30,36,.2); }
.process .section-sub { color: rgba(255,255,255,.5); }
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
.process-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: background var(--trans), border-color var(--trans);
}
.process-step:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(227,30,36,.3);
}
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(227,30,36,.2);
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.process-step p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* ── CTA Strip ────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 48px 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.cta-strip p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ── Contact Section ──────────────────────────────────── */
.contact {
  padding: 72px 0;
  background: var(--gray-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-info-block h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}
.contact-info-block p {
  color: var(--gray);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: .82rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.contact-item-text span {
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
}
.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 700;
  transition: transform var(--trans), box-shadow var(--trans);
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.social-btn.fb { background: #1877f2; color: var(--white); }
.social-btn.wa { background: #25d366; color: var(--white); }
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--dark-2);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: .87rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .87rem;
  transition: color var(--trans);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a:hover { color: var(--red); }
.footer-col ul li a i { font-size: .75rem; color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; }
.footer-bottom a { color: var(--red); font-weight: 700; }

/* ── Scroll reveal ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Floating WA button ───────────────────────────────── */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform var(--trans), box-shadow var(--trans);
}
.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
}

/* ========================================================
   TABLET  (≥ 640px)
   ======================================================== */
@media (min-width: 640px) {
  .hero-btns { flex-direction: row; justify-content: center; }
  .cta-btns { flex-direction: row; justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-socials { flex-direction: row; }
  .hero-logo-wrap img { max-width: 200px; }
}

/* ========================================================
   DESKTOP  (≥ 1024px)
   ======================================================== */
@media (min-width: 1024px) {
  .section-title { font-size: 2.25rem; }
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .hero-title { font-size: 3.4rem; }
  .hero-desc { font-size: 1.15rem; }
  .hero-inner { padding: 80px 0; }
  .hero-logo-wrap img { max-width: 250px; height: auto; }
  .hero-stats { max-width: 520px; }
  .hero-stat-num { font-size: 2rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-inner { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .contact-map iframe { height: 340px; }
  .contact-map { min-height: 340px; }
  .cta-strip h2 { font-size: 2.2rem; }
}
