/* =========================================================
   YARUMO GLOBAL — One-page (revisión cliente v2)
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  --c-navy: #14263e;
  --c-navy-deep: #0e1c2f;
  --c-navy-soft: #1f3454;
  --c-steel: #b9c4d0;
  --c-steel-soft: #d8dee5;
  --c-cream: #e5decd;
  --c-cream-soft: #efeadd;
  --c-bone: #f5f2e9;
  --c-green: #46b176;
  --c-green-deep: #2f8a5a;
  --c-accent: #e07a3a;
  --c-line: rgba(20, 38, 62, 0.12);
  --c-line-light: rgba(229, 222, 205, 0.18);
  --c-text: #14263e;
  --c-text-mute: #4a5a72;
  --c-text-light: rgba(229, 222, 205, 0.7);

  --ff-sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

::selection { background: var(--c-navy); color: var(--c-cream); }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--light { color: var(--c-text-light); }

.h-section {
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h-section em {
  font-style: normal;
  color: var(--c-green);
}

/* ---------- LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background-color .35s var(--ease), padding .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(20, 38, 62, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 14px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--c-cream);
}
.nav__brand .iso-wrap {
  width: 38px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__brand .iso-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.nav__menu {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--c-cream);
}
.nav__menu a {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity .25s ease;
}
.nav__menu a:hover { opacity: 1; }
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-green);
  transition: width .35s var(--ease);
}
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--c-cream);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-cream);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.nav__cta:hover { background: var(--c-cream); color: var(--c-navy); }
.nav__burger {
  display: none;
  width: 36px; height: 36px;
  position: relative;
  color: var(--c-cream);
}
.nav__burger span {
  position: absolute; left: 8px; right: 8px;
  height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.is-open {
    background: var(--c-navy);
    height: 100vh;
  }
  .nav.is-open .nav__menu {
    display: flex;
    position: absolute;
    top: 80px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 24px var(--gutter);
  }
  .nav.is-open .nav__menu a {
    font-size: 28px;
    padding: 18px 0;
    border-bottom: 1px solid var(--c-line-light);
  }
  .nav.is-open .nav__cta {
    display: inline-flex;
    position: absolute;
    bottom: 80px; left: var(--gutter);
  }
  /* lang switcher stays visible in mobile nav */
  .nav__right {
    gap: 14px;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--c-navy);
  color: var(--c-cream);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: flex-end;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.9);
  transform: scale(1.04);
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
}
.hero.is-ready .hero__media img {
  transform: scale(1);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,38,62,0.35) 0%, rgba(20,38,62,0.15) 30%, rgba(20,38,62,0.7) 100%),
    linear-gradient(90deg, rgba(20,38,62,0.45) 0%, rgba(20,38,62,0.0) 55%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--gutter) 80px;
}

.hero__title {
  font-size: clamp(42px, 6.4vw, 104px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--c-cream);
  max-width: 1100px;
}
.hero__title em {
  font-style: normal;
  color: var(--c-green);
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
}
.hero.is-ready .hero__title .line > span { transform: translateY(0); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }

.hero__sub {
  margin-top: 36px;
  font-size: clamp(15px, 1.3vw, 18px);
  max-width: 540px;
  color: var(--c-text-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s;
}
.hero.is-ready .hero__sub {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .hero__inner { padding: 120px var(--gutter) 100px; }
  .hero__sub { max-width: 100%; }
}

/* ---------- SECTION HEADER ---------- */
.s-head {
  margin-bottom: clamp(50px, 6vw, 90px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-line);
}
.s-head__title { /* h-section */ }
.s-head--center {
  text-align: center;
}
.s-head--center .s-head__title {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--c-bone);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.about__col {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}
.about__title {
  /* uses h-section */
}
.about__copy p + p { margin-top: 22px; }
.about__copy p {
  color: var(--c-text-mute);
}
.about__copy strong { color: var(--c-text); font-weight: 500; }

.about__visual {
  position: relative;
  aspect-ratio: 5/6;
  overflow: hidden;
  border-radius: var(--radius);
}
.about__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.4s var(--ease);
}
.about__visual.in-view img { transform: scale(1); }

.about__metrics {
  margin-top: clamp(50px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about__metrics .m {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.about__metrics .m--navy {
  background: var(--c-navy);
  color: var(--c-cream);
}
.about__metrics .m--navy .m__l { color: var(--c-text-light); }
.about__metrics .m--cream {
  background: var(--c-cream);
  color: var(--c-text);
}
.about__metrics .m--steel {
  background: var(--c-steel);
  color: var(--c-navy);
}
.about__metrics .m--green {
  background: var(--c-green);
  color: #fff;
}
.about__metrics .m--green .m__l { color: rgba(255,255,255,0.8); }

.about__metrics .m__v {
  font-size: clamp(48px, 5.4vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1;
  font-weight: 400;
}
.about__metrics .m__l {
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-text-mute);
}

@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { aspect-ratio: 4/3; }
  .about__metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about__metrics { grid-template-columns: 1fr; }
}

/* ---------- GALLERY (Swiper) ---------- */
.gallery {
  background: var(--c-navy);
  color: var(--c-cream);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.gallery__head {
  margin-bottom: clamp(50px, 6vw, 80px);
}
.gallery__claim {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 26ch;
  color: var(--c-cream);
}
.gallery__claim em {
  font-style: normal;
  color: var(--c-green);
}

.gallery__stage {
  position: relative;
  width: 100%;
}
.gallery__swiper {
  width: 100%;
  overflow: visible;
  padding-bottom: clamp(20px, 3vw, 40px);
}
.gallery__swiper .swiper-slide {
  width: clamp(280px, 36vw, 520px);
  height: auto;
  transition: opacity .4s var(--ease);
}
.gallery__swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) {
  /* keep visible to suggest peek of more */
}

.gallery__item {
  margin: 0;
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 10/13;
  object-fit: cover;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.gallery__item figcaption {
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-light);
}

/* Center arrows over the swiper */
.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--c-line-light);
  background: rgba(20, 38, 62, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--c-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.gallery__btn--prev { left: clamp(16px, 2vw, 36px); }
.gallery__btn--next { right: clamp(16px, 2vw, 36px); }
.gallery__btn:hover {
  background: var(--c-cream);
  color: var(--c-navy);
  border-color: var(--c-cream);
}
@media (max-width: 640px) {
  .gallery__btn { width: 44px; height: 44px; }
}

/* ---------- SERVICES ---------- */
.services {
  background: var(--c-cream-soft);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}
.svc-card {
  background: var(--c-bone);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc-card__media {
  margin: 0;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-card__body {
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.svc-card__title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.svc-card__intro {
  color: var(--c-text-mute);
  font-size: 15.5px;
  line-height: 1.55;
}
.svc-card ul {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-card ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--c-text-mute);
}
.svc-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--c-green);
}

@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ---------- PRESENCE ---------- */
.presence {
  background: var(--c-navy);
  color: var(--c-cream);
  overflow: hidden;
}
.presence .s-head {
  border-bottom-color: var(--c-line-light);
}
.presence .s-head__title { color: var(--c-cream); }

.presence__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.presence__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-line-light);
}
.presence__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line-light);
  transition: padding-left .4s var(--ease);
}
.presence__item:hover {
  padding-left: 12px;
}
.presence__item .city {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  font-weight: 400;
}
.presence__item .city span {
  color: var(--c-text-light);
  font-size: 14px;
  margin-left: 14px;
  letter-spacing: 0;
}
.presence__item .role {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-green);
  flex-shrink: 0;
}

.presence__map {
  position: relative;
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius);
  display: inline-flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  overflow: clip;
}
.presence__map svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 980px) {
  .presence__grid { grid-template-columns: 1fr; }
  .presence__map { order: -1; }
}

/* ---------- VALUES ---------- */
.values {
  background: var(--c-bone);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}
.value {
  padding: clamp(32px, 3.5vw, 48px);
  background: var(--c-cream);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  justify-content: flex-start;
}

.value__title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.value__copy {
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 38ch;
}

@media (max-width: 720px) {
  .values__grid { grid-template-columns: 1fr; }
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--c-cream);
}
.contact__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 60px);
  margin-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--c-line);
}
.contact__title { /* h-section */ }
.contact__intro {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 40ch;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-content: start;
}
.contact__details .item .lbl {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 8px;
  display: block;
}
.contact__details .item .val {
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--c-text);
  line-height: 1.45;
}
.contact__details .item a.val { transition: color .25s; }
.contact__details .item a.val:hover { color: var(--c-green-deep); }

/* form */
.form { display: grid; gap: 22px; }
.field { position: relative; }
.field label {
  position: absolute;
  top: 16px; left: 0;
  font-size: 14px;
  color: var(--c-text-mute);
  pointer-events: none;
  transition: transform .3s var(--ease), font-size .3s var(--ease), color .3s var(--ease);
  transform-origin: 0 0;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  background: transparent;
  padding: 16px 0 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--c-text);
  outline: none;
  transition: border-color .25s ease;
  resize: none;
}
.field textarea { min-height: 100px; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--c-navy); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-18px) scale(0.78);
  color: var(--c-text-mute);
}

.field--check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--c-text-mute);
  line-height: 1.45;
}
.field--check input {
  width: 16px; height: 16px;
  margin-top: 2px;
  appearance: none;
  border: 1px solid var(--c-line);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .25s ease;
}
.field--check input:checked {
  background: var(--c-navy);
  border-color: var(--c-navy);
}
.field--check a { text-decoration: underline; text-underline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: var(--c-navy);
  color: var(--c-cream);
  font-family: var(--ff-sans);
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  align-self: start;
  justify-self: start;
  width: auto;
  margin-top: 4px;
  transition: background-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--c-navy-deep); }
.btn .arrow {
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: transform .35s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

@media (max-width: 880px) {
  .contact__head { grid-template-columns: 1fr; align-items: start; }
  .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-navy-deep);
  color: var(--c-cream);
  padding: clamp(50px, 6vw, 80px) 0 30px;
}
.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--c-line-light);
  margin-bottom: 22px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__brand {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--c-cream);
}
.footer__col address {
  font-style: normal;
  font-size: 13.5px;
  color: var(--c-text-light);
  line-height: 1.55;
}
.footer__col address a {
  color: var(--c-cream);
  transition: color .25s;
}
.footer__col address a:hover { color: var(--c-green); }
.footer__legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer__legal a {
  color: var(--c-text-light);
  transition: color .25s;
}
.footer__legal a:hover { color: var(--c-cream); }

.footer__main {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 720px) {
  .footer__main { flex-direction: column; align-items: flex-start; }
}

/* ---------- ENTRANCE ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__media img { transform: none !important; }
  .fade-up { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}

/* ---------- NAV RIGHT GROUP ---------- */
.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- LANG SWITCHER ---------- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(229, 222, 205, 0.55);
  padding: 4px 0;
  cursor: pointer;
  transition: color .25s ease;
}
.lang-switcher:hover { color: var(--c-cream); }
.lang-switcher__sep { opacity: 0.35; }
.lang-switcher__es,
.lang-switcher__en {
  transition: color .2s ease;
}
.lang-switcher__es.is-active,
.lang-switcher__en.is-active {
  color: var(--c-cream);
}
@media (max-width: 880px) {
  .nav__right { gap: 12px; }
}

/* ---------- LEGAL OVERLAY / DRAWER ---------- */
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 28, 47, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.legal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.legal-drawer {
  width: min(680px, 100%);
  height: 100vh;
  background: var(--c-bone);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  box-shadow: -8px 0 40px rgba(14,28,47,0.25);
}
.legal-overlay.is-open .legal-drawer {
  transform: translateX(0);
}
.legal-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px clamp(28px, 5vw, 56px) 24px;
  border-bottom: 1px solid var(--c-line);
  flex-shrink: 0;
}
.legal-drawer__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--c-navy);
}
.legal-drawer__close {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--c-text-mute);
  flex-shrink: 0;
  transition: background-color .25s ease, color .25s ease;
}
.legal-drawer__close:hover {
  background: var(--c-cream);
  color: var(--c-navy);
}
.legal-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 40px clamp(28px, 5vw, 56px) 60px;
  -webkit-overflow-scrolling: touch;
}
.legal-drawer__body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-mute);
  margin-bottom: 18px;
}
.legal-drawer__body h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-navy);
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.legal-drawer__body a {
  color: var(--c-green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 480px) {
  .legal-drawer { width: 100%; height: 92vh; border-radius: 20px 20px 0 0; }
  .legal-overlay { align-items: flex-end; }
}

/* ---------- FORM FEEDBACK ---------- */
.form__feedback {
  font-size: 14px;
  line-height: 1.45;
  min-height: 0;
  transition: all .3s ease;
}
.form__feedback--ok  { color: var(--c-green-deep); }
.form__feedback--err { color: #c0392b; }

/* ---------- PRESENCE MAP (img externa) ---------- */
/* Sin altura fija — el SVG dicta su propia proporción */
.presence__map {
  align-items: flex-start; /* no estirar */
  height: auto;
}
.presence__map-img {
  width: 100%;
  height: auto;      /* alto natural del SVG */
  display: block;
  object-fit: unset; /* img con height:auto no necesita object-fit */
}

/* ---------- ABOUT: foto mismo ancho que texto, solo 1 col en mobile ---------- */
/* Desktop ya tiene grid 2 col en el CSS original (1fr 1.1fr) — no lo tocamos */
/* Solo eliminamos aspect-ratio fijo en mobile para que la foto no se recorte */
@media (max-width: 880px) {
  .about__visual {
    aspect-ratio: 16/9;
    margin: 0;
  }
}

/* ---------- GALLERY CLAIM: sin saltos forzados ---------- */
.gallery__claim br {
  display: none;
}

/* ---------- HERO MOBILE: verde en línea propia, blanco debajo ---------- */
/* Estructura: .line > span > <em>Compromiso</em> en el origen.
   Con flex-direction:column en span, el em (inline→block) ocupa su fila
   y el text-node "en el origen." ocupa la fila siguiente */
@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(34px, 9vw, 52px);
  }
  .hero__title .line > span {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hero__title em {
    display: block;
  }
}
