/* ==========================================================================
   Social Media Perú — Variables base
   Cambia estos valores para aplicar la marca. Todo el theme lee de aquí.
   ========================================================================== */

:root {
	/* Colores — placeholder, reemplazar con paleta final de Social Media Perú */
	--smp-color-primary: #ff3366;
	--smp-color-secondary: #1a1a2e;
	--smp-color-bg: #ffffff;
	--smp-color-text: #1a1a1a;
	--smp-color-muted: #6b7280;

	/* Tipografías — cargadas desde Google Fonts en inc/enqueue.php */
	--smp-font-heading: "Poppins", sans-serif;
	--smp-font-body: "Inter", sans-serif;

	/* Espaciados */
	--smp-radius: 12px;
	--smp-max-width: 1200px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--smp-font-heading), sans-serif;
	line-height: 1.2;
	margin: 0 0 1rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--smp-color-bg);
	border-bottom: 1px solid #eee;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 1rem;
}

.site-branding img {
	max-height: 40px;
}

.main-navigation ul {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	font-weight: 500;
}

/* Submenús (mega menú simple para Publicidad Digital > Meta Ads) */
.main-navigation li {
	position: relative;
}

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	background: var(--smp-color-bg);
	border: 1px solid #eee;
	border-radius: var(--smp-radius);
	padding: 0.5rem;
	min-width: 220px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	display: flex;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--smp-color-secondary);
	color: #fff;
	padding-block: 3rem;
	margin-top: 4rem;
}

.site-footer a {
	color: #fff;
}

/* ==========================================================================
   Utilidades
   ========================================================================== */

.section {
	padding-block: clamp(3rem, 6vw, 6rem);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--smp-radius);
	background: var(--smp-color-primary);
	color: #fff;
	font-weight: 600;
}

.ri {
	line-height: 1;
}
/* ==========================================================================
   PÁGINA INTERNA — SOCIAL MEDIA
   Reutiliza: --color1/2/3, --font-heading, --font1, --font2, .tagline,
   .btn-primary, .btn-secondary, .hero-buttons, .float-anim-1/2, .main-container
   ========================================================================== */
 
/* --- Utilidad de revelado al hacer scroll ------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 0.12s);
}
 
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
 
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
 
.only-mobile { display: none; }
 
/* ==========================================================================
   HERO
   ========================================================================== */
.svc-hero {
  position: relative;
  width: 100%;
  background-color: var(--color2);
  padding: 3rem 1.5rem 5rem;
  overflow: hidden;
}
 
.svc-hero-bg-hashtag {
  position: absolute;
  top: -30px;
  right: -60px;
  font-size: 16rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  user-select: none;
  z-index: 1;
  will-change: transform;
}
 
.svc-hero-container {
  position: relative;
  z-index: 2;
}
 
.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3rem;
}
 
.svc-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}
 
.svc-breadcrumb a:hover { color: var(--color1); }
 
.svc-breadcrumb .current { color: var(--color1); }
 
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}
 
.svc-hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--color3);
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}
 
.svc-hero-title .highlight { color: var(--color1); }
.svc-hero-title .dot { color: var(--color3); }
 
.svc-hero-description {
  font-family: var(--font1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 2.2rem;
}
 
/* --- Visual: tarjetas flotantes por plataforma --- */
.svc-hero-visual {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.svc-orbit-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}
 
.svc-orbit-ring::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 1px dashed rgba(212, 255, 0, 0.2);
  border-radius: 50%;
}
 
.svc-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
 
.svc-float-card i {
  font-size: 1.3rem;
  color: var(--color1);
}
 
.svc-float-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
 
.svc-float-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color3);
}
 
.svc-card-fb { top: 10px; left: -10px; }
.svc-card-ig { top: 130px; right: -20px; }
.svc-card-tk { bottom: 10px; left: 30px; }
 
/* ==========================================================================
   MANEJO DE REDES SOCIALES — Tabs
   ========================================================================== */
.svc-platforms {
  width: 100%;
  background-color: var(--color2);
  padding: 1rem 1.5rem 6rem;
  color: var(--color3);
}
 
.svc-section-header {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
 
.svc-section-title {
  font-family: var(--font1);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}
 
.svc-section-title .highlight { color: var(--color1); }
 
.svc-section-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}
 
.svc-tabs-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
 
.svc-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.9rem 1.4rem;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}
 
.svc-tab-btn i { font-size: 1rem; }
 
.svc-tab-btn:hover { color: rgba(255, 255, 255, 0.85); }
 
.svc-tab-btn.is-active { color: var(--color1); }
 
.svc-tab-indicator {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background-color: var(--color1);
  transition: left 0.35s ease, width 0.35s ease;
}
 
.svc-tabs-panels {
  position: relative;
}
 
.svc-panel {
  display: none;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
 
.svc-panel.is-active {
  display: grid;
  animation: svcPanelFade 0.5s ease;
}
 
@keyframes svcPanelFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
 
.svc-panel-media {
  border-radius: 8px;
  overflow: hidden;
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
 
.svc-panel-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.75;
}
 
.svc-panel-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color1);
  letter-spacing: 1.5px;
  margin-bottom: 0.8rem;
}
 
.svc-panel-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color3);
  line-height: 1.15;
  margin-bottom: 1rem;
}
 
.svc-panel-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
  max-width: 440px;
}
 
.svc-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}
 
.svc-panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}
 
.svc-panel-list i {
  color: var(--color1);
  font-size: 1rem;
  flex-shrink: 0;
}
 
.svc-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color3);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.3s ease, gap 0.3s ease;
}
 
.svc-panel-link:hover {
  color: var(--color1);
  gap: 12px;
}
 
/* ==========================================================================
   COMMUNITY MANAGEMENT
   ========================================================================== */
.svc-community {
  width: 100%;
  background-color: var(--color2);
  padding: 2rem 1.5rem 6rem;
  color: var(--color3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
 
.svc-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
 
.svc-community-content p { margin-bottom: 2rem; }
 
.svc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
 
.svc-stat { display: flex; flex-direction: column; }
 
.svc-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color3);
  line-height: 1;
  display: inline;
}
 
.svc-stat-unit {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color1);
}
 
.svc-stat .stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
}
 
/* --- Mockup de chat --- */
.svc-chat-mockup {
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
 
.svc-chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.9rem 1rem;
  background-color: #141414;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
 
.svc-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
}
 
.svc-chat-title {
  margin-left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
 
.svc-chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
  min-height: 260px;
}
 
.svc-msg {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
 
.svc-msg.is-shown { opacity: 1; transform: translateY(0) scale(1); }
 
.svc-msg-in {
  align-self: flex-start;
  background-color: #1e1e1e;
  color: rgba(255, 255, 255, 0.85);
  border-bottom-left-radius: 4px;
}
 
.svc-msg-out {
  align-self: flex-end;
  background-color: var(--color1);
  color: var(--color2);
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
 
.svc-typing {
  align-self: flex-end;
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background-color: rgba(212, 255, 0, 0.15);
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
 
.svc-typing.is-shown { opacity: 1; }
 
.svc-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color1);
  animation: svcTypingBounce 1s infinite ease-in-out;
}
 
.svc-typing span:nth-child(2) { animation-delay: 0.15s; }
.svc-typing span:nth-child(3) { animation-delay: 0.3s; }
 
@keyframes svcTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30% { transform: translateY(-4px); opacity: 1; }
}
 
/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.svc-cta {
  position: relative;
  width: 100%;
  background-color: var(--color2);
  padding-bottom: 5rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
 
.svc-ticker {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  margin-bottom: 4rem;
}
 
.svc-ticker-track {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: max-content;
  animation: svcTickerScroll 22s linear infinite;
}
 
.svc-ticker-track span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}
 
.svc-ticker-dot { color: var(--color1) !important; }
 
@keyframes svcTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
 
.svc-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
 
.svc-cta-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--color3);
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}
 
.svc-cta-title .highlight { color: var(--color1); }
 
.svc-cta-inner .btn-primary { margin: 0 auto; }
 
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .svc-hero-title { font-size: 2.9rem; }
 
  .svc-community-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
 
  .svc-chat-mockup { margin: 0; }
}
 
@media (max-width: 900px) {
  .svc-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
 
  .svc-hero-description { margin: 0 auto 2.2rem; }
  .hero-buttons { justify-content: center; }
  .svc-breadcrumb { justify-content: center; }
 
  .svc-panel {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
 
  .svc-panel-media img { height: 260px; }
  .svc-panel-content p { max-width: 100%; }
}
 
@media (max-width: 650px) {
  .only-mobile { display: inline; }
  .svc-hero-title { font-size: 2.3rem; }
  .svc-section-title { font-size: 1.8rem; }
  .svc-cta-title { font-size: 1.9rem; }
 
  .svc-hero-visual { height: 300px; }
  .svc-orbit-ring { width: 200px; height: 200px; }
  .svc-float-card { padding: 10px 12px; }
 
  .svc-tabs-nav {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
 
  .svc-stats-row { grid-template-columns: 1fr; gap: 1rem; }
}