@font-face{font-family:"Pagella";src:url("/assets/fonts/pagella-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Outfit";src:url("/assets/fonts/outfit-variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

:root{
  --navy:#001b70;
  --teal:#00acc9;
  --teal-text:#0089a1;
  --green:#93c83d;
  --yellow:#ffce00;
  --orange:#ff4e00;
  --ink:#1b2340;
  --muted:#4a5274;
  --paper:#ffffff;
  --serif:"Pagella","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:"Outfit",system-ui,-apple-system,"Segoe UI",sans-serif;
  --gutter:clamp(20px,5vw,72px);
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0}
body{background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:6px}

.page{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);min-height:100vh;min-height:100svh}

/* Columna de texto */
.content{position:relative;display:flex;flex-direction:column;padding:0 var(--gutter) 0;overflow:hidden;isolation:isolate}
.content::before{ /* casa del logo como marca de agua, igual que en el deck */
  content:"";position:absolute;z-index:-1;right:-6%;top:14%;width:62%;aspect-ratio:1.15;
  background:url("/assets/ouy-house.svg") no-repeat center/contain;opacity:.07;pointer-events:none}

.tab{align-self:flex-start;margin-left:calc(var(--gutter) * -1);background:var(--navy);color:#fff;font-weight:600;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;padding:.85rem 2rem .85rem var(--gutter);border-bottom-right-radius:22px}

.inner{flex:1;display:flex;flex-direction:column;justify-content:center;padding:clamp(20px,4vh,56px) 0;max-width:640px}

.logo{width:clamp(96px,9vw,136px);height:auto;margin-bottom:clamp(18px,3vh,36px)}

.eyebrow{margin:0 0 .9rem;color:var(--teal-text);font-weight:600;font-size:.86rem;letter-spacing:.14em;text-transform:uppercase}

h1{margin:0;font-family:var(--serif);font-weight:400;color:var(--ink);font-size:clamp(2rem,3vw,2.85rem);line-height:1.14;letter-spacing:-.005em;text-wrap:balance}
h1 .quote{color:var(--teal-text)}

.lede{margin:1.4rem 0 0;max-width:34em;color:var(--muted);font-size:clamp(1rem,1.15vw,1.12rem)}

.pillars{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.6rem 0 0;padding:0;list-style:none}
.pillars li{font-weight:600;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;padding:.5rem 1rem;border-radius:999px;color:var(--navy)}
.pillars .space{background:var(--teal)}
.pillars .services{background:var(--orange);color:#fff}
.pillars .community{background:var(--green)}
.pillars .investment{background:var(--yellow)}

.contact{margin-top:clamp(22px,4vh,44px);padding-top:clamp(18px,2.6vh,28px);border-top:1px solid #e3e6ef}
.contact h2{margin:0 0 .35rem;font-family:var(--sans);font-size:1.05rem;font-weight:600;color:var(--orange)}
.contact p{margin:0 0 1.1rem;color:var(--muted);font-size:.98rem}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.1rem}
.btn{display:inline-flex;align-items:center;gap:.6rem;background:var(--navy);color:#fff;text-decoration:none;font-weight:600;font-size:1rem;padding:.95rem 1.5rem;border-radius:14px;border-bottom-left-radius:4px;transition:background .2s ease,transform .2s ease}
.btn:hover{background:#0a2a96;transform:translateY(-1px)}
.btn svg{width:18px;height:18px;flex:none}
.email{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.email a{font-weight:500;color:var(--navy);text-decoration:none;border-bottom:2px solid var(--teal);padding-bottom:1px}
.email a:hover{border-bottom-color:var(--orange)}
.copy{font:inherit;font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:none;border:1px solid #d5d9e6;border-radius:999px;padding:.3rem .8rem;cursor:pointer;transition:border-color .2s,color .2s}
.copy:hover{border-color:var(--navy);color:var(--navy)}
.copy[data-done]{border-color:var(--green);color:#4a7a10}

.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;align-items:center;padding:0 0 1.1rem;font-size:.84rem;color:var(--muted)}
.foot strong{color:var(--orange);font-weight:600}
.stripe{display:grid;grid-template-columns:22% 7% 11% 15% 45%;height:10px;margin:0 calc(var(--gutter) * -1) 0}
.stripe span:nth-child(1){background:var(--orange)}
.stripe span:nth-child(2){background:var(--yellow)}
.stripe span:nth-child(3){background:var(--green)}
.stripe span:nth-child(4){background:var(--teal)}
.stripe span:nth-child(5){background:var(--navy)}

/* Foto */
.photo{position:relative;margin:0;min-height:100%}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% 50%;border-bottom-left-radius:clamp(48px,7vw,120px)}
.photo::after{ /* bloques de color como en las esquinas del deck */
  content:"";position:absolute;left:-18px;bottom:clamp(64px,10vh,120px);width:36px;height:36px;background:var(--yellow)}

/* Entrada suave */
@media (prefers-reduced-motion:no-preference){
  .inner>*{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
  .inner>*:nth-child(2){animation-delay:.08s}
  .inner>*:nth-child(3){animation-delay:.16s}
  .inner>*:nth-child(4){animation-delay:.24s}
  .inner>*:nth-child(5){animation-delay:.32s}
  .inner>*:nth-child(6){animation-delay:.4s}
  .photo img{animation:fade 1.2s ease both}
}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}

/* Tableta y móvil */
@media (max-width:900px){
  .page{grid-template-columns:1fr}
  .photo{order:-1;height:46vh;height:46svh;min-height:280px;max-height:520px}
  .photo img{border-bottom-left-radius:64px}
  .photo::after{left:auto;right:var(--gutter);bottom:-18px}
  .content::before{top:4%;width:70%}
  .inner{padding:36px 0 40px;max-width:none}
}
@media (max-width:520px){
  body{font-size:16px}
  .tab{font-size:.75rem;padding:.75rem 1.4rem .75rem var(--gutter)}
  .btn{width:100%;justify-content:center}
  .foot{flex-direction:column;align-items:flex-start}
}
