:root {
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #0f172a;
  background: #f8fbff;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  overflow-x: hidden;
}

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

.navbar-sinapsys {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.navbar-sinapsys .navbar-brand,
.navbar-sinapsys .nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.navbar-sinapsys .nav-link.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.navbar-sinapsys .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.navbar-sinapsys .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
}

.navbar-sinapsys .nav-link:hover,
.navbar-sinapsys .nav-link:focus {
  color: white;
}

.navbar-sinapsys .dropdown-menu {
  border-radius: 14px;
  min-width: 280px;
}

.home-hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.home-summary {
  max-width: 920px;
  margin: 0 auto;
  text-align: justify;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.75;
  padding: 40px clamp(20px, 4vw, 48px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(10px);
}

.home-summary-image {
  display: flex;
  justify-content: center;
}

.home-summary-image img {
  max-width: 320px;
  width: 100%;
}

.contact-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.contact-card {
  border-radius: 1rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

.contact-form .form-control {
  min-height: 52px;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.servicio-card {
  overflow: hidden;
  border-radius: 1rem;
}

.service-page {
  max-width: 960px;
}

.servicio-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
  color: white;
  padding: 32px 28px;
}

.servicio-header .text-primary {
  color: rgba(255, 255, 255, 0.9) !important;
}

.servicio-header h1 {
  color: white;
}

.servicio-body {
  padding: 32px 28px;
}

.servicio-bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.65;
}

.servicio-bullet::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  margin-top: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .navbar-sinapsys .dropdown-menu {
    min-width: 100%;
  }

  .home-summary {
    font-size: 0.98rem;
    text-align: left;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .contact-page {
    padding: 16px 0 32px;
    align-items: flex-start;
  }

  .servicio-header,
  .servicio-body {
    padding: 24px 20px;
  }

  .servicio-bullet {
    gap: 10px;
  }
}

@media (max-width: 991.98px) {
  .navbar-sinapsys .navbar-collapse {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(10, 18, 38, 0.92);
    backdrop-filter: blur(10px);
  }

  .navbar-sinapsys .navbar-nav {
    gap: 6px;
    align-items: stretch !important;
  }

  .navbar-sinapsys .nav-link,
  .navbar-sinapsys .dropdown-item {
    border-radius: 12px;
  }

  .navbar-sinapsys .nav-link {
    padding: 0.75rem 0.9rem;
  }

  .navbar-sinapsys .dropdown-menu {
    position: static !important;
    transform: none !important;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.98);
  }

  .home-hero {
    min-height: auto;
    padding: 28px 0 40px;
  }
}

@media (max-width: 575.98px) {
  .navbar-sinapsys .navbar-brand {
    max-width: 70%;
  }

  .contact-form .form-control {
    min-height: 48px;
  }

  .home-summary-image img {
    max-width: 220px;
  }
}
