.services .service-item {
  display: flex;
  flex-direction: column;
}

.services .service-item p {
  flex: 1;
}

.about .about-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.values .card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  padding: 0 0 8px;
  transform: none;
}

.values .card:hover img {
  transform: scale(1.03);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tech-item {
  background: var(--surface-color);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(1, 41, 112, 0.06);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
}

.tech-item img {
  width: 56px;
  height: 56px;
}

.tech-item span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
}

.portfolio-note {
  max-width: 640px;
  margin: -30px auto 36px;
  text-align: center;
}

.portfolio-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(1, 41, 112, 0.08);
  height: 100%;
}

.portfolio-visual {
  height: 170px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 52px;
}

.portfolio-visual.web {
  background: linear-gradient(135deg, #012970, #1bb8ff);
}

.portfolio-visual.sistemas {
  background: linear-gradient(135deg, #c45512, #f0a05a);
}

.portfolio-visual.seguridad {
  background: linear-gradient(135deg, #0d5c63, #15be56);
}

.portfolio-card .body {
  padding: 22px 22px 26px;
}

.portfolio-card h3 {
  font-size: 22px;
  margin: 8px 0 10px;
}

.portfolio-card p {
  margin: 0;
}

.muestra {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
}

.founder-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--surface-color);
  box-shadow: 0 0 30px rgba(1, 41, 112, 0.08);
  border-radius: 16px;
  padding: 32px;
}

.founder-avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #012970, #1bb8ff);
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 36px;
}

.hero .hero-art {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 8px;
}

.founder-photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  flex-shrink: 0;
}

.hero-points {
  list-style: none;
  padding: 6px 0 8px;
  margin: 0 0 8px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.hero-points i {
  color: var(--accent-color);
  margin-top: 3px;
  flex-shrink: 0;
}

.about .content h3 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.about .content h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.about .content p {
  font-size: 18px;
  line-height: 1.75;
}

.services .service-item:has(.service-photo) {
  padding: 0 30px 36px;
  overflow: hidden;
}

.services .service-item .service-photo {
  display: block;
  width: calc(100% + 60px);
  max-width: none;
  height: 190px;
  object-fit: cover;
  margin: 0 -30px 28px;
}

.tech-band {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px 8px 48px;
  box-shadow: 0 0 24px rgba(1, 41, 112, 0.08);
}

.tech .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}

.tech .swiper-slide img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 1;
}

.tech-band .swiper-pagination-bullet {
  background: rgba(1, 41, 112, 0.28);
  opacity: 1;
}

.tech-band .swiper-pagination-bullet-active {
  background: #012970;
}

.step-card {
  background: var(--surface-color);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(1, 41, 112, 0.06);
  height: 100%;
  padding: 24px;
}

.step-card span {
  display: block;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 8px;
}

.step-card .step-phase {
  color: var(--accent-color);
  font-weight: 700;
  margin: 0 0 8px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step-card p {
  margin: 0;
}

.step-card p.step-phase {
  margin: 0 0 8px;
}

.footer-logo {
  height: 58px;
  width: auto;
}

.copyright-note {
  margin: 6px 0 0;
  font-size: 13px;
}

.legal-copy h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading-color);
  margin: 8px 0 6px;
}

.legal-copy .updated {
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 8px;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}

.legal-copy p,
.legal-copy li {
  font-size: 17px;
  line-height: 1.7;
}

.legal-copy ul {
  padding-left: 1.2rem;
}

.footer .footer-contact p,
.footer .footer-contact a,
.footer .footer-contact strong {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.footer .footer-contact a:hover {
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .hero .hero-art {
    height: 280px;
  }
}

.founder-card h3 {
  margin-bottom: 4px;
}

.founder-card .role {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.founder-card p:last-child {
  margin-bottom: 0;
}

.founder-card .whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
}

.contact .info-item {
  overflow: hidden;
}

.contact .info-item p,
.contact .info-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact .info-item a {
  color: var(--heading-color);
  font-weight: 600;
  display: inline;
  max-width: 100%;
}

.contact .info-item i.bi-whatsapp {
  color: #25d366;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.service-banner {
  background-color: #1c2430;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0) 100%), var(--banner);
  background-size: cover;
  background-position: center;
  padding: 78px 0 68px;
}

.service-banner h1,
.service-banner .lead,
.service-banner .crumb,
.service-banner .crumb a {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.service-banner h1 {
  color: #ffffff;
  font-size: 46px;
  font-weight: 800;
  margin: 10px 0 14px;
}

.service-banner .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  max-width: 680px;
  margin-bottom: 0;
}

.service-banner .crumb {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  margin: 0;
}

.service-banner .crumb a {
  color: #ffffff;
}

.solution-card,
.capability {
  background: var(--surface-color);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(1, 41, 112, 0.06);
  height: 100%;
  padding: 24px;
}

.solution-card i,
.capability i {
  color: var(--accent-color);
  font-size: 28px;
  line-height: 1;
}

.solution-card h3,
.capability h3 {
  font-size: 20px;
  margin: 14px 0 8px;
}

.solution-card p,
.capability p {
  margin: 0;
}

.service-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-cta .btn-get-started,
.service-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  padding: 12px 22px;
  font-weight: 600;
}

.service-cta .btn-get-started {
  background: var(--accent-color);
  color: #ffffff;
}

.service-cta .btn-outline {
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

.service-cta .btn-outline:hover,
.service-cta .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), #000 12%);
  color: #ffffff;
}

@media (max-width: 991px) {
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .service-banner h1 {
    font-size: 34px;
  }
}
