:root {
  --azul: #1a3a6b;
  --azul-med: #1e6fc7;
  --azul-claro: #4da3ff;
  --naranja: #ff6b1a;
  --naranja-claro: #ffaa5e;
  --blanco: #f5f9ff;
  --gris: #e8f0fb;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Nunito", sans-serif;
  background: var(--blanco);
  color: var(--azul);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(26, 58, 107, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 4rem;
  border-bottom: 2px solid var(--naranja);
}
.nav-logo {
  font-family: "Orbitron", monospace;
  color: var(--blanco);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.nav-logo img {
  border-radius: 10%;
}
.nav-logo span {
  color: var(--naranja);
}
.material-icons-outlined.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  font-size: 55px;
  color: orange;
  cursor: pointer;
  caret-color: transparent;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}
nav ul a {
  color: rgba(245, 249, 255, 0.8);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul a:hover {
  color: var(--naranja-claro);
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #08172e 0%, #0e2247 45%, #1a3a6b 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 15% 55%,
      rgba(77, 163, 255, 0.07) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 25%,
      rgba(255, 107, 26, 0.05) 0%,
      transparent 40%
    );
  pointer-events: none;
}
.circuit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 3rem 3rem 8%;
  max-width: 600px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 26, 0.15);
  border: 1px solid rgba(255, 107, 26, 0.4);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  color: var(--naranja-claro);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--naranja);
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}
.hero-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title .hl {
  color: var(--naranja);
  text-shadow: 0 0 30px rgba(255, 107, 26, 0.35);
}
.hero-sub {
  font-family: "Orbitron", monospace;
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  color: var(--azul-claro);
  margin-bottom: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-slogan {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(245, 249, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-slogan em {
  color: var(--naranja-claro);
  font-style: normal;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}
.btn-p {
  background: var(--naranja);
  color: white;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 4px 20px rgba(255, 107, 26, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 26, 0.5);
}
.btn-s {
  border: 2px solid rgba(77, 163, 255, 0.45);
  color: var(--azul-claro);
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s;
}
.btn-s:hover {
  border-color: var(--azul-claro);
  background: rgba(77, 163, 255, 0.1);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ROBOT CONTENEDOR */
.robot-scene {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(420px, 40vw);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Burbuja de saludo */
.speech-bubble {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 0.7rem 1.2rem;
  font-family: "Nunito", sans-serif;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  animation: bubbleIn 0.5s 1.2s ease forwards;
  white-space: nowrap;
}
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: white;
}
@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* SVG robot */
#robo-svg {
  width: 100%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
  animation: robotEnter 0.8s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes robotEnter {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Flotado idle */
.robot-float {
  animation: float 3.5s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245, 249, 255, 0.35);
  font-size: 0.74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: fadeUp 1s 1.8s ease both;
}
.scroll-hint svg {
  animation: bob 2s infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* SECCIONES */
section {
  padding: 5rem 8%;
}
.lbl {
  font-family: "Orbitron", monospace;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 0.4rem;
}
.stitle {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--azul);
  margin-bottom: 0.8rem;
}
.stitle span {
  color: var(--naranja);
}
.div {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--naranja), var(--azul-claro));
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

/* SOBRE MÍ */
#sobre {
  background: var(--blanco);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sobre-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #2a3a5a;
  margin-bottom: 1rem;
}
.sobre-text strong {
  color: var(--azul-med);
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.stat {
  background: var(--gris);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border-top: 3px solid var(--naranja);
  transition: transform 0.2s;
}
.stat:hover {
  transform: translateY(-4px);
}
.stat-n {
  font-family: "Orbitron", monospace;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--azul-med);
}
.stat-l {
  font-size: 0.8rem;
  color: #557;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ÁREAS */
#areas {
  background: var(--gris);
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.area-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 58, 107, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  border-bottom: 3px solid var(--azul-med);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(26, 58, 107, 0.14);
}
.area-head {
  background: linear-gradient(135deg, var(--azul), var(--azul-med));
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 110px;
}
.area-body {
  padding: 1.5rem;
}
.area-body h3 {
  font-family: "Orbitron", monospace;
  font-size: 0.92rem;
  color: var(--azul);
  margin-bottom: 0.5rem;
}
.area-body p {
  font-size: 0.88rem;
  color: #557;
  line-height: 1.65;
}
.area-tag {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(255, 107, 26, 0.1);
  color: var(--naranja);
  border-radius: 50px;
  padding: 0.2rem 0.8rem;
  font-size: 0.73rem;
  font-weight: 700;
}

/* RECURSOS */
#recursos {
  background: white;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.rec-card {
  border: 2px solid var(--gris);
  border-radius: 18px;
  padding: 1.8rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.rec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--naranja), var(--azul-claro));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.rec-card:hover {
  border-color: var(--azul-claro);
  transform: translateY(-4px);
}
.rec-card:hover::before {
  transform: scaleX(1);
}
.rec-ico {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.rec-card h3 {
  font-family: "Orbitron", monospace;
  font-size: 0.88rem;
  color: var(--azul);
  margin-bottom: 0.4rem;
}
.rec-card p {
  font-size: 0.86rem;
  color: #557;
  line-height: 1.6;
}

/* RADIO */
#radio {
  background: linear-gradient(135deg, #06121f 0%, #0e2247 50%, #1a3a6b 100%);
  color: white;
  text-align: center;
}
#radio .stitle {
  color: white;
}
#radio .lbl {
  color: var(--naranja-claro);
}
.radio-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 24px;
  padding: 3rem;
  max-width: 660px;
  margin: 0 auto;
}
.radio-logo {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: white;
  margin-bottom: 0.8rem;
}
.radio-logo span {
  color: var(--naranja);
}
.radio-desc {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.97rem;
}
.radio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--naranja);
  color: white;
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.97rem;
  box-shadow: 0 4px 20px rgba(255, 107, 26, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.radio-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 26, 0.5);
}
.wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 38px;
  margin-bottom: 1.8rem;
}
.wave span {
  display: block;
  width: 5px;
  background: var(--naranja-claro);
  border-radius: 3px;
  animation: wv 1.2s ease-in-out infinite;
}
.wave span:nth-child(2) {
  animation-delay: 0.15s;
}
.wave span:nth-child(3) {
  animation-delay: 0.3s;
}
.wave span:nth-child(4) {
  animation-delay: 0.45s;
}
.wave span:nth-child(5) {
  animation-delay: 0.6s;
}
@keyframes wv {
  0%,
  100% {
    height: 7px;
  }
  50% {
    height: 34px;
  }
}

/* GALERÍA */
#galeria {
  background: var(--gris);
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 170px);
  gap: 1rem;
}
.gal-item {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azul), var(--azul-med));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.18);
  transition: transform 0.25s;
  cursor: pointer;
  position: relative;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-item:hover {
  transform: scale(1.03);
}
.gal-item:nth-child(1) {
  grid-column: 1/3;
}
.gal-item:nth-child(5) {
  grid-column: 3/5;
}
.gal-note {
  text-align: center;
  margin-top: 1.2rem;
  color: #779;
  font-size: 0.87rem;
}

/* LIGHTBOX */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 12, 28, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
#lightbox.open {
  display: flex;
}
#lightbox img {
  max-width: 88vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lb-close:hover {
  opacity: 1;
}
.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s;
}
.lb-prev {
  left: 1.5rem;
}
.lb-next {
  right: 1.5rem;
}
.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 107, 26, 0.4);
}

/* APOYA */
#apoya {
  background: white;
  text-align: center;
}
.apoya-inner {
  max-width: 680px;
  margin: 0 auto;
}
.apoya-inner p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2a3a5a;
  margin-bottom: 2rem;
}
.apoya-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.apoya-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.apoya-btn.primary {
  background: var(--naranja);
  color: white;
  box-shadow: 0 4px 18px rgba(255, 107, 26, 0.35);
}
.apoya-btn.primary:hover {
  transform: translateY(-2px);
}
.apoya-btn.secondary {
  border: 2px solid var(--azul-med);
  color: var(--azul-med);
}
.apoya-btn.secondary:hover {
  background: var(--azul-med);
  color: white;
}

/* CONTACTO */
#contacto {
  background: var(--gris);
}
.cont-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.cont-info p {
  color: #2a3a5a;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  font-size: 1rem;
}
.cont-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.cont-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  background: white;
  text-decoration: none;
  color: var(--azul);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.cont-link:hover {
  background: var(--azul);
  color: white;
  transform: translateX(5px);
}
.cont-link .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(30, 111, 199, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cont-link:hover .ico {
  background: rgba(255, 255, 255, 0.15);
}
.form-c {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.form-c input,
.form-c textarea {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 2px solid var(--gris);
  font-family: "Nunito", sans-serif;
  font-size: 0.93rem;
  color: var(--azul);
  background: white;
  transition: border-color 0.2s;
  outline: none;
}
.form-c input:focus,
.form-c textarea:focus {
  border-color: var(--azul-claro);
}
.form-c textarea {
  min-height: 115px;
  resize: vertical;
}
.form-c button {
  padding: 0.85rem;
  border-radius: 50px;
  border: none;
  background: var(--naranja);
  color: white;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.97rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 26, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.form-c button:hover {
  transform: translateY(-2px);
}
.redes {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.red-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.red-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.red-yt {
  background: #ff0000;
  color: white;
}
.red-tk {
  background: #010101;
  color: white;
}
.red-ig {
  background: linear-gradient(
    135deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
}

footer {
  background: var(--azul);
  color: rgba(245, 249, 255, 0.65);
  text-align: center;
  padding: 2.5rem;
  font-size: 0.83rem;
  border-top: 3px solid var(--naranja);
}
footer strong {
  color: var(--naranja-claro);
}
footer .foot-sub {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

@media(max-width:986px) {

  .material-icons-outlined.hamburger {
      display: inline-block;

  }
  .menu {
      position: absolute;
      top: 82px;
      right: 0;
      background: rgba(26, 58, 107, 0.96);
      flex-direction: column;
      width: 200px;
      display: none;
      padding: 1rem;
  }
  .menu.active {
      display: flex;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.75rem 1.5rem;
  }
  nav ul {
    display: none;
  }
  .hero-content {
    padding: 6rem 1.5rem 2rem;
    max-width: 100%;
  }
  .robot-scene {
    display: none;
  }
  #sobre {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cont-inner {
    grid-template-columns: 1fr;
  }
  .gal-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gal-item:nth-child(1),
  .gal-item:nth-child(5) {
    grid-column: auto;
  }
  section {
    padding: 3rem 5%;
  }
}

/* MEJORAS EL PROFE CARLOS */
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gal-item:hover img {
  transform: scale(1.08);
}
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9999;
  background: #ff6b1a;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
  transition: .3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.back-top:hover {
  transform: translateY(-3px);
}
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  background: #25d366;
  color: white;
  padding: 12px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.gallery-caption {
  text-align: center;
  padding: 20px;
  font-size: 1.05rem;
}

.logo-nav {
  height: 50px;
  vertical-align: middle;
  margin-right: 10px;
}
@media (max-width: 768px) {
  nav {
    padding: 0.75rem 1rem !important;
    flex-wrap: wrap;
  }
  nav ul {
    gap: 0.8rem !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo-nav {
    height: 40px;
  }
  h1 {
    font-size: 2rem !important;
  }
  .hero-content,
  .container,
  .section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .gal-grid {
    grid-template-columns: 1fr !important;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
