
:root {
  --navy: #090d3f;
  --ink: #1d2330;
  --gold: #c79a27;
  --gold2: #987219;
  --cream: #f8f5f1;
  --white: #fff;
  --muted: #68707c;
  --shadow: 0 18px 45px rgba(10, 14, 45, 0.16);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
.container {
  width: min(1180px, 92%);
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(104, 106, 50, 0.35);
  backdrop-filter: blur(120px);
}
.nav-wrap {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img {
  width: 250px;
  height: 200px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav a {
  color: var(--gold2);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 10px 24px;
  border-left: 1px solid var(--gold);
  transition: 0.25s;
}
.main-nav a:first-child {
  border-left: 0;
}
.min-nav a:hover {
  color: var(--navy);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.8rem;
  color: var(--navy);
}
.hero {
  min-height: 800px;
  position: relative;
  background: url("assets/herohero.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 9, 25, 0.25),
    rgba(4, 9, 25, 0.12) 100%,
    rgba(9, 13, 63, 0.18)
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-copy {
  width: min(700px, 120%);
  color: white;
  text-align: center;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 20px;
  max-width: 590px;
}
.hero h1 {
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 28px 0 44px;
}
.hero-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 9px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: 0.25s;
}
.btn span {
  font-size: 4rem;
  line-height: 1;
}
/* Color letra de boton de productos */
.btn-primary {
  background: linear-gradient(90deg, #eb9adc00, var(--gold2));
  color: rgb(247, 247, 251);
  box-shadow: 0 10px 24px rgba(9, 13, 63, 0.2);
}
.btn-secondary {
  background: linear-gradient(90deg, #eb9adc00, var(--gold2));
  color: rgb(247, 247, 251);
  box-shadow: 0 10px 24px rgba(9, 13, 63, 0.2);
}
.btn-third {
  background: linear-gradient(90deg, #eb9adc00, var(--gold2));
  color: rgb(104, 104, 107);
  box-shadow: 0 10px 24px rgba(9, 13, 63, 0.204);
}

.btn-four {
  background: linear-gradient(90deg, #eb9adc00, var(--gold2));
  color: rgb(29, 29, 66);
  box-shadow: 0 10px 24px rgba(9, 13, 63, 0.204);
}



.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.25);
}
.hero .btn {
  width: 90%;
  max-width: 90%;
}
.section {
  padding: 100px 0;
}
.section-kicker {
  color: var(--gold2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin: 0 0 10px;
}
.section-kicker.light {
  color: #f4d574;
}
.section h2,
.products h2,
.cta h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  margin: 0 0 42px;
  letter-spacing: -0.035em;
}
.standards {
  background: linear-gradient(180deg, #fff, #faf8f4);
}
.standards h2 {
  text-align: center;
  max-width: 870px;
  margin: 0 auto 58px;
}
.standards .section-kicker {
  text-align: center;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 28px;
}
.value-card {
  height: 100%;
  background: white;
  border: 1px solid #ece8e1;
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 10px 35px rgba(24, 29, 44, 0.07);
}
.value-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f3ead2;
  color: var(--gold2);
  font-size: 2rem;
  overflow: hidden;
}
.value-card .icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.value-card h3 {
  font-size: 1.45rem;
  margin: 22px 0 14px;
}
.value-card p {
  color: var(--muted);
  margin: 0;
}
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.about p {
  color: #555f6d;
}
.mission-card {
  background: var(--navy);
  color: white;
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.mission-card > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 28px;
  padding-top: 28px;
}
.mission-card span {
  display: block;
  color: #f4d574;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 800;
}
.mission-card p {
  color: rgb(222, 216, 216);
  margin-bottom: 0;
}
.products {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: #0b1531;
  color: white;
}
.products-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 34, 73, 0.64), rgba(5, 18, 44, 0.82)),
    url("assets/products-bg.png") center/cover no-repeat;
}
.products-inner {
  position: relative;
}
.products-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}
.products-heading h2 {
  margin-bottom: 15px;
}
.product-carousel {
  position: relative;
}
.product-track {
  position: relative;
  min-height: 510px;
}
.product-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(35px);
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 24px;
  padding: 55px;
  transition: 0.45s ease;
  box-shadow: var(--shadow);
}
.product-card.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.product-number {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.18em;
}
.product-card h3 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1;
  margin: 10px 0 20px;
  text-transform: uppercase;
}
.product-card p {
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 30px;
}
.product-visual {
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-visual.dual img {
  width: 50%;
  max-height: 360px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.carousel-arrow.prev {
  left: -78px;
}
.carousel-arrow.next {
  right: -78px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
}
.carousel-dots button.active {
  background: var(--gold);
  transform: scale(1.3);
}
.projects {
  background: white;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  position: relative;
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.project-cardd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: center;
  inset: 0;
}

.project-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(6, 10, 25, 0.88));
}
.project-card div {
  position: absolute;
  z-index: 2;
  left: 35px;
  right: 35px;
  bottom: 28px;
  color: white;
}
.project-card h3 {
  font-size: 1.65rem;
  margin: 0 0 6px;
}
.project-card p {
  margin: 0;
  color: #eef1f6;
}
.cta {
  background: var(--navy);
  color: white;
  padding: 100px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.cta h2 {
  margin-bottom: 20px;
}
.contact-form {
  background: white;
  color: var(--ink);
  padding: 34px;
  border-radius: 20px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #dfe3e9;
  border-radius: 9px;
  padding: 13px 14px;
  font: inherit;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
}
.footer {
  background: #161924;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr 1.4fr;
  gap: 46px;
  padding: 70px 0;
}
.footer-brand img {
  width: 250px;
  height: 110px;
  object-fit: contain;
  object-position: left;
}
.footer h3 {
  color: var(--gold);
  text-transform: uppercase;
}
.footer a {
  display: block;
  color: #fbf8f8;
  text-decoration: none;
  margin: 9px 0;
}
.footer p {
  color: #d8dce5;
}
.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #bfc5d1;
  font-size: 0.88rem;
}
@media (max-width: 1100px) {
  .brand img {
    width: 220px;
  }
  .main-nav a {
    padding: 10px 14px;
  }
  .carousel-arrow.prev {
    left: 12px;
  }
  .carousel-arrow.next {
    right: 12px;
  }
  .carousel-arrow {
    background: rgba(9, 13, 63, 0.55);
  }
}
@media (max-width: 850px) {
  .nav-wrap {
    height: 78px;
  }
  .brand img {
    width: 190px;
    height: 64px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    display: none;
    flex-direction: column;
    padding: 16px 5%;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    border: 0;
    width: 100%;
    padding: 12px 0;
  }
  .hero {
    min-height: 650px;
    background-position: 38% center;
  }
  .hero-content {
    justify-content: center;
  }
  .hero-copy {
    width: 100%;
    padding: 30px 10px;
  }
  .hero-overlay {
    background: rgba(4, 9, 25, 0.38);
  }
  .value-grid,
  .about-grid,
  .project-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .product-track {
    min-height: 680px;
  }
  .product-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 25px;
  }
  .product-card p {
    margin-left: auto;
    margin-right: auto;
  }
  .product-visual {
    height: 300px;
  }
  .product-card h3 {
    font-size: 3rem;
  }
  .carousel-arrow {
    top: 54%;
  }
  .footer-grid {
    gap: 24px;
  }
  .section,
  .products,
  .cta {
    padding: 75px 0;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .eyebrow {
    font-size: 1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero .btn {
    width: 100%;
    font-size: 0.82rem;
  }
  .product-track {
    min-height: 650px;
  }
  .product-card {
    padding: 28px 18px;
  }
  .product-visual {
    height: 250px;
  }
  .product-card h3 {
    font-size: 2.35rem;
  }
  .project-card {
    min-height: 390px;
  }
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px;
  object-fit: contain;
  mix-blend-mode: screen;
}

@media (max-width: 1000px) {
  .hero-logo {
    width: 100%;
    margin-bottom: 100px;
  }
}
/* Barra principal */
.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  position: relative;
}

.menu > a,
.menu-productos {
  padding: 20px 8px;
  color: #333333;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Cambia las palabras a dorado al colocar el cursor */
.menu > a:hover,
.menu-productos:hover,
.menu-desplegable:hover .menu-productos {
  color: #d09a24;
}

.separador {
  color: #d09a24;
  font-size: 22px;
}

/* Elemento que contiene Productos y la lista */
.menu-desplegable {
  position: relative;
}

/* Lista inicialmente escondida */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  width: 220px;
  padding: 10px 0;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}

/* Mostrar la lista al colocar el cursor en Productos */
.menu-desplegable:hover .submenu,
.menu-desplegable:focus-within .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 9px 15px;
  color: #444444;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

/* Cambiar a dorado la opción señalada */
.submenu a:hover {
  color: #d09a24;
  background-color: #f8f4eb;
}

/* Destacar una categoría específica */
.submenu a.destacado {
  color: #d09a24;
  font-weight: 700;
}


/* Página actual del menú */
.menu a.active {
  color: #174a7e;
  font-weight: 700;
}

/* Conserva el dorado al pasar el cursor */
.menu a:hover {
  color: #d09a24;
}

.product-card.product-card-image {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.product-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.menu-productos {
  font-weight: 400;
}

.menu-desplegable {
  position: relative;
  display: flex;
  align-items: center;
}


.redes-sociales {
  display: flex;
  align-items: center;
  gap: 15px;
}

.redes-sociales a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.redes-sociales img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.redes-sociales a:hover img {
  transform: scale(1.12);
  opacity: 0.8;
}



.redes-socialess {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 30px;
}

.redes-socialess a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.redes-socialess img {
  display: block;
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.redes-socialess a:hover img {
  transform: scale(1.12);
}


.project-images {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.project-images img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.project-link {
  margin-top: 35px;
  text-align: center;
}




.categorias-proyectos {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.categorias-proyectos h2 {
  margin: 0 0 40px;
  color: #174a7e;
  font-size: 36px;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.categoria-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 420px;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.categoria-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.categoria-card img {
  display: flex;
  width: 40%;
  height: 250px;
  object-fit: COVER;
}

.categoria-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.categoria-info h3 {
  margin: 0 0 22px;
  color: #174a7e;
  font-size: 23px;
  font-weight: 600;
  text-transform: uppercase;
}

.categoria-boton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px 20px;
  color: #ffffff;
  background-color: #d09a24;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.categoria-boton:hover {
  background-color: #174a7e;
}

.categoria-boton span {
  font-size: 24px;
  line-height: 1;
}

/* Tabletas */
@media (max-width: 900px) {
  .categorias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Celulares */
@media (max-width: 600px) {
  .categorias-proyectos {
    padding: 50px 0;
  }

  .categorias-grid {
    grid-template-columns: 1fr;
  }

  .categoria-card img {
    height: 230px;
  }
}

.categoria-card img {
  object-fit: contain;
  object-position: center;
  transform: translateX(35px);
}