:root{
  --brand-deep:   #01233A;
  --brand-forest: #043631;
  --brand-mint:   #CCEBD2;
  --brand-teal:   #7DB9A6;
  --brand-white:  #ffffff;
  --canvas: #ECEFF1;

  --accent: var(--brand-teal);
  --accent-strong: var(--brand-deep);

  --title-font: "Alata", system-ui, sans-serif;
  --body-font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --tags-x-desktop: 62%;
  --tags-y-desktop: 58%;
}

/* BASE */
*{ box-sizing: border-box; margin: 0; padding: 0; }
html, body{ height: 100%; }
body{
  background: var(--canvas);
  color: var(--brand-deep);
  font-family: var(--body-font);
  line-height: 1.35;
  overflow-x: hidden;
}
html{ scroll-behavior: smooth; }

/* =========================
   NAVBAR
   ========================= */
.jr-nav{
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4%;
  background: rgba(236, 239, 241, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(1,35,58,0.10);
  gap: 10px;
}

/* Logo sin marco */
.jr-nav__brand{
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.jr-brand__img{
  height: 55px;
  width: auto;
  display: block;
  border-radius: 16px;
}

/* Links desktop */
.jr-nav__links{
  display: flex;
  gap: 15px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}
.jr-nav__links a {
  text-decoration: none;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 14px; /* ✅ Subimos de 11px a 14px */
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 10px 14px; /* ✅ Mejoramos la zona de toque (hitbox) */
  border-radius: 50px;
  border: 1px solid transparent;
  transition: all .25s ease;
}

.jr-nav__cta--lg { 
  padding: 14px 22px; 
  font-size: 14px; /* ✅ Subimos de 12px a 14px */
}
.jr-nav__links a:hover{
  background: rgba(1,35,58,.05);
  border-color: rgba(1,35,58,.10);
  transform: translateY(-1px);
}

/* CTA desktop */
.jr-nav__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--brand-deep);
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  padding: 12px 18px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(1,35,58,.10);
}
.jr-nav__cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(1,35,58,.14);
}
.jr-nav__cta--lg{ padding: 14px 22px; font-size: 12px; }

/* =========================
   BOTONES GENERALES
   ========================= */
.jr-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;

  background: #ffffff;
  border: 2px solid var(--brand-deep);
  color: var(--brand-deep);

  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.3s ease;
}
.jr-btn:hover{
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(1,35,58,.12);
}
.jr-btn--big{
  padding: 16px 26px !important;
  font-size: 14px !important;
  letter-spacing: .04em !important;
}

/* CTA móvil */
@media (min-width: 901px){
  .jr-cta-mobile{ display:none !important; }
}
@media (max-width: 900px){
  .jr-cta-mobile{
    display:inline-flex !important;
    margin-left:auto;
    margin-right:12px;
  }
}

/* =========================
   HAMBURGER
   ========================= */
.jr-burger{
  display: none;
  width: 52px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(1,35,58,.12);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 26px rgba(1,35,58,.12);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .2s ease;
}
.jr-burger:hover{ transform: translateY(-1px); box-shadow: 0 16px 34px rgba(1,35,58,.16); }
.jr-burger:focus-visible{ outline: 3px solid rgba(125,185,166,.35); outline-offset: 3px; }

.jr-burger__icon{
  width: 22px;
  height: 16px;
  display: grid;
  align-content: center;
  gap: 5px;
}
.jr-burger__icon span{
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-deep);
  border-radius: 999px;
  transition: transform .22s ease, opacity .18s ease, width .22s ease;
}
.jr-burger__icon span:nth-child(2){
  width: 70%;
  justify-self: end;
}
body.nav-open .jr-burger__icon span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.nav-open .jr-burger__icon span:nth-child(2){ opacity: 0; transform: translateX(6px); }
body.nav-open .jr-burger__icon span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px){
  .jr-nav__links{ display: none; }
  .jr-burger{ display: inline-flex; }
  .jr-nav__cta{ display: none; }
}

/* =========================
   MENÚ MÓVIL (UNA SOLA VERSIÓN)
   ========================= */
.jr-mobile{
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.jr-mobile__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.jr-mobile__panel{
  position: absolute;
  right: 0;
  top: 0;
  width: min(340px, 86vw);

  height: auto;
  max-height: 80svh;
  overflow: auto;

  background: #fff;
  border-left: 1px solid rgba(1,35,58,.10);
  border-radius: 0 0 18px 18px;
  box-shadow: -20px 0 60px rgba(0,0,0,.25);

  padding: 14px 14px 16px;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.jr-mobile__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 10px;
}
.jr-mobile__title{
  font-family: var(--title-font);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
}
.jr-mobile__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(1,35,58,.12);
  background: rgba(236,239,241,.7);
  cursor: pointer;
}
.jr-mobile__links{
  display: grid;
  gap: 12px;
  padding-top: 8px;
}
.jr-mobile__links a{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;

  padding: 12px 14px;
  border-radius: 18px;

  font-family: var(--body-font);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.1;

  color: var(--brand-deep);
  text-decoration: none;

  background: rgba(255,255,255,.55);
  border: 1px solid rgba(1,35,58,.14);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 22px rgba(1,35,58,.10);

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.jr-mobile__links a::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.55),
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,0) 100%
  );
  pointer-events:none;
}
.jr-mobile__links a:active{
  transform: translateY(-1px);
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 28px rgba(1,35,58,.14);
}

body.nav-open .jr-mobile{ opacity: 1; pointer-events: auto; }
body.nav-open .jr-mobile__panel{ transform: translateX(0); }

/* =========================
   HERO
   ========================= */
.jr-hero{
  position: relative;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2.8vw, 36px);
  overflow: hidden;
  isolation: isolate;
}
/* Degradado suave */
.jr-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background: linear-gradient(
    to bottom,
    rgba(236,239,241,.98) 0%,
    rgba(236,239,241,.98) 65%,
    rgba(1,35,58,1) 100%
  );
}

/* Texto fondo */
.jr-giant{
  position: absolute;
  left: clamp(6px, 1.6vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--title-font);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .82;
  color: var(--brand-deep);
  opacity: 0.16;
  font-size: clamp(6rem, 20vw, 19rem);
  text-transform: uppercase;
  pointer-events: none;
}

/* Foto */
.jr-portrait {
  position: relative;
  z-index: 2;
  width: min(650px, 43vw);
  filter: grayscale(100%);
  align-self: end;
  /* Damos un pequeño espacio para que no choque con el borde al subir */
  margin-bottom: 20px; 
  pointer-events: none;
}

.jr-portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;

  /* ✅ Sin animación aquí para que JS controle todo */
  animation: none !important;
  transform: none;
  opacity: 1;
  filter: none;

  will-change: auto;
}

/* Tags */
.jr-tags{
  position: absolute;
  z-index: 9999;
  left: var(--tags-x-desktop);
  top: var(--tags-y-desktop);
  transform: translateX(-8%);
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  width: clamp(220px, 22vw, 320px);
  pointer-events: auto;
}
.tag{
  width: 100%;
  text-align: center;
  padding: clamp(12px, 1.2vw, 18px) clamp(20px, 2vw, 28px);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-white);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  text-decoration: none; 
  display: flex; /* Asegura que el área clickeable sea todo el botón */
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;          /* Para que todo el botón sea clickeable */
  text-decoration: none;   /* Quita el subrayado de enlace */
  cursor: pointer;         /* Asegura que aparezca la "manita" */
}

/*pequeño efecto visual al pasar el mouse */
.tag:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.tag-1{ background: rgba(125,185,166,.75); }
.tag-2{ background: rgba(1,35,58,.75); }

/* Nombre vertical */
.jr-vertical-name{
  position: absolute;
  right: max(60px, 7vw + env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .48em;
  color: var(--brand-deep);
  opacity: .65;
  font-family: var(--title-font);
  font-size: clamp(18px, 2.6vw, 30px);
  user-select: none;
  white-space: nowrap;
}

/* Flecha */
.jr-hero .jr-scroll-v{
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 5;
  width: 120px;
  height: 86px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.jr-hero .jr-scroll-v__chev{
  position: relative;
  width: 110px;
  height: 56px;
  display: block;
  animation: jrScrollVBounce 1.15s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.35));
}
.jr-hero .jr-scroll-v__chev::before,
.jr-hero .jr-scroll-v__chev::after{
  content:"";
  position:absolute;
  top: 16px;
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
}
.jr-hero .jr-scroll-v__chev::before{ left: 0; transform: rotate(40deg); transform-origin: left center; }
.jr-hero .jr-scroll-v__chev::after { right:0; transform: rotate(-40deg); transform-origin: right center; }

@keyframes jrScrollVBounce{
  0%{ transform: translateY(0); opacity:.85; }
  50%{ transform: translateY(14px); opacity:1; }
  100%{ transform: translateY(0); opacity:.85; }
}

/* HERO responsive */
@media (max-width: 700px){
  .jr-hero{
    height: calc(100svh - 72px);
    min-height: calc(100svh - 72px);
    padding: 0;
    display: block;
    overflow: hidden;
  }
  .jr-portrait{
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(520px, 84vw);
    margin: 0;
    transform: translate(6vw, 0);
    z-index: 3;
  }
  .jr-giant{
    top: 34%;
    left: -10vw;
    transform: translateY(-50%);
    font-size: clamp(7rem, 46vw, 19rem);
    opacity: .13;
  }
  .jr-tags{
    left: 10%;
    top: auto;
    bottom: 14vh;
    transform: none;
    width: min(240px, 70vw);
    gap: 12px;
    z-index: 4;
  }
  .jr-tags .tag{
    font-size: clamp(18px, 5vw, 22px);
    padding: 10px 14px;
    border-radius: 12px;
  }
  .jr-vertical-name{
    top: 28%;
    right: 16px;
    transform: none;
    font-size: 16px;
    letter-spacing: .38em;
  }
  .jr-hero .jr-scroll-v{ bottom: 14px; width: 104px; height: 78px; }
  .jr-hero .jr-scroll-v__chev{ width: 96px; height: 50px; }
  .jr-hero .jr-scroll-v__chev::before,
  .jr-hero .jr-scroll-v__chev::after{ width: 64px; height: 4px; }
}

/* =========================
   SECCIONES GENERALES
   ========================= */
.jr-section{ padding: clamp(56px, 8vw, 110px) 0; }
.jr-wrap{ width: min(1200px, 92%); margin: 0 auto; }

.jr-h2{
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.jr-lead{
  margin: 0 0 28px;
  font-size: clamp(14px, 1.2vw, 16.5px);
  color: rgba(1,35,58,.80);
  max-width: 70ch;
}

/* =========================
   ABOUT
   ========================= */
.jr-about{
  background: var(--brand-deep);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) 0;
}
.about__container{ width: min(1200px, 92%); margin: 0 auto; }

.about__title{
  font-family: var(--title-font);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: .02em;
  margin: 0 0 clamp(64px, 6vw, 80px);
  display: inline-block;
  position: relative;
  line-height: 1.1;
}
.about__title span{ text-shadow: 4px 4px 0 var(--brand-teal); }
.about__title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width: 92px;
  height: 4px;
  background: var(--brand-mint);
  border-radius: 2px;
  opacity: .9;
}

.about__grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 4vw, 56px);
  align-items: start;
}
.about__img{
  position: relative;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  isolation: isolate;
}
.about__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: grayscale(100%);
  border-radius: 10px;
}
.about__img::before{
  content:"";
  position:absolute;
  inset: -14px -14px auto auto;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 10px;
  z-index: -1;
}
.about__img--top{ aspect-ratio: 4/5; max-width: 85%; }
.about__img--bottom{
  grid-column: 2;
  margin-top: -350px;
  aspect-ratio: 16/9;
  max-width: 80%;
  margin-bottom: -200px;
}
.about__content p{
  color: rgba(255,255,255,.92);
  font-size: clamp(14px, 1.2vw, 16.5px);
  margin: 0 0 14px;
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 960px){
  .about__grid{ grid-template-columns: 1fr; }
  .about__img--top, .about__img--bottom{
    max-width: 100%;
    margin: 0;
    aspect-ratio: auto;
    grid-column: auto;
  }
  .about__title{ margin-bottom: 32px; display:block; text-align:center; }
  .about__title::after{ left: 50%; transform: translateX(-50%); }
}

/* Animación scroll about */
.about__title, .about__img, .about__content p{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.about__title.visible, .about__img.visible, .about__content p.visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BRIEF
   ========================= */
.jr-brief{
  background: #fff;
  color: var(--brand-deep);
  padding: clamp(64px, 9vw, 120px) 0 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.brief__watermark{
  position:absolute;
  top:35%;
  left:50%;
  transform: translate(-50%,-50%);
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(5rem, 14vw, 14rem);
  color: var(--brand-deep);
  opacity: .08;
  pointer-events:none;
  white-space: nowrap;
  z-index: -1;
  user-select: none;
}
.brief__container{ width: min(1200px, 92%); margin: 0 auto; position: relative; }
.brief__title{
  font-family: var(--title-font);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 0 0 clamp(32px, 5vw, 48px);
}
.brief__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.brief__col{ position: relative; }
.brief__col:first-of-type::after{
  content:"";
  position:absolute;
  right: -30px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(125,185,166,.4), transparent);
}
.brief__header{ margin-bottom: 20px; }
.brief__header i{
  font-size: 2.2rem;
  color: var(--brand-teal);
  text-shadow: 0 4px 12px rgba(125,185,166,.3);
}
.brief__col p{
  margin: 0 0 16px;
  font-size: clamp(14px, 1.15vw, 16.5px);
  line-height: 1.6;
  color: rgba(1,35,58,.85);
  text-align: justify;
}

.brief__cta-wrap{
  grid-column: 1 / -1;
  display:flex;
  justify-content:center;
  margin-top: clamp(30px, 4vw, 50px);
}
.brief__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 28px;
  border-radius: 999px;
  background:#fff;
  border: 2px solid var(--brand-deep);
  color: var(--brand-deep);
  font-weight: 800;
  text-decoration:none;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  transition: all .25s ease;
}
.brief__cta:hover{
  background: rgba(1,35,58,.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1,35,58,.15);
}

/* Cofundador */
.brief__companies{
  grid-column: 1 / -1;
  margin: 40px 0;
  padding: 40px 0 60px;
  border-top: 1px solid rgba(2,41,67,.10);
  border-bottom: 1px solid rgba(2,41,67,.10);
  text-align:center;
  display:flex;
  flex-direction:column;
  gap: 30px;
  align-items:center;
}
.brief__companies-title{
  font-family: var(--title-font);
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .8;
}
.brief__logos{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap: clamp(40px, 5vw, 80px);
  flex-wrap: wrap;
}
.company-link{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  width:100%;
  max-width: 320px;
  opacity:.9;
  transition: all .25s ease;
}
.company-link:hover{ opacity:1; transform: translateY(-5px); }
.company-link img{
  height: 220px;
  width:auto;
  object-fit:contain;
  display:block;
  margin-bottom: 15px;
  filter: grayscale(100%);
  transition: filter .25s ease;
}
.company-link:hover img{ filter: grayscale(0%); }
.company-desc{
  font-size: 17px;
  line-height: 1.5;
  color: var(--brand-deep);
  text-align: justify;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 700px){
  .brief__grid{ grid-template-columns: 1fr; gap: 32px; }
  .brief__col:first-of-type::after{ display:none; }
  .brief__title{ text-align:center; }
  .brief__cta{ width: 100%; max-width: 280px; }
  .brief__logos{ flex-direction: column; gap: 30px; }
  .company-link img{ height: 150px; }
}

/* Animación scroll brief */
.jr-brief .jr-reveal{
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.05s cubic-bezier(0.16,1,0.3,1) var(--jr-delay, 0ms),
    transform 1.05s cubic-bezier(0.16,1,0.3,1) var(--jr-delay, 0ms);
  will-change: opacity, transform;
}
.jr-brief .jr-visible{ opacity:1; transform: translateY(0); }

/* =========================
   GALLERY
   ========================= */
.jr-gallery{
  background: #fff;
  padding: 50px 0 clamp(60px, 8vw, 100px);
  overflow:hidden;
}
.gallery__header{
  display:flex;
  flex-direction: column;
  align-items:center;
  margin-bottom: 40px;
  gap: 10px;
}
.gallery__title{
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 40px);
  margin:0;
}
.gallery__user{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  font-weight:700;
  font-size: 18px;
  color: var(--brand-teal);
  transition: color .25s ease;
}
.gallery__user i{ font-size: 22px; }
.gallery__user:hover{ color: var(--brand-deep); }

.gallery__carousel{
  display:flex;
  gap: 20px;
  overflow-x:auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__carousel::-webkit-scrollbar{ display:none; }

.gallery__item{
  position: relative;
  flex: 0 0 280px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow:hidden;
  scroll-snap-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .45s ease;
}
.gallery__overlay{
  position:absolute;
  inset:0;
  background: rgba(1,35,58,.4);
  display:grid;
  place-items:center;
  opacity:0;
  transition: opacity .25s ease;
}
.gallery__overlay i{
  color:#fff;
  font-size: 40px;
  transform: scale(.8);
  transition: transform .25s ease;
}
.gallery__item:hover{
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,.15);
}
.gallery__item:hover img{ transform: scale(1.1); }
.gallery__item:hover .gallery__overlay{ opacity:1; }
.gallery__item:hover .gallery__overlay i{ transform: scale(1); }

.gallery__footer{
  text-align:center;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(1,35,58,.6);
}
@media (max-width: 600px){
  .gallery__item{ flex: 0 0 220px; }
}

/* =========================
   BOOKS
   ========================= */
.jr-books{
  background: #fff;
  color: var(--brand-deep);
  padding: clamp(64px, 9vw, 110px) 0 80px;
}
.books__container{ width: min(1200px, 92%); margin: 0 auto; }

.books__title{
  font-family: var(--title-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: .02em;
  margin: 0 0 clamp(48px, 5vw, 60px);
  display:inline-block;
  position:relative;
}
.books__title span{ text-shadow: 4px 4px 0 var(--brand-mint); }
.books__title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width: 110px;
  height: 5px;
  background: var(--brand-mint);
  border-radius: 3px;
}

.books__grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  justify-items:center;
  align-items:start;
}
.book{
  background: transparent;
  border:none;
  display:grid;
  justify-items:center;
  cursor: zoom-in;
  transition: transform .2s ease;
}
.book:hover{ transform: translateY(-6px); }

.book img{
  width: 100%;
  max-width: clamp(280px, 27vw, 300px);
  aspect-ratio: 3/4.3;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.book:hover img{
  transform: scale(1.06);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.book__caption{
  margin-top: 20px;
  margin-bottom: 30px;
  text-align:center;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.3;
}

/* botones libros */
.book__cta{
  display:inline-block;
  padding: 10px 24px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(1,35,58,.2);
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration:none;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  transition: all .25s ease;
}
button.book__cta{ font-family: var(--body-font); cursor:pointer; }
.book__cta:hover{
  border-color: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(1,35,58,.15);
}
.book__cta--disabled,
.book__cta--disabled:hover{
  border-color: rgba(0,0,0,.1);
  color: rgba(1,35,58,.4);
  cursor: default;
  transform:none;
  box-shadow:none;
  pointer-events:none;
}

/* zoom overlay */
.book__overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1000;
}
.book__zoom{
  position: fixed;
  inset: 0;
  display:grid;
  place-items:center;
  opacity: 0;
  visibility: hidden;
  z-index: 1001;
  padding: 20px;
}
.book__zoom-img{
  max-width: min(820px, 86vw);
  max-height: 82vh;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.book__zoom-title{
  margin-top: 14px;
  font-weight: 700;
  color: #fff;
  text-align:center;
  font-size: clamp(14px, 1.4vw, 18px);
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.book__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.book__close i{ font-size: 32px; line-height: 1; }

.jr-books.is-open .book__overlay{ opacity:1; visibility: visible; }
.jr-books.is-open .book__zoom{ opacity:1; visibility: visible; }

@media (max-width: 560px){
  .books__grid{ grid-template-columns: 1fr; gap: 36px; }
  .book img{ max-width: 78vw; }
  .books__title{ text-align:center; display:block; }
  .books__title::after{ left:50%; transform: translateX(-50%); }
}

/* =========================
   CONTACTO
   ========================= */
.jr-contact{
  background: var(--brand-deep);
  color:#fff;
}
.jr-contact .jr-h2{ color:#fff; }
.jr-contact .jr-lead{ color: rgba(255,255,255,.85); }

.jr-contact__grid{
  display:grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 24px;
  align-items: stretch;
}

.jr-form,
.jr-contact__box{
  height: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
}

.jr-form{ padding: 18px; }
.jr-form label{
  display:grid;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 12px;
}
.jr-form input,
.jr-form textarea{
  width:100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.10);
  color:#fff;
  outline:none;
}
.jr-form input::placeholder,
.jr-form textarea::placeholder{ color: rgba(255,255,255,.60); }

.jr-submit{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.jr-note{
  margin:0;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}

/* Botón enviar igual estilo cristal */
.jr-contact .jr-form .jr-btn{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.jr-contact .jr-form .jr-btn:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(204,235,210,1);
  box-shadow: 0 14px 32px rgba(0,0,0,.24);
}

.jr-contact__box--trust{
  display:flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
}

/* WhatsApp */
.jr-btn--wa{ gap: 10px; }
.jr-btn--wa i{ font-size: 18px; line-height: 1; }

.jr-btn--wa-big{
  width: 100% !important;
  min-height: 60px;
  justify-content: center;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color:#fff !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.22) !important;
  font-weight: 800 !important;
}
.jr-btn--wa-big:hover{
  background: rgba(255,255,255,.12) !important;
}

.jr-contact__mini p{
  margin: 10px 0 0;
  color: rgba(255,255,255,.88);
  line-height: 1.35;
  overflow-wrap:anywhere;
}
.jr-contact__mini strong{ color:#fff; }

/* Mapa (una sola versión) */
.jr-map{
  height: 220px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
  background: rgba(0,0,0,.15);
}
.jr-map iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  filter: saturate(.85) contrast(1.05);
}

@media (max-width: 900px){
  .jr-contact__grid{ grid-template-columns: 1fr; }
  .jr-contact__box--trust{ padding: 20px; }
  .jr-map{ min-height: 260px; height: 260px; }
}

/* =========================
   FOOTER
   ========================= */
.footer{
  background: var(--brand-deep);
  color:#fff;
  text-align:center;
  padding: 60px 0 40px;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
}
.footer__social{
  display:flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: clamp(1.5rem, 2vw, 2.5rem);
  margin-bottom: 2rem;
}
.footer__social-item{
  display:flex;
  flex-direction: column;
  align-items:center;
  text-decoration:none;
  color:#fff;
  font-weight: 500;
  font-size: clamp(13px, 1vw, 15px);
  transition: transform .25s ease;
}
.footer__icon{
  width: clamp(60px, 6vw, 70px);
  height: clamp(60px, 6vw, 70px);
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: .5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: all .25s ease;
}
.footer__icon i{
  color:#fff;
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
}
.footer__social-item:hover .footer__icon{
  transform: translateY(-4px);
  background: rgba(204,235,210,.15);
  border-color: var(--brand-mint);
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}
.footer__links{
  margin-bottom: 1rem;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content:center;
  font-size: clamp(13px, 1vw, 14px);
}
.footer__links a{
  color:#fff;
  text-decoration:none;
}
.footer__links a:hover{ text-decoration: underline; }
.footer__copy{
  font-size: clamp(12px, 1vw, 13.5px);
  opacity: .85;
}

/* =========================
   MODALES
   ========================= */
.jr-modal{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display:grid;
  place-items:center;
  opacity:0;
  visibility:hidden;
  transition: opacity .25s ease, visibility .25s ease;
  padding: 20px;
}
.jr-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.jr-modal__content{
  position:relative;
  width: min(600px, 100%);
  max-height: 85vh;
  overflow:auto;

  background: rgba(1,35,58,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);

  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 25px 50px rgba(0,0,0,.45);
  color:#fff;

  transform: translateY(30px) scale(.95);
  transition: transform .25s cubic-bezier(0.16,1,0.3,1);
}
.jr-modal.is-visible{ opacity:1; visibility: visible; }
.jr-modal.is-visible .jr-modal__content{ transform: translateY(0) scale(1); }

.jr-modal__title{
  font-family: var(--title-font);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 24px;
  color: var(--brand-mint);
  text-align:center;
}
.jr-modal__body p{
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: rgba(255,255,255,.9);
  text-align: justify;
}
.jr-modal__close{
  position:absolute;
  top: 16px;
  right:16px;
  background: rgba(255,255,255,.1);
  border:none;
  color:#fff;
  width: 36px;
  height:36px;
  border-radius: 50%;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: background .2s ease;
}
.jr-modal__close:hover{ background: rgba(255,255,255,.25); }

/* =========================
   PRELOADER
   ========================= */
#preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items:center;
  background: var(--brand-deep);
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.preloader__content{
  position: relative;
  z-index:1;
  display:grid;
  place-items:center;
}
.preloader__video{
  width: min(220px, 60vw);
  height: auto;
  display:block;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
#preloader.is-loaded{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

/* ✅ CTA móvil en 1 sola línea */
@media (max-width: 900px){
  .jr-cta-mobile{
    white-space: nowrap !important;   /* no saltos de línea */
    width: auto !important;          /* que se ajuste al texto */
    max-width: none !important;      /* sin límite */
    line-height: 1 !important;

    /* un poquito más compacto para que quepa */
    padding: 10px 14px !important;
    font-size: 12px !important;
    letter-spacing: .01em !important;
  }

  /* Header en 3 columnas: logo | CTA | burger */
  .jr-nav{
    display: grid !important;
    grid-template-columns: auto auto auto !important; /* ✅ el centro ya no es 1fr */
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
  }
}

/* Si tu pantalla es MUY chica, baja un poco más */
@media (max-width: 360px){
  .jr-cta-mobile{
    font-size: 11px !important;
    padding: 9px 12px !important;
  }
}

/* =========================
   NAV SIEMPRE VISIBLE (FIXED)
   ========================= */
.jr-nav{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
}

/* Para que el contenido no quede tapado por el header */
:root{ --jr-nav-h: 76px; } /* ajusta si tu nav es más alto/bajo */

body{
  padding-top: var(--jr-nav-h) !important;
}

/* (opcional) en móvil el nav suele ser más alto */
@media (max-width: 900px){
  :root{ --jr-nav-h: 72px; }
}

/* =========================
   MENÚ MÓVIL — definitivo, coherente y CTA igual
   ========================= */
@media (max-width: 900px){

  .jr-mobile{
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  body.nav-open .jr-mobile{
    opacity: 1;
    pointer-events: auto;
  }

  /* Panel */
  .jr-mobile__panel{
    width: min(360px, 92vw) !important;
    padding: 16px 16px 18px !important;
    border-radius: 22px !important;

    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(1,35,58,.10) !important;
    box-shadow: -18px 18px 60px rgba(1,35,58,.20) !important;

    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;

    transform: translateX(100%);
    transition: transform .25s ease;
  }
  body.nav-open .jr-mobile__panel{
    transform: translateX(0);
  }

  /* Header */
  .jr-mobile__title{
    font-family: var(--title-font) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: .02em !important;
  }

  .jr-mobile__close{
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(1,35,58,.12) !important;
    background: rgba(236,239,241,.85) !important;
  }

  /* Lista */
  .jr-mobile__links{
    display: grid !important;
    gap: 12px !important;
    padding-top: 8px !important;
  }

  /* Botones del menú (todos iguales) */
  .jr-mobile__links a{
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 14px 16px !important;
    border-radius: 18px !important;

    font-family: var(--body-font) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;

    color: rgba(1,35,58,.88) !important;
    text-decoration: none !important;

    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(1,35,58,.10) !important;
    box-shadow: 0 10px 22px rgba(1,35,58,.10) !important;

    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }

  /* Brillo suave de glass */
  .jr-mobile__links a::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,.55),
      rgba(255,255,255,.10) 45%,
      rgba(255,255,255,0) 100%
    );
    pointer-events:none;
  }

  .jr-mobile__links a:hover{
    transform: translateY(-1px) !important;
    background: rgba(255,255,255,.90) !important;
    box-shadow: 0 14px 28px rgba(1,35,58,.14) !important;
  }

  /* ✅ CTA final: MISMO diseño, solo un poco más “importante” */
  .jr-mobile__links a.jr-mobile__cta{
    justify-content: center !important;
    font-weight: 800 !important;

    /* mismo look, pero con borde un poquito más marcado */
    border: 1px solid rgba(1,35,58,.18) !important;
    box-shadow: 0 16px 34px rgba(1,35,58,.16) !important;
  }
}

/* =========================
   PRELOADER (IMAGEN + DOTS)
   ========================= */

#preloader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--brand-deep, #0f2f3a); /* tu azul */
  display: grid;
  place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__content{
  display: grid;
  place-items: center;
  gap: 18px;
}

.preloader__img{
  width: min(220px, 70vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.25));
}

/* Dots animation (tu animación) */
.dots{
  --uib-size: 64px;
  --uib-color: rgba(255,255,255,.92); /* blanco para fondo azul */
  --uib-speed: 2.5s;
  --uib-dot-size: calc(var(--uib-size) * 0.18);

  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--uib-size);
  height: var(--uib-dot-size);
}

.dots .dot{
  position: absolute;
  top: calc(50% - var(--uib-dot-size) / 2);
  left: calc(0px - var(--uib-dot-size) / 2);
  display: block;
  height: var(--uib-dot-size);
  width: var(--uib-dot-size);
  border-radius: 50%;
  background-color: var(--uib-color);
  animation: stream var(--uib-speed) linear infinite both;
  transition: background-color 0.3s ease;
}

.dots .dot:nth-child(2){ animation-delay: calc(var(--uib-speed) * -0.2); }
.dots .dot:nth-child(3){ animation-delay: calc(var(--uib-speed) * -0.4); }
.dots .dot:nth-child(4){ animation-delay: calc(var(--uib-speed) * -0.6); }
.dots .dot:nth-child(5){ animation-delay: calc(var(--uib-speed) * -0.8); }

@keyframes stream{
  0%,100% { transform: translateX(0) scale(0); }
  50%     { transform: translateX(calc(var(--uib-size) * 0.5)) scale(1); }
  99.999% { transform: translateX(calc(var(--uib-size))) scale(0); }
}


.gallery__carousel{
  position: relative;
  isolation: isolate; /* crea un nuevo stacking context (evita que overlays ganen) */
  padding: 10px 64px; /* espacio para flechas */
}

/* flechas arriba de TODO */
.gallery__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;           /* bien alto */
  pointer-events: auto;  /* clickable */

  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 26px rgba(0,0,0,.14);

  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* posiciones fijas a los lados */
.gallery__arrow--left{ left: 14px; }
.gallery__arrow--right{ right: 14px; }

/* El overlay de tus items NO debe tapar las flechas */
.gallery__item,
.gallery__overlay{
  position: relative;
  z-index: 1;
}

.gallery__carousel{
  overflow-x: auto;
  overflow-y: visible; /* para que no corte flechas */
}

.gallery__carouselWrap{
  position: relative;
  padding: 10px 64px;      /* espacio para flechas */
}

.gallery__track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-behavior: smooth; /* Esto hace que el movimiento sea fluido y no brusco */
  padding: 6px 0;
  scrollbar-width: none; /* Oculta scrollbar en Firefox */
}

.gallery__track::-webkit-scrollbar {
  display: none; /* Oculta scrollbar en Chrome/Safari */

  /* recomendado */
  scrollbar-width: none;      /* firefox */
}
.gallery__track::-webkit-scrollbar{ display:none; } /* chrome */

.gallery__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;

  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 26px rgba(0,0,0,.14);

  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gallery__arrow--left{ left: 14px; }
.gallery__arrow--right{ right: 14px; }

/* Para que overlays no tapen clicks */
.gallery__item, .gallery__overlay{ position: relative; z-index: 1; }

.gallery__wrap {
  position: relative;
}

.gallery__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 52px;
  height: 52px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);

  cursor: pointer;
}

.gallery__arrow--left{ left: -18px; }
.gallery__arrow--right{ right: -18px; }

.gallery__arrow i{
  font-size: 22px;
  color: #0b2a3a; /* tu color oscuro */
}

/* Cuando ya no se pueda mover, se ven igual pero "desactivadas" */
.gallery__arrow.is-disabled{
  opacity: .35;
  cursor: default;
}

.jr-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.65);
  z-index: 9999;
}

.jr-lightbox.is-open{ display: grid; }

.jr-lightbox__img{
  max-width: min(92vw, 860px);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.jr-lightbox__close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.jr-lightbox__close i{ font-size: 22px; }
.jr-lightbox__close:hover{ background: rgba(255,255,255,.18); }


#jrLightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.60);
  display: none;
  z-index: 999999;
}

#jrLightbox.is-open{ display:block; }

#jrLightboxImg{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  max-width: min(92vw, 900px);
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

#jrLightbox .jr-lightbox__close{
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 1000000;
  display: grid;
  place-items: center;
}

/* ✅ Botón cerrar SIEMPRE visible en zoom de libros */
.book__close{
  position: fixed;            /* mejor que absolute */
  top: 16px;
  right: 16px;
  z-index: 2000;              /* arriba de todo */
  width: 52px;
  height: 52px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;

  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.book__close:hover{
  background: rgba(0,0,0,.50);
}

.book__close i{
  font-size: 30px;
  line-height: 1;
}


/* =========================
   BOOKS: botón cerrar = igual que Gallery
   ========================= */

/* Asegura que el overlay/zoom queden arriba del nav (tu nav tiene z-index 99999) */
.jr-books.is-open .book__overlay{ z-index: 100000 !important; }
.jr-books.is-open .book__zoom{ z-index: 100001 !important; }

/* ✅ Botón cerrar igual al de #jrLightbox .jr-lightbox__close */
.jr-books.is-open .book__close{
  position: fixed !important;
  top: 18px !important;
  right: 18px !important;

  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;

  border: 1px solid rgba(255,255,255,.25) !important;
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;

  font-size: 34px !important;
  line-height: 1 !important;
  cursor: pointer !important;

  z-index: 1000000 !important; /* arriba de TODO */
  display: grid !important;
  place-items: center !important;

  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.jr-books.is-open .book__close:hover{
  background: rgba(255,255,255,.18) !important;
}

/* (opcional) si el icono <i> se ve raro, céntralo */
.jr-books.is-open .book__close i{
  font-size: 22px !important;
  line-height: 1 !important;
}

/* Animación 1: Entrada con desenfoque y subida */
@keyframes entradaPro {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Animación 2: Movimiento de flotación constante */
@keyframes flotacionSuave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Estilo específico para el botón de WhatsApp en el Nav */
.jr-btn--wa-nav {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background-color: #01233A !important; /* Color oficial WhatsApp */
  color: white !important;
  border: none !important;
}

.jr-btn--wa-nav i {
  font-size: 1.2rem;
}

/* Ajuste para el botón dentro del panel móvil */
.jr-mobile__links a.jr-mobile__cta {
  background-color: #01233A !important;
  color: white !important;
  justify-content: center !important;
  gap: 10px;
}
/* Ocultar el botón de WhatsApp móvil en pantallas grandes */
@media (min-width: 901px) {
  .jr-cta-mobile.jr-btn--wa-nav {
    display: none !important;
  }
}

/* Mostrar el botón de WhatsApp móvil y ocultar el de desktop en pantallas pequeñas */
/* Ocultar el WhatsApp del centro en el header móvil */
@media (max-width: 900px) {
  .jr-nav .jr-cta-mobile.jr-btn--wa-nav {
    display: none !important;
  }

  /* Re-ajustar el header para que el logo y la hamburguesa se repartan el espacio */
  .jr-nav {
    display: flex !important;
    justify-content: space-between !important;
    grid-template-columns: none !important; /* Eliminamos la cuadrícula de 3 si la tenías */
  }
}
  
 /* --- ESTADO POR DEFECTO (PC / Pantallas grandes) --- */

/* Ocultamos el botón móvil siempre por defecto */
.jr-cta-mobile.jr-btn--wa-nav {
  display: none !important;
}

/* Mostramos el botón de la barra de navegación */
.jr-nav__links .jr-btn--wa-nav {
  display: inline-flex !important;
}


/* --- ESTADO MÓVIL (Pantallas menores a 900px) --- */
@media (max-width: 900px) {
  
  /* Ocultamos el botón del menú de escritorio */
  .jr-nav__links .jr-btn--wa-nav {
    display: none !important;
  }

  /* Ocultamos también el del centro si así lo decidiste antes */
  .jr-nav .jr-cta-mobile.jr-btn--wa-nav {
    display: none !important;
  }
}



/* Animación de entrada para el logo al cargar la página */
@keyframes logoEntrada {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Aplicación al logo */
.jr-brand__img {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  animation: logoEntrada 1s ease-out forwards;
  will-change: transform, filter;
}

/* Efecto al pasar el mouse (Hover) */
.jr-nav__brand:hover .jr-brand__img {
  transform: scale(1.08) rotate(-2deg); /* Se agranda y gira un poco */
  filter: drop-shadow(0 0 8px rgba(1, 35, 58, 0.2)); /* Crea una sombra suave */
}

/* Efecto de clic */
.jr-nav__brand:active .jr-brand__img {
  transform: scale(0.95); /* Se encoge un poquito al hacer clic */
}

/* =========================
   HERO — TABLET FIX (701px a 1100px)
   (Pegar AL FINAL del CSS)
   ========================= */
@media (min-width: 701px) and (max-width: 1100px){

  /* Quita el “aire” y sube el contenido */
  .jr-hero{
    height: calc(100svh - var(--jr-nav-h)) !important;
    min-height: calc(100svh - var(--jr-nav-h)) !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  /* MI ESPACIO: súbelo y hazlo más visible */
  .jr-giant{
    top: 36% !important;
    left: -6vw !important;
    transform: translateY(-50%) !important;
    font-size: clamp(10rem, 30vw, 18rem) !important;
    opacity: .14 !important;
  }

  /* Foto: hazla más grande y súbela */
  .jr-portrait{
    position: absolute !important;
    right: 0 !important;
    bottom: 0vh !important;            /* sube/baja aquí si quieres */
    width: min(800px, 100vw) !important; /* más grande */
    margin: 0 !important;
    transform: translate(4vw, 0) !important;
    z-index: 3 !important;
  }

  /* Tags: más arriba para llenar el blanco */
  .jr-tags{
    left: 10% !important;
    top: auto !important;
    bottom: 22vh !important;            /* súbelo/bájalo aquí */
    transform: none !important;
    width: min(360px, 48vw) !important;
    gap: 14px !important;
    z-index: 4 !important;
  }

  /* Nombre vertical: sube un poco */
  .jr-vertical-name{
    top: 48% !important;
    right: 18px !important;
    transform: none !important;
    z-index: 4 !important;
  }

  /* Flecha: que no quede muy abajo */
  .jr-hero .jr-scroll-v{
    bottom: 14px !important;
  }
}


/* =========================
   SECCIÓN GALERÍA (INSTAGRAM STYLE)
   ========================= */
.jr-gallery {
  background: var(--brand-white);
  padding: 50px 0 clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
}

.gallery__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  gap: 10px;
}

.gallery__title {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 40px);
  color: var(--brand-deep);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Botón del usuario (@JesusRivas) */
.gallery__user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-teal); /* Color Menta/Teal */
  transition: color 0.3s ease;
}

.gallery__user i {
  font-size: 22px;
}

.gallery__user:hover {
  color: var(--brand-deep);
}

/* --- CARRUSEL --- */
.gallery__carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto; /* Permite scroll horizontal */
  padding-bottom: 20px; /* Espacio para la barra de scroll */
  scroll-snap-type: x mandatory; /* Efecto magnético */
  -webkit-overflow-scrolling: touch; /* Suavidad en iOS */
  
  /* Ocultar barra de scroll (opcional, visualmente más limpio) */
  scrollbar-width: none; /* Firefox */
}

.gallery__carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* --- ITEMS (FOTOS) --- */
.gallery__item {
  position: relative;
  flex: 0 0 280px; /* Ancho fijo de cada foto */
  aspect-ratio: 1 / 1; /* Cuadradas como Instagram */
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Efecto Overlay (Icono Instagram al pasar mouse) */
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 35, 58, 0.4); /* Azul oscuro transparente */
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__overlay i {
  color: #fff;
  font-size: 40px;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* HOVER STATES */
.gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery__item:hover img {
  transform: scale(1.1); /* Zoom suave a la foto */
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__item:hover .gallery__overlay i {
  transform: scale(1); /* Icono aparece con "pop" */
}

/* Footer pequeño */
.gallery__footer {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(1, 35, 58, 0.6);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .gallery__item {
    flex: 0 0 220px; /* Fotos un poco más chicas en celular */
  }
}

/* =========================
   GALERÍA: mostrar SOLO 3 tarjetas visibles (manteniendo diseño)
   ========================= */

/* contenedor del carrusel */
.gallery__carouselWrap{
  position: relative;
}

/* ✅ El track tendrá un ancho máximo para que solo quepan 3 tarjetas */
.gallery__track{
  /* 3 tarjetas de 280px + 2 gaps de 26px = 892px */
  max-width: 892px;
  margin: 0 auto;              /* centrar */
}

/* si quieres tarjetas más grandes, ajusta ambos valores:
   - ancho tarjeta (gallery__item flex-basis)
   - max-width del track
*/
.gallery__item{
  flex: 0 0 280px;
  aspect-ratio: 1 / 1;
}

/* Mantener “sin recorte” */
.gallery__item img{
  object-fit: contain;
  background: #fff;
}

/* Responsive: en pantallas más pequeñas deja que se adapte */
@media (max-width: 980px){
  .gallery__track{
    max-width: 100%;
  }
}

/* =========================
   GALERÍA — tarjetas llenas (como Imagen 1)
   ========================= */

/* tarjetas iguales y limpias */
.gallery__item{
  flex: 0 0 280px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: transparent !important; /* sin marco blanco */
}

/* la imagen llena la tarjeta */
.gallery__item img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;       /* ✅ se ve como Imagen 1 */
  object-position: center !important;
  background: transparent !important;
}

/* =========================
   GALERÍA — solo 3 visibles (manteniendo el look)
   ========================= */
.gallery__track{
  max-width: 892px !important; /* 3*280 + 2*26 */
  margin: 0 auto !important;
}
@media (max-width: 980px){
  .gallery__track{ max-width: 100% !important; }
}


/* =========================
   GALLERY — ESTABLE (3 desktop / 2 tablet / 1 mobile)
   Foto completa sin recorte
   ========================= */
.jr-gallery{
  background: #fff;
  padding: 50px 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.gallery__header{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:40px;
  gap:10px;
}

.gallery__title{
  font-family: var(--title-font);
  font-weight:700;
  font-size: clamp(28px, 4.5vw, 40px);
  margin:0;
  color: var(--brand-deep);
}

.gallery__user{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-weight:700;
  font-size:18px;
  color: var(--brand-teal);
  transition: color .25s ease;
}
.gallery__user i{ font-size:22px; }
.gallery__user:hover{ color: var(--brand-deep); }

/* Wrapper con flechas */
.gallery__carouselWrap{
  position: relative;
  width: min(1200px, 94%);
  margin: 0 auto;
  padding: 0 64px; /* espacio para flechas */
}

/* Track */
.gallery__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 52px) / 3); /* 3 visibles desktop */
  gap: 26px;

  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding: 8px 0 12px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar{ display:none; }

/* Tarjeta */
.gallery__item{
  display: block;
  width: 100%;
  min-width: 0;
  position: relative;

  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);

  scroll-snap-align: start;
  scroll-snap-stop: always;

  /* altura fija para consistencia visual */
  aspect-ratio: 4 / 5;

  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ✅ Foto completa sin recorte */
.gallery__item img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;      /* importante */
  object-position: center;
  background: #fff;         /* relleno cuando la foto no llena */
  transition: transform .35s ease;
}

/* Overlay */
.gallery__overlay{
  position:absolute;
  inset:0;
  background: rgba(1,35,58,.35);
  display:grid;
  place-items:center;
  opacity:0;
  transition: opacity .25s ease;
  z-index: 1;
  pointer-events: none;
}
.gallery__overlay i{
  color:#fff;
  font-size: 34px;
  transform: scale(.9);
  transition: transform .25s ease;
}

/* Hover desktop */
@media (hover:hover){
  .gallery__item:hover{
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,.14);
  }
  .gallery__item:hover img{
    transform: scale(1.02); /* leve, sin recortar */
  }
  .gallery__item:hover .gallery__overlay{ opacity:1; }
  .gallery__item:hover .gallery__overlay i{ transform: scale(1); }
}

/* Flechas */
.gallery__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);

  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, opacity .2s ease, box-shadow .2s ease;
}
.gallery__arrow:hover{
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.gallery__arrow--left{ left: 0; }
.gallery__arrow--right{ right: 0; }

.gallery__arrow i{
  font-size: 22px;
  line-height: 1;
  color: var(--brand-deep);
}

.gallery__arrow.is-disabled{
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

.gallery__footer{
  text-align:center;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(1,35,58,.6);
}

/* =========================
   TABLET — 2 visibles
   ========================= */
@media (max-width: 1024px){
  .gallery__carouselWrap{
    width: min(980px, 96%);
    padding: 0 56px;
  }

  .gallery__track{
    grid-auto-columns: calc((100% - 18px) / 2); /* 2 visibles */
    gap: 18px;
  }

  .gallery__item{
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .gallery__arrow{
    width: 50px;
    height: 50px;
  }
}

/* =========================
   MOBILE — 1 visible completa
   ========================= */
@media (max-width: 700px){
  .gallery__header{
    margin-bottom: 26px;
  }

  .gallery__carouselWrap{
    width: 100%;
    padding: 0 52px; /* espacio lateral para flechas */
  }

  .gallery__track{
    grid-auto-columns: 100%; /* 1 visible */
    gap: 0;
    padding: 6px 0 10px;
  }

  .gallery__item{
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
  }

  .gallery__item img{
  object-fit: cover !important;      /* llena toda la tarjeta */
  object-position: center !important;
  background: transparent !important; /* sin marco blanco */
}

  .gallery__arrow{
    width: 48px;
    height: 48px;
  }

  .gallery__arrow i{
    font-size: 20px;
  }

  .gallery__footer{
    margin-top: 8px;
    font-size: 13px;
  }
}

/* pantallas muy pequeñas */
@media (max-width: 380px){
  .gallery__carouselWrap{ padding: 0 46px; }
  .gallery__arrow{ width: 44px; height: 44px; }
  .gallery__arrow i{ font-size: 18px; }
}


/* =========================
   SOLO HOVER: efecto verde menta
   (normal = igual que ahora)
   ========================= */

/* Estado normal: NO cambia nada */
.jr-btn--wa-big,
.jr-contact .jr-form .jr-btn{
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease,
    background .25s ease;
}

/* Hover menta SUAVE (sin mucho brillo) */
.jr-btn--wa-big:hover,
.jr-contact .jr-form .jr-btn:hover{
  border-color: rgba(125, 185, 166, .55) !important;   /* menta suave */
  background: rgba(255,255,255,.12) !important;        /* leve cambio */
  box-shadow: 0 14px 28px rgba(0,0,0,.20) !important;  /* sin glow */
}

/* Focus teclado (opcional, también suave) */
.jr-btn--wa-big:focus-visible,
.jr-contact .jr-form .jr-btn:focus-visible{
  border-color: rgba(125, 185, 166, .55) !important;
  box-shadow: 0 0 0 2px rgba(125,185,166,.14) !important;
}

/* =========================
   HERO — movimiento suave del personaje
   ========================= */

   

/* Solo empieza a moverse cuando ya terminó la entrada */
body.hero-ready .jr-portrait{
  animation: jrFloatPortrait 4.8s ease-in-out 1.2s infinite;
  will-change: transform;
  transform-origin: center bottom;
}

/* Flotación suave */
@keyframes jrFloatPortrait{
  0%   { transform: translate3d(0, 0px, 0); }
  25%  { transform: translate3d(0, -6px, 0); }
  50%  { transform: translate3d(0, -12px, 0); }
  75%  { transform: translate3d(0, -6px, 0); }
  100% { transform: translate3d(0, 0px, 0); }
}

/* En móvil que sea más sutil */
@media (max-width: 700px){
  body.hero-ready .jr-portrait{
    animation-duration: 5.4s;
    animation-delay: 1.0s;
  }

  @keyframes jrFloatPortrait{
    0%   { transform: translate3d(0, 0px, 0); }
    50%  { transform: translate3d(0, -8px, 0); }
    100% { transform: translate3d(0, 0px, 0); }
  }
}

/* Respeta reduced motion */
@media (prefers-reduced-motion: reduce){
  body.hero-ready .jr-portrait{
    animation: none !important;
  }
}

/* =========================
   HERO — flotación suave del personaje
   ========================= */
body.hero-ready .jr-portrait img{
  animation: jrFloatCharacter 4.8s ease-in-out infinite;
  animation-delay: 2.8s; /* espera a que termine la entrada */
  will-change: transform;
}

/* flotación suave */
@keyframes jrFloatCharacter{
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-4px); }
  50%  { transform: translateY(-9px); }
  75%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* móvil: más sutil */
@media (max-width: 700px){
  body.hero-ready .jr-portrait img{
    animation-duration: 5.4s;
  }

  @keyframes jrFloatCharacter{
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
  }
}

/* accesibilidad */
@media (prefers-reduced-motion: reduce){
  body.hero-ready .jr-portrait img{
    animation: none !important;
  }
}

/* ==========================================
   HERO FLOAT — personaje se mueve suave
   ========================================== */
body.hero-ready .jr-portrait img{
  animation: jrFloatCharacter 5.2s ease-in-out infinite !important;
}

@keyframes jrFloatCharacter{
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-3px); }
  50%  { transform: translateY(-8px); }
  75%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

@media (max-width: 700px){
  body.hero-ready .jr-portrait img{
    animation-duration: 5.8s !important;
  }
}

@media (prefers-reduced-motion: reduce){
  body.hero-ready .jr-portrait img{
    animation: none !important;
  }
}

/* ===== FIX posición nombre vertical ===== */
.jr-vertical-name{
  top: 12% !important;
  transform: translateY(0) !important;
}

/* tablet */
@media (min-width: 701px) and (max-width: 1100px){
  .jr-vertical-name{
    top: 15% !important;
    right: 18px !important;
    transform: translateY(0) !important;
  }
}

/* móvil */
@media (max-width: 700px){
  .jr-vertical-name{
    top: 18% !important;
    right: 12px !important;
    transform: none !important;
  }
}

/* =========================
   MODAL ÉXITO DE ENVÍO
   ========================= */
.jr-modal__content--success{
  width: min(460px, 100%);
  text-align: center;
}

.jr-send-ok__icon{
  width: 74px;
  height: 74px;
  margin: 4px auto 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(204,235,210,.12);
  border: 1px solid rgba(204,235,210,.35);
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
}

.jr-send-ok__icon i{
  font-size: 38px;
  color: var(--brand-mint);
  line-height: 1;
}

@media (max-width: 768px) {
  .about__title,
  .about__title span {
    text-shadow: none !important;
  }
}

@media (max-width: 768px) {
  .about__content {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .about__content p {
    line-height: 1.6;
    margin-bottom: 14px;
  }
}

@media (max-width: 768px) {
  .brief__col,
  .jr-brief .brief__col {
    padding-inline: 22px !important;
  }

  .jr-brief .brief__title {
    padding-inline: 18px !important;
  }

  .brief__col p,
  .jr-brief .brief__col p {
    line-height: 1.65;
  }
}

/* =========================================
   TABLET: bajar la imagen pequeña de "¿QUIÉN SOY?"
   (sin tocar transform del img para no pelear con animaciones)
   ========================================= */
@media (min-width: 768px) and (max-width: 1024px) {

  /* contenedor de la sección about */
  .about__content {
    align-items: start;
  }

  /* mueve SOLO el bloque de la imagen pequeña (última imagen del bloque) */
  .about__content .about__img:last-of-type {
    margin-top: 20px !important;   /* ajusta: 20 / 24 / 26 / 30 */
  }

  /* por si la imagen pequeña está dentro de otro wrapper */
  .about__content .about__img:last-of-type img {
    display: block;
  }
}

/* =========================
   NAV - letras más grandes
   ========================= */
.jr-nav a,
.jr-nav .nav__link,
header nav a {
  font-size: 0.85rem !important;   /* prueba 1.1 / 1.15 / 1.2 */
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Botón WhatsApp (texto + icono) */
.jr-nav .jr-btn-whatsapp,
.jr-nav .btn-whatsapp,
header .jr-btn-whatsapp {
  font-size: 0.85rem !important;
  font-weight: 700;
  padding: 14px 24px; /* opcional: botón un poco más grande */
}

.jr-nav .jr-btn-whatsapp i,
.jr-nav .btn-whatsapp i,
header .jr-btn-whatsapp i {
  font-size: 1.2em;
}

/* =========================
   ABOUT — FIX TABLET (foto 4 personas)
   ========================= */
@media (max-width: 1100px){
  .about__grid{
    grid-template-columns: 1fr !important;   /* en tablet: 1 columna para que no se apriete */
    gap: 28px !important;
    align-items: start !important;
  }

  /* La primera foto: que no se encoja raro */
  .about__img--top{
    max-width: 100% !important;
    aspect-ratio: 4/5 !important;
  }

  /* La foto de 4 personas: ya NO flotando a la derecha ni con márgenes negativos */
  .about__img--bottom{
    grid-column: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;

    /* que sea horizontal y se vea bien */
    aspect-ratio: 16/9 !important;
  }

  .about__img--bottom img{
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* =========================
   TABLETA = modo móvil (hamburguesa)
   Breakpoint: <= 1100px
   ========================= */
@media (max-width: 1100px){

  /* Oculta menú desktop */
  .jr-nav__links{ display: none !important; }
  .jr-nav__cta{ display: none !important; }

  /* Muestra hamburguesa */
  .jr-burger{ display: inline-flex !important; }

  /* Si quieres el botón whatsapp de arriba como móvil (opcional) */
  .jr-cta-mobile{ display: inline-flex !important; }

  /* Ajuste del header (más “móvil”) */
  .jr-nav{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
  }
}

/* Si tu body usa padding-top por el nav fixed, mantenlo en tablet */
@media (max-width: 1100px){
  :root{ --jr-nav-h: 72px; } /* ajusta si tu nav mide distinto */
}

.brief__watermark{
    top: 28% !important;               /* bájalo */
    font-size: clamp(5rem, 11vw, 9rem) !important;
    opacity: .04 !important;           /* más suave */
    letter-spacing: .12em !important;
  }

  /* =========================
   "VISIONARIO" — móvil más apretado (se vea completo)
   ========================= */
@media (max-width: 700px){

  .brief__watermark{
    letter-spacing: .06em !important;     /* ✅ más apretado (antes .15em) */
    font-size: clamp(3.0rem, 13vw, 5.2rem) !important; /* ✅ un poco más controlado */
    white-space: nowrap !important;       /* ✅ que NO se rompa en 2 líneas */
    max-width: 100% !important;
    overflow: hidden !important;          /* evita que se salga feo */
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* asegura centrado */
  }
}


  

/* FOOTER — MÓVIL: 4 arriba + 2 abajo (centrados) */
@media (max-width: 700px){

  .footer__social{
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 4 arriba */
    gap: 18px 14px !important;
    justify-items: center !important;
    align-items: start !important;
  }

  .footer__social-item{
    width: 100% !important;
    max-width: 130px !important;
    text-align: center !important;
  }

  /* Primera fila: 1..4 (ya quedan solas) */

  /* Segunda fila: 5..6 centradas */
  .footer__social-item:nth-child(5){
    grid-column: 2 !important; /* col 2 */
  }
  .footer__social-item:nth-child(6){
    grid-column: 3 !important; /* col 3 */
  }

  /* Ajustes de tamaño para que no se vea apretado */
  .footer__icon{
    width: 62px !important;
    height: 62px !important;
    margin: 0 auto 10px !important;
  }
  .footer__social-item span,
  .footer__social-item p{
    font-size: 13px !important;
    line-height: 1.15 !important;
  }
}