:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --yellow: #ffd200;
  --black: #111111;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Ubuntu,
    Helvetica,
    Arial,
    sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f6f8ff 100%);
  line-height: 1.5;
}

.cajas1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: #0b0b0b;
  color: #e5e7eb;
  font-size: 0.9rem;
}
.topbar .cajas1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 20px;
}
.topbar .spacer {
  flex: 1;
}
.topbar a.wa {
  padding: 0.2rem 0.6rem;
  background: #ffd200fa;
  color: #000;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 0.25rem;
  text-decoration: none;
}
.topbar a.tel {
  color: #e5e7eb;
  text-decoration: none;
}

.primer-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid #eef2ff;
}
.header-inner1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand img {
  height: 51px;
  margin-left: 1rem;
  width: auto;
  display: block;
}
.brand-city {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #374151;
  background: #f3f4f6;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid #111;
  box-shadow: var(--shadow);
}
.btn.primary {
  background: #ffd200fa;
  border-color: #000;
  color: #000;
}
.btn.ghost {
  background: transparent;
  border-color: #111;
  color: #111;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    transform: translateY(-120%);
    transition: 0.25s;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav .btn.primary {
    width: 100%;
    text-align: center;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-tet h1 {
  font-size: 3.2rem;
  line-height: 1.05;
  margin: 0.2rem 0 1rem;
  font-weight: 900;
}
.hero-tet p {
  color: var(--muted);
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin: 18px 0 10px;
}

.photo-clipped {
  --sl: 22%;
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  clip-path: polygon(
    0 0,
    calc(100% - var(--sl)) 0,
    100% var(--sl),
    100% 100%,
    var(--sl) 100%,
    0 calc(100% - var(--sl))
  );
}
.photo-clipped img {
  display: block;
  width: 100%;
  height: auto;
}

.corner-dots {
  width: 140px;
  height: 12px;
  margin: -10px auto 0 0;
  background: radial-gradient(circle at 6px 6px, #ffd200fa 3px, transparent 4px)
    0 0/20px 100% repeat-x;
}
.accent-stripes {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 160px;
  height: 18px;
  transform: translateX(10px) skewX(-15deg);
}

.stripes-yellow {
  background: repeating-linear-gradient(
    -45deg,
    #ffd200fa,
    #ffd200fa 12px,
    transparent 12px,
    transparent 24px
  );
}
.stripes-black {
  background: repeating-linear-gradient(
    -45deg,
    var(--black),
    var(--black) 12px,
    transparent 12px,
    transparent 24px
  );
}
.mini-stripes {
  width: 120px;
  height: 10px;
  margin-top: 18px;
  border-radius: 6px;
}

.shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}
.shape-2 {
  right: -4px;
  top: 1px;
  width: 93px;
}
.shape-4 {
  right: 4%;
  top: 120px;
  width: 120px;
}
.shape-6 {
  right: -6px;
  bottom: 4%;
  width: 160px;
}
.shape-8 {
  left: 2%;
  bottom: -20px;
  width: 320px;
  opacity: 0.08;
}

.section {
  padding: 72px 0 64px;
  position: relative;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 2rem;
  margin: 0;
}
.stripe-under {
  height: 10px;
  width: 120px;
  border-radius: 6px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid #eaeefc;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 180px;
  height: 40px;
  transform: skewX(-18deg);
  background: repeating-linear-gradient(
    -45deg,
    var(--black),
    var(--black) 12px,
    transparent 12px,
    transparent 24px
  );
  opacity: 0.07;
}

.equipments .h-scroll {
  display: flex;
  gap: 22px;
  overflow: auto;
  padding: 8px;
  scroll-snap-type: x mandatory;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
}
.equipments .snap {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 10px 20px;
  box-shadow: var(--shadow);
}
.equipments img {
  height: 220px;
  width: auto;
  display: block;
}

.tech {
  background: linear-gradient(180deg, #fff 0%, #f7f7ff 100%);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}
.tech-card {
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  position: relative;
  isolation: isolate;
  border: 1px solid #eef2ff;
  box-shadow: var(--shadow);
}
.tech-card::before {
  /* animated diagonal border */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  z-index: -1;
  background: conic-gradient(
    from 0deg at 50% 50%,
    #ffd200fa,
    transparent 30% 70%,
    #ffd200fa
  );
  filter: blur(14px);
  opacity: 0.35;
  animation: spin 6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-list {
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.contact-form {
  display: grid;
  gap: 10px;
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #eaeefc;
  box-shadow: var(--shadow);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
}
.contact-form button {
  width: 100%;
}

.diagonal-band {
  height: 14px;
  margin-top: 28px;
  border-radius: 10px;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid #eef2ff;
  margin-top: 30px;
  text-align: center;
  color: #64748b;
}

.fab-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  height: 52px;
  width: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffd200fa;
  color: #000;
  font-weight: 900;
  border: 2px solid #000;
  text-decoration: none;
  box-shadow: var(--shadow);
  z-index: 80;
}

/* JS-controlled */
.nav.open a {
  opacity: 1;
}

/* Accessibility niceties */
.h-scroll:focus {
  outline: 2px solid #ffd200fa;
  outline-offset: 3px;
}
