:root {
  --dl-primary: #0b1a2d;
  --dl-primary-600: #142941;
  --dl-primary-700: #162f4b;
  --dl-accent: #f59e0b;
  --dl-accent-dark: #d97706;
  --dl-neutral: #f3f4f6;
  --dl-neutral-200: #e5e7eb;
  --dl-neutral-900: #0f172a;
  --dl-text: #0b1220;
  --dl-muted: #6b7280;
  --dl-font-head: 'Poppins', sans-serif;
  --dl-font-body: 'Inter', sans-serif;
  --dl-radius-lg: 1.25rem;
  --dl-shadow-soft: 0 16px 32px rgba(18, 28, 45, 0.12);
  --dl-shadow-card: 0 20px 40px rgba(15, 23, 42, 0.15);
}

body {
  font-family: var(--dl-font-body);
  color: var(--dl-text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dl-font-head);
  letter-spacing: -0.02em;
}

p {
  color: #1f2937;
  line-height: 1.7;
}

.topbar {
  font-size: 0.85rem;
  background: linear-gradient(90deg, var(--dl-primary-700), #1e3a5f);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  background-color: #ffffff;
}

.navbar-brand {
  font-family: var(--dl-font-head);
  letter-spacing: 0.5px;
  font-size: 1.35rem;
  color: var(--dl-primary) !important;
}

.nav-link {
  font-weight: 500;
  color: #334155 !important;
  padding: 0.75rem 1rem !important;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--dl-primary) !important;
  background-color: rgba(15, 23, 42, 0.08);
}

.hero-section {
  position: relative;
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.15), transparent 45%),
              radial-gradient(circle at top right, rgba(15, 23, 42, 0.25), transparent 55%),
              linear-gradient(120deg, #0f172a 0%, #1f2937 60%);
  color: #fff;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero.webp') no-repeat center/cover;
  opacity: 0.12;
  mix-blend-mode: lighten;
}

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

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}

.hero-section h1 {
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-section .display-stats {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  border-radius: var(--dl-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--dl-shadow-soft);
}

.display-stats .stat {
  text-align: center;
}

.display-stats .stat strong {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #fff;
  display: block;
}

.display-stats .stat span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.img-glass {
  position: relative;
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  box-shadow: var(--dl-shadow-card);
}

.img-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.35));
}

.section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--dl-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

.divider-dot {
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dl-accent), transparent);
  margin-bottom: 1.2rem;
}

.feature-card {
  border: 0;
  border-radius: var(--dl-radius-lg);
  padding: 2.25rem;
  background: #fff;
  box-shadow: var(--dl-shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--dl-shadow-card);
}

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

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.05));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dl-accent);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.value-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(15, 23, 42, 0.45));
  color: #fff;
  border-radius: var(--dl-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--dl-shadow-soft);
}

.value-card .card-title {
  color: #fff;
}

.value-card p {
  color: rgba(255, 255, 255, 0.74);
}

.grid-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.grid-highlight .box {
  padding: 2rem;
  background: #fff;
  border-radius: var(--dl-radius-lg);
  box-shadow: var(--dl-shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-highlight .box:hover {
  transform: translateY(-6px);
  box-shadow: var(--dl-shadow-card);
}

.project-card {
  border: 0;
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  box-shadow: var(--dl-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--dl-shadow-card);
}

.project-card img {
  border-radius: 0;
}

.testimonial-card {
  border: 0;
  border-radius: var(--dl-radius-lg);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(226, 232, 240, 0.75));
  padding: 2.25rem;
  box-shadow: var(--dl-shadow-soft);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  font-family: var(--dl-font-head);
  font-size: 4rem;
  color: rgba(245, 158, 11, 0.4);
  position: absolute;
  top: -1rem;
  left: 1.5rem;
}

.badge-soft {
  background-color: rgba(245, 158, 11, 0.14);
  color: var(--dl-accent);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.service-tab-nav .nav-link {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin: 0.4rem;
  padding-inline: 1.5rem !important;
  transition: all 0.2s ease;
}

.service-tab-nav .nav-link.active,
.service-tab-nav .nav-link:hover {
  background: var(--dl-primary);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.process-step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  border-radius: var(--dl-radius-lg);
  background: #fff;
  box-shadow: var(--dl-shadow-soft);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--dl-accent);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.lead-highlight {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: var(--dl-radius-lg);
  box-shadow: var(--dl-shadow-card);
  padding: clamp(2rem, 4vw, 2.5rem);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.lead-highlight .form-control,
.lead-highlight .form-select {
  background-color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.lead-highlight button {
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.stats-grid .stat {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.07));
  border-radius: var(--dl-radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.stats-grid .stat strong {
  font-size: 2rem;
  color: var(--dl-primary);
  display: block;
  margin-bottom: 0.35rem;
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.65), rgba(15, 23, 42, 0.45));
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.55rem;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--dl-accent);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.18);
}

.faq-item button {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--dl-radius-lg);
  padding: 1rem 1.5rem;
  text-align: left;
  width: 100%;
  font-weight: 600;
  color: var(--dl-primary);
  box-shadow: var(--dl-shadow-soft);
}

.faq-item button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--dl-shadow-card);
}

.faq-item button:focus {
  border-color: var(--dl-accent);
  box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.25);
}

.cta-panel {
  background: linear-gradient(120deg, var(--dl-primary-700), #0f172a);
  color: #fff;
  border-radius: var(--dl-radius-lg);
  padding: clamp(2.5rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--dl-shadow-card);
}

.cta-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.2), transparent 55%);
}

.cta-panel > * {
  position: relative;
  z-index: 2;
}

.sub-hero {
  position: relative;
  padding: clamp(4rem, 6vw, 5rem) 0;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 55%),
              linear-gradient(120deg, #0f172a 0%, #1e293b 70%);
  color: #fff;
  overflow: hidden;
}

.sub-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/project-5.webp') no-repeat center/cover;
  opacity: 0.08;
}

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

.sub-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.sub-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
}

.border-white-25 {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.site-footer {
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 55%), #0b1727;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.85));
  z-index: 0;
}

.site-footer .container,
.site-footer a,
.site-footer p,
.site-footer form {
  position: relative;
  z-index: 2;
}

.bg-slate {
  background-color: transparent !important;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dd36f, #22c55e);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 18px 35px rgba(34, 197, 94, 0.35);
  z-index: 1030;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 40px rgba(34, 197, 94, 0.45);
}

.form-control,
.form-select {
  border-radius: 0.6rem;
  border-color: rgba(148, 163, 184, 0.35);
  padding: 0.7rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--dl-accent);
  box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.2);
}

.contact-card {
  border-radius: var(--dl-radius-lg);
  padding: 2rem;
  background: #fff;
  box-shadow: var(--dl-shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-card a {
  color: var(--dl-primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--dl-accent-dark);
}

.stacked-row {
  display: grid;
  gap: 1.75rem;
}

.decorative-ring {
  position: absolute;
  inset: auto auto -4rem -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 32px solid rgba(245, 158, 11, 0.15);
  filter: blur(0.5px);
  z-index: 1;
}

.service-highlight {
  background: linear-gradient(120deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.04));
  border-radius: var(--dl-radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(245, 158, 11, 0.28);
  position: relative;
  overflow: hidden;
}

.service-highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245, 245, 245, 0.35), transparent 55%);
  opacity: 0.6;
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--dl-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.table-clean table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.65rem;
}

.table-clean tbody tr {
  background: #fff;
  border-radius: var(--dl-radius-lg);
  box-shadow: var(--dl-shadow-soft);
}

.table-clean tbody td,
.table-clean thead th {
  padding: 1rem 1.5rem;
  border: none;
}

.legal-page h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
  color: #374151;
}

@media (max-width: 991.98px) {
  .hero-section {
    border-radius: 0;
    margin: 0 -1rem;
    padding: 4rem 1rem;
  }

  .img-glass::after {
    opacity: 0.25;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }
  .hero-section {
    text-align: center;
  }
  .display-stats .stat {
    margin-bottom: 1rem;
  }
  .lead-highlight {
    padding: 1.75rem;
  }
  .whatsapp-float {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.75rem;
    right: 1rem;
    bottom: 1rem;
  }
}

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