html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
}

.kanban-scroll {
  scrollbar-width: thin;
}

.sortable-ghost {
  opacity: 0.45;
}

.field {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.field:focus {
  outline: 2px solid transparent;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.5rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.1rem;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: #0f766e;
  color: #fff;
}

.btn-primary:hover {
  background: #115e59;
}

.btn-secondary {
  border: 1px solid #d1d5db;
  color: #374151;
  background: #fff;
}

.btn-secondary:hover {
  background: #f9fafb;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.landing-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(215, 217, 219, 0.72);
  backdrop-filter: blur(12px);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(30, 26, 29, 0.12);
  box-shadow: 0 14px 34px rgba(30, 26, 29, 0.08);
}

.landing-header nav a,
footer a {
  transition: color 160ms ease;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  color: #1e1a1d;
}

.brand-logo-img {
  display: block;
  width: auto;
  object-fit: contain;
  filter: none;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  color: #52525b;
}

.header-nav-link:hover {
  background: #fde8ea;
  color: #a91622;
}

.header-cta {
  min-height: 2.55rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  box-shadow: 0 10px 22px rgba(200, 30, 42, 0.18);
}

.restricted-link {
  white-space: nowrap;
}

.header-actions {
  border-left: 1px solid rgba(215, 217, 219, 0.86);
  padding-left: 0.85rem;
}

.landing-header nav a:hover,
footer a:hover {
  color: #c81e2a;
}

.hero-section {
  isolation: isolate;
}

.hero-copy {
  padding-top: 0.5rem;
}

.section-kicker {
  color: #c81e2a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 0.75rem;
  max-width: 760px;
  color: #1e1a1d;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.btn-brand,
.btn-light,
.btn-dark,
.btn-outline-dark,
.btn-ghost-light {
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  min-height: 3rem;
  border: 1px solid transparent;
  text-transform: none;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn-brand:hover,
.btn-light:hover,
.btn-dark:hover,
.btn-outline-dark:hover,
.btn-ghost-light:hover {
  transform: translateY(-1px);
}

.btn-brand {
  background: #c81e2a;
  color: #fff;
  box-shadow: 0 14px 28px rgba(200, 30, 42, 0.22);
}

.btn-brand:hover {
  background: #a91622;
  box-shadow: 0 16px 34px rgba(169, 22, 34, 0.28);
}

.btn.header-cta {
  min-height: 2.55rem;
  padding: 0.62rem 1rem;
  font-size: 0.82rem;
  box-shadow: 0 10px 22px rgba(200, 30, 42, 0.18);
}

.btn-light {
  background: #fff;
  border-color: #d7d9db;
  color: #1e1a1d;
}

.btn-light:hover {
  border-color: #c81e2a;
  color: #a91622;
  background: #fffafa;
  box-shadow: 0 12px 28px rgba(30, 26, 29, 0.08);
}

.btn-dark {
  background: #1e1a1d;
  color: #fff;
  box-shadow: 0 12px 26px rgba(30, 26, 29, 0.18);
}

.btn-dark:hover {
  background: #302b2f;
  box-shadow: 0 14px 30px rgba(30, 26, 29, 0.22);
}

.btn-outline-dark {
  border-color: #1e1a1d;
  color: #1e1a1d;
  background: transparent;
}

.btn-outline-dark:hover {
  background: #1e1a1d;
  color: #fff;
  box-shadow: 0 12px 26px rgba(30, 26, 29, 0.14);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

.feature-card,
.service-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card {
  padding: 1.35rem;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 30, 45, 0.34);
  box-shadow: 0 18px 44px rgba(30, 26, 29, 0.1);
}

.feature-index,
.service-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: #1e1a1d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card h3,
.service-card h3 {
  margin-top: 1rem;
  color: #1e1a1d;
  font-size: 1.05rem;
  font-weight: 900;
}

.feature-card p,
.service-card p {
  margin-top: 0.65rem;
  color: #52525b;
  font-size: 0.93rem;
  line-height: 1.65;
}

.service-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 1.35rem;
}

.service-card a {
  margin-top: auto;
  display: inline-flex;
  width: fit-content;
  color: #c81e2a;
  font-size: 0.88rem;
  font-weight: 900;
}

.stat-item {
  border-left: 3px solid #c81e2a;
  padding: 0.4rem 0 0.4rem 1.1rem;
}

.stat-item strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 0.45rem;
  color: #d7d9db;
  font-size: 0.95rem;
  font-weight: 800;
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #1e1a1d;
  color: #fff;
  font-weight: 900;
}

.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
}

.contact-info-grid {
  display: grid;
  gap: 1rem;
}

.contact-info-item {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  padding: 1rem;
}

.contact-panel span {
  display: block;
  color: #d7d9db;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-panel strong {
  display: block;
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1rem;
}

.contact-phone-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.contact-phone-row strong {
  margin-top: 0;
}

.whatsapp-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
}

.whatsapp-icon-link svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  min-height: 3.15rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  padding: 0 0.95rem;
  font-size: 0.88rem;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.24);
  animation: whatsapp-attention 2.8s ease-in-out infinite;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.whatsapp-float:hover {
  background: #21bf5d;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.3);
}

@keyframes whatsapp-attention {
  0%, 72%, 100% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(-4px);
  }
  88% {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .landing-header img {
    max-width: 9rem;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-float span {
    font-size: 0;
  }

  .whatsapp-float::after {
    content: "WA";
    font-size: 0.9rem;
  }
}

@media (min-width: 640px) {
  .contact-info-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .contact-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }
}

