/* ============================================
   PICO DIGITAL — Design System & Styles
   ============================================ */

:root {
  --bg: hsl(220, 20%, 4%);
  --fg: hsl(0, 0%, 100%);
  --card: hsl(220, 18%, 8%);
  --primary: hsl(128, 100%, 26%);
  --primary-fg: hsl(220, 20%, 4%);
  --secondary: hsl(220, 15%, 15%);
  --muted: hsl(215, 15%, 55%);
  --accent: hsl(75, 80%, 55%);
  --border: hsl(220, 15%, 18%);
  --gradient: linear-gradient(135deg, hsl(190, 100%, 50%), hsl(75, 80%, 55%));
  --glow: 0 0 30px hsl(190 100% 50% / 0.2);
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --container: 1200px;
  --shadow-soft: 0 10px 30px hsl(220 40% 2% / 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  text-wrap: pretty;
}

img,
video,
svg,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.font-display {
  font-family: "Space Grotesk", sans-serif;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

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

/* Glass */
.glass {
  background: hsl(220 18% 8% / 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsl(220 15% 18% / 0.5);
}

.glow-primary {
  box-shadow: var(--glow);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  min-height: 42px;
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: hsl(220 18% 8% / 0.72);
  border-bottom: 1px solid hsl(220 15% 18% / 0.35);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
}

.navbar-brand span {
  line-height: 1;
}

.navbar-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-links a {
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-cta-primary,
.nav-cta-secondary {
  white-space: nowrap;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.35rem;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: 0.3s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(220 20% 4% / 0.82),
    hsl(220 20% 4% / 0.55),
    var(--bg)
  );
}

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

.hero-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-desc {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.8s 0.2s ease-out both;
}

.hero-desc-wide {
  max-width: 760px;
}

.section-desc {
  max-width: 760px;
  margin-top: 1rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.4s ease-out both;
}

.hero-btns .btn {
  max-width: 100%;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.hero-trust-card {
  padding: 1rem;
}

.hero-trust-text {
  font-weight: 700;
  color: var(--fg);
  font-size: 0.95rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid hsl(215 15% 55% / 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: var(--primary);
}

/* ---- Sections ---- */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: hsl(220 15% 6%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 1.5rem;
}

.service-card {
  width: 100%;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.35s ease;
  text-align: center;
  min-width: 0;
}

.service-card:hover {
  border-color: hsl(190 100% 50% / 0.5);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: hsl(190 100% 50% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---- Portfolio ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
  text-decoration: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: hsl(220 20% 4% / 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
  background: hsl(220 20% 4% / 0.75);
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--fg);
  font-size: 1.1rem;
  text-align: center;
  padding: 0 1rem;
}

.portfolio-overlay p {
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.play-btn {
  width: 56px;
  height: 56px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-left: 4px;
}

/* ---- About / Authority ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.authority-title {
  margin-bottom: 2rem;
}

.authority-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stats-grid-fluid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stats-grid-results {
  margin-bottom: 3rem;
}

.stat-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- Results ---- */
.results-intro-card {
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  text-align: center;
}

.results-intro-tag {
  margin-bottom: 0.75rem;
}

.results-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.results-intro-desc {
  max-width: 760px;
  margin: 0 auto;
}

.auto-slider-row {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.auto-slider-row-spaced {
  margin-top: 1.5rem;
}

.auto-slider-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.auto-slider-track-left {
  animation: sliderLeft 28s linear infinite;
}

.auto-slider-track-right {
  animation: sliderRight 28s linear infinite;
}

.auto-slider-row:hover .auto-slider-track {
  animation-play-state: paused;
}

.result-slide {
  flex: 0 0 340px;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.result-media {
  aspect-ratio: 16 / 10;
  background: var(--secondary);
  overflow: hidden;
}

.result-media img,
.result-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-content {
  padding: 1.25rem;
  text-align: left;
}

.result-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.result-content p {
  color: var(--muted);
  font-size: 0.95rem;
}

.result-kicker {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.result-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
}

.result-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.3s ease;
}

.contact-link:hover {
  opacity: 0.8;
}

.contact-link-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: hsl(190 100% 50% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-link small {
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-link strong {
  font-weight: 500;
}

.contact-form {
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  resize: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-select {
  color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus {
  border-color: hsl(190 100% 50% / 0.5);
  box-shadow: 0 0 0 3px hsl(190 100% 50% / 0.1);
}

.form-benefits-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-badge {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.form-submit-btn {
  width: 100%;
}

.form-feedback {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- FAQ ---- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ---- CTA Final ---- */
.cta-final-header {
  margin-bottom: 2rem;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-copy-spaced {
  margin-top: 1rem;
}

.footer-title {
  margin-bottom: 1rem;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-btn {
  margin-top: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  text-decoration: none;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: hsl(142, 70%, 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px hsl(142 70% 45% / 0.4);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes sliderLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@keyframes sliderRight {
  from {
    transform: translateX(calc(-50% - 0.75rem));
  }
  to {
    transform: translateX(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   PROCESO NUEVO
========================= */

.pd-process-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.pd-process-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.pd-process-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.pd-process-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #8ea0b8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pd-process-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: #f4f7fb;
  letter-spacing: -0.03em;
}

.pd-process-subtitle {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #7f90a6;
}

.pd-process-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 42px;
  align-items: center;
}

.pd-process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.86), rgba(7, 13, 23, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
  overflow: hidden;
}

.pd-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left top, rgba(16, 255, 114, 0.14), transparent 38%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pd-step-card:hover,
.pd-step-card.is-active {
  transform: translateX(10px);
  border-color: rgba(16, 255, 114, 0.24);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(16, 255, 114, 0.06) inset;
}

.pd-step-card:hover::before,
.pd-step-card.is-active::before {
  opacity: 1;
}

.pd-step-number {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 194, 255, 0.14), rgba(16, 255, 114, 0.1));
  border: 1px solid rgba(16, 255, 114, 0.14);
  color: #10ff72;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pd-step-copy {
  position: relative;
  z-index: 1;
}

.pd-step-copy h3 {
  margin: 0 0 10px;
  color: #f4f7fb;
  font-size: 1.55rem;
  line-height: 1.2;
}

.pd-step-copy p {
  margin: 0;
  color: #8b9ab0;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* RIGHT GRAPHIC */
.pd-growth-visual {
  position: relative;
}

.pd-growth-frame {
  position: relative;
  min-height: 540px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(0, 194, 255, 0.1), transparent 30%),
    radial-gradient(circle at bottom left, rgba(16, 255, 114, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(7, 12, 20, 0.86), rgba(5, 8, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.pd-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 20%, 20% 100%;
  mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 1) 100%);
  opacity: 0.18;
}

.pd-growth-bars {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 54px;
  top: 70px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.pd-bar {
  width: calc(25% - 14px);
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(125, 249, 255, 0.28), rgba(16, 255, 114, 0.16));
  border: 1px solid rgba(125, 249, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 24px rgba(0, 194, 255, 0.08);
  transform-origin: bottom;
  animation: pdBarsGrow 1.2s ease forwards;
  opacity: 0.95;
}

.pd-bar-1 {
  height: 22%;
  animation-delay: 0.15s;
}

.pd-bar-2 {
  height: 40%;
  animation-delay: 0.35s;
}

.pd-bar-3 {
  height: 62%;
  animation-delay: 0.55s;
}

.pd-bar-4 {
  height: 84%;
  animation-delay: 0.75s;
}

@keyframes pdBarsGrow {
  from {
    transform: scaleY(0.12);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 0.95;
  }
}

.pd-growth-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pd-growth-path {
  fill: none;
  stroke: url(#pdGrowthStroke);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#pdGlow);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: pdDrawLine 1.8s cubic-bezier(.22, .61, .36, 1) forwards 0.35s;
}

@keyframes pdDrawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.pd-growth-nodes {
  position: absolute;
  inset: 0;
}

.pd-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10ff72;
  box-shadow:
    0 0 0 6px rgba(16, 255, 114, 0.12),
    0 0 18px rgba(16, 255, 114, 0.45);
  opacity: 0;
  transform: scale(0.3);
  animation: pdPopNode 0.5s ease forwards;
}

.pd-node-1 {
  left: 27%;
  bottom: 38%;
  animation-delay: 0.85s;
}

.pd-node-2 {
  left: 46%;
  bottom: 52%;
  animation-delay: 1.05s;
}

.pd-node-3 {
  left: 65%;
  bottom: 67%;
  animation-delay: 1.2s;
}

.pd-node-4 {
  right: 10%;
  top: 12%;
  animation-delay: 1.35s;
}

@keyframes pdPopNode {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pd-growth-badge {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7, 15, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dce7f3;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  animation: pdFloatBadge 4.5s ease-in-out infinite;
}

.pd-badge-1 {
  left: 18%;
  bottom: 28%;
  animation-delay: 0s;
}

.pd-badge-2 {
  left: 44%;
  bottom: 50%;
  animation-delay: 0.7s;
}

.pd-badge-3 {
  right: 8%;
  top: 8%;
  animation-delay: 1.3s;
}

@keyframes pdFloatBadge {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Reveal on scroll */
.pd-step-card,
.pd-growth-frame {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pd-step-card.is-visible,
.pd-growth-frame.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pd-step-card:nth-child(2) {
  transition-delay: 0.08s;
}

.pd-step-card:nth-child(3) {
  transition-delay: 0.16s;
}

.pd-step-card:nth-child(4) {
  transition-delay: 0.24s;
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .pd-process-layout {
    grid-template-columns: 1fr;
  }

  .pd-growth-frame {
    min-height: 480px;
  }

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

@media (max-width: 991px) {
  .hero {
    min-height: auto;
  }

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

  .hero-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .authority-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.75rem;
  }

  .navbar-inner {
    padding: 0.9rem 0;
  }

  .navbar-brand {
    font-size: 1rem;
    gap: 0.6rem;
  }

  .navbar-brand span {
    max-width: 150px;
  }

  .navbar-logo {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(220 18% 8% / 0.96);
    backdrop-filter: blur(20px);
    padding: 1rem;
    gap: 0.85rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 7.5rem 0 4rem;
  }

  .hero-tag {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .hero-trust-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .section-header h2,
  .results-subtitle,
  .pd-step-copy h3 {
    overflow-wrap: anywhere;
  }

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

  .stats-grid,
  .stats-grid-fluid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .service-card,
  .contact-form,
  .results-intro-card {
    padding: 1.25rem;
  }

  .form-badge {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
  }

  .form-badge strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .faq-grid {
    gap: 1rem;
  }

  .footer {
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-btn {
    width: 100%;
  }

  .result-slide {
    flex: 0 0 82vw;
    max-width: 82vw;
  }

  .results-subtitle {
    font-size: 1.45rem;
  }

  .auto-slider-row {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .pd-process-section {
    padding: 86px 0;
  }

  .pd-process-head {
    margin-bottom: 42px;
  }

  .pd-process-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .pd-process-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .pd-step-card {
    grid-template-columns: 58px 1fr;
    padding: 20px;
    border-radius: 22px;
  }

  .pd-step-card:hover,
  .pd-step-card.is-active {
    transform: translateX(0);
  }

  .pd-step-number {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .pd-step-copy h3 {
    font-size: 1.18rem;
  }

  .pd-step-copy p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .pd-growth-frame {
    min-height: 380px;
    border-radius: 24px;
  }

  .pd-growth-bars {
    left: 28px;
    right: 28px;
    bottom: 30px;
    top: 44px;
    gap: 12px;
  }

  .pd-growth-badge {
    font-size: 0.76rem;
    padding: 8px 10px;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 7rem;
  }

  .btn {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .section-tag {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    line-height: 1.08;
  }

  .hero-desc,
  .about-text,
  .pd-process-subtitle,
  .pd-step-copy p {
    font-size: 0.98rem;
  }

  .result-slide {
    flex: 0 0 86vw;
    max-width: 86vw;
  }

  .pd-step-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pd-step-number {
    width: 46px;
    height: 46px;
  }

  .pd-growth-frame {
    min-height: 320px;
  }

  .pd-growth-bars {
    left: 18px;
    right: 18px;
    bottom: 22px;
    top: 38px;
    gap: 10px;
  }

  .pd-growth-badge {
    font-size: 0.7rem;
    padding: 6px 8px;
  }

  .pd-badge-1 {
    left: 10%;
    bottom: 24%;
  }

  .pd-badge-2 {
    left: 38%;
    bottom: 46%;
  }

  .pd-badge-3 {
    right: 5%;
    top: 8%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .auto-slider-track-left,
  .auto-slider-track-right {
    animation: none !important;
  }
}