@font-face{
  font-family:Cardo;
  src:url('/resources/font/cardo/Cardo-Regular.ttf') format('truetype');
  font-display:swap;
}
@font-face{font-family:EmirionSans;src:url('/resources/font/Quicksand-Light.ttf') format('truetype');font-display:swap}
@font-face{font-family:EmirionCaps;src:url('/resources/font/Cinzel-Roman.ttf') format('truetype');font-display:swap}

:root{
  --sage:#536452;
  --sage-2:#697765;
  --sage-3:#879184;
  --ink:#4d5d4c;
  --copy:#2d3831;
  --paper:#f4f1ea;
}

*{box-sizing:border-box}
html,body{width:100%;min-height:100%;margin:0;background:var(--paper);color:var(--copy)}
body{overflow:hidden;font-family:EmirionSans,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}

.emirion{
  position:relative;
  width:100vw;
  height:100svh;
  min-height:720px;
  overflow:hidden;
  isolation:isolate;
  background:#f4f1ea;
}

.bg{
  position:absolute;
  inset:0;
  z-index:0;
  background:url('../img/fondo.png') center center / cover no-repeat;
}

.veil{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(247,245,239,.94) 0%,rgba(247,245,239,.90) 30%,rgba(247,245,239,.51) 49%,rgba(247,245,239,.15) 69%,rgba(247,245,239,0) 100%);
}

.brand{
  position:absolute;
  z-index:20;
  top:2.25vh;
  left:5.8vw;
  width:clamp(138px,10.4vw,184px);
}
.brand img{display:block;width:100%;height:auto;filter:brightness(.72) saturate(.82)}

.status{
  position:absolute;
  z-index:18;
  top:13.35vh;
  left:20.7vw;
  display:flex;
  align-items:center;
  gap:18px;
  color:var(--sage-3);
  font-family:EmirionCaps,serif;
  font-size:clamp(9px,.62vw,12px);
  line-height:1;
  letter-spacing:.27em;
  text-transform:uppercase;
  white-space:nowrap;
}
.status i{width:clamp(105px,9vw,170px);height:1px;background:rgba(83,100,82,.22)}
.dot{width:12px;height:12px;border-radius:50%;background:var(--sage-2);box-shadow:0 0 0 9px rgba(83,100,82,.08);flex:0 0 auto}

.copy{
  position:absolute;
  z-index:19;
  top:24vh;
  left:9.45vw;
  width:min(620px,42vw);
}
.copy h1{
  width:100%;
  margin:0;
  color:var(--ink);
  font-weight:400;
  font-size:clamp(60px,min(5.3vw,8.2vh),83px);
  line-height:1.045;
  letter-spacing:-.057em;
  font-family:'Cardo', serif;
}
.rule{display:block;width:31px;height:1px;margin:clamp(18px,2.2vh,25px) 0 clamp(17px,2vh,22px);background:rgba(83,100,82,.62)}
.copy p{width:min(430px,100%);margin:0;color:#27312c;font-size:clamp(13px,min(.88vw,1.7vh),15px);line-height:1.54;font-weight:600;letter-spacing:.002em}
.copy p + p{margin-top:clamp(12px,1.8vh,18px)}

.chips{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:clamp(17px,2.4vh,25px)}
.chips span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  height:34px;
  padding:0 17px;
  border:1px solid rgba(83,100,82,.17);
  border-radius:999px;
  background:rgba(255,255,255,.32);
  color:#5c685a;
  font-family:EmirionCaps,serif;
  font-size:9.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
}
.ico-cube,.ico-nodes,.ico-ring{position:relative;display:inline-block;width:15px;height:15px;opacity:.75}
.ico-cube::before{content:"";position:absolute;inset:1px;border:1px solid var(--sage-2);clip-path:polygon(50% 0,94% 25%,94% 75%,50% 100%,6% 75%,6% 25%)}
.ico-nodes::before{content:"";position:absolute;left:2px;top:7px;width:12px;height:1px;background:var(--sage-2);transform:rotate(-22deg)}
.ico-nodes::after{content:"";position:absolute;left:1px;top:3px;width:5px;height:5px;border:1px solid var(--sage-2);border-radius:50%;box-shadow:10px 5px 0 -1px #f8f6f0,10px 5px 0 0 var(--sage-2)}
.ico-ring::before{content:"";position:absolute;inset:3px;border:1px solid var(--sage-2);border-radius:50%}

.contact{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  width:200px;
  height:52px;
  margin-top:20px; /* antes estaba más abajo */
  padding:0 22px 0 29px;
  border-radius:5px;
  background:linear-gradient(135deg,#63745f,#4f604f);
  color:#fff;
  font-size:16px;
  letter-spacing:.01em;
  box-shadow:0 15px 34px rgba(72,82,65,.18),inset 0 1px 0 rgba(255,255,255,.18);
  position:relative;
  top:-10px; /* lo sube estratégicamente */
}
.contact svg{width:38px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.tech{position:absolute;inset:0;z-index:6;pointer-events:none}
.matrix{
  position:absolute;
  top:12.9vh;
  left:65.3vw;
  width:190px;
  height:205px;
  opacity:.58;
  background-image:radial-gradient(circle,rgba(255,255,255,.82) 1px,transparent 1.25px);
  background-size:11px 11px;
  mask-image:linear-gradient(180deg,#000 10%,transparent 100%);
}
.lines{position:absolute;top:33vh;left:51.2vw;width:46.5vw;height:58vh;overflow:visible}
.lines path{fill:none;stroke:rgba(255,255,255,.78);stroke-width:1.1;vector-effect:non-scaling-stroke}
.lines circle{fill:rgba(255,255,255,.84);stroke:rgba(83,100,82,.19);stroke-width:1.1;vector-effect:non-scaling-stroke}

.glass{
  position:absolute;
  z-index:10;
  border:1px solid rgba(255,255,255,.72);
  border-radius:7px;
  background:linear-gradient(135deg,rgba(248,246,240,.82),rgba(245,242,235,.58));
  color:#667164;
  box-shadow:0 28px 80px rgba(55,48,39,.13),inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter:blur(18px) saturate(1.05);
  overflow:hidden;
}
.glass::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.34),transparent 44%)}
.glass h2{position:relative;margin:0;color:#60705e;font-family:EmirionCaps,serif;font-size:10.5px;font-weight:700;letter-spacing:.035em;text-transform:uppercase}
.glass p{position:relative;margin:17px 0 0;font-size:11.6px;line-height:1.5}
.dots{position:absolute;top:14px;right:15px;display:flex;gap:4px}
.dots i{width:3px;height:3px;border-radius:50%;background:rgba(83,100,82,.5)}

.card-system{top:17.5vh;left:58.5vw;width:278px;height:124px;padding:23px 24px}
.cube-stack{position:absolute;right:18px;bottom:18px;width:62px;height:42px;fill:none;stroke:rgba(83,100,82,.54);stroke-width:1.35;stroke-linejoin:round}

.card-orchestration{top:46.9vh;left:51.5vw;width:278px;height:128px;padding:26px 27px}
.chart{position:absolute;left:46px;bottom:23px;width:168px;height:58px;fill:none;stroke:rgba(83,100,82,.58);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.chart circle{fill:rgba(83,100,82,.22);stroke:rgba(83,100,82,.7);stroke-width:3}

.card-progress{top:45.9vh;left:68.9vw;width:220px;height:132px;padding:25px 24px}
.progress-layout{position:relative;display:flex;align-items:center;gap:18px;margin-top:17px}
.ring{position:relative;width:58px;height:58px;border-radius:50%;background:conic-gradient(#768774 0 73%,rgba(83,100,82,.16) 73% 100%)}
.ring::after{content:"";position:absolute;inset:9px;border-radius:50%;background:rgba(248,246,240,.8)}
.ring span{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#6d7969;font-size:10px;font-weight:700}
.progress-layout ul{display:grid;gap:6px;min-width:92px;margin:0;padding:0;list-style:none}
.progress-layout li{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#6b746b;font-size:9.8px}
.progress-layout li b{width:41px;height:1px;background:rgba(83,100,82,.28)}

.card-connected{top:65.1vh;left:58.7vw;width:238px;height:140px;padding:23px 25px}
.systems{display:grid;grid-template-columns:1fr auto;gap:8px 23px;margin-top:22px;color:#717a70;font-size:10px}
.systems em{color:#677567;font-style:normal}
.small-matrix{position:absolute;right:19px;bottom:21px;width:66px;height:48px;fill:rgba(83,100,82,.52)}

.note{
  position:absolute;
  z-index:12;
  left:9.45vw;
  bottom:11.2vh;
  display:flex;
  align-items:center;
  gap:22px;
  color:#667064;
}
.note span{display:block;width:54px;height:54px;flex:0 0 54px}
.note svg{width:100%;height:100%;fill:none;stroke:rgba(83,100,82,.58);stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}
.note p{margin:0;font-size:13px;line-height:1.55}

.coords{
  position:absolute;
  z-index:12;
  left:57.2vw;
  bottom:15.3vh;
  color:rgba(255,255,255,.72);
  font-family:EmirionCaps,serif;
  font-size:9px;
  line-height:1.85;
  letter-spacing:.17em;
  text-transform:uppercase;
}

.bottom{
  position:absolute;
  z-index:12;
  left:5.55vw;
  right:6.35vw;
  bottom:6.6vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#697467;
  font-family:EmirionCaps,serif;
  font-size:10.5px;
  letter-spacing:.23em;
  text-transform:uppercase;
}
.bottom nav{display:flex;align-items:center;gap:23px}
.future{display:flex;align-items:center;gap:13px}
.future span{display:grid;place-items:center;width:24px;height:24px;border:1px solid rgba(83,100,82,.36);border-radius:50%;font-family:system-ui;font-size:13px;letter-spacing:0}



.em-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:28px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .45s ease, visibility .45s ease;
}

.em-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.em-modal__backdrop{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 72% 38%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(90deg, rgba(244,241,234,.76), rgba(218,211,201,.58));
  backdrop-filter:blur(18px) saturate(.94);
}

.em-modal__panel{
  position:relative;
  width:min(1040px, 94vw);
  min-height:640px;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.72);
  border-radius:18px;
  background:
    linear-gradient(135deg, rgba(248,246,240,.91), rgba(236,231,222,.76)),
    rgba(244,241,234,.82);
  box-shadow:
    0 44px 120px rgba(48,43,36,.23),
    inset 0 1px 0 rgba(255,255,255,.86);
  transform:translateY(18px) scale(.985);
  transition:transform .55s cubic-bezier(.19,1,.22,1);
}

.em-modal.is-open .em-modal__panel{
  transform:translateY(0) scale(1);
}

.em-modal__panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.58), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.22), transparent 48%);
}

.em-modal__panel::after{
  content:"";
  position:absolute;
  right:-120px;
  top:-120px;
  width:420px;
  height:420px;
  border:1px solid rgba(83,100,82,.18);
  border-radius:50%;
  pointer-events:none;
}

.em-modal__close{
  position:absolute;
  top:24px;
  right:24px;
  z-index:5;
  width:42px;
  height:42px;
  border:1px solid rgba(83,100,82,.18);
  border-radius:50%;
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(12px);
  cursor:pointer;
}

.em-modal__close span{
  position:absolute;
  left:12px;
  right:12px;
  top:20px;
  height:1px;
  background:#536452;
}

.em-modal__close span:first-child{
  transform:rotate(45deg);
}

.em-modal__close span:last-child{
  transform:rotate(-45deg);
}

.em-modal__brand{
  position:relative;
  z-index:2;
  padding:64px 54px 56px;
  border-right:1px solid rgba(83,100,82,.13);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.em-modal__logo-frame{
  width:170px;
  margin-bottom:42px;
}

.em-modal__logo-frame img{
  display:block;
  width:100%;
  height:auto;
  filter:brightness(.72) saturate(.82);
}

.em-modal__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:#7c8879;
  font-family:EmirionCaps,serif;
  font-size:10px;
  letter-spacing:.28em;
  text-transform:uppercase;
  margin-bottom:20px;
}

.em-modal__eyebrow::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:#697765;
  box-shadow:0 0 0 8px rgba(83,100,82,.08);
}

.em-modal__brand h2{
  margin:0;
  max-width:390px;
  color:#4d5d4c;
  font-family:EmirionSerif, Georgia, serif;
  font-size:clamp(42px, 4vw, 62px);
  font-weight:400;
  line-height:1.02;
  letter-spacing:-.055em;
}

.em-modal__brand p{
  max-width:370px;
  margin:26px 0 0;
  color:#38443c;
  font-size:14.5px;
  line-height:1.65;
}

.em-modal__signal{
  margin-top:42px;
  display:grid;
  gap:13px;
  color:#697467;
  font-family:EmirionCaps,serif;
  font-size:10px;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.em-modal__signal i{
  width:42px;
  height:1px;
  background:rgba(83,100,82,.45);
}

.em-form{
  position:relative;
  z-index:2;
  padding:82px 64px 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.em-form__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.em-form__full{
  grid-column:1 / -1;
}

.em-form label{
  display:grid;
  gap:10px;
}

.em-form label span{
  color:#647062;
  font-family:EmirionCaps,serif;
  font-size:10px;
  letter-spacing:.21em;
  text-transform:uppercase;
}

.em-form input,
.em-form textarea{
  width:100%;
  border:1px solid rgba(83,100,82,.16);
  border-radius:12px;
  background:rgba(255,255,255,.42);
  color:#2f3933;
  font-family:EmirionSans,system-ui,sans-serif;
  font-size:15px;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.74);
  backdrop-filter:blur(10px);
  transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.em-form input{
  height:52px;
  padding:0 17px;
}

.em-form textarea{
  resize:none;
  padding:17px;
  line-height:1.55;
}

.em-form input:focus,
.em-form textarea:focus{
  border-color:rgba(83,100,82,.42);
  background:rgba(255,255,255,.58);
  box-shadow:
    0 0 0 4px rgba(83,100,82,.07),
    inset 0 1px 0 rgba(255,255,255,.78);
}

.em-form textarea::placeholder{
  color:rgba(83,100,82,.52);
}

.em-form__submit{
  margin-top:28px;
  width:230px;
  height:54px;
  border:0;
  border-radius:6px;
  background:linear-gradient(135deg,#63745f,#4f604f);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 22px 0 26px;
  font-size:15px;
  cursor:pointer;
  box-shadow:0 18px 42px rgba(72,82,65,.2), inset 0 1px 0 rgba(255,255,255,.18);
}

.em-form__submit svg{
  width:38px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.em-form__note{
  margin:18px 0 0;
  color:#788375;
  font-size:12.5px;
}

body.em-modal-open{
  overflow:hidden;
}

@media (max-width:820px){
  .em-modal{
    padding:14px;
    align-items:start;
    overflow:auto;
  }

  .em-modal__panel{
    width:100%;
    min-height:auto;
    grid-template-columns:1fr;
    border-radius:16px;
  }

  .em-modal__brand{
    padding:54px 28px 34px;
    border-right:0;
    border-bottom:1px solid rgba(83,100,82,.13);
  }

  .em-modal__logo-frame{
    width:140px;
    margin-bottom:30px;
  }

  .em-modal__brand h2{
    font-size:42px;
  }

  .em-form{
    padding:34px 28px 32px;
  }

  .em-form__grid{
    grid-template-columns:1fr;
  }

  .em-form__submit{
    width:100%;
  }
}

/*ENVIO DE CORREO ELECTRONICO*/
.em-form__submit[disabled]{
  opacity:.68;
  cursor:not-allowed;
  transform:none!important;
}

.em-form__message{
  margin-top:16px;
  padding:14px 16px;
  border-radius:12px;
  font-size:13.5px;
  line-height:1.45;
  display:none;
}

.em-form__message.is-success{
  display:block;
  color:#4f604f;
  background:rgba(83,100,82,.09);
  border:1px solid rgba(83,100,82,.18);
}

.em-form__message.is-error{
  display:block;
  color:#7b3d35;
  background:rgba(123,61,53,.08);
  border:1px solid rgba(123,61,53,.18);
}



/* pantallas bajas */
@media (min-width:992px) and (max-height:820px){
  .brand{top:6.4vh;width:clamp(128px,9.2vw,158px)}
  .status{top:12.5vh}
  .copy{top:22vh}
  .copy h1{font-size:clamp(54px,min(5vw,7.7vh),74px)}
  .copy p{font-size:13px;line-height:1.46}
  .copy p + p{margin-top:12px}
  .chips{margin-top:16px}
  .chips span{height:31px;padding:0 13px;font-size:8.5px}
  .contact{height:46px;margin-top:17px;font-size:14px}
  .note{bottom:12vh}
  .bottom{bottom:5vh}
}

/* móvil */
@media (max-width:767px){
  body{overflow:auto}
  .emirion{height:auto;min-height:100svh;overflow:visible;padding:26px 18px 34px;display:flex;flex-direction:column;gap:20px}
  .bg{background-size:cover;background-position:72% center}
  .veil{background:linear-gradient(180deg,rgba(247,245,239,.97) 0%,rgba(247,245,239,.92) 45%,rgba(247,245,239,.80) 100%)}
  .brand,.status,.copy,.tech,.glass,.note,.coords,.bottom{position:relative;inset:auto;top:auto;left:auto;right:auto;bottom:auto;width:auto;height:auto}
  .brand{width:126px}
  .status{display:none}
  .copy{width:100%}
  .copy h1{width:100%;max-width:520px;font-size:clamp(42px,13vw,59px);line-height:1.04}
  .copy p{width:100%;max-width:520px;font-size:14px;line-height:1.58}
  .chips{gap:9px}
  .chips span{height:33px;padding:0 13px;font-size:8.5px}
  .contact{width:100%;max-width:360px}
  .tech{min-height:260px;border-radius:26px;overflow:hidden;background:rgba(255,255,255,.12)}
  .matrix{top:22px;left:20px}
  .lines{inset:0;width:100%;height:100%;opacity:.72}
  .glass{width:100%;max-width:520px;min-height:124px;padding:22px}
  .card-progress,.card-connected{min-height:136px}
  .note{align-items:flex-start;gap:15px}
  .note span{width:45px;height:45px;flex-basis:45px}
  .note p{font-size:12.5px}
  .coords{display:none}
  .bottom{display:block;padding-top:8px;font-size:9.5px;letter-spacing:.17em}
  .bottom nav{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
