/* ============================================
   PLANNER PACK — Static Website
   Colors: Magenta (#FF00FF), Black, Grays
   ============================================ */

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

:root {
  --magenta: #FF00FF;
  --magenta-dark: #cc00cc;
  --black: #1a1a1a;
  --dark: #2a2a2a;
  --gray-dark: #4a4a4a;
  --gray: #6b6b6b;
  --gray-light: #e8e8e8;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  transition: opacity 0.3s;
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a:hover {
  color: var(--magenta);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--magenta);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 6px;
  transition: all 0.3s;
  border: 2px solid var(--magenta);
}

.btn:hover {
  background: var(--magenta-dark);
  border-color: var(--magenta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 255, 0.3);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  border-radius: 5px;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.btn-hero {
  padding: 16px 44px;
  font-size: 1rem;
  border: 2px solid var(--white);
  background: transparent;
}

.btn-hero:hover {
  background: var(--magenta);
  border-color: var(--magenta);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.8) 50%, rgba(74, 74, 74, 0.6) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(135deg, transparent 0%, rgba(107, 107, 107, 0.15) 100%);
  transform: skewX(-12deg);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-logo-name {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--white);
  letter-spacing: 0.15em;
  line-height: 1;
}

.hero-logo-arrows {
  width: 60px;
  height: 50px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--off-white);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 24px;
}

.section-title--center {
  text-align: center;
  margin-bottom: 56px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-dark);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-text p {
  color: var(--gray-dark);
  margin-bottom: 16px;
  font-size: 1rem;
}

.section-text strong {
  color: var(--black);
}

.highlight {
  background: linear-gradient(to right, var(--magenta), var(--magenta));
  background-size: 100% 30%;
  background-position: 0 88%;
  background-repeat: no-repeat;
  font-weight: 700;
  color: var(--black);
}

.highlight-text {
  font-style: italic;
  color: var(--magenta) !important;
  font-weight: 600;
  font-size: 1.1rem !important;
  margin-bottom: 24px;
}

/* Section Grid */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-grid--reverse {
  direction: rtl;
}

.section-grid--reverse > * {
  direction: ltr;
}

/* Visual cards */
.visual-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  border: 1px solid var(--gray-light);
}

.visual-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin: 20px 0 12px;
}

.visual-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.icon-large {
  width: 80px;
  height: 80px;
  color: var(--black);
}

/* ============================================
   SERVICES
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--magenta);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--gray-dark);
  font-size: 0.92rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.service-card strong {
  color: var(--black);
}

/* ============================================
   METRICS
   ============================================ */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.metric {
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  transition: all 0.4s ease;
}

.metric:hover {
  border-color: var(--magenta);
  box-shadow: 0 8px 30px rgba(255, 0, 255, 0.1);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  color: var(--black);
  line-height: 1;
}

.metric-symbol {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--magenta);
}

.metric-label {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

/* ============================================
   CALL CENTER
   ============================================ */

.callcenter-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.callcenter-icon svg {
  width: 100%;
  height: 100%;
}

.callcenter-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: 12px;
  border-left: 4px solid var(--magenta);
  transition: all 0.3s;
}

.feature:hover {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateX(4px);
}

.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  flex-shrink: 0;
}

.feature span {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
}

/* ============================================
   NOSOTROS
   ============================================ */

.nosotros-title {
  font-size: 3.8rem;
}

.nosotros-tagline {
  text-align: center;
  font-style: italic;
  color: var(--gray-dark);
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.nosotros-text {
  max-width: 800px;
  margin: 0 auto 64px;
}

.nosotros-text p {
  color: var(--gray-dark);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.nosotros-text strong {
  color: var(--black);
}

/* Valores */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.valor-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  transition: all 0.4s ease;
}

.valor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--magenta);
}

.valor-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.valor-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--black);
}

/* CTA */
.cta-section {
  text-align: center;
  padding-top: 24px;
}

.cta-text {
  color: var(--magenta);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 32px;
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  margin-bottom: 8px;
}

.footer-logo p {
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--magenta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for grid items */
.services-grid .service-card:nth-child(2).fade-in { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(3).fade-in { transition-delay: 0.3s; }

.valores-grid .valor-card:nth-child(2).fade-in { transition-delay: 0.1s; }
.valores-grid .valor-card:nth-child(3).fade-in { transition-delay: 0.2s; }
.valores-grid .valor-card:nth-child(4).fade-in { transition-delay: 0.3s; }
.valores-grid .valor-card:nth-child(5).fade-in { transition-delay: 0.4s; }

.metrics .metric:nth-child(2).fade-in { transition-delay: 0.15s; }
.metrics .metric:nth-child(3).fade-in { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid .service-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }

  .valores-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--dark) !important;
    font-size: 1.1rem;
  }

  .hero-logo-name {
    font-size: 3rem;
  }

  .hero-logo-arrows {
    width: 40px;
    height: 34px;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .nosotros-title {
    font-size: 2.8rem;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-grid--reverse {
    direction: ltr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:last-child {
    grid-column: span 1;
    max-width: none;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-logo-name {
    font-size: 2.4rem;
  }

  .hero-logo-arrows {
    width: 32px;
    height: 28px;
  }

  .section-title {
    font-size: 2rem;
  }

  .nosotros-title {
    font-size: 2.2rem;
  }

  .metric-number {
    font-size: 3.5rem;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .valor-card {
    padding: 24px 12px;
  }
}
