@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(120px + 1rem);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #1A1A2E;
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

body {
  font-family: "Montserrat", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: #1A1A2E;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
}

p {
  color: #6B7280;
  line-height: 1.75;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3E7B27;
  background: #EAF4E5;
  border: 1px solid rgba(62, 123, 39, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__header h2 {
  margin-bottom: 0.5rem;
}
.section__header h2 span {
  color: #0077B6;
}
.section__header p {
  font-size: 1.125rem;
  max-width: 820px;
  margin-inline: auto;
  color: #6B7280;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: #0077B6;
}

/* Resalta spans dentro de about-content (negrita) */
.about-content span {
  font-weight: 700;
}

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding-block: 5rem;
}
.section--gray {
  background-color: #F3F4F6;
}
.section--dark {
  background: linear-gradient(135deg, #1A1A2E 0%, #005F8E 100%);
  color: #FFFFFF;
}
.section--dark h2, .section--dark h3 {
  color: #FFFFFF;
}
.section--dark p {
  color: #90E0EF;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  padding: calc(120px + 5rem) 1rem 5rem;
  background: linear-gradient(135deg, #1A1A2E 0%, #005F8E 100%);
  text-align: center;
}
.page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.page-hero p {
  color: #90E0EF;
  font-size: 1.125rem;
  max-width: 580px;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: #90E0EF;
}
.breadcrumb a {
  color: #90E0EF;
}
.breadcrumb a:hover {
  color: #FFFFFF;
}
.breadcrumb span {
  opacity: 0.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg {
  flex-shrink: 0;
}
.btn-primary {
  background: #0077B6;
  color: #FFFFFF;
  border-color: #0077B6;
}
.btn-primary:hover {
  background: #005F8E;
  border-color: #005F8E;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.14);
}
.btn-outline {
  background: transparent;
  color: #0077B6;
  border-color: #0077B6;
}
.btn-outline:hover {
  background: #0077B6;
  color: #FFFFFF;
}
.btn-white {
  background: #FFFFFF;
  color: #0077B6;
  border-color: #FFFFFF;
}
.btn-white:hover {
  background: #90E0EF;
  border-color: #90E0EF;
  transform: translateY(-2px);
}
.btn-call {
  background: #0077B6;
  color: #FFFFFF;
  border-color: #0077B6;
}
.btn-call:hover {
  background: #005F8E;
  border-color: #005F8E;
}
.btn-mail {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.btn-mail:hover {
  background: rgba(255, 255, 255, 0.15);
}

.card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.14);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}
.card__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F9FF;
  border-radius: 8px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.card__icon svg {
  color: #0077B6;
}
.card__title {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  color: #1A1A2E;
}
.card__body {
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0077B6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.18s ease;
}
.card__link:hover {
  gap: 8px;
}

.stat {
  text-align: center;
}
.stat__value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #3E7B27;
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.78rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 820px;
  margin-inline: auto;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  border-left: 4px solid #3E7B27;
  background: #FFFFFF;
  border-radius: 0 8px 8px 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.feature-row:hover {
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.14);
  transform: translateX(4px);
}
.feature-row__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 123, 39, 0.08);
  border-radius: 8px;
  color: #3E7B27;
}
.feature-row__text h3 {
  font-size: 1.375rem;
  color: #1A1A2E;
  margin-bottom: 0.5rem;
}
.feature-row__text p {
  color: #6B7280;
  line-height: 1.7;
  font-size: 0.95rem;
}
@media (max-width: 480px) {
  .feature-row {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .feature-row__icon {
    width: 48px;
    height: 48px;
  }
  .feature-row__icon svg {
    width: 24px;
    height: 24px;
  }
}

.zigzag-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.zigzag-item:nth-child(even) .zigzag-item__img {
  order: 2;
}
.zigzag-item:nth-child(even) .zigzag-item__text {
  order: 1;
}
.zigzag-item__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.14);
  aspect-ratio: 16/10;
}
.zigzag-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.zigzag-item__img:hover img {
  transform: scale(1.04);
}
.zigzag-item__text h3 {
  font-size: 1.375rem;
  color: #1A1A2E;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.zigzag-item__text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #0077B6;
  border-radius: 2px;
}
.zigzag-item__text p {
  color: #6B7280;
  line-height: 1.7;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .zigzag-item {
    grid-template-columns: 1fr;
  }
  .zigzag-item:nth-child(even) .zigzag-item__img {
    order: 0;
  }
  .zigzag-item:nth-child(even) .zigzag-item__text {
    order: 0;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 1000;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 2rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.header .logo {
  height: 220px;
  min-width: 0;
}
.header .logo a {
  height: 100%;
}
.header .logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.header .nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header .nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: #1A1A2E;
  transition: color 0.18s ease;
  position: relative;
}
.header .nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0077B6;
  transition: width 0.3s ease;
}
.header .nav-link:hover, .header .nav-link.active {
  color: #0077B6;
}
.header .nav-link:hover::after, .header .nav-link.active::after {
  width: 100%;
}
.header .menu-toggle {
  display: none;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  z-index: 1200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  color: #00B4D8;
}
.header .menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header .menu-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.header .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.header .menu-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}
@media (max-width: 1024px) {
  .header {
    height: 90px;
    padding-inline: 16px;
    justify-content: center;
  }
  .header .logo {
    height: 90px;
  }
  .header .menu-toggle {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 300;
  }
  .header .menu-toggle::before {
    content: "☰";
    font-size: 32px;
    line-height: 1;
    color: currentColor;
    font-weight: 700;
  }
  .header .menu-toggle span {
    display: none;
  }
  .header .menu-toggle.active::before {
    content: "✕";
    font-size: 30px;
    font-weight: 400;
  }
  .header .nav {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px 16px 20px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 99;
  }
  .header .nav.open {
    display: flex;
  }
  .header .nav-link {
    font-size: 1rem;
    padding: 8px 16px;
    border: 2px solid #00B4D8;
    border-radius: 9999px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.18s ease, color 0.18s ease;
  }
  .header .nav-link::after {
    display: none;
  }
  .header .nav-link:hover, .header .nav-link.active {
    background: rgba(0, 180, 216, 0.08);
  }
  .header .nav .nav-item {
    display: flex;
    flex-direction: column;
  }
  .header .nav .nav-dropdown-toggle {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  .header .nav-dropdown {
    display: none;
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 0 28px;
    min-width: auto;
    transition: none;
  }
  .header .nav-item.open .nav-dropdown {
    display: flex;
    transform: none;
  }
  .header .dropdown-item {
    text-align: left !important;
    white-space: normal;
    padding: 8px 16px !important;
  }
}
@media (max-width: 768px) {
  .header {
    padding-inline: 16px;
  }
  .header .logo {
    height: 140px;
  }
}

@media (max-width: 1024px) {
  .header > .menu-toggle {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 300 !important;
    color: #00B4D8 !important;
  }
  .header > .menu-toggle span {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
body.menu-open {
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  margin-top: 120px;
}
@media (max-width: 1024px) {
  .banner-container {
    margin-top: 90px;
  }
}
.banner-container .banner {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 768px) {
  .banner-container .banner {
    height: 60vh;
    max-height: none;
  }
}
.banner-container .titulo-banner {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -60%);
  color: #FFFFFF;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 800;
  text-align: center;
  padding: 0 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  width: 92%;
  max-width: 92%;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 768px) {
  .banner-container .titulo-banner {
    top: 42%;
    font-size: clamp(1.5rem, 6vw, 2.4rem);
    letter-spacing: 0.08em;
    padding: 0 1rem;
  }
}
@media (max-width: 480px) {
  .banner-container .titulo-banner {
    top: 40%;
    font-size: clamp(1.2rem, 6vw, 1.9rem);
    letter-spacing: 0.05em;
    padding: 0 0.5rem;
  }
}
@media (max-width: 400px) {
  .banner-container .titulo-banner {
    top: 38%;
    font-size: clamp(1rem, 5.5vw, 1.4rem);
    letter-spacing: 0.03em;
    line-height: 1.2;
  }
}
.banner-container .redes-banner {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.banner-container .redes-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.88);
  transition: all 0.18s ease;
}
.banner-container .redes-banner a:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.banner-container .redes-banner a img, .banner-container .redes-banner a svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .banner-container .redes-banner {
    bottom: 1rem;
    left: 1rem;
    gap: 6px;
  }
  .banner-container .redes-banner a {
    width: 30px;
    height: 30px;
  }
  .banner-container .redes-banner a img, .banner-container .redes-banner a svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 480px) {
  .banner-container .redes-banner {
    bottom: 10px;
    left: 8px;
    gap: 4px;
  }
  .banner-container .redes-banner a {
    width: 24px;
    height: 24px;
  }
  .banner-container .redes-banner a img, .banner-container .redes-banner a svg {
    width: 13px;
    height: 13px;
  }
}
.banner-container .botones-banner {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  max-width: calc(100% - 20px);
}
.banner-container .botones-banner .btn {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}
.banner-container .botones-banner .btn svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 768px) {
  .banner-container .botones-banner {
    bottom: 0.75rem;
    gap: 0.5rem;
  }
  .banner-container .botones-banner .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
  }
  .banner-container .botones-banner .btn svg {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 480px) {
  .banner-container .botones-banner {
    flex-direction: row;
    align-items: center;
    bottom: 1rem;
    gap: 0.35rem;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
  }
  .banner-container .botones-banner .btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
    width: auto;
  }
  .banner-container .botones-banner .btn svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 400px) {
  .banner-container .botones-banner {
    bottom: 1.2rem;
  }
}

@media (max-height: 700px) {
  .banner-container .titulo-banner {
    top: 38%;
    font-size: clamp(1.2rem, 3.5vw, 3rem);
  }
  .banner-container .botones-banner {
    bottom: 0.5rem;
  }
  .banner-container .botones-banner .btn {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
  }
  .banner-container .botones-banner .btn svg {
    width: 15px;
    height: 15px;
  }
}
@media (max-height: 520px) {
  .banner-container .titulo-banner {
    top: 32%;
    font-size: clamp(1rem, 3vw, 2rem);
  }
  .banner-container .botones-banner {
    bottom: 0.3rem;
  }
  .banner-container .botones-banner .btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }
}
@media (max-width: 1024px) {
  .banner-container {
    margin-top: 90px;
  }
}
.footer {
  background: #1A1A2E;
  color: rgba(255, 255, 255, 0.65);
}
.footer__main {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-block: 5rem;
}
@media (max-width: 768px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer__main {
    grid-template-columns: 1fr;
  }
}
.footer__brand img {
  height: 42px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer__brand .redes {
  display: flex;
  gap: 0.5rem;
}
.footer__brand .redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.18s ease;
}
.footer__brand .redes a:hover {
  background: #3E7B27;
}
.footer__brand .redes a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.18s ease;
}
.footer__col ul a:hover {
  color: #00B4D8;
}
.footer__bottom {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem;
  font-size: 0.78rem;
}
.footer__bottom a {
  color: #00B4D8;
}
.footer__bottom a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

#sobre-nosotros .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  #sobre-nosotros .about-grid {
    grid-template-columns: 1fr;
  }
}
#sobre-nosotros .about-content h2 {
  text-align: left;
  margin-bottom: 30px;
}
#sobre-nosotros .about-content p {
  margin-bottom: 1rem;
}
#sobre-nosotros .about-content .about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #F0F9FF;
  border-radius: 8px;
}
#sobre-nosotros .about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  height: 100%;
  min-height: 350px;
  background: #F0F9FF;
  display: flex;
  align-items: center;
  justify-content: center;
}
#sobre-nosotros .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mv-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}
@media (max-width: 768px) {
  .mv-panels {
    grid-template-columns: 1fr;
  }
}

.mv-panel {
  padding: 3rem 2rem;
  position: relative;
}
.mv-panel:first-child {
  background: #1A1A2E;
  color: #FFFFFF;
}
.mv-panel:first-child h3 {
  color: #90E0EF;
}
.mv-panel:first-child .mv-panel__icon svg {
  color: #90E0EF;
}
.mv-panel:first-child p {
  color: rgba(255, 255, 255, 0.8);
}
.mv-panel:last-child {
  background: #0077B6;
  color: #FFFFFF;
}
.mv-panel:last-child h3 {
  color: #FFFFFF;
}
.mv-panel:last-child .mv-panel__icon svg {
  color: rgba(255, 255, 255, 0.85);
}
.mv-panel:last-child p {
  color: rgba(255, 255, 255, 0.85);
}
.mv-panel__icon {
  margin-bottom: 1.5rem;
}
.mv-panel h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}
.mv-panel p {
  line-height: 1.8;
  font-size: 0.95rem;
}

#servicios .servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
#servicios .servicios-grid .card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#servicios .servicios-grid .card .card__icon {
  width: 100%;
  height: 220px;
  margin: 0;
  border-radius: 0;
  background: none;
  flex-shrink: 0;
}
#servicios .servicios-grid .card .card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#servicios .servicios-grid .card .card__title,
#servicios .servicios-grid .card .card__body {
  padding-inline: 2rem;
}
#servicios .servicios-grid .card .card__title {
  font-size: 1.2rem;
  padding-top: 1.5rem;
  margin-bottom: 0.5rem;
}
#servicios .servicios-grid .card .card__body {
  font-size: 1rem;
  padding-bottom: 2rem;
}
@media (max-width: 480px) {
  #servicios .servicios-grid {
    grid-template-columns: 1fr;
  }
}

.bloque-header {
  text-align: center;
  margin-bottom: 3rem;
}
.bloque-header .bloque-numero {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  background: #3E7B27;
  border-radius: 9999px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  margin-bottom: 1rem;
}
.bloque-header h2 {
  font-size: 2rem;
  color: #1A1A2E;
}
.bloque-header h2 span {
  color: #0077B6;
}

.servicios-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.servicios-cards .srv-card:last-child:nth-child(odd) {
  grid-column: 1/-1;
  max-width: 50%;
  justify-self: center;
}
@media (max-width: 480px) {
  .servicios-cards {
    grid-template-columns: 1fr;
  }
  .servicios-cards .srv-card:last-child:nth-child(odd) {
    grid-column: span 1;
    max-width: 100%;
    justify-self: stretch;
  }
}

.srv-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.srv-card__icon {
  position: absolute;
  inset: 0;
  background: #1A1A2E;
}
.srv-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.85;
}
.srv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}
.srv-card__title, .srv-card__desc {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  padding-inline: 2rem;
  margin: 0;
}
.srv-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  padding-top: 1.5rem;
}
.srv-card__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.88;
  padding-bottom: 1.5rem;
  padding-top: 0.5rem;
}
.srv-card:hover .srv-card__icon img {
  transform: scale(1.08);
  opacity: 1;
}

.servicios-separator {
  border: none;
  border-top: 1px solid #F3F4F6;
}

#proyectos .proyectos-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 1024px) {
  #proyectos .proyectos-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  #proyectos .proyectos-preview {
    grid-template-columns: 1fr;
  }
}

.proyecto-card {
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.14);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proyecto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}
.proyecto-card {
  padding: 0;
  overflow: hidden;
}
.proyecto-card__img {
  background: #F0F9FF;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.proyecto-card__carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.proyecto-card__carousel img {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.proyecto-card:hover .proyecto-card__carousel img {
  transform: scale(1.04);
}
.proyecto-card__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.55);
  color: #FFFFFF;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background 0.25s ease;
}
.proyecto-card__arrow:hover {
  background: rgba(0, 119, 182, 0.85);
}
.proyecto-card__arrow--prev {
  left: 8px;
}
.proyecto-card__arrow--next {
  right: 8px;
}
.proyecto-card__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.proyecto-card__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.25s ease;
}
.proyecto-card__dots span.active {
  background: #FFFFFF;
}
.proyecto-card__body {
  padding: 1rem 1.5rem 1.5rem;
}
.proyecto-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3E7B27;
  background: #EAF4E5;
  border: 1px solid rgba(62, 123, 39, 0.25);
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}
.proyecto-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #1A1A2E;
}
.proyecto-card__desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.6;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-bar button {
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  border: 1.5px solid #0077B6;
  background: transparent;
  color: #0077B6;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-bar button:hover, .filter-bar button.active {
  background: #0077B6;
  color: #FFFFFF;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) {
  .proyectos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .proyectos-grid {
    grid-template-columns: 1fr;
  }
}

#contacto .contacto-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  #contacto .contacto-wrapper {
    grid-template-columns: 1fr;
  }
}
#contacto .contacto-info h2 {
  text-align: left;
  margin-bottom: 1rem;
}
#contacto .contacto-info p {
  margin-bottom: 1.5rem;
}
#contacto .contacto-info__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
#contacto .contacto-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #6B7280;
}
#contacto .contacto-info__list li svg {
  color: #0077B6;
  flex-shrink: 0;
  margin-top: 2px;
}
#contacto .contacto-info .redes {
  display: flex;
  gap: 0.5rem;
}
#contacto .contacto-info .redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #F3F4F6;
  transition: all 0.18s ease;
}
#contacto .contacto-info .redes a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-form {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  padding: 3rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form .form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: #1A1A2E;
}
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid #DDE4EE;
  border-radius: 4px;
  font-size: 0.925rem;
  color: #1A1A2E;
  background: #FFFFFF;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
  outline: none;
  border-color: #0077B6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder,
.contact-form .form-group select::placeholder {
  color: #A0AEC0;
}
.contact-form .form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-form .form-submit {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: #0077B6;
  color: #FFFFFF;
  transition: background 0.18s ease, transform 0.18s ease;
}
.contact-form .form-submit:hover {
  background: #005F8E;
  transform: translateY(-1px);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.14);
  transform: translateY(-4px);
}
.blog-card__img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card__img:hover img {
  transform: scale(1.05);
}
.blog-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #0077B6;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 9999px;
}
.blog-card__cat--inline {
  position: static;
  display: inline-block;
  margin-bottom: 6px;
}
.blog-card__body {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__date {
  font-size: 0.78rem;
  color: #6B7280;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}
.blog-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1A1A2E;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card__desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F3F4F6;
}
.blog-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #6B7280;
  font-weight: 500;
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0077B6;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.blog-card__link:hover {
  color: #005F8E;
  gap: 8px;
}
.blog-card--no-img .blog-card__body {
  padding-top: 2rem;
}

.blog-article {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  color: #1A1A2E;
  line-height: 1.8;
}
.blog-article h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: #1A1A2E;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #0077B6;
  display: inline-block;
  width: 100%;
}
.blog-article h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.8rem 0 0.6rem;
  color: #005F8E;
  padding-left: 14px;
  border-left: 3px solid #00B4D8;
}
.blog-article p {
  margin-bottom: 1rem;
}
.blog-article ul,
.blog-article ol {
  margin: 0.5rem 0 1.2rem 1.4rem;
  list-style-type: disc;
}
.blog-article ul li,
.blog-article ol li {
  margin-bottom: 0.5rem;
  padding-left: 4px;
}
.blog-article ol {
  list-style-type: decimal;
}
.blog-article__intro {
  background: rgba(144, 224, 239, 0.15);
  border-left: 4px solid #0077B6;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.blog-article__intro p:last-child {
  margin-bottom: 0;
}

[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate=fade-up] {
  transform: translateY(40px);
}

[data-animate=fade-down] {
  transform: translateY(-40px);
}

[data-animate=fade-left] {
  transform: translateX(50px);
}

[data-animate=fade-right] {
  transform: translateX(-50px);
}

[data-animate=fade-in] {
  transform: scale(0.96);
}

[data-animate=zoom-in] {
  transform: scale(0.85);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

[data-delay="1"] {
  transition-delay: 0.1s;
}

[data-delay="2"] {
  transition-delay: 0.2s;
}

[data-delay="3"] {
  transition-delay: 0.3s;
}

[data-delay="4"] {
  transition-delay: 0.4s;
}

[data-delay="5"] {
  transition-delay: 0.5s;
}

[data-delay="6"] {
  transition-delay: 0.6s;
}

.banner-container {
  animation: bannerEntry 1s ease-out both;
}

@keyframes bannerEntry {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.titulo-banner {
  animation: titleSlideInBanner 1s ease-out 0.3s both;
}

@keyframes titleSlideInBanner {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.botones-banner {
  animation: fadeInUpCentered 0.8s ease-out 0.6s both;
}

@keyframes fadeInUpCentered {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-hero h1 {
  animation: titleSlideIn 0.8s ease-out 0.2s both;
}
.page-hero p {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.page-hero .breadcrumb {
  animation: fadeInUp 0.6s ease-out both;
}

.stat__value.counted {
  animation: counterPulse 0.4s ease;
}

@keyframes counterPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.card,
.blog-card,
.proyecto-card,
.mv-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover,
.blog-card:hover,
.proyecto-card:hover,
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.whatsapp-float {
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@media (max-width: 1024px) {
  #contacto .contacto-wrapper {
    grid-template-columns: 1fr;
  }
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand {
    grid-column: 1/-1;
  }
  .carrusel-slide {
    flex: 0 0 50%;
    height: 380px;
  }
  .container-servicios {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 28px 40px;
  }
  .container-servicios.grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  #sobre-nosotros .about-grid,
  .container-info-sn {
    grid-template-columns: 1fr;
  }
  .footer__main,
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer__brand,
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 90px;
  }
  section[id] {
    scroll-margin-top: 90px;
  }
  .section {
    padding-block: 3rem;
  }
  .page-hero {
    padding-top: calc(90px + 3rem);
    padding-bottom: 3rem;
    padding-inline: 1rem;
    margin-top: 0;
  }
  .about-image {
    width: 100%;
    max-width: 100vw;
    height: 300px;
    min-height: auto;
    aspect-ratio: auto;
  }
  #servicios .servicios-grid {
    grid-template-columns: 1fr;
  }
  .section__header h2 {
    font-size: 1.375rem;
  }
  .section__header p {
    font-size: 1rem;
  }
  .proyectos-preview {
    grid-template-columns: 1fr;
  }
  #contacto .contacto-wrapper,
  .contacto-wrapper {
    grid-template-columns: 1fr;
    padding: 28px 16px;
    gap: 24px;
  }
  .contacto-info {
    gap: 16px;
  }
  .footer__main,
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-inline: 20px;
  }
  .footer__brand,
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer__bottom,
  .footer-bottom .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .carrusel-slide {
    flex: 0 0 100%;
    height: 280px;
  }
  .carrusel-btn {
    width: 36px;
    height: 36px;
  }
  .carrusel-track-wrapper {
    width: 100%;
  }
  .titulo-sn {
    padding: 28px 20px;
  }
  .linea-sn {
    width: calc(100% - 40px);
  }
  .container-info-sn {
    padding: 20px 16px;
  }
  .tituloServicios {
    padding: 10px 18px;
  }
  .container-servicios {
    grid-template-columns: 1fr;
    padding: 20px 16px 32px;
    gap: 20px;
  }
  .titulo-servicios {
    padding: 28px 20px;
  }
  .titulo-subseccion {
    padding: 24px 16px 16px;
  }
}
@media (max-width: 520px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .stat__value {
    font-size: 1.375rem;
  }
  .footer__main,
  .footer-container {
    grid-template-columns: 1fr;
    padding-inline: 16px;
    gap: 20px;
  }
  .footer__brand,
  .footer-brand {
    grid-column: auto;
  }
  .footer__col:nth-child(2),
  .footer__col:nth-child(3),
  .footer-container > .footer-col:nth-child(2),
  .footer-container > .footer-col:nth-child(3) {
    display: none;
  }
  .primeraVista {
    padding: 28px 16px;
  }
  .slogan {
    padding: 0 12px;
  }
  .info-sn {
    padding: 20px 16px;
  }
  .servicio-card {
    padding: 28px 20px 24px;
  }
  .container-servicios {
    padding: 16px 12px 28px;
  }
  .contacto-cta {
    padding: 28px 20px;
  }
  .footer-main {
    padding: 22px 0 14px;
  }
  .footer-col h5 {
    margin-bottom: 10px;
  }
}
