/* ==========================================================================
   th.inc — Design tokens
   ========================================================================== */
:root{
  /* Brand colors (manual de marca) */
  --verde:        #5A7761;
  --verde-oscuro: #3F5744;
  --verde-tinta:  #2E4034;
  --gris:         #4D4D4D;
  --beige:        #EDE8DD;
  --crema:        #F8F6F0;
  --terracota:    #8ed687;
  --petroleo:     #5A6E6C;
  --gris-claro:   #CFCFC9;
  --blanco:       #FFFFFF;

  /* Type */
  --font: 'Montserrat', sans-serif;

  /* Scale */
  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--gris);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; }

:focus-visible{
  outline: 3px solid var(--terracota);
  outline-offset: 3px;
}

/* ==========================================================================
   Type system
   ========================================================================== */
.eyebrow{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: lowercase;
  color: var(--verde);
  margin-bottom: 18px;
  display: inline-block;
  position: relative;
  padding-left: 22px;
}
.eyebrow::before{
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--terracota);
}
.eyebrow--light{ color: var(--beige); }
.eyebrow--light::before{ background: var(--terracota); }

.h2{
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--verde-tinta);
}
.h2--light{ color: var(--beige); }

.h3{
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}
.h3--light{ color: var(--beige); }

.p-lead{
  font-size: 18px;
  line-height: 1.7;
  color: var(--gris);
  max-width: 46ch;
  margin-top: 22px;
}

.role{
  font-weight: 600;
  color: var(--verde);
  margin-top: 6px;
  display: block;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.section{ padding: 120px 32px; }
.section__inner{ max-width: var(--container); margin: 0 auto; }
.section--light{ background: var(--beige); }
.section--beige{ background: var(--crema); }
.section--dark{ background: var(--verde-tinta); }
.section--green{ background: var(--verde); }

.grid-split{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.grid-split--reverse{ grid-template-columns: 0.95fr 1.05fr; }
.grid-split--reverse .grid-split__visual{ order: 1; }
.grid-split--reverse .grid-split__text{ order: 2; }

.mini-grid{ margin-top: 38px; display: flex; flex-direction: column; gap: 16px; }
.mini-grid__item{ display: flex; gap: 14px; align-items: flex-start; }
.mini-grid__dot{
  flex: none;
  width: 8px; height: 8px; margin-top: 8px;
  border-radius: 50%;
  background: var(--terracota);
}
.mini-grid__item p{ font-size: 16px; line-height: 1.6; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--primary{
  background: var(--terracota);
  color: var(--verde-tinta);
}
.btn--primary:hover{ transform: translateY(-3px); background: #e2b399; }
.btn--ghost{
  border: 1.5px solid rgba(237,232,221,.55);
  color: var(--beige);
}
.btn--ghost:hover{ background: rgba(237,232,221,.12); transform: translateY(-3px); }

/* ==========================================================================
   Nav
   ========================================================================== */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--terracota), var(--verde));
  z-index: 101;
  transition: width .1s linear;
}

.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 32px;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.nav.is-hidden{ transform: translateY(-100%); }
.nav.is-scrolled{
  background: rgba(237,232,221,.92);
  backdrop-filter: blur(10px);
  padding: 14px 32px;
  box-shadow: 0 8px 30px rgba(46,64,52,.08);
}
.nav__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo-mark-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 45px;
  flex-shrink: 0;
  animation: logoBreathe 4.5s ease-in-out infinite;
  transition: transform .5s var(--ease), filter .5s var(--ease);
  filter: drop-shadow(0 0 0 rgba(214,161,135,0));
}
.nav__logo:hover .nav__logo-mark-wrap{
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 6px 16px rgba(214,161,135,.45));
}
@keyframes logoBreathe{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.035); }
}

.nav__logo-img{
  height: 45px;
  width: auto;
  max-width: none;   /* evita que el reset global (img{max-width:100%}) lo achique */
  flex-shrink: 0;
  display: block;
  transition: opacity .35s var(--ease);
}
.nav__logo-img--verde{ position: absolute; left: 0; top: 0; opacity: 0; }
.nav__logo-img--beige{ opacity: 1; }
.nav.is-scrolled .nav__logo-img--beige{ opacity: 0; }
.nav.is-scrolled .nav__logo-img--verde{ opacity: 1; }

.nav__links{ position: relative; display: flex; align-items: center; gap: 34px; }
.nav__links a{
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--beige);
  opacity: .88;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.nav.is-scrolled .nav__links a{ color: var(--verde-tinta); }
.nav__links a:hover{ opacity: 1; }
.nav__links a[data-nav-link].is-active{ opacity: 1; color: var(--terracota) !important; }

.nav__indicator{
  position: absolute;
  bottom: -8px; left: 0;
  height: 2px;
  width: 0;
  background: var(--terracota);
  border-radius: 2px;
  opacity: 0;
  transition: left .4s var(--ease), width .4s var(--ease), opacity .3s var(--ease);
}
.nav__indicator.is-visible{ opacity: 1; }
.nav__cta{
  background: var(--terracota);
  color: var(--verde-tinta) !important;
  padding: 10px 22px;
  border-radius: 100px;
  opacity: 1 !important;
}
.nav__burger{ display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 140px 32px 80px;
  background: var(--verde-tinta);
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 30%, rgba(90,119,97,.55), transparent 60%),
    radial-gradient(45% 45% at 10% 90%, rgba(214,161,135,.10), transparent 60%);
  pointer-events: none;
}
.hero__inner{ position: relative; z-index: 2; max-width: 620px; }
.hero__title{
  font-size: clamp(44px, 6.2vw, 78px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--beige);
}
.hero__title em{
  font-style: normal;
  color: var(--terracota);
}
.hero__lead{
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(237,232,221,.82);
  max-width: 48ch;
}
.hero__actions{ margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__mark{
  position: relative; z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mark-glow{
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,161,135,.28), rgba(214,161,135,0) 70%);
  animation: glowPulse 4.5s ease-in-out infinite;
}
@keyframes glowPulse{
  0%, 100%{ transform: scale(1); opacity: .8; }
  50%{ transform: scale(1.15); opacity: 1; }
}

.orbit-ring{
  position: absolute;
  border: 1px solid rgba(237,232,221,.18);
  border-radius: 50%;
}
.orbit-ring--a{ width: 300px; height: 300px; animation: ringSpin 22s linear infinite; border-top-color: rgba(214,161,135,.55); }
.orbit-ring--b{ width: 380px; height: 380px; animation: ringSpin 30s linear infinite reverse; border-right-color: rgba(237,232,221,.3); }
@keyframes ringSpin{ to{ transform: rotate(360deg); } }

.orbit{
  position: absolute;
  width: 260px; height: 260px;
  animation: ringSpin 12s linear infinite;
}
.orbit--b{ width: 200px; height: 200px; animation-duration: 9s; animation-direction: reverse; }
.orbit__dot{
  position: absolute;
  top: 0; left: 50%;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--terracota);
  box-shadow: 0 0 14px 2px rgba(214,161,135,.55);
}
.orbit__dot--sm{ width: 6px; height: 6px; margin-left: -3px; background: var(--beige); box-shadow: none; opacity: .7; }

.hero__mark-logo{
  position: relative;
  width: 46%;
  max-width: 210px;
  height: auto;
  animation: markFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.28));
}
@keyframes markFloat{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-14px) rotate(2deg); }
}

.hero__scroll{
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(237,232,221,.5);
  border-radius: 100px;
  z-index: 2;
}
.hero__scroll span{
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--terracota);
  border-radius: 4px;
  animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob{
  0%{ transform: translateY(0); opacity: 1; }
  60%{ transform: translateY(14px); opacity: 0; }
  61%{ transform: translateY(0); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}

/* (animación de ensamblaje de piezas reemplazada por el logo real + anillos/órbitas) */

/* ==========================================================================
   Ticker / marquesina
   ========================================================================== */
.ticker{
  background: var(--terracota);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}
.ticker__track{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  animation: tickerScroll 26s linear infinite;
}
.ticker__track span{
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--verde-tinta);
}
.ticker__dot{
  font-size: 12px;
  opacity: .55;
}
@keyframes tickerScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ==========================================================================
   Floating decorative shapes (hero)
   ========================================================================== */
.floaters{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.floater{
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(214,161,135,.5), rgba(214,161,135,0) 70%);
}
.floater--1{ width: 90px; height: 90px; top: 18%; left: 8%; animation: floatY 9s ease-in-out infinite; }
.floater--2{ width: 46px; height: 46px; top: 65%; left: 4%; animation: floatY 7s ease-in-out infinite .8s; }
.floater--3{ width: 130px; height: 130px; top: 10%; right: 6%; animation: floatY 11s ease-in-out infinite 1.4s; opacity: .6; }
.floater--4{ width: 60px; height: 60px; bottom: 12%; right: 14%; animation: floatY 8s ease-in-out infinite .4s; }
@keyframes floatY{
  0%, 100%{ transform: translateY(0) translateX(0); }
  50%{ transform: translateY(-26px) translateX(10px); }
}

/* ==========================================================================
   Mission / Vision duotone
   ========================================================================== */
.mv{ display: grid; grid-template-columns: 1fr 1fr; }
.mv__panel{ position: relative; padding: 90px 60px; display: flex; flex-direction: column; justify-content: center; min-height: 380px; overflow: hidden; }
.mv__panel--beige{ background: var(--crema); }
.mv__panel--green{ background: var(--verde); }
.mv__panel .h3{ max-width: 52ch; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.55; font-weight: 600; }

.mv__icon{
  position: absolute;
  right: 48px; bottom: 38px;
  width: 120px; height: 120px;
  color: var(--verde);
  opacity: .16;
  animation: mvIconFloat 6s ease-in-out infinite;
}
.mv__icon--light{ color: var(--beige); opacity: .22; }
@keyframes mvIconFloat{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-16px) rotate(4deg); }
}

/* ==========================================================================
   Values
   ========================================================================== */
.values{
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(237,232,221,.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.values--network{ background: rgba(237,232,221,.14); }
.values--four{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) and (min-width: 981px){
  .values--four{ grid-template-columns: repeat(2, 1fr); }
}
.values__network-line, .values__node{ display: none; }
@keyframes dashFlow{ to{ stroke-dashoffset: -20; } }
@keyframes nodePulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.35); }
}
.value-card{
  position: relative;
  background: var(--verde-tinta);
  padding: 46px 38px;
}
.value-card__icon{
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(214,161,135,.12);
  color: var(--terracota);
  margin-bottom: 24px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.value-card__icon svg{ width: 22px; height: 22px; }
.value-card:hover .value-card__icon{ transform: scale(1.1) rotate(-6deg); background: rgba(214,161,135,.22); }
.value-card__num{
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--terracota);
  margin-bottom: 14px;
}
.value-card h4{
  font-size: 22px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 12px;
}
.value-card p{ color: rgba(237,232,221,.72); line-height: 1.6; font-size: 15.5px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services{
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card{
  background: var(--blanco);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid rgba(77,77,77,.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(46,64,52,.10);
  border-color: rgba(90,119,97,.25);
}
.service-card__icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--crema);
  color: var(--verde);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card__icon svg{ width: 26px; height: 26px; }
.service-card h4{
  font-size: 18px;
  font-weight: 700;
  color: var(--verde-tinta);
  line-height: 1.35;
  margin-bottom: 14px;
}
.service-card ul{ display: flex; flex-direction: column; gap: 8px; }
.service-card li{
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gris);
  padding-left: 16px;
  position: relative;
}
.service-card li::before{
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terracota);
}
.services__note{
  margin-top: 40px;
  padding: 26px 32px;
  background: var(--crema);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--terracota);
}
.services__note p{ font-size: 15px; line-height: 1.6; }
.services__note strong{ color: var(--verde-tinta); }

/* ==========================================================================
   Timeline / Proceso
   ========================================================================== */
.timeline{
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before{
  content: "";
  position: absolute;
  top: 15px; left: 4%; right: 4%;
  height: 1.5px;
  background: rgba(237,232,221,.28);
}
.timeline__step{ position: relative; padding-right: 24px; }
.timeline__index{
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--terracota);
  color: var(--verde-tinta);
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.timeline__step h4{
  font-size: 16.5px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 10px;
  line-height: 1.35;
}
.timeline__step p{
  font-size: 14px;
  line-height: 1.6;
  color: rgba(237,232,221,.72);
}

/* ==========================================================================
   Check list
   ========================================================================== */
.check-list{ margin-top: 30px; display: flex; flex-direction: column; gap: 22px; max-width: 46ch; }
.check-list li{
  display: flex;
  gap: 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--gris);
}
.check-list__mark{
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--beige);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ==========================================================================
   Circle photo (blob + insignia flotante) — estilo del portafolio
   ========================================================================== */
.circle-photo{
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.circle-photo__blob{
  position: absolute;
  top: -6%; right: -10%;
  width: 78%; height: 78%;
  border-radius: 50%;
  background: var(--verde);   /* se ve si no hay foto, o mientras carga */
  overflow: hidden;
  animation: blobDrift 7s ease-in-out infinite;
}
.circle-photo__blob img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(1.05);
}
.circle-photo__blob::after{
  content: "";
  position: absolute; inset: 0;
  background: var(--verde);
  mix-blend-mode: color;
  opacity: .9;
}
.circle-photo__blob.img-missing img{ display: none; }
@keyframes blobDrift{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-6px, 8px) scale(1.03); }
}
.circle-photo__frame{
  position: absolute;
  left: 4%; bottom: 2%;
  width: 82%; height: 82%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--verde-tinta);
  box-shadow: 0 30px 60px rgba(46,64,52,.22);
  border: 6px solid var(--crema);
}
.circle-photo__frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.circle-photo__frame:hover img{ transform: scale(1.06); }
.circle-photo__placeholder{
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(237,232,221,.55);
  text-align: center;
  padding: 20px;
}
.circle-photo__placeholder span{ font-size: 12.5px; line-height: 1.6; }
.circle-photo__placeholder code{
  font-size: 11.5px;
  color: var(--terracota);
  background: rgba(0,0,0,.2);
  padding: 2px 8px;
  border-radius: 6px;
}
.circle-photo__frame.img-missing img{ display: none; }
.circle-photo__frame.img-missing .circle-photo__placeholder{ display: flex; }

.circle-photo__badge{
  position: absolute;
  left: -4%; bottom: 6%;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--crema);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px rgba(46,64,52,.25);
  animation: badgeFloat 4.5s ease-in-out infinite;
}
.circle-photo__badge img{ width: 44%; height: auto; }
@keyframes badgeFloat{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-10px) rotate(-6deg); }
}
.circle-photo__badge--founder{
  left: auto; right: -6%; bottom: -2%;
  width: 72px; height: 72px;
  background: var(--verde);
}

/* ==========================================================================
   Abstract orb — elemento decorativo simple y moderno
   ========================================================================== */
.abstract-orb{
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.abstract-orb__ring{
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(90,119,97,.18);
}
.abstract-orb__ring--a{ width: 100%; height: 100%; border-top-color: var(--terracota); animation: ringSpin 20s linear infinite; }
.abstract-orb__ring--b{ width: 76%; height: 76%; border-right-color: var(--verde); animation: ringSpin 26s linear infinite reverse; }
.abstract-orb__logo{
  position: relative;
  width: 34%;
  animation: markFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 14px 26px rgba(46,64,52,.18));
}

/* ==========================================================================
   Opiniones / Reviews
   ========================================================================== */
.reviews{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.reviews__summary{
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.reviews__avg{
  font-size: 46px;
  font-weight: 900;
  color: var(--beige);
  line-height: 1;
}
.reviews__stars-static{
  color: var(--terracota);
  font-size: 18px;
  letter-spacing: 3px;
}
.reviews__count{
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: rgba(237,232,221,.6);
}

.reviews__form{
  background: rgba(237,232,221,.05);
  border: 1px solid rgba(237,232,221,.14);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.star-input{ display: flex; gap: 8px; }
.star-input__star{
  background: none;
  border: none;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: rgba(237,232,221,.25);
  transition: transform .2s var(--ease), color .2s var(--ease);
  padding: 0;
}
.star-input__star:hover{ transform: scale(1.15); }
.star-input__star.is-hover,
.star-input__star.is-selected{ color: var(--terracota); }

.field{ display: flex; flex-direction: column; gap: 8px; }
.field label{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(237,232,221,.55);
}
.field input, .field textarea{
  font-family: var(--font);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(237,232,221,.18);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--beige);
  font-size: 15px;
  resize: vertical;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder{ color: rgba(237,232,221,.35); }
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--terracota);
  background: rgba(255,255,255,.07);
}

.reviews__hint{
  font-size: 13.5px;
  color: var(--terracota);
  min-height: 18px;
}

.reviews__list{
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.reviews__empty{
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(237,232,221,.45);
  font-size: 14.5px;
  padding: 20px 0;
}
.review-card{
  background: rgba(237,232,221,.05);
  border: 1px solid rgba(237,232,221,.12);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  animation: reviewIn .5s var(--ease);
}
@keyframes reviewIn{
  from{ opacity: 0; transform: translateY(14px) scale(.97); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
.review-card__stars{ color: var(--terracota); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p{ font-size: 14.5px; line-height: 1.6; color: rgba(237,232,221,.85); }
.review-card__name{
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--beige);
}
.mark-static{ padding: 20px; }
.mark-static--muted{ opacity: .55; }

/* ==========================================================================
   Photo frame (imagen real con placeholder elegante)
   ========================================================================== */
.photo-frame{
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--verde-tinta);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.photo-frame--tilt:hover{
  transform: rotate(-1deg) scale(1.015);
  box-shadow: 0 30px 60px rgba(46,64,52,.18);
}
.photo-frame__img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.photo-frame:hover .photo-frame__img{ transform: scale(1.06); }
.photo-frame__placeholder{
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(237,232,221,.55);
  text-align: center;
  border: 1.5px dashed rgba(237,232,221,.28);
  margin: 10px;
  border-radius: calc(var(--radius-lg) - 10px);
}
.photo-frame__placeholder span{ font-size: 13px; line-height: 1.6; }
.photo-frame__placeholder code{
  font-size: 12px;
  color: var(--terracota);
  background: rgba(0,0,0,.2);
  padding: 2px 8px;
  border-radius: 6px;
}
/* Se activa vía JS cuando la imagen no existe todavía */
.photo-frame.img-missing .photo-frame__img{ display: none; }
.photo-frame.img-missing .photo-frame__placeholder{ display: flex; }

.photo-frame__badge{
  position: absolute;
  bottom: 18px; left: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--verde);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px rgba(46,64,52,.28);
}

/* ==========================================================================
   Galería / Momentos
   ========================================================================== */
.gallery{
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}
.gallery__item{
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gris-claro);
}
.gallery__item--tall{ grid-row: span 2; }
.gallery__item img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: grayscale(.15);
}
.gallery__item:hover img{ transform: scale(1.08); filter: grayscale(0); }
.gallery__placeholder{
  position: absolute; inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--verde-tinta);
}
.gallery__placeholder span{
  font-size: 12px;
  color: rgba(237,232,221,.45);
  border: 1px dashed rgba(237,232,221,.3);
  padding: 6px 12px;
  border-radius: 8px;
}
.gallery__item.img-missing img{ display: none; }
.gallery__item.img-missing .gallery__placeholder{ display: flex; }
.gallery__item figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--beige);
  background: linear-gradient(0deg, rgba(46,64,52,.82), transparent);
  transform: translateY(8px);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.gallery__item:hover figcaption{ transform: translateY(0); opacity: 1; }

/* ==========================================================================
   Founder
   ========================================================================== */
.founder-frame{
  position: relative;
  width: 320px; height: 320px;
  margin: 0 auto;
}
.founder-frame__ring{
  position: absolute; inset: -18px;
  border: 1.5px dashed rgba(90,119,97,.4);
  border-radius: 50%;
}
.founder-frame__photo{
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--verde);
  color: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow: hidden;
  transition: transform .5s var(--ease);
}
.founder-frame:hover .founder-frame__photo{ transform: scale(1.03); }
.founder-frame__photo img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: grayscale(.1);
}
.founder-frame:hover .founder-frame__photo img{ transform: scale(1.07); filter: grayscale(0); }
.founder-frame__initials{ position: relative; z-index: 0; }
/* Mientras no exista la foto real, se oculta y quedan solo las iniciales */
.founder-frame__photo.img-missing img{ display: none; }
.founder-frame__photo:not(.img-missing) .founder-frame__initials{ display: none; }

/* ==========================================================================
   CTA / Contact
   ========================================================================== */
.cta{
  background: var(--verde-tinta);
  padding: 130px 32px;
  text-align: center;
}
.cta__inner{ max-width: 780px; margin: 0 auto; }
.cta__title{
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--beige);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.cta__contacts{
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cta__contact{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 26px;
  border: 1px solid rgba(237,232,221,.2);
  border-radius: var(--radius-sm);
  color: var(--beige);
  font-weight: 700;
  font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.cta__contact span{
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracota);
}
.cta__contact:hover{
  border-color: var(--terracota);
  background: rgba(214,161,135,.06);
  transform: translateY(-3px);
}

/* ==========================================================================
   Plazas activas / CV upload
   ========================================================================== */
.jobs{
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.jobs__openings{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.job-card{
  background: rgba(237,232,221,.05);
  border: 1px solid rgba(237,232,221,.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.job-card:hover{
  transform: translateY(-4px);
  border-color: rgba(214,161,135,.4);
  background: rgba(237,232,221,.08);
}
.job-card__header h4{
  font-size: 17px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 6px;
}
.job-card__tag{
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--terracota);
}
.job-card p{
  font-size: 14px;
  line-height: 1.6;
  color: rgba(237,232,221,.7);
  flex: 1;
}
.job-card__apply{
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 13.5px;
}
.cv-upload{ max-width: 700px; margin: 0 auto; width: 100%; }

.jobs__status{
  display: flex;
  gap: 16px;
  background: rgba(237,232,221,.05);
  border: 1px solid rgba(237,232,221,.14);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.jobs__status-dot{
  flex: none;
  width: 11px; height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gris-claro);
  box-shadow: 0 0 0 4px rgba(207,207,201,.15);
}
.jobs__status h4{
  font-size: 17px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 10px;
}
.jobs__status p{
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(237,232,221,.7);
}

.cv-upload{
  background: rgba(237,232,221,.05);
  border: 1px solid rgba(237,232,221,.14);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dropzone{
  border: 1.5px dashed rgba(237,232,221,.3);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
  color: rgba(237,232,221,.55);
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.dropzone svg{ color: var(--terracota); }
.dropzone p{ font-size: 13.5px; line-height: 1.6; }
.dropzone p span{ color: var(--terracota); font-weight: 600; text-decoration: underline; }
.dropzone small{ color: rgba(237,232,221,.4); }
.dropzone:hover, .dropzone:focus-visible{ border-color: var(--terracota); background: rgba(214,161,135,.05); }
.dropzone.is-dragover{ border-color: var(--terracota); background: rgba(214,161,135,.1); transform: scale(1.01); }
.dropzone.has-file{ border-style: solid; border-color: var(--verde); background: rgba(90,119,97,.1); color: var(--beige); }
.contact-box{
  margin: 56px auto 0;
  max-width: 720px;
  text-align: left;
  background: rgba(237,232,221,.05);
  border: 1px solid rgba(237,232,221,.14);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-box__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field--onDark select{
  font-family: var(--font);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(237,232,221,.18);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--beige);
  font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field--onDark select:focus{ outline: none; border-color: var(--terracota); }
.field--onDark select option{ color: var(--gris); }
.contact-box__footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.contact-box__hint{
  font-size: 13px;
  color: rgba(237,232,221,.5);
  max-width: 34ch;
  text-align: left;
}
.contact-box__hint.is-success{ color: var(--terracota); font-weight: 600; }

/* ==========================================================================
   Netlify Forms — campo anti-spam oculto (no tocar)
   ========================================================================== */
.hp-field{ position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer{ background: var(--verde-tinta); padding: 0 32px 50px; }
.footer__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(237,232,221,.14);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.nav__logo--footer{ color: var(--beige); transition: transform .4s var(--ease), filter .4s var(--ease); }
.nav__logo--footer:hover{ transform: scale(1.04); filter: drop-shadow(0 6px 16px rgba(214,161,135,.35)); }
.footer__logo-img{ height: 34px; width: auto; display: block; }
.footer p{ color: rgba(237,232,221,.6); font-size: 14px; }
.footer__copy{ font-size: 12.5px; color: rgba(237,232,221,.4); }

/* ==========================================================================
   Cursor connector dot
   ========================================================================== */
.cursor-dot{
  position: fixed;
  width: 22px; height: 22px;
  border: 1.5px solid var(--terracota);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%,-50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s var(--ease), background .25s var(--ease);
  opacity: 0;
}
.cursor-dot.is-active{ opacity: 1; }
.cursor-dot.is-hovering{ width: 46px; height: 46px; background: rgba(214,161,135,.12); }
@media (hover: none), (pointer: coarse){
  .cursor-dot{ display: none; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; padding-top: 150px; }
  .hero__mark{ height: 260px; margin-top: 40px; transform: scale(.8); }
  .grid-split{ grid-template-columns: 1fr; gap: 48px; }
  .grid-split--reverse .grid-split__visual{ order: 2; }
  .grid-split--reverse .grid-split__text{ order: 1; }
  .mv{ grid-template-columns: 1fr; }
  .jobs{ gap: 28px; }
  .jobs__openings{ grid-template-columns: 1fr; }
  .values{ grid-template-columns: 1fr; position: relative; padding-right: 64px; }
  .values--network{ }
  .values__network-line{ display: block; position: absolute; top: 0; right: 30px; height: 100%; width: 4px; color: rgba(214,161,135,.4); }
  .values__network-line line{ animation: dashFlow 3.5s linear infinite; }
  .values__node{
    position: absolute; right: 24px;
    width: 12px; height: 12px; margin-top: -6px;
    border-radius: 50%; background: var(--terracota);
    box-shadow: 0 0 0 4px rgba(214,161,135,.18);
    animation: nodePulse 2.4s ease-in-out infinite;
  }
  .services{ grid-template-columns: repeat(2, 1fr); }
  .timeline{ grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .timeline::before{ display: none; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .reviews{ grid-template-columns: 1fr; gap: 44px; }
  .reviews__list{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px){
  .section{ padding: 84px 22px; }
  .nav{ padding: 16px 20px; }
  .nav__links{
    position: fixed; inset: 0 0 0 auto;
    width: 78vw; max-width: 320px;
    background: var(--verde-tinta);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav__links.is-open{ transform: translateX(0); }
  .nav__links a{ color: var(--beige) !important; font-size: 18px; }
  .nav__burger{
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 34px; height: 34px; border: none; background: none; cursor: pointer;
    z-index: 101;
  }
  .nav__burger span{ height: 2px; background: var(--beige); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav.is-scrolled .nav__burger span{ background: var(--verde-tinta); }
  .services{ grid-template-columns: 1fr; }
  .timeline{ grid-template-columns: 1fr; }
  .mv__panel{ padding: 60px 30px; }
  .founder-frame{ width: 220px; height: 220px; }
  .cta{ padding: 90px 22px; }
  .gallery{ grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .ticker__track span{ font-size: 12.5px; }
  .floater--3{ display: none; }
  .reviews__list{ grid-template-columns: 1fr; }
  .reviews__form{ padding: 28px; }
  .contact-box{ padding: 26px; margin-top: 40px; }
  .cv-upload{ padding: 24px; }
  .jobs__status{ flex-direction: column; padding: 24px; }
  .contact-box__row{ grid-template-columns: 1fr; }
  .contact-box__footer{ flex-direction: column; align-items: stretch; text-align: center; }
  .contact-box__hint{ text-align: center; max-width: none; }
}
