:root {
  /* Brand Colors Core */
  --c-pink: #E52A2D;
  --c-blue: #3AB4E6;
  --c-orange: #F08022;
  --c-yellow: #FFE11A;
  --c-purple: #993399;
  --c-green: #7BB242;

  /* Theme Colors */
  --bg-dark: #131313;
  --bg-white: #ffffff;
  --bg-offwhite: #f9f9f9;
  --text-dark: #131313;
  --text-light: #fefefe;
  --text-gray: #555555;

  /* Fonts */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, .supertitle, .footer-brand, .section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
}

/* Utilities */
.text-center { text-align: center; }
.text-pink { color: var(--c-pink); }
.text-white { color: var(--text-light); }
.color-blue { color: var(--c-blue); }
.color-orange { color: var(--c-orange); }
.color-green { color: var(--c-green); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.dark-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.light-section {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(19, 19, 19, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.8rem 4rem;
}
.logo img {
  height: 40px;
  object-fit: contain;
  /* El logo es a color, así que lo dejamos tal cual */
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}
nav a:hover {
  color: var(--c-pink);
}
.btn-primary {
  background: var(--c-pink);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  color: #fff;
  background: var(--bg-dark);
  border: 1px solid var(--c-pink);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Animated Floating Orbs */
.hero-bg-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: floatOrb 15s infinite alternate ease-in-out;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background-color: var(--c-pink);
  top: -10%;
  left: -20%;
  animation-duration: 20s;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background-color: var(--c-blue);
  bottom: -30%;
  right: -20%;
  animation-duration: 26s;
  animation-direction: alternate-reverse;
}
.orb-3 {
  width: 350px;
  height: 350px;
  background-color: var(--c-purple);
  top: 30%;
  left: 45%;
  animation-duration: 18s;
}
.orb-4 {
  width: 450px;
  height: 450px;
  background-color: var(--c-yellow);
  top: -15%;
  right: 10%;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(150px, -200px) scale(1.1); }
  66% { transform: translate(-100px, 150px) scale(0.9); }
  100% { transform: translate(-150px, -100px) scale(1.2); }
}

.hero-content {
  max-width: 900px;
  z-index: 10;
}
.supertitle {
  font-size: 1.5rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}
.main-headline {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 400;
}
.main-headline span {
  color: var(--c-pink);
  font-weight: 700;
}
.hero-tags {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--c-pink);
}
.divider {
  color: var(--text-gray);
}
.scroll-wrapper {
  position: absolute;
  bottom: 3rem;
  left: 5rem;
  color: #fff;
  font-size: 2rem;
  animation: float 2s infinite ease-in-out;
  z-index: 10;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Top Bar Stats */
.top-bar {
  background-color: var(--c-pink);
  color: white;
  text-align: center;
  padding: 0.8rem;
}
.top-bar .section-title {
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin: 0;
}

/* Stats Section */
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.stats-header h2 {
  font-size: 3.5rem;
  color: var(--text-dark);
  margin-bottom: 0px;
}
.stats-header p {
  font-size: 1.5rem;
  color: var(--c-pink);
  margin-bottom: 4rem;
  font-weight: 300;
}
.grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.icon.glow {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: grayscale(1) invert(0.2) sepia(1) hue-rotate(315deg) saturate(500%);
}
.stat-number {
  font-size: 3rem;
  color: var(--c-pink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
}

/* About Intro */
.about-section {
  padding: 0 2rem 4rem 2rem;
}
.lead-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: var(--text-gray);
}
.pillars {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: bold;
}
.pillar { margin: 0 0.5rem; }

/* Services Grid */
.services-section {
  padding-bottom: 6rem;
}
.section-heading {
  font-size: 3.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.service-card.bg-dark {
  background-color: var(--bg-dark);
}

/* Accent Borders */
.border-top-pink { border-top: 6px solid var(--c-pink); }
.border-top-blue { border-top: 6px solid var(--c-blue); }
.border-top-yellow { border-top: 6px solid var(--c-yellow); }
.border-top-orange { border-top: 6px solid var(--c-orange); }
.border-top-purple { border-top: 6px solid var(--c-purple); }
.border-top-green { border-top: 6px solid var(--c-green); }
.border-top-red { border-top: 6px solid var(--c-pink); }

.border-all-rainbow {
  border: 4px solid transparent;
  background-image: linear-gradient(var(--bg-dark), var(--bg-dark)), linear-gradient(to right, var(--c-blue), var(--c-orange), var(--c-yellow), var(--c-purple), var(--c-green), var(--c-pink));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.bg-dark .service-title { color: var(--text-light); }

.service-subtitle {
  color: var(--c-pink);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.service-text {
  color: var(--text-light);
  font-size: 1.1rem;
}
.service-features {
  list-style: none;
  font-size: 1rem;
}
.service-features li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-gray);
}
.service-features li::before {
  content: '▸';
  color: var(--c-pink);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Footer */
.footer {
  padding: 6rem 2rem 4rem 2rem;
}
.footer-slogan {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.8rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  line-height: 1.4;
  color: #aaaaaa;
  text-transform: none;
}
.footer-brand {
  font-size: 5rem;
  margin-bottom: 3rem;
  color: #fff;
  line-height: 1;
}
.contact-info {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #ddd;
}
.contact-info a {
  color: var(--c-pink);
  text-decoration: none;
  font-weight: bold;
}
.contact-info p { margin-bottom: 0.5rem; }

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  font-family: var(--font-display);
}
.icon-circle {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}
.icon-circle:hover {
  background-color: var(--c-pink);
  border-color: var(--c-pink);
  color: #fff;
}
.legal-links {
  margin-bottom: 2rem;
}
.legal-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.copyright {
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #222;
  padding-top: 2rem;
}

/* Responsive */
@media(max-width: 992px) {
  .main-headline { font-size: 3.5rem; }
  .footer-brand { font-size: 3.5rem; }
  .navbar { padding: 1.2rem 2rem; }
}
@media(max-width: 768px) {
  .hero { padding: 0 2rem; text-align: center; align-items: center; }
  .main-headline { font-size: 2.8rem; }
  .hero-tags { justify-content: center; }
  .scroll-wrapper { left: 50%; transform: translateX(-50%); }
  .navbar nav { display: none; }
  .footer-brand { font-size: 2.5rem; }
  .footer-slogan { font-size: 1.3rem; }
}

/* Click Ripple Animation */
.click-ripple {
  position: absolute;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
  filter: blur(8px);
  animation: rippleAnim 0.8s ease-out forwards;
}

@keyframes rippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}
