/* ================================
   FUENTES CORPORATIVAS
   ================================ */

@font-face {
  font-family: "Schwiss";
  src: url("../fonts/Schwiss-Thin.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Schwiss";
  src: url("../fonts/Schwiss-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Schwiss";
  src: url("../fonts/Schwiss-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Schwiss";
  src: url("../fonts/Schwiss-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Schwiss";
  src: url("../fonts/Schwiss-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Aileron";
  src: url("../fonts/Aileron-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Aileron";
  src: url("../fonts/Aileron-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

/* ================================
   RESET Y BASE
   ================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Aileron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #111827;
  line-height: 1.6;
}

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

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

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================
   NAVBAR
   ================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50; /* encima del contenido */
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(12px); /* le da un look premium tipo glass */
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0; /* ⬅️ más aire arriba y abajo */
}

.topbar-scrolled {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}


.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  height: 40px;
}

.logo-text span {
  font-family: "Schwiss", "Aileron", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 1.4rem;
  font-family: "Schwiss", "Aileron", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4b5563;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: #111827;
}

.nav a.active {
  border-bottom-color: #1d4ed8;
  color: #1d4ed8;
}

.btn-nav {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #1d4ed8;
}

/* ================================
   BOTONES GENERALES
   ================================ */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: "Schwiss", "Aileron", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #1d4ed8;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e40af;
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.btn-full {
  width: 100%;
}

/* ================================
   HOME / HERO
   ================================ */

.hero-full {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("../img/hero-glasslum.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-center {
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  padding: 0 1.5rem;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: #ffffff;
  margin: 0 auto 18px;
  opacity: 0.9;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-btn {
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .hero-full {
    height: 80vh;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-sub {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
  }
}

/* ================================
   SECCIONES GENERALES
   ================================ */

.section {
  padding: 3rem 0;
}

.section-alt {
  padding: 3rem 0;
  background: #f3f4ff;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h1,
.section-header h2 {
  font-family: "Schwiss", "Aileron", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;              /* más grande que los títulos de card */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: #111827;
}

.section-header p,
.section-subtitle {
  color: #4b5563;
  font-size: 0.95rem;
  max-width: 640px;
}

/* ================================
   GRIDS Y CARDS (NOSOTROS)
   ================================ */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.4rem;
  border: 1px solid #e5e7eb;
}

.card h1,
.card h2,
.card h3 {
  font-family: "Schwiss", "Aileron", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  color: #111827;
}

.card p {
  font-size: 0.94rem;
  color: #4b5563;
}

.values-list {
  list-style: none;
}

.values-list li {
  font-size: 0.94rem;
  color: #374151;
}

.values-list li + li {
  margin-top: 0.3rem;
}

/* ================================
   SERVICIOS
   ================================ */

/* grid 3–3 (y luego controlas el último con una clase aparte si quieres) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Títulos de cada servicio */
.service-card h3 {
  font-family: "Schwiss", "Aileron", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A2D5C;        /* azul Glasslum */
  margin-top: 0.75rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #374151;
}

/* Si usas una card especial a lo ancho (opcional) */
.service-card-full {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card-full img {
  width: 40%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 6px;
}

.service-card-full .service-card-content {
  flex: 1;
}

/* responsive: tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-full {
    flex-direction: column;
  }

  .service-card-full img {
    width: 100%;
    max-height: 320px;
  }
}

/* responsive: mobile */
@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   CONTACTO
   ================================ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-note {
  font-size: 0.94rem;
  color: #4b5563;
  max-width: 520px;
  margin-bottom: 1rem;
}

.contact-card + .contact-card {
  margin-top: 1rem;
}

.contact-card h2 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.contact-card a {
  color: #1d4ed8;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.4rem;
  border: 1px solid #e5e7eb;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #374151;
}

.contact-form input,
.contact-form textarea {
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.7rem;
  font: inherit;
  background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 1px #1d4ed8;
  background: #ffffff;
}

/* ================================
   FOOTER
   ================================ */

.footer {
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 0.85rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #6b7280;
}

.footer a {
  color: #6b7280;
}

.footer a:hover {
  text-decoration: underline;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    order: -1;
    margin-bottom: 1.2rem;
  }

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

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

@media (max-width: 700px) {
  .topbar-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1rem;
    margin-top: 0.3rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.4rem;
  }

  .card,
  .service-card,
  .contact-form {
    padding: 1.1rem;
  }
}

/* ================================
   HERO ALTERNATIVO (POR SI LO USAS)
   ================================ */

.hero-large {
  padding: 6rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-left h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.hero-left .hero-text {
  font-size: 1.08rem;
  color: #4b5563;
  max-width: 520px;
  margin-bottom: 1.8rem;
}

.hero-right img {
  width: 100%;
  border-radius: 0.7rem;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-large {
    padding: 3rem 0;
    min-height: auto;
  }
  .hero-grid-in {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-right img {
    margin-top: 1.5rem;
  }
}
/* ================================
   NOSOTROS
   ================================ */

/* Título de la sección Nosotros */
.section-header h1 {
  font-family: "Schwiss", "Aileron", sans-serif;
  font-weight: 600;
  color: #1e3a8a;          /* Azul Glasslum más sobrio */
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

/* Texto introductorio */
.section-header .section-subtitle {
  color: #4b5563;
  font-size: 0.95rem;
  max-width: 640px;
}

/* Tarjetas Misión / Visión / Valores */
.info-card {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  padding: 1.4rem;
}

/* Títulos dentro de las tarjetas */
.info-card h2 {
  font-family: "Schwiss", "Aileron", sans-serif;
  font-weight: 600;
  color: #1e3a8a;          /* mismo azul que Servicios */
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Párrafos dentro de las tarjetas */
.info-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
}
/* Transición general de página (entrada/salida) */
body {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease-out, transform 0.28s ease-out;
}

/* Cuando la página ya cargó */
body.page-loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Cuando estamos saliendo a otra pestaña */
body.page-exit {
  opacity: 0;
  transform: translateY(8px);
}
.nav-ig {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Schwiss", "Aileron", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-ig:hover {
  opacity: 1;
  color: #1e3a8a; /* azul más sobrio */
}

.ig-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.nav-wa {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.wa-icon {
  width: 18px;
  height: 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;

    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    margin: 0;
    font-size: 0.85rem;
  }
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.menu-toggle {
  position: relative;
  z-index: 100;
}

