/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #0f172a;
  color: #f9fafb;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #dc2626;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.text-secondary {
  color: #9ca3af;
}

.text-accent {
  color: #dc2626;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: "Inter", sans-serif;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 4px 24px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background: #b91c1c;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.45);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1.5px solid rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #f9fafb;
  border: 1.5px solid rgba(249, 250, 251, 0.2);
}

.btn-outline:hover {
  border-color: rgba(249, 250, 251, 0.5);
  background: rgba(249, 250, 251, 0.05);
  transform: translateY(-2px);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-delay-1 {
  transition-delay: 0.1s;
}
.fade-in-delay-2 {
  transition-delay: 0.2s;
}
.fade-in-delay-3 {
  transition-delay: 0.3s;
}
.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: #dc2626;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #dc2626;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #f9fafb;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.813rem !important;
  color: #f9fafb !important;
  padding: 10px 22px;
  border: 1.5px solid rgba(220, 38, 38, 0.6);
  border-radius: 6px;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: #dc2626;
}

.nav-cta::after {
  display: none !important;
}

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

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: #f9fafb;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #22c55e;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: #dc2626;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-tag {
  padding: 6px 14px;
  background: rgba(249, 250, 251, 0.05);
  border: 1px solid rgba(249, 250, 251, 0.08);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #9ca3af;
}

.hero-desc {
  font-size: 1.063rem;
  color: #9ca3af;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual – Portrait & Cards */
.hero-visual {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-portrait {
  position: relative;
  z-index: 2;
}

.hero-portrait .portrait-frame {
  width: 300px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(249, 250, 251, 0.08);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
}

.hero-portrait .portrait-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(160deg, rgba(220, 38, 38, 0.4), transparent 50%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-portrait .portrait-frame:hover {
  border-color: rgba(220, 38, 38, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}

.hero-portrait .portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249, 250, 251, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 250, 251, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 30%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    black 30%,
    transparent 70%
  );
}

.hero-float-card {
  position: absolute;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(249, 250, 251, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.hero-float-card.card-1 {
  top: 30px;
  right: 10px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 20px;
  right: 40px;
  animation-delay: 2s;
}

.hero-float-card .card-label {
  font-size: 0.688rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.hero-float-card .card-value {
  font-size: 1.375rem;
  font-weight: 700;
}

.hero-float-card .card-value.green {
  color: #22c55e;
}
.hero-float-card .card-value.red {
  color: #dc2626;
}

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

/* Glow accent */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(220, 38, 38, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ===== ABOUT ===== */
.about {
  background: #111827;
  padding: 120px 0;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content p {
  color: #9ca3af;
  font-size: 1.063rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-content p strong {
  color: #f9fafb;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(249, 250, 251, 0.06);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.35s ease;
}

.stat-card:hover {
  border-color: rgba(220, 38, 38, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #dc2626;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.4;
}

/* ===== SERVICES ===== */
.services {
  background: #0f172a;
  padding: 120px 0;
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #111827;
  border: 1px solid rgba(249, 250, 251, 0.06);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #dc2626, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: rgba(220, 38, 38, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  font-size: 0.875rem;
  color: #9ca3af;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.service-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  min-width: 5px;
  background: #dc2626;
  border-radius: 50%;
  margin-top: 7px;
}

/* ===== PROCESS ===== */
.process {
  background: #111827;
  padding: 120px 0;
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(220, 38, 38, 0.1),
    rgba(220, 38, 38, 0.4),
    rgba(220, 38, 38, 0.1)
  );
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.step-number {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: #0f172a;
  border: 2px solid rgba(220, 38, 38, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #dc2626;
  position: relative;
  z-index: 2;
  transition: all 0.35s ease;
}

.process-step:hover .step-number {
  background: rgba(220, 38, 38, 0.1);
  border-color: #dc2626;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.2);
}

.process-step h4 {
  font-size: 0.938rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}

.process-note {
  text-align: center;
  margin-top: 64px;
  font-size: 1.063rem;
  color: #9ca3af;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== TARGET ===== */
.target {
  background: #0f172a;
  padding: 120px 0;
}

.target .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.target-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.target-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #111827;
  border: 1px solid rgba(249, 250, 251, 0.06);
  border-radius: 14px;
  transition: all 0.35s ease;
}

.target-item:hover {
  border-color: rgba(220, 38, 38, 0.15);
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.target-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.target-item p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ===== CTA ===== */
.cta {
  background: #111827;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(220, 38, 38, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cta-content p {
  color: #9ca3af;
  font-size: 1.125rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-contacts {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-preferred {
  margin-top: 20px;
  font-size: 0.813rem;
  color: rgba(156, 163, 175, 0.6);
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #0b1120;
  padding: 60px 0;
  border-top: 1px solid rgba(249, 250, 251, 0.05);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand h4 {
  font-size: 1.063rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-brand h4 span {
  color: #dc2626;
}

.footer-brand p {
  font-size: 0.813rem;
  color: #9ca3af;
}

.footer-contact {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer-contact a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a:hover {
  color: #f9fafb;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(249, 250, 251, 0.05);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(156, 163, 175, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 0;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step:nth-child(4),
  .process-step:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    height: 400px;
    max-width: 380px;
    margin: 0 auto;
  }

  .hero-portrait .portrait-frame {
    width: 260px;
    height: 330px;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .target .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    font-size: 1.125rem;
    color: #f9fafb;
  }

  .nav-links a.nav-cta {
    font-size: 1.125rem !important;
    padding: 12px 28px;
    border-color: #dc2626;
  }

  .nav-hamburger {
    display: flex;
    z-index: 1001;
  }

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

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

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

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

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 260px;
  }
}
