@charset "UTF-8";
:root {
  --bg2: rgba(209, 209, 209, 0.5);
  --text2: rgba(59, 59, 59, 0.5);
  --bg: #d1d1d1;
  --panel: #14161b;
  --text: #3b3b3b;
  --muted: #a8b0bb;
  --primary: #7aa2ff;
  --primary-600: #5a86ff;
  --primary-light: #93B1FA;
  --border: #252932;
  --card: #171a20;
  --ok: #19c37d;
  --textlight: #d8d8d8;
  --down: #00c2ff;
  --fade: 70%;
  --nuevobg: #B3B3B3;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  color: var(--textlight);
  background: var(--bg);
  overflow-x: hidden;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.oculto {
  width: 100%;
  height: 50%;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

.posimg {
  position: relative;
  width: 80%;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.posimg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--text2) 20%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.seccionletraoscura {
  color: var(--text);
}

.div18px {
  padding-bottom: 18px;
}

.borderlan {
  height: 100%;
  align-content: end;
  color: var(--primary);
}

.sobremirebajado {
  margin: 0.5%;
}

.imagen-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.controlimg {
  display: block;
  width: 100%;
  height: auto;
}

.controlprimerdiv {
  width: 40%;
  font-size: larger;
}

.asdasd {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  padding: 40px;
  font-size: 25px;
}

.cambiardireccion {
  padding: 18px;
  display: flex;
  flex-direction: row;
  border-radius: 15px;
  align-items: center;
  background-color: rgba(147, 177, 250, 0.2);
  backdrop-filter: blur(5px);
  color: var(--text);
  transition: box-shadow 0.3s ease;
}

.cambiardireccion:hover {
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}

/* Fade in de página */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.page-loaded {
  opacity: 1;
}

/*backgrounds*/
.backgroundd {
  background: linear-gradient(to bottom, var(--muted) 0%, transparent 50%), linear-gradient(315deg, var(--muted) 0%, transparent 25%);
  background-color: var(--bg); /* color base */
}

.fondo2 {
  background: linear-gradient(225deg, var(--muted) 0%, transparent 25%), linear-gradient(45deg, var(--muted) 0%, transparent 30%), var(--bg); /* color base */
  background-size: cover;
}

.backgroundd2 {
  color: var(--text);
  background-size: cover;
}

.lead {
  font-weight: bold;
  font-size: 2.15rem;
}

.tamaño-titulo-hero1 {
  font-size: 1.8rem;
}

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

.container2 {
  width: min(1320px, 90%);
  margin-inline: auto;
}

.container-wide {
  max-width: 1600px;
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(73, 73, 73, 0.65), rgba(73, 73, 73, 0.65));
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text);
  text-decoration: none;
}

.navimg {
  width: 90px;
  height: auto;
  object-fit: contain;
  filter: none; /* quitar el blur para que se vea nítido */
}

@media (max-width: 768px) {
  .navimg {
    width: 70px;
  }
}
.nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
}

.nav a {
  color: var(--textlight);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  position: relative; /* necesario para el ::after */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Línea animada debajo del enlace */
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--bg);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Hover: reduce tamaño y muestra la línea */
.nav a:hover {
  transform: scale(0.95);
}

.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Botón CTA dentro del nav */
.nav .cta {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--textlight);
  background: var(--primary-600);
}

.cta:hover {
  color: #12161d;
}

.ct1:hover {
  color: var(--primary-600);
}

.section, .section1, .section2 {
  min-height: 100svh;
  padding: 64px 0 72px;
  display: grid;
  align-items: center;
}

.section2 {
  flex-direction: column;
  justify-content: center;
}

.background1 {
  background: linear-gradient(to top, var(--muted) 5%, var(--bg) 50%);
}

.hero-top {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  background: linear-gradient(to bottom, var(--primary-600) 0%, #7aa2ff 45%, var(--bg) 95%);
  background-image: url("../otrapagina/resources/Designer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 1;
}

.hero-top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(242, 242, 242, 0), var(--bg) 70%);
  z-index: 3;
  pointer-events: none;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2b2b2b;
  margin-bottom: 20px;
}

.herotitulos {
  position: relative;
  z-index: 5;
  font-size: 2rem;
  color: black;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 0 20px;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 40px;
  max-width: 1300px;
  margin: 0 auto;
  font-size: 2.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 10; /* asegura que quede por encima del fondo */
  pointer-events: none;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

@media (max-width: 900px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: 14px;
  padding: 18px;
  color: var(--card);
  box-shadow: 0px 0px 5px var(--bg);
}

.card_service {
  background: var(--nuevobg);
  border: 1px solid var(--bg);
  border-radius: 14px;
  padding: 20px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  font-size: 18px;
  justify-content: space-between;
}

.card_service img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
}

.info-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.form {
  background: linear-gradient(180deg, #151922, #12161d);
  border-radius: 14px;
  padding: clamp(14px, 3vw, 22px);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: var(--muted);
}

.footer p {
  color: var(--text);
  text-align: center;
  margin: 0;
}

.section3 {
  min-height: 100svh;
  padding: 64px 0 72px;
  display: grid;
  grid-template-rows: 2fr 70% 10%;
  align-items: center;
}

.tercerapag {
  height: 100%;
  color: var(--text);
  display: flex;
  align-items: end;
}

.transparency {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
}

.gapeado {
  gap: 3rem;
}

.ocuparancho {
  height: 100%;
}

.ocuparancho2 {
  height: 20%;
  align-content: center;
}

.diferenciadeclases {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Reset mínimo recomendado */
body {
  margin: 0;
}

/* Sección principal */
.tercerapagina-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-image: url("/otrapagina/resources/ChatGPT Image 23 abr 2026, 13_29_32.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay oscuro */
.tercerapagina-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* Contenedor */
.tercerapagina-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

/* Texto */
.tercerapagina-content {
  max-width: 600px;
}

.tercerapagina-subtitle {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 10px;
}

.tercerapagina-title {
  color: #ffffff;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
}

.tercerapagina-description {
  color: #e5e7eb;
  font-size: 16px;
  margin-bottom: 25px;
}

/* Botón */
.tercerapagina-button {
  display: inline-block;
  background: #2b7cff;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.tercerapagina-button:hover {
  background: #1f5ed6;
}

/* Cards */
.tercerapagina-cards {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 30px auto 0;
  display: flex;
  gap: 20px;
  padding: 38px 20px 38px 20px;
}

/* Card individual */
.tercerapagina-card {
  background: var(--bg);
  padding: 15px;
  border-radius: 12px;
  flex: 1;
  transition: 0.3s;
}

.tercerapagina-card:hover {
  transform: translateY(-5px);
}

/* Icono */
.tercerapagina-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

/* Título card */
.tercerapagina-card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1f2937;
  text-align: center;
}

/* Texto card */
.tercerapagina-card-text {
  font-size: 14px;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 900px) {
  .tercerapagina-title {
    font-size: 32px;
  }
  .tercerapagina-cards {
    flex-direction: column;
  }
}
.flexdirectioncolumn {
  display: flex;
  flex-direction: column;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  color: var(--textlight);
  background: #1a1e25;
  font-weight: 600;
}

.btn.primary {
  background: var(--primary);
  color: #0b1221;
}

.btn.ghost {
  background: transparent;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  width: 32px;
  height: 24px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  transition: all 0.3s ease;
}

.linkedin-img {
  position: relative;
  width: 70px;
  height: 70px;
}

.linkedin-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.img-default {
  opacity: 1;
}

.img-hover {
  opacity: 0;
}

.linkedin:hover .img-default {
  opacity: 0;
}

.linkedin:hover .img-hover {
  opacity: 1;
}

.service-card-hide {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card-hide.active {
  transform: scale(1.02);
}

.service-content-hide {
  max-height: 0;
  overflow: hidden;
}

.colorytextocentrado {
  color: var(--text);
  text-align: center;
}

.service-card-hide {
  cursor: pointer;
}

.service-card-hide.active {
  transform: scale(1.02);
}

.margendediez {
  margin: 0.5rem;
}

.service-card-hide {
  padding: 1rem;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .service-card-hide {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

.about-hero {
  max-width: 1200px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: var(--text);
}

.about-text {
  flex: 1;
}

.about-text h1 {
  margin: 0;
  font-size: clamp(32px, 3vw, 46px);
}

.about-text h2 {
  margin: 10px 0 20px;
  color: var(--primary-600);
}

.about-card1 p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.about-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 10px;
  background: var(--primary-600);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.about-image {
  flex: 0.6;
}

.about-image img {
  width: 80%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-section2grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.indentadoizq {
  width: 100%;
  display: flex;
  justify-content: start;
}

.about-cards {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.about-card1 {
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  color: var(--text);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.about-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  color: var(--text);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.about-card h3 {
  margin-bottom: 10px;
  color: var(--primary-600);
}

.about-linkedin {
  margin-top: 40px;
}

.imagen-con-overlay {
  position: relative;
  display: inline-block;
  width: 60%;
}
.imagen-con-overlay .mi-imagen {
  display: block;
  width: 100%;
  height: auto;
}
.imagen-con-overlay .overlay-negro {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  z-index: 2;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
}
/* MEDIA QUERIES */
/* ==========================
   MENU HAMBURGUESA
   ========================== */
/* BOTÓN */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  transition: all 0.3s ease;
}

/* DESKTOP */
.nav {
  display: flex;
  gap: 20px;
}

@media (min-width: 1000px) {
  .elemento {
    box-shadow: none;
    transition: box-shadow, border 0.3s ease;
  }
  .elemento:hover {
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--text);
  }
}
/* MOBILE */
/* =========================
   MOBILE CLEAN (<= 768px)
   ========================= */
@media (max-width: 768px) {
  /* ===== RESET SCROLL ===== */
  html, body {
    overflow: auto;
    height: auto;
  }
  main {
    height: auto;
  }
  section {
    height: auto;
    min-height: 100dvh;
  }
  /* ===== TIPOGRAFÍA ===== */
  body {
    font-size: 15px;
  }
  .h1 {
    font-size: clamp(28px, 8vw, 40px);
  }
  .h2 {
    font-size: clamp(24px, 6vw, 32px);
  }
  .lead {
    font-size: 18px;
  }
  /* ===== NAVBAR / MENU ===== */
  .menu-toggle {
    display: flex;
    z-index: 3000;
  }
  .nav {
    position: fixed;
    top: 64px;
    right: 0;
    width: 100%;
    height: calc(100dvh - 64px);
    background: #14161b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2500;
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav a {
    font-size: 18px;
  }
  .navimg {
    width: 70px;
  }
  /* ===== MENU ICON ANIMATION ===== */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  /* ===== HERO ===== */
  .hero-top {
    padding: 20px;
    text-align: center;
  }
  .hero-top h1 {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
  .herotitulos {
    font-size: 1.2rem;
  }
  .hero-bottom {
    font-size: 1.1rem;
    padding: 20px;
    line-height: 1.4;
  }
  .scroll-indicator {
    display: none;
  }
  /* ===== SECTIONS ===== */
  .section,
  .section1 {
    padding: 80px 0 56px;
  }
  /* ===== GRID ===== */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  /* ===== CARDS ===== */
  .card,
  .card_service {
    padding: 18px;
  }
  .card_service img {
    width: 48px;
    height: 48px;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 900px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
}
/* Ajustes para notebooks con escala 125% (≈1.25dppx) 
1ERA PARTE INDEX*/
@media (min-resolution: 1.25dppx) {
  /* Tipografía */
  body {
    font-size: 0.9rem; /* reduce ligeramente para compensar el zoom */
  }
  .hero-top h1 {
    font-size: 4.5rem; /* más chico que el 5rem original */
    letter-spacing: 0.05em;
  }
  .herotitulos {
    font-size: 1.4rem;
  }
  .hero-bottom {
    font-size: 1.5rem;
    padding: 2rem;
    line-height: 1.4;
  }
  /* Navbar */
  .nav a {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }
  .navimg {
    width: 80px; /* más grande para compensar la densidad */
    height: auto;
    object-fit: contain;
    filter: none;
  }
  /* Secciones */
  .section,
  .section1 {
    padding: 3.5rem 0 3rem;
  }
  /* Cards */
  .card,
  .card_service {
    padding: 1.2rem;
    font-size: 0.95rem;
  }
  .card_service img {
    width: 50px;
    height: 50px;
  }
  /* Contenedor */
  .container {
    width: min(1080px, 92%);
  }
}
/* Ajustes para pantallas con escala 150% (≈1.5dppx) */
@media (min-resolution: 1.5dppx) {
  body {
    font-size: 0.85rem;
  }
  .hero-top h1 {
    font-size: 2.5rem;
  }
  .herotitulos {
    font-size: 1.2rem;
  }
  .hero-bottom {
    font-size: 1.1rem;
    padding: 1.8rem;
  }
  .navimg {
    width: 85px;
  }
}
/* Ajustes para notebooks con escala 125% (≈1.25dppx) */
@media (min-resolution: 1.25dppx) {
  /* Texto principal */
  .about-text h1 {
    font-size: 2rem;
  }
  .about-text h2 {
    font-size: 1.2rem;
  }
  .about-text p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  /* Botón de contacto */
  .about-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  /* Imagen de perfil */
  .about-image img {
    width: 65%;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }
  /* Contenedor general */
  .about-hero {
    padding: 2rem;
    gap: 1.5rem;
  }
  /* Cards de servicios */
  .about-card {
    padding: 1rem;
    font-size: 0.9rem;
  }
  .about-card h3 {
    font-size: 1rem;
  }
  /* Bloque LinkedIn */
  .about-linkedin {
    margin-top: 30px;
    transform: scale(0.85); /* más chico */
  }
  .linkedin-img {
    width: 55px;
    height: 55px;
  }
}
/* Ajustes para notebooks con escala 150% (≈1.5dppx) */
@media (min-resolution: 1.5dppx) {
  .about-text h1 {
    font-size: 1.8rem;
  }
  .about-text h2 {
    font-size: 1.1rem;
  }
  .about-text p {
    font-size: 0.85rem;
  }
  .about-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .about-image img {
    width: 85%;
  }
  .about-card {
    padding: 0.9rem;
    font-size: 0.85rem;
  }
  .about-linkedin {
    transform: scale(0.8);
  }
  .linkedin-img {
    width: 50px;
    height: 50px;
  }
}
.about-linkedin {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.dispinlinee {
  display: inline-block;
}

.about-linkedin a {
  display: inline-block;
  line-height: 0;
}

.linkedin-img {
  position: relative; /* clave: el contenedor es relativo */
  width: 60px;
  height: 60px;
}

.linkedin-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* Imagen hover superpuesta exactamente encima */
.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.linkedin-img:hover .img-hover {
  opacity: 1;
}

.linkedin-img:hover .img-default {
  opacity: 0;
}

/* ==========================
   CONTACT
   ========================== */
.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
}

@media (max-width: 980px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
}
.info-block {
  margin-top: 18px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.info-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
}

.info-list a {
  color: var(--text);
  text-decoration: none;
}

.info-list a:hover {
  color: var(--primary);
}

.form {
  background: linear-gradient(180deg, #151922, #12161d);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(14px, 3vw, 22px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 680px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
.form__field {
  display: grid;
  gap: 6px;
}

.form label {
  color: var(--muted);
  font-size: 14px;
}

.form input,
.form textarea {
  width: 100%;
  background: #0f1218;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(122, 162, 255, 0.1333333333);
}

.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.form__note a {
  color: var(--muted);
}

/* Desktop (default) */
.tercerapagina-cards {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

/* 🔥 Mobile */
@media (max-width: 768px) {
  .tercerapagina-cards {
    flex-direction: column;
  }
  .tercerapagina-card {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .tercerapagina-container {
    padding: 0 16px;
  }
  .tercerapagina-content {
    max-width: 100%;
  }
  .tercerapagina-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .tercerapagina-description {
    font-size: 14px;
  }
  .tercerapagina-button {
    width: 100%;
    text-align: center;
  }
}
* {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .tercerapagina-cards {
    gap: 15px;
    margin-top: 30px;
  }
}
@media (max-width: 768px) {
  /* SECCIÓN HERO */
  .tercerapagina-section {
    min-height: auto;
    padding: 80px 0 40px;
    justify-content: flex-start;
  }
  .tercerapagina-container {
    padding: 0 20px;
  }
  .tercerapagina-content {
    max-width: 100%;
  }
  .tercerapagina-subtitle {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .tercerapagina-title {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 15px;
  }
  .tercerapagina-description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .tercerapagina-button {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 8px;
  }
  /* CARDS */
  .tercerapagina-cards {
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
    padding: 0 16px;
  }
  .tercerapagina-card {
    padding: 18px;
    border-radius: 14px;
  }
  .tercerapagina-icon {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .tercerapagina-card-title {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .tercerapagina-card-text {
    font-size: 13px;
    line-height: 1.4;
  }
}
.tercerapagina-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
  .about-section2grid {
    display: flex;
    flex-direction: column;
  }
}

/*# sourceMappingURL=main.css.map */
