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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background-color: #f9fafb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  color: #0f172a;
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
  color: #4b5563;
  opacity: 0.9;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8, #6366f1);
  transition: width 0.18s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: #111827;
}

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

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #ecfdf5;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.25);
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.32);
}

.nav-cta.secondary {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: #111827;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  color: #0f172a;
  font-size: 1.5rem;
}

/* Hero / Common sections */
.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.hero-title span.accent {
  background: linear-gradient(to right, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.hero-metadata span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-metadata span strong {
  color: #0f172a;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease,
    color 0.1s ease;
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #4f46e5);
  color: #eff6ff;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: #1f2937;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-outline:hover {
  background: #f9fafb;
}

.hero-card {
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #eff6ff, #eef2ff 55%, #f9fafb);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-pill {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  color: #15803d;
  font-weight: 600;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.metric-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.metric-sub {
  font-size: 0.8rem;
  color: #22c55e;
}

.metric-sub.negative {
  color: #ef4444;
}

.hero-footnote {
  font-size: 0.75rem;
  color: #6b7280;
}

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

.section-alt {
  padding: 3.5rem 0 4rem;
  background: radial-gradient(circle at top left, #eff6ff, #f9fafb 55%, #f3f4f6);
  border-top: 1px solid rgba(209, 213, 219, 0.7);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}

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

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6366f1;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #6b7280;
  max-width: 640px;
  margin: 0 auto;
}

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

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.1rem 1.1rem;
  border: 1px solid rgba(209, 213, 219, 0.85);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.feature-icon.hr {
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
}

.feature-icon.payroll {
  background: rgba(34, 197, 94, 0.08);
  color: #15803d;
}

.feature-icon.tasks {
  background: rgba(234, 179, 8, 0.08);
  color: #a16207;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.feature-text {
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 0.45rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.feature-tag span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.feature-list {
  list-style: none;
  font-size: 0.84rem;
  color: #4b5563;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.feature-list li span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #22c55e;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-card.highlight {
  border-color: #6366f1;
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.25);
  position: relative;
}

.badge-popular {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  font-weight: 600;
}

.pricing-name {
  font-weight: 600;
  font-size: 1rem;
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
}

.pricing-desc {
  font-size: 0.88rem;
  color: #6b7280;
}

.pricing-features {
  list-style: none;
  font-size: 0.86rem;
  color: #4b5563;
  margin-top: 0.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.pricing-features li::before {
  content: '✓';
  color: #16a34a;
  font-size: 0.8rem;
}

/* Layout utilities */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: flex-start;
}

.two-column.tight {
  gap: 2.25rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: #6b7280;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pill-muted {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.78rem;
  color: #4b5563;
  background: #f9fafb;
}

.pill-muted-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #6366f1;
}

.timeline {
  position: relative;
  padding-left: .3rem;
  margin-top: 0.75rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #6366f1, rgba(148, 163, 184, 0.3));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 0.3rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 2px solid #eef2ff;
  background: #4f46e5;
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.35);
}

.timeline-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-left: 1.4rem;
}

.timeline-text {
  font-size: 0.86rem;
  color: #6b7280;
  margin-left: 1.4rem;

}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1 1 75px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
}

.form-control {
  border-radius: 0.7rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.4);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-help {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Floating quick contact */
.floating-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.floating-contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.floating-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
}

.floating-btn.whatsapp {
  color: #16a34a;
}

.floating-btn.email {
  color: #2563eb;
}

.floating-contact-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.floating-icon-img {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 720px) {
  .floating-contact {
    right: 0.75rem;
    bottom: 0.9rem;
  }

  .floating-contact-text {
    font-size: 0.8rem;
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  background: #0b1120;
  color: #9ca3af;
  padding: 1.5rem 0;
  font-size: 0.82rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 1.25rem;
  }

  .feature-grid,
  .pricing-grid,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: 3.3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.9rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    z-index: 30;
  }

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

  .nav-links a {
    width: 100%;
    padding: 0.3rem 0.1rem;
    opacity: 1;
    color: #111827;
  }

  .nav-links .nav-cta.secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 0.2rem;
  }

  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 3.3rem;
  }
}


