/* ========================================
   RESET
======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;

  background: #e7ecef;

  font-family: "Montserrat", sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:root {
  --color-bg: #e7ecef;
  --color-primary: #274c77;
  --color-secondary: #6096ba;
  --color-accent: #a3cef1;
  --color-text: #8b8c89;

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 30px;

  --shadow-sm: 0 10px 20px rgba(0, 0, 0, 0.08);

  --shadow-md: 0 15px 35px rgba(39, 76, 119, 0.12);

  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.hero-servicios {
  position: relative;

  width: 100%;
  height: 610px;

  overflow: hidden;
}

/* IMAGEN */

.hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: translateZ(0);

  will-change: transform;
}

/* OVERLAY */

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(to right, #274c77, #6096ba);

  opacity: 0.65;

  z-index: 1;
}

/* CONTENIDO */

.hero-content {
  position: relative;

  z-index: 5;

  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* IZQUIERDA */

.hero-izquierdo {
  width: calc(100% - 976px);

  padding-left: 178px;
  padding-right: 20px;

  color: #e7ecef;
}

.hero-izquierdo h1 {
  margin-bottom: 25px;

  font-family: "ADLaM Display", system-ui;

  font-size: 40px;
  font-weight: 400;

  letter-spacing: 2px;
}

.hero-izquierdo p {
  max-width: 620px;

  font-size: 24px;
  font-weight: 500;

  line-height: 1.8;

  font-family: "Adamina", serif;
}

/* FORMA DERECHA */

.hero-forma {
  position: relative;

  width: 976px;
  height: 610px;

  flex-shrink: 0;
}

.hero-forma::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: url("data:image/svg+xml,%3Csvg width='868' height='610' viewBox='0 0 868 610' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M868 610H460.395L272.69 285L228.675 329L99.3018 105L60.8945 38.5L36.3857 63L0 0H868V610Z' fill='url(%23paint0_linear_247_14)'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_247_14' x1='434' y1='0' x2='434' y2='610' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23274C77'/%3E%3Cstop offset='1' stop-color='%236096BA'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* ==========================================
   DESARROLLADORES
========================================== */

.equipo-desarrolladores {
  padding: 90px 0 120px;
  background: #e7ecef;
  overflow: hidden;
}

.equipo-container {
  width: min(1400px, 92%);
  margin: auto;
}

/* ==========================================
   TITULO
========================================== */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: "ADLaM Display", system-ui;
  font-size: 42px;
  font-weight: 400;
  color: #274c77;
  letter-spacing: 2px;
}

/* ==========================================
   CONTENEDOR
========================================== */

.developers-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

/* ==========================================
   FLECHAS
========================================== */

.slider-arrow {
  border: none;
  background: transparent;

  width: auto;
  height: auto;

  padding: 0;

  color: #274c77;

  font-size: 52px;

  transition: 0.25s ease;

  cursor: pointer;
}

.slider-arrow:hover {
  color: #6096ba;
  transform: scale(1.08);
}

/* ==========================================
   CARD
========================================== */

.developer-card {
  position: relative;

  width: 390px;
  height: 520px;

  overflow: hidden;

  border-radius: 42px;

  background: #ffffff;

  box-shadow: 0 15px 35px rgba(39, 76, 119, 0.08);

  transition: 0.35s ease;
}

.developer-card:hover {
  transform: translateY(-6px);
}

.developer-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition: 0.6s ease;
}

.developer-card:hover img {
  transform: scale(1.04);
}

/* ==========================================
   OVERLAY
========================================== */

.developer-card::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 150px;

  background: linear-gradient(
    to top,
    rgba(39, 76, 119, 0.95),
    rgba(39, 76, 119, 0.6),
    transparent
  );

  z-index: 1;
}

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

.developer-footer {
  position: absolute;

  left: 25px;
  right: 25px;
  bottom: 20px;

  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================
   BOTON
========================================== */

.btn-skills {
  border: none;

  padding: 12px 22px;

  border-radius: 999px;

  background: #274c77;
  color: #fff;

  font-family: "Adamina", serif;
  font-size: 14px;
  font-weight: 500;

  transition: 0.25s ease;
}

.btn-skills:hover {
  background: #6096ba;
}

/* ==========================================
   REDES
========================================== */

.developer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.developer-social a {
  width: 36px;
  height: 36px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(10px);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  font-size: 15px;

  transition: 0.25s ease;
}

.developer-social a:hover {
  background: #a3cef1;
  color: #274c77;
  transform: translateY(-2px);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {
  .developers-slider {
    gap: 25px;
  }

  .developer-card {
    width: 340px;
    height: 470px;
  }

  .slider-arrow {
    font-size: 42px;
  }
}

/* ==========================================
   MOVIL
========================================== */

@media (max-width: 768px) {
  .equipo-desarrolladores {
    padding: 70px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .developers-slider {
    flex-direction: column;
    gap: 20px;
  }

  .slider-arrow {
    display: none;
  }

  .developer-card {
    width: 100%;
    max-width: 380px;
    height: 500px;
  }

  .developer-footer {
    left: 18px;
    right: 18px;
  }

  .btn-skills {
    font-size: 13px;
    padding: 11px 18px;
  }

  .developer-social a {
    width: 34px;
    height: 34px;
  }
}

/* ==================================================
   TECNOLOGÍAS
================================================== */

.tecnologias {
  position: relative;
  overflow: hidden;
  padding: 75px 75px 45px 45px;
  height: 925px;

  background: linear-gradient(135deg, #274c77 0%, #6096ba 100%);
}

.tecnologias-container {
  width: min(1400px, 92%);
  margin: 0 auto;
}

/* ==================================================
   TITULO
================================================== */

.section-title-tec {
  text-align: center;
  margin-bottom: 70px;
}

.section-title-tec h2 {
  font-family: "ADLaM Display", system-ui;
  font-size: 42px;
  font-weight: 400;
  color: #e7ecef;
  letter-spacing: 2px;
}

/* ==================================================
   GRID
================================================== */

.parent {
  display: grid;

  width: 100%;

  grid-template-columns: repeat(53, 1fr);

  grid-template-rows: repeat(23, 28px);

  gap: 14px;
}

/* ==================================================
   POSICIONES
================================================== */

.div1 {
  grid-area: 1 / 1 / 7 / 16;
}

.div2 {
  grid-area: 1 / 17 / 7 / 32;
}

.div3 {
  grid-area: 1 / 33 / 9 / 54;
}

.div4 {
  grid-area: 8 / 1 / 16 / 22;
}

.div5 {
  grid-area: 10 / 23 / 16 / 38;
}

.div6 {
  grid-area: 10 / 39 / 16 / 54;
}

/* ==================================================
   TARJETAS
================================================== */

.tech-card {
  position: relative;

  overflow: hidden;

  border-radius: 30px;

  background: #274c77;

  box-shadow: 0 10px 25px rgba(39, 76, 119, 0.2);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.tech-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 16px 30px rgba(39, 76, 119, 0.25);
}

/* ==================================================
   IMAGENES
================================================== */

.tech-card img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: 0.4s ease;
}

/* ==================================================
   OVERLAY CORPORATIVO
================================================== */

.tech-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(39, 76, 119, 0.355) 0%,
    rgba(139, 140, 137, 0.355) 100%
  );

  z-index: 1;
}

/* ==================================================
   CONTENIDO
================================================== */

.tech-content {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 2;

  padding: 20px;
}

/* ==================================================
   TITULO TARJETAS
================================================== */

.tech-content h3 {
  font-family: "ADLaM Display", system-ui;

  color: #e7ecef;

  font-size: 28px;

  font-weight: 400;

  text-transform: uppercase;

  text-align: center;

  letter-spacing: 1px;

  line-height: 1.1;

  margin: 0;

  text-shadow: 0 2px 8px rgba(39, 76, 119, 0.4);
}

/* ==================================================
   BORDE INTERNO
================================================== */

.tech-card::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 30px;

  border: 1px solid rgba(231, 236, 239, 0.12);

  z-index: 3;

  pointer-events: none;
}

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

@media (max-width: 1024px) {
  .parent {
    grid-template-columns: repeat(2, 1fr);

    grid-template-rows: auto;

    gap: 20px;
  }

  .div1,
  .div2,
  .div3,
  .div4,
  .div5,
  .div6 {
    grid-area: auto;

    min-height: 280px;
  }

  .tech-content h3 {
    font-size: 24px;
  }
}

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

@media (max-width: 768px) {
  .tecnologias {
    padding: 70px 0;
  }

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

  .div1,
  .div2,
  .div3,
  .div4,
  .div5,
  .div6 {
    min-height: 240px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .tech-content h3 {
    font-size: 22px;
  }
}
