/* Exportación estática: CSS puro, sin Tailwind ni dependencias de framework. */
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }


:root {
  --red: #ba0c2f;
  --ink: #1c1c1e;
  --soft: #eeeeee;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

@layer base {
  body {
    min-width: 320px;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }
}

.shell {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}
.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}
 .drawer-logo {
      display: none;
}
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  cursor: pointer;
  z-index: 1002; /* Queda por encima del cajón lateral */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ba0c2f;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding-inline-start: 0;
  flex-direction: row;
}

.nav-menu a {
  color: #202020;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #ba0c2f;
}

/* Fondo oscuro detrás del cajón (oculto en PC) */
.overlay {
  display: none;
}

/* =========================================
    VERSIÓN MÓVIL (Cajón lateral)
    ========================================= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  /* Cajón lateral posicionado a la derecha */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -280px; /* Oculto fuera de la pantalla */
    width: 280px;
    height: 100vh;
    background-color: #222;
    padding-top: 5rem;
    transition: right 0.35s ease-in-out;
    z-index: 1001;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.4);
  }
 /* Estilos del logo dentro del cajón lateral */
  .drawer-logo {
    display: block;
    padding: 0 2rem 1.2rem 2rem;
    border-bottom: 1px solid #444;
    margin-bottom: 0.5rem;
  }

  .drawer-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
  }

  /* Si usas una imagen como logo, ajusta su tamaño aquí */
  .drawer-logo img,
  .logo img {
    max-height: 35px;
    width: auto;
    display: block;
  }
  .nav-link-logo{
    border-bottom: 1px solid transparent !important;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding-inline-start: 0;
  } 

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 1.1rem 2rem;
    border-bottom: 1px solid #333;
    font-size: 1.1rem;
    color: #fafafa;
  }

  /* Desliza el cajón hacia adentro al activar */
  .menu-toggle:checked ~ .nav-menu {
    right: 0;
  }

  /* Fondo oscuro semitransparente */
  .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  /* Muestra el fondo oscuro cuando el menú abre */
  .menu-toggle:checked ~ .overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Animación de hamburguesa a "X" */
  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .eyebrow--light {
    padding-bottom: 0px !important;
  }
}
/* =========================================
    VERSIÓN MÓVIL FIN
    ========================================= */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 68px;
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 0 rgba(28, 28, 30, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 126px;
  height: auto;
  display: block;
}

.logo--light img {
  filter: brightness(0) invert(1);
}

.header-cta {
  padding: 14px 17px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  color: #fff;
  background: url("assets/quantum-hero.jpg") center / cover no-repeat;
}

.hero-overlay,
.strength-overlay,
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 30, 0.48), rgba(28, 28, 30, 0.75));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding-block: 76px 48px;
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker {
  margin-bottom: 26px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(40px, 10vw, 67px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 620px;
  margin: 30px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.52;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--red);
}

.button--primary:hover {
  background: #a9002a;
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(28, 28, 30, 0.28);
}

.section {
  padding-block: 76px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  flex: none;
  background: currentColor;
}

.eyebrow--light {
  color: #fff;
}

.section h2 {
  margin: 0;
  font-size: clamp(31px, 7vw, 49px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading > p,
.about-copy,
.impact p,
.contact-copy > p {
  margin: 22px 0 0;
  color: #515151;
  line-height: 1.65;
}

.solutions {
  background: #ececec;
}

.service-gallery {
  margin-top: 42px;
}

.service-cards {
  display: grid;
  gap: 18px;
}

.service-card {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border: 0;
  background: #fff;
}

.service-card > img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover > img {
  transform: scale(1.025);
}

.service-card-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  transition: min-height 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card.active .service-card-panel {
  min-height: 330px;
}

.service-card-marker {
  width: 9px;
  height: 9px;
  margin-bottom: 16px;
  background: var(--red);
}

.service-card h3 {
  max-width: 280px;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.service-card-bottom {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
}

.service-card-bottom > div {
  flex: 1;
}

.service-card-bottom p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.service-body {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  opacity: 0;
  transition:
    max-height 320ms ease,
    padding-top 320ms ease,
    opacity 240ms ease;
}

.service-card.active .service-body {
  max-height: 115px;
  padding-top: 14px;
  opacity: 1;
}

.service-card-bottom button {
  width: 58px;
  height: 52px;
  flex: none;
  padding: 0;
  border: 0;
  color: #fff;
  background: #1c1c1e;
  cursor: pointer;
  transition: background 180ms ease;
}

.service-card-bottom button span {
  display: block;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  transition: transform 200ms ease;
}

.service-card-bottom button:hover {
  background: var(--red);
}

.service-card-bottom button:hover span {
  transform: translateY(-3px);
}

.strength {
  position: relative;
  color: #fff;
  background: url("assets/quantum-texture.jpg") center / cover no-repeat;
}

.strength-overlay {
  background: rgba(28, 28, 30, 0.86);
}

.strength-inner {
  position: relative;
  z-index: 1;
}

.strength-grid {
  display: grid;
  gap: 18px;
  margin: 44px 0 24px;
}

.strength-card {
  min-height: 148px;
  padding: 28px 30px;
  color: var(--ink);
  background: #fff;
}

.strength-card h3 {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 20px;
  font-weight: 600;
}

.strength-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.strength .button {
  width: 100%;
}

.about {
  background: var(--soft);
}

.about-copy {
  
}

.about-statement {
  margin-top: 32px;
  border-top: 2px solid var(--red);
  padding-top: 34px;
}

.about-statement p {
  margin: 0 20px 42px;
  color: var(--red);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.about-statement .button {
  width: 100%;
}

.impact {
  background: #fff;
}

.impact-copy h2 {
  padding-top: 20px;
}
.impact-copy .eyebrow  {
  color: var(--red);
}

.impact p + p {
  margin-top: 8px;
}

.impact-list {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 52px;
}

.impact-list::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 15px;
  left: 6px;
  width: 2px;
  background: var(--red);
}

.impact-list article {
  position: relative;
  padding: 0 0 24px 34px;
}

.impact-node {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--red);
  box-shadow: 0 0 0 5px #fff;
}

.impact-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 14px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.impact-trigger > span {
  display: grid;
  gap: 9px;
}

.impact-trigger small {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.impact-trigger strong {
  font-size: 23px;
  font-weight: 600;
}

.impact-trigger i {
  width: 46px;
  height: 46px;
  display: grid;
  flex: none;
  place-items: center;
  color: #fff;
  background: #1c1c1e;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  transition: background 180ms ease;
}

.impact-trigger:hover i,
.impact-list article.active .impact-trigger i {
  background: var(--red);
}

.impact-body {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  color: #5a5a5a;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0;
  transition:
    max-height 360ms ease,
    padding-bottom 360ms ease,
    opacity 240ms ease;
}

.impact-list article.active .impact-body {
  max-height: 220px;
  padding-bottom: 18px;
  opacity: 1;
}

.contact {
  position: relative;
  color: #fff;
  background: url("assets/quantum-contact.jpg") center / cover no-repeat;
}

.contact-overlay {
  background: rgba(28, 28, 30, 0.8);
}

.contact-grid {
  position: relative;
  z-index: 1;
}

.contact-copy > p {
  color: #fff;
}
.contact-copy > .eyebrow.eyebrow--light {
  margin-bottom: 20px;
}
.base {
  display: grid;
  gap: 4px;
  margin: 30px 0 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.base strong {
  font-size: 12px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px 22px;
  color: var(--ink);
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}

.contact-form label b {
  color: var(--red);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: none;
  background: #fafafa;
  padding: 13px;
  font-size: 14px;
  font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form small {
  color: #777;
  font-size: 9px;
  text-align: center;
}

.form-success {
  padding-block: 36px;
  text-align: center;
}

.form-success > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-success h3 {
  margin: 15px 0 10px;
  font-size: 25px;
}

.form-success p {
  margin: 0 auto 24px;
  max-width: 350px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.form-success button {
  border: 0;
  color: var(--red);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.footer {
  padding: 54px 0 28px;
  color: #fff;
  background: var(--red);
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.footer .logo {
  margin-bottom: 24px;
}

.footer .logo img {
  width: 154px;
}

.footer p,
.footer a {
  display: block;
  margin: 6px 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  text-decoration: none;
}

.footer h3 {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hmax {
  font-weight: 900;
}
@media (min-width: 760px) {
  .shell {
    width: min(100% - 80px, 1180px);
  }

  .site-header {
    height: 82px;
  }

  .logo img {
    width: 150px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    align-items: center;
    padding-block: 110px;
  }

  .hero-actions {
    max-width: 500px;
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding-block: 110px;
  }

  .section-heading,
  .about-grid,
  .impact-grid,
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
  }

  .section-heading > p {
    margin-top: 0;
  }

  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .service-card {
    height: 430px;
  }

  .service-card-panel {
    min-height: 235px;
    padding: 28px;
  }

  .service-card.active .service-card-panel {
    min-height: 345px;
  }

  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength .button {
    width: 330px;
  }

  .about-statement {
    align-self: end;
    margin-top: 0;
  }

  .impact-list {
    align-self: center;
    margin-top: 0;
  }

  .contact-form {
    padding: 36px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
  }
}
