:root {
  --color-black: #123761;
  --color-navbar: #123761;
  --color-orange: #FF7525;
  --color-orange-dark: #FF7525;
  --color-green: #27C463;
  --color-green-dark: #000000;
  --color-cream: #ECE7DC;
  --color-white: #FFFFFF;
  --color-gray-100: #E6E6E6;
  --color-gray-300: #C7C7C7;
  --color-gray-500: #9A9A9A;

  --font-main: 'Raleway', 'Segoe UI', sans-serif;

  --nav-height: 88px;
  --side-padding: clamp(1.5rem, 5vw, 4rem);
  --radius-pill: 999px;

  /* Imágenes: mismo borde y sombra breve en todo el sitio */
  --radius-img: 1rem;
  --shadow-img: 0 4px 14px rgba(0, 0, 0, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#que-hacemos,
#que-medimos,
#como-funciona,
#que-entregamos,
#proyectos,
#llegamos,
#propuesta {
  scroll-margin-top: var(--nav-height);
}

body {
  font-family: var(--font-main);
  background: var(--color-white);
  color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.llegamos__flag {
  display: inline-block;
  width: 1.15em;
  height: auto;
  margin-left: 0.2em;
  vertical-align: -0.08em;
  border-radius: 0.12em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.18);
}

.llegamos__desc {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 400;
  padding: 0.7rem 1.2rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transform: translateY(-200%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--orange {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--orange:hover {
  background: var(--color-orange-dark);
}

.btn--green {
  background: var(--color-white);
  color: var(--color-orange);
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-navbar);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

.logo__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo__mark svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  position: relative;
  transition: color 0.18s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--color-white);
}

.nav a:hover::after {
  width: 100%;
}

.navbar__cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(232, 99, 46, 0.16), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(39, 196, 99, 0.10), transparent 50%),
    linear-gradient(135deg, #232326 0%, #18181b 55%, #101012 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-black);
  opacity: 70%;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  justify-content: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  width: 100%;
}

.hero__eyebrow {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  margin-bottom: 1.5rem;
}

.hero__title--accent {
  color: var(--color-orange);
}

.hero__description {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.55;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.whatsapp-float {
  position: fixed;
  right: clamp(1.2rem, 3vw, 2rem);
  bottom: clamp(1.2rem, 3vw, 2rem);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: wa-pulse 2.6s ease-in-out infinite;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: var(--color-white);
}

.whatsapp-float:hover {
  background: var(--color-orange-dark);
  transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

.que-hacemos {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.que-hacemos__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem var(--side-padding);
  position: relative;
  z-index: 1;
}

.que-hacemos__content {
  max-width: 560px;
}

.que-hacemos__badge {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}

.que-hacemos__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}

.que-hacemos__title {
  font-family: var(--font-main);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  color: #000;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.que-hacemos__desc {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  line-height: 1.65;
  max-width: 480px;
}

.que-hacemos__fotos {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 380px;
  flex-shrink: 0;
}

.que-hacemos__fotos img {
  width: 100%;
  height: auto;
  aspect-ratio: 445 / 228;
  object-fit: cover;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  display: block;
}

.logos-carousel {
  overflow: hidden;
  margin-bottom: 4rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: logos-scroll 24s linear infinite;
}

.logos-track img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  flex-shrink: 0;
}

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
  }
}

.que-medimos {
  background: #FFF2EA;
  border-radius: 1.6rem;
  padding: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.que-medimos__content {
  max-width: 420px;
  flex-shrink: 0;
}

.que-medimos__badge {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
  letter-spacing: 0.01em;
}

.que-medimos__title {
  font-family: var(--font-main);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: #000;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.que-medimos__desc {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
}

.que-medimos__graficos {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.531fr);
  align-items: start;
  gap: 1rem;
}

.que-medimos__graficos img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  object-fit: cover;
  display: block;
}

.que-medimos__graficos img:first-child {
  aspect-ratio: 2400 / 1600;
}

.que-medimos__graficos img:last-child {
  aspect-ratio: 669 / 1260;
}

.como-funciona {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.como-funciona__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.como-funciona__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem var(--side-padding);
  position: relative;
  z-index: 1;
}

.como-funciona__header {
  margin-bottom: 3.5rem;
}

.como-funciona__badge {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.como-funciona__title {
  font-family: var(--font-main);
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  color: #000000;
  letter-spacing: -0.01em;
}

.como-funciona__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cf-card {
  background: #FFFFFF;
  border-radius: 1.2rem;
  padding: 2rem 1.8rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cf-card__num {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.02em;
}

.cf-card__title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
}

.cf-card__desc {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.65;
}

.que-entregamos {
  background: var(--color-white);
}

.que-entregamos__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem var(--side-padding);
}
.que-entregamos__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 5rem;
}

.que-entregamos__content {
  max-width: 560px;
  flex-shrink: 0;
}

.que-entregamos__badge {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
  letter-spacing: 0.01em;
}

.que-entregamos__title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #000000;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.que-entregamos__desc {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 0.9rem;
}

.que-entregamos__dashboard {
  width: 100%;
  max-width: 380px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.que-entregamos__dashboard img {
  width: 100%;
  height: auto;
  aspect-ratio: 445 / 228;
  object-fit: cover;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  display: block;
}

.que-entregamos__subtitle {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.qe-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.qe-card {
  background: #F5EDE4;
  border-radius: 1.2rem;
  padding: 2rem 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.qe-card__icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 0.4rem;
}

.qe-card__title {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
}

.qe-card__desc {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 400;
  color: #000000;
  line-height: 1.6;
}

.proyectos {
  background: rgba(255, 117, 37, 0.1);
}

.proyectos__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem var(--side-padding);
}

.proyectos__content {
  max-width: 640px;
  margin-bottom: 3rem;
}

.proyectos__label {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
  letter-spacing: 0.01em;
}

.proyectos__title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  color: #000000;
  letter-spacing: -0.01em;
}

.proyectos__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.proyectos__foto {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
  overflow: hidden;
  background: rgba(0,0,0,0.08);
  aspect-ratio: 4 / 3;
}

.proyectos__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Puntos de la galería (los crea script.js y solo se ven en móvil) */
.proyectos__dots {
  display: none;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.4rem;
}

.proyectos__dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.proyectos__dot::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.proyectos__dot[aria-current="true"]::before {
  background: var(--color-orange);
  transform: scale(1.25);
}

.proyectos__dot:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: -2px;
  border-radius: 50%;
}

.llegamos {
  background: var(--color-white);
}

.llegamos__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem var(--side-padding) 3rem;
}

.llegamos__title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  color: #000000;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.llegamos__mapa {
  width: 100%;
}

.llegamos__mapa svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.llegamos__mapa .region {
  fill: #D6D3CE;
  stroke: var(--color-white);
  stroke-width: 1.4;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.18s ease;
  outline: none;
}

.llegamos__mapa .region:hover,
.llegamos__mapa .region:focus-visible,
.llegamos__mapa .region.active {
  fill: var(--color-orange);
}

.llegamos__tooltip {
  position: fixed;
  pointer-events: none;
  background: #1C1917;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 10px));
  transition: opacity 0.12s ease;
  z-index: 300;
}

.llegamos__tooltip.visible {
  opacity: 1;
}

.llegamos__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1C1917;
}

.propuesta {
  background: linear-gradient(to bottom, #1F5093, #123761);
}

.propuesta__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem 4rem;
}

.propuesta__content {
  max-width: 460px;
  min-width: 0;
  flex: 1 1 380px;
}

.propuesta__title {
  font-family: var(--font-main);
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-cream);
  margin-bottom: 1.3rem;
}

.propuesta__desc {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

.propuesta__divider {
  border: none;
  border-top: 1px solid #2BAEFF;
  margin-bottom: 2.2rem;
  width: 100%;
}

.propuesta__alt {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 1.2rem;
}

.propuesta__card {
  background: #EBE5D9;
  border-radius: 1.6rem;
  padding: 2.6rem 3rem 3rem;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  flex: 1 1 480px;
}

.propuesta__card-title {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 0.4rem;
}

.propuesta__card-sub {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  color: #000;
  text-align: center;
  margin-bottom: 2rem;
}

.propuesta__form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  min-width: 0;
}

.pf-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.pf-label {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
}

.pf-input {
  width: 100%;
  min-width: 0;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #000;
  background: var(--color-white);
  border: 1px solid rgba(27, 56, 40, 0.12);
  border-radius: 0.6rem;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pf-input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(232, 99, 46, 0.15);
}

.pf-submit {
  width: 100%;
  margin-top: 0.6rem;
  padding: 1rem;
  font-size: 1rem;
}

.footer {
  background: var(--color-navbar);
  padding: 4.5rem var(--side-padding) 0;
  padding-top: 50px;
  border-top: 1px solid #2BAEFF;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__cols {
  display: flex;
  gap: 4.5rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 160px;
}

.footer__heading {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-cream);
}

.footer__link {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-white);
  transition: color 0.18s ease;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #2BAEFF;
  padding: 1.8rem 0;
  margin-top: 100px;
  display: flex;
  justify-content: center;
}

.footer__copy {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-white);
}

/* ==========================================================================
   RESPONSIVE
   Todas las media queries de ancho viven aquí, de mayor a menor, para que
   las reglas de pantallas más chicas sobrescriban a las anteriores.
   Puntos de quiebre: 980 (tablet horizontal) · 860 (menú hamburguesa)
   · 768 (tablet vertical) · 600 (móvil) · 400 (móvil chico)
   ========================================================================== */

/* Tablet horizontal ------------------------------------------------------ */
@media (max-width: 980px) {
  .hero__text {
    max-width: 100%;
  }

  /* Qué medimos: el texto pasa arriba y los gráficos debajo */
  .que-medimos {
    flex-direction: column;
    gap: 2rem;
    padding: 2.2rem 2rem;
    text-align: center;
  }

  .que-medimos__content {
    max-width: 560px;
    flex-shrink: 1;
  }

  .que-medimos__graficos {
    flex: none;
    width: 100%;
    max-width: 640px;
  }

  /* Qué entregamos: el texto cede espacio para que la foto no se salga */
  .que-entregamos__content {
    flex-shrink: 1;
  }
}

/* Tablet: menú hamburguesa ----------------------------------------------- */
@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-navbar);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 var(--side-padding);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a {
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .menu-toggle:checked ~ .nav {
    max-height: 340px;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hamburger {
    display: flex;
  }

  .navbar__cta {
    display: none;
  }
}

/* Tablet vertical / móvil grande ------------------------------------------ */
@media (max-width: 768px) {
  .logo__img {
    height: 32px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__eyebrow {
    font-size: 0.95rem;
  }

  .hero__description {
    font-size: 0.95rem;
  }

  /* Qué hacemos: texto arriba, fotos abajo a todo el ancho */
  .que-hacemos__inner {
    padding: 3.5rem var(--side-padding);
  }

  .que-hacemos__top {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .que-hacemos__content {
    max-width: 100%;
    text-align: center;
  }

  .que-hacemos__desc {
    margin: 0 auto;
  }

  .que-hacemos__fotos {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .logos-carousel {
    margin-bottom: 2.5rem;
  }

  .logos-track {
    gap: 2.5rem;
  }

  /* Qué medimos */
  .que-medimos {
    padding: 2rem 1.4rem;
  }

  .como-funciona__inner {
    padding: 3.5rem var(--side-padding);
  }

  .como-funciona__header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .como-funciona__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cf-card {
    padding: 1.5rem 1.2rem 1.8rem;
  }

  .cf-card__title {
    font-size: 0.95rem;
  }

  .cf-card__desc {
    font-size: 0.85rem;
  }

  .que-entregamos__inner {
    padding: 3.5rem var(--side-padding);
  }

  .que-entregamos__top {
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .que-entregamos__content {
    text-align: center;
    max-width: 100%;
  }

  .que-entregamos__desc {
    margin: 0 auto 0.9rem;
    max-width: 100%;
  }

  .que-entregamos__dashboard {
    width: 100%;
    max-width: 100%;
  }

  .que-entregamos__subtitle {
    font-size: 1.6rem;
  }

  .qe-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Proyectos */
  .proyectos__inner {
    padding: 3.5rem var(--side-padding);
  }

  .proyectos__content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 2.5rem;
  }

  .proyectos__gallery {
    gap: 1rem;
  }

  /* Mapa: se recorta el espacio vacío del SVG y se acerca al título */
  .llegamos__inner {
    padding: 3.5rem var(--side-padding) 2rem;
  }

  .llegamos__mapa svg {
    margin-block: -9.5%;
  }

  .propuesta__inner {
    padding: 3.5rem var(--side-padding);
    gap: 2.5rem;
  }

  .propuesta__title {
    font-size: 1.8rem;
  }

  .propuesta__card {
    padding: 1.8rem 1.4rem 2rem;
  }

  .pf-row {
    gap: 0.9rem;
  }

  /* 16px evita el zoom automático de iOS al enfocar un campo */
  .pf-input {
    font-size: 1rem;
  }

  .footer {
    padding: 3rem var(--side-padding) 0;
  }

  .footer__inner {
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .footer__cols {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__bottom {
    margin-top: 2rem;
    padding: 1.8rem 0 5rem;
  }
}

/* Móvil -------------------------------------------------------------------- */
@media (max-width: 600px) {
  .hero__description br {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 340px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }

  /* Qué medimos: embudo arriba y dona debajo, centrada */
  .que-medimos__graficos {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .que-medimos__graficos img:last-child {
    width: min(70%, 230px);
  }

  .qe-cards {
    grid-template-columns: 1fr;
  }

  .pf-row {
    grid-template-columns: 1fr;
  }

  /* Proyectos: galería de un cuadro a la vez, deslizable y con puntos */
  .proyectos__gallery {
    display: flex;
    /* separación mayor que el margen lateral: la sombra de la foto vecina no asoma por el borde */
    gap: calc(var(--side-padding) + 1.25rem);
    /* la galería llega a los bordes de la pantalla; así la sombra de las fotos no se recorta */
    margin: -0.75rem calc(var(--side-padding) * -1);
    padding: 0.75rem var(--side-padding);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--side-padding);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .proyectos__gallery::-webkit-scrollbar {
    display: none;
  }

  .proyectos__foto {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .proyectos__dots {
    display: flex;
  }
}

/* Móvil chico ---------------------------------------------------------------- */
@media (max-width: 400px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .que-medimos {
    padding: 1.6rem 1rem;
  }

  .propuesta__card {
    padding: 1.6rem 1.1rem 1.8rem;
  }

  .footer__copy {
    font-size: 0.85rem;
  }
}
