/* ============================================================
   IUNOV — Portada v3 · basada en la pieza de modalidades
   ============================================================ */

:root{
  --paper:   #FBFAF7;
  --paper-2: #F3F1EC;
  --mist:    #E6E8EE;
  --hair:    #EAD9A6;          /* línea fina dorada */
  --navy:    #0A2A63;
  --navy-2:  #0D2350;
  --navy-d:  #061633;
  --ink:     #0B1F4A;
  --text:    #3A4560;
  --muted:   #6B7389;
  --yellow:  #FDC20B;
  --red:     #D0101E;
  --red-d:   #A40A14;

  --serif: "Source Serif 4", "Georgia", serif;
  --sans:  "Nunito Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --brand: "Italiana", "Didot", serif;

  --wrap: 1240px;
  --ease: cubic-bezier(.2,.75,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--paper); color:var(--text);
  font-family:var(--sans); font-size:17px; line-height:1.6; font-weight:400;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure{ margin:0; }
button{ font:inherit; cursor:pointer; }
.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 40px; position:relative; z-index:2; }

/* ---------- Colores por ítem ---------- */
.c-y{ --c:var(--yellow); }
.c-n{ --c:var(--navy); }
.c-r{ --c:var(--red); }
.c-w{ --c:#FBFAF7; }

/* ---------- Tipografía display (como la pieza) ---------- */
.display{
  font-family:var(--serif); font-weight:800; color:var(--ink);
  letter-spacing:-.015em; line-height:1.1;
  font-size:clamp(1.9rem, 3.4vw, 3rem); font-variation-settings:"opsz" 60;
}
.display.caps{ text-transform:uppercase; letter-spacing:-.005em; line-height:1.04; }
.kicker{
  display:inline-flex; align-items:center; gap:18px;
  font-size:.74rem; font-weight:600; letter-spacing:.3em; text-transform:uppercase; color:var(--navy);
}
.kicker.on-dark{ color:#E9ECF4; }
.k-line{ display:inline-block; height:3px; width:56px; flex:none; }
.k-y{ background:var(--yellow); }
.k-r{ background:var(--red); }
.sec-head .display{ margin-top:22px; }
.sec-head.center{ text-align:center; max-width:980px; margin:0 auto; }
.sec-sub{ margin-top:20px; font-size:1.25rem; font-weight:300; color:var(--ink); }

.num{
  display:inline-flex; align-items:center; gap:12px;
  font-family:var(--serif); font-weight:800; font-size:1.25rem; color:var(--ink);
}
.num::before{ content:""; width:26px; height:4px; background:var(--c, var(--yellow)); }

/* ---------- Botones ---------- */
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:14px;
  padding:16px 28px; font-family:var(--sans); font-weight:700; font-size:.82rem;
  letter-spacing:.14em; text-transform:uppercase; border:1.5px solid transparent;
  transition:transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  white-space:nowrap;
}
.btn-lg{ padding:20px 34px; font-size:.86rem; }
.btn-navy{ background:var(--navy); color:#fff; box-shadow:inset 6px 0 0 var(--yellow); }
.btn-navy:hover{ background:var(--navy-d); transform:translateY(-2px); box-shadow:inset 10px 0 0 var(--yellow), 0 18px 34px -18px rgba(10,42,99,.7); }
.btn-ghost{ color:var(--navy); border-color:rgba(10,42,99,.35); background:rgba(255,255,255,.6); }
.btn-ghost:hover{ border-color:var(--navy); background:#fff; }
.btn-yellow{ background:var(--yellow); color:var(--navy-d); }
.btn-yellow:hover{ transform:translateY(-2px); box-shadow:0 18px 34px -16px rgba(253,194,11,.7); }
.arw{ transition:transform .35s var(--ease); }
a:hover .arw{ transform:translateX(5px); }

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:1000;
  transition:background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled{ background:rgba(251,250,247,.94); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); box-shadow:0 1px 0 var(--hair); }
.header-inner{ height:88px; display:flex; align-items:center; gap:44px; transition:height .35s var(--ease); }
.site-header.is-scrolled .header-inner{ height:70px; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand img{ height:30px; width:auto; }
.brand-word{ font-family:var(--brand); font-size:1.5rem; letter-spacing:.34em; color:var(--navy); }
.nav{ margin-left:auto; display:flex; gap:36px; }
.nav a{ position:relative; font-size:.95rem; font-weight:600; color:var(--navy); padding:6px 0; }
.nav a::after{ content:""; position:absolute; left:0; bottom:0; height:3px; width:0; background:var(--yellow); transition:width .35s var(--ease); }
.nav a:hover::after,.nav a.is-active::after{ width:100%; }
.header-cta{ padding:13px 22px; font-size:.74rem; }
.nav-toggle{ display:none; margin-left:auto; width:46px; height:46px; border:0; background:none; flex-direction:column; justify-content:center; align-items:center; gap:6px; }
.nav-toggle span{ width:24px; height:2px; background:var(--navy); transition:transform .3s var(--ease), opacity .3s; }
.menu-open .nav-toggle span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2){ opacity:0; }
.menu-open .nav-toggle span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; z-index:999; background:var(--paper);
  padding:110px 28px 40px; display:flex; flex-direction:column;
  clip-path:inset(0 0 100% 0); transition:clip-path .5s var(--ease); visibility:hidden;
}
.menu-open .mobile-menu{ clip-path:inset(0); visibility:visible; }
.mobile-menu nav{ display:flex; flex-direction:column; }
.mobile-menu nav a{ font-family:var(--serif); font-weight:800; text-transform:uppercase; font-size:1.9rem; color:var(--ink); padding:14px 0; border-bottom:1px solid var(--hair); }
.mobile-menu .btn{ margin-top:auto; }

/* ---------- Triángulos de esquina ---------- */
.tri{ position:absolute; bottom:0; z-index:1; pointer-events:none; }
.tri-y{ left:0; width:min(24vw,340px); height:min(22vw,300px); background:linear-gradient(135deg,#FFD23F,var(--yellow) 60%,#F2B400); clip-path:polygon(0 18%,100% 100%,0 100%); }
.tri-r{ right:0; width:min(20vw,280px); height:min(14vw,200px); background:linear-gradient(225deg,#E8192A,var(--red) 55%,var(--red-d)); clip-path:polygon(100% 0,100% 100%,0 100%); }
.tri-sm{ width:min(14vw,200px); height:min(12vw,170px); }

/* ---------- HERO ---------- */
.hero{
  position:relative; overflow:hidden; min-height:100vh; min-height:100svh;
  padding:150px 0 0; display:flex; flex-direction:column; justify-content:center;
  background:radial-gradient(ellipse 60% 70% at 78% 40%, #fff 0%, rgba(255,255,255,0) 70%), var(--paper);
}
.hero-planes{ position:absolute; top:0; right:0; width:46vw; height:100%; z-index:0; }
.hero-grid{ display:grid; grid-template-columns:minmax(0,1.32fr) minmax(0,.68fr); gap:48px; align-items:center; }
.hero-copy{ min-width:0; }
.hero-title{
  margin-top:30px;
  font-family:var(--serif); font-weight:900; text-transform:uppercase; color:var(--ink);
  font-size:clamp(2.4rem, 4.15vw, 4rem); line-height:1; letter-spacing:-.012em;
  font-variation-settings:"opsz" 60;
}
.hl{
  background:linear-gradient(var(--yellow),var(--yellow)) no-repeat 0 92% / 0% .17em;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
  animation:hl-grow 1s var(--ease) 1.3s forwards;
}
@keyframes hl-grow{ to{ background-size:100% .17em; } }
.hero-title{ position:relative; z-index:0; }
.hero-sub{ margin-top:30px; max-width:36em; font-size:1.3rem; font-weight:300; line-height:1.55; color:var(--ink); }
.hero-actions{ margin-top:42px; display:flex; flex-wrap:wrap; gap:16px; }

.hero-mark{ position:relative; text-align:center; padding:20px 0; }
.logo-build{ width:100%; max-width:430px; height:auto; overflow:visible; }
.mark-word{ margin-top:22px; font-family:var(--brand); font-size:clamp(3rem,5.2vw,4.7rem); letter-spacing:.42em; padding-left:.42em; color:var(--navy); line-height:1; }
.mark-rule{ display:block; width:56px; height:3px; margin:22px auto 18px; background:var(--yellow); }
.mark-tag{ font-size:.8rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--navy); }

.hero-facts{
  margin:80px 0 0; display:grid; grid-template-columns:repeat(3,1fr);
  background:rgba(255,255,255,.75); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  border-top:1px solid var(--hair); position:relative; z-index:3;
}
.fact{ display:flex; flex-direction:column; gap:4px; padding:26px 32px; border-left:3px solid var(--c); }
.fact-y{ --c:var(--yellow); } .fact-n{ --c:var(--navy); } .fact-r{ --c:var(--red); }
.fact strong{ font-family:var(--serif); font-weight:800; font-size:1.55rem; text-transform:uppercase; color:var(--ink); line-height:1.1; }
.fact span{ font-size:.95rem; color:var(--muted); }

/* --- Entrada del hero (CSS puro, no depende de JS) --- */
.lb{ transform-box:fill-box; transform-origin:50% 100%; transform:scaleY(0); animation:rise 1s var(--ease) forwards; }
.lb-y{ animation-delay:.45s; }
.lb-n,.lb-nd{ animation-delay:.6s; }
.lb-r,.lb-rd{ animation-delay:.75s; }
.lb-base{ transform-box:fill-box; transform-origin:0 50%; transform:scaleX(0); animation:grow-x .7s var(--ease) .1s forwards; }
.lb-base:nth-of-type(2){ animation-delay:.2s; }
.lb-base:nth-of-type(3){ animation-delay:.3s; }
.mark-word{ opacity:0; animation:word-in 1.2s var(--ease) 1s forwards; }
.mark-rule{ transform:scaleX(0); animation:grow-x .6s var(--ease) 1.5s forwards; }
.mark-tag{ opacity:0; animation:fade-up .8s var(--ease) 1.6s forwards; }
.hero-copy .kicker{ opacity:0; animation:fade-up .8s var(--ease) .2s forwards; }
.hero-title{ clip-path:inset(0 0 100% 0); animation:wipe 1.1s var(--ease) .35s forwards; }
.hero-sub{ opacity:0; animation:fade-up .9s var(--ease) .9s forwards; }
.hero-actions{ opacity:0; animation:fade-up .9s var(--ease) 1.1s forwards; }
.hero-facts{ opacity:0; animation:fade-up .9s var(--ease) 1.4s forwards; }
.hero-planes{ opacity:0; animation:fade 1.6s ease .1s forwards; }

@keyframes rise{ to{ transform:scaleY(1); } }
@keyframes grow-x{ to{ transform:scaleX(1); } }
@keyframes fade{ to{ opacity:1; } }
@keyframes fade-up{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
@keyframes word-in{ from{ opacity:0; letter-spacing:.8em; } to{ opacity:1; letter-spacing:.42em; } }
@keyframes wipe{ to{ clip-path:inset(0 0 -10% 0); } }
@keyframes slide-in{ to{ transform:none; } }

/* ---------- Secciones ---------- */
.sec{ position:relative; padding:130px 0; overflow:hidden; }
.sec-paper2{ background:var(--paper-2); }
.side-planes{ position:absolute; top:0; right:0; width:34vw; height:100%; z-index:0; opacity:.9; }

/* --- Ícono con esquina en L sólida --- */
.ico{ position:relative; display:inline-block; width:84px; height:84px; flex:none; }
.ico .L{ position:absolute; left:0; top:0; width:46px; height:46px; border-top:12px solid var(--c); border-left:12px solid var(--c); transition:transform .45s var(--ease); }
.ico svg{ position:absolute; right:0; bottom:0; width:64px; height:64px; fill:none; stroke:var(--ink); stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.ico-lg{ width:104px; height:104px; }
.ico-lg .L{ width:56px; height:56px; border-width:15px; }
.ico-lg svg{ width:78px; height:78px; }
a:hover .ico .L{ transform:translate(-4px,-4px); }

/* --- Problemas --- */
.cases{ margin-top:72px; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--hair); }
.case{
  position:relative; display:flex; flex-direction:column; gap:20px; padding:40px 36px 44px;
  border-bottom:1px solid var(--hair); background:transparent; transition:background .35s var(--ease);
}
.case + .case{ border-left:1px solid var(--hair); }
.case:nth-child(4){ border-left:0; }
.case p{ font-family:var(--serif); font-weight:600; font-size:1.3rem; line-height:1.3; color:var(--ink); }
.case::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:4px; background:var(--c); transform:scaleX(0); transform-origin:left; transition:transform .45s var(--ease); }
.case:hover{ background:#fff; }
.case:hover::after{ transform:scaleX(1); }

.statement{
  position:relative; margin:84px auto 0; max-width:900px; text-align:center;
  font-family:var(--serif); font-weight:700; font-style:italic; font-size:clamp(1.5rem,2.6vw,2.2rem); line-height:1.25; color:var(--ink);
  padding:0 0 0 0;
}
.statement .bar{ display:block; width:6px; height:64px; margin:0 auto 26px; background:var(--yellow); }

/* --- Servicios (patrón de la pieza) --- */
.offers{ margin-top:64px; border-top:1px solid var(--hair); }
.offer{
  display:grid; grid-template-columns:130px minmax(0,1fr) 3px minmax(0,1fr) 40px; gap:40px; align-items:center;
  padding:40px 0; border-bottom:1px solid var(--hair); transition:background .35s var(--ease), padding .35s var(--ease);
}
.offer-head{ display:flex; flex-direction:column; gap:10px; }
.offer h3{ font-family:var(--serif); font-weight:800; text-transform:uppercase; font-size:clamp(1.5rem,2.4vw,2.1rem); line-height:1.05; color:var(--ink); letter-spacing:-.005em; }
.offer .rule{ align-self:stretch; width:3px; background:var(--c); }
.offer p{ font-size:1.12rem; color:var(--ink); font-weight:400; max-width:28em; }
.offer > .arw{ font-size:1.6rem; color:var(--navy); justify-self:end; }
.offer:hover{ background:rgba(255,255,255,.8); padding-left:20px; padding-right:20px; }

/* --- Iura Novit Curia --- */
.sec-navy{ background:radial-gradient(ellipse 70% 80% at 85% 10%, #13336f 0%, rgba(19,51,111,0) 60%), var(--navy-d); color:#D7DCE8; }
.motto .tri-y{ opacity:.95; }
.motto-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:72px; align-items:end; }
.motto-word{
  margin-top:26px; display:flex; flex-direction:column;
  font-family:var(--serif); font-weight:900; font-size:clamp(3.4rem,8.4vw,8rem); line-height:.88; letter-spacing:-.02em;
  color:rgba(255,255,255,.16);
}
.motto-word b{ color:#fff; font-weight:900; }
.motto-word span:nth-child(1) b{ color:var(--yellow); }
.motto-word span:nth-child(2) b{ color:#fff; }
.motto-lead{ font-family:var(--serif); font-weight:700; font-size:1.65rem; line-height:1.25; color:#fff; }
.motto-lead em{ color:var(--yellow); }
.motto-text p + p{ margin-top:20px; font-size:1.08rem; color:#C7CEDD; }
.motto-text .btn{ margin-top:34px; }

.dims{ margin-top:110px; padding-top:56px; border-top:1px solid rgba(255,255,255,.14); }
.dim-row{ margin-top:46px; display:grid; grid-template-columns:repeat(3,1fr); gap:0; }
.dim{ padding:6px 40px 10px 0; display:grid; grid-template-columns:3px 1fr; column-gap:26px; }
.dim + .dim{ padding-left:40px; border-left:1px solid rgba(255,255,255,.1); }
.dim .num{ grid-column:2; color:#fff; }
.dim h3{ grid-column:2; margin-top:12px; font-family:var(--serif); font-weight:800; text-transform:uppercase; font-size:1.6rem; color:#fff; }
.dim .rule{ grid-column:1; grid-row:1 / span 3; width:3px; background:var(--c); }
.dim p{ grid-column:2; margin-top:12px; color:#C7CEDD; }

/* --- Pasos --- */
.steps{ margin-top:80px; display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.steps::before{ content:""; position:absolute; left:0; right:0; top:34px; height:1px; background:var(--hair); }
.step{ position:relative; padding:0 36px 0 0; }
.step-num{
  position:relative; display:inline-flex; align-items:center; gap:14px; padding-right:14px; background:var(--paper);
  font-family:var(--serif); font-weight:900; font-size:3.4rem; line-height:1; color:var(--ink);
}
.step-num::before{ content:""; width:30px; height:5px; background:var(--c); }
.step h3{ margin-top:28px; font-family:var(--serif); font-weight:800; text-transform:uppercase; font-size:1.25rem; line-height:1.15; color:var(--ink); }
.step p{ margin-top:14px; color:var(--text); }

/* --- Cobertura --- */
.cover-head{ display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:end; }
.cover-lede{ display:grid; grid-template-columns:3px 1fr; gap:26px; color:var(--ink); font-size:1.05rem; }
.vrule{ background:var(--yellow); }
.cities{ margin-top:72px; display:grid; grid-template-columns:repeat(3,1fr); gap:36px; }
.city-frame{ position:relative; padding:16px 0 0 16px; }
.city-frame .L{ position:absolute; left:0; top:0; width:120px; height:120px; border-top:16px solid var(--c); border-left:16px solid var(--c); z-index:0; }
.city-img{ position:relative; z-index:1; aspect-ratio:4/5; background-size:cover; background-position:center; filter:saturate(.9) contrast(1.04); transition:transform 1.2s var(--ease); }
.city:hover .city-img{ transform:scale(1.025); }
.city-bogota{ background-image:url("assets/img/palacios/bogota-1-sm.webp"); }
.city-medellin{ background-image:url("assets/img/palacios/medellin-1-sm.webp"); }
.city-cali{ background-image:url("assets/img/palacios/cali-1-sm.webp"); }
@media (min-width:768px){
  .city-bogota{ background-image:url("assets/img/palacios/bogota-1.webp"); }
  .city-medellin{ background-image:url("assets/img/palacios/medellin-1.webp"); }
  .city-cali{ background-image:url("assets/img/palacios/cali-1.webp"); }
}
.city figcaption{ padding:26px 0 0 16px; }
.tag{ font-size:.72rem; font-weight:700; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); }
.city h3{ margin-top:8px; font-family:var(--serif); font-weight:900; text-transform:uppercase; font-size:2.1rem; color:var(--ink); line-height:1; }
.city p{ margin-top:10px; font-size:.98rem; color:var(--text); }
.cover-foot{ margin-top:80px; text-align:center; }
.cover-foot > p:first-child{ font-family:var(--serif); font-style:italic; font-weight:500; font-size:1.4rem; line-height:1.4; color:var(--ink); }
.cities-line{ margin-top:26px; display:inline-flex; align-items:center; gap:18px; font-size:.76rem; font-weight:700; letter-spacing:.26em; text-transform:uppercase; color:var(--navy); }

/* --- Evaluación --- */
.eval{ display:grid; grid-template-columns:1.1fr .9fr; gap:90px; align-items:center; }
.eval .display{ margin-top:22px; }
.ticks{ margin-top:30px; display:grid; gap:16px; }
.ticks li{ display:flex; gap:18px; align-items:baseline; font-size:1.1rem; color:var(--ink); }
.tick{ flex:none; width:22px; height:4px; background:var(--c); transform:translateY(-4px); }
.note{
  position:relative; background:#fff; padding:56px 48px 48px;
  box-shadow:0 40px 80px -50px rgba(10,42,99,.45); border-left:4px solid var(--yellow);
}
.note .ico{ margin-bottom:26px; }
.note p{ font-family:var(--serif); font-weight:600; font-size:1.5rem; line-height:1.35; color:var(--ink); }
.note .btn{ margin-top:34px; width:100%; }

/* --- Cierre --- */
.closing{ position:relative; overflow:hidden; padding:150px 0 170px; background:var(--paper); border-top:1px solid var(--hair); }
.closing-planes{ position:absolute; top:0; right:0; width:40vw; height:100%; z-index:0; }
.closing-inner{ text-align:center; }
.closing-title{
  position:relative; display:inline-block; max-width:16em;
  font-family:var(--serif); font-weight:900; text-transform:uppercase; color:var(--ink);
  font-size:clamp(2.1rem,4.6vw,4rem); line-height:1.02; letter-spacing:-.01em;
}
.vbar{ position:absolute; left:-34px; top:.1em; bottom:.1em; width:7px; background:var(--yellow); }
.closing-inner > p{ margin:26px auto 0; max-width:36em; font-size:1.25rem; font-weight:300; color:var(--ink); }
.closing-inner .btn{ margin-top:40px; }
.closing-mail{ margin-top:46px; display:flex; justify-content:center; align-items:center; gap:22px; font-size:1.05rem; letter-spacing:.2em; color:var(--ink); font-weight:600; }
.hline{ width:110px; height:2px; background:var(--yellow); }

/* ---------- Footer ---------- */
.footer{ background:var(--navy-d); color:#AEB6C9; padding:0 0 34px; }
.tribase{ display:grid; grid-template-columns:1fr 1fr 1fr; height:6px; }
.tribase i:nth-child(1){ background:var(--yellow); } .tribase i:nth-child(2){ background:#1B3F86; } .tribase i:nth-child(3){ background:var(--red); }
.footer-grid{ padding-top:76px; display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:56px; }
.footer-brand img{ height:40px; width:auto; }
.footer-brand p{ margin-top:22px; max-width:36ch; font-size:.95rem; }
.footer h4{ font-size:.72rem; letter-spacing:.24em; text-transform:uppercase; color:var(--yellow); font-weight:700; }
.footer ul{ margin-top:20px; display:grid; gap:10px; font-size:.95rem; }
.footer a:hover{ color:#fff; }
.social{ display:flex; gap:10px; margin-top:22px; }
.social a{ width:38px; height:38px; border:1px solid rgba(255,255,255,.18); display:grid; place-items:center; transition:border-color .3s, color .3s; }
.social a:hover{ border-color:var(--yellow); color:var(--yellow); }
.social svg{ width:28px; height:28px; }
.footer-bottom{ margin-top:60px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; font-size:.82rem; }

/* ---------- WhatsApp / barra móvil ---------- */
.wa-float{ position:fixed; right:26px; bottom:26px; z-index:900; width:58px; height:58px; border-radius:50%; background:#25D366; color:#fff; display:grid; place-items:center; box-shadow:0 12px 26px -8px rgba(0,0,0,.35); transition:transform .3s var(--ease); }
.wa-float:hover{ transform:scale(1.06); }
.wa-float svg{ width:31px; height:31px; }
.mobile-bar{ display:none; }

/* ---------- Revelado al hacer scroll ---------- */
.js .reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in-view{ opacity:1; transform:none; }
.js .reveal .L{ transform:translate(-14px,-14px); opacity:0; transition:transform .8s var(--ease) .25s, opacity .6s ease .25s; }
.js .reveal.in-view .L{ transform:none; opacity:1; }
.js .reveal.in-view:hover .L{ transform:translate(-4px,-4px); }
.cases .case:nth-child(3n+2), .steps .step:nth-child(2), .cities .city:nth-child(2), .dim-row .dim:nth-child(2){ transition-delay:.1s; }
.cases .case:nth-child(3n), .steps .step:nth-child(3), .cities .city:nth-child(3), .dim-row .dim:nth-child(3){ transition-delay:.2s; }
.steps .step:nth-child(4){ transition-delay:.3s; }

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .nav,.header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-mark{ order:-1; max-width:360px; }
  .hero-mark .mark-tag,.hero-mark .mark-rule{ display:none; }
  .mark-word{ font-size:2.6rem; margin-top:14px; }
  .hero-planes{ width:80vw; opacity:.7; }
  .cases{ grid-template-columns:1fr 1fr; }
  .case + .case{ border-left:0; }
  .case:nth-child(even){ border-left:1px solid var(--hair); }
  .offer{ grid-template-columns:110px minmax(0,1fr) 3px minmax(0,1fr); gap:28px; }
  .offer > .arw{ display:none; }
  .motto-grid,.cover-head,.eval{ grid-template-columns:1fr; gap:48px; }
  .steps{ grid-template-columns:1fr 1fr; row-gap:56px; }
  .steps::before{ display:none; }
}
@media (max-width:700px){
  body{ font-size:16px; padding-bottom:76px; }
  .wrap{ padding:0 20px; }
  .header-inner{ height:72px; }
  .site-header{ background:rgba(251,250,247,.94); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
  .brand-word{ font-size:1.25rem; }
  .hero{ padding-top:104px; min-height:0; }
  .hero-mark{ max-width:260px; margin:0 auto; }
  .hero-copy{ text-align:left; }
  .hero-title{ font-size:2.35rem; line-height:1; }
  .hero-sub{ font-size:1.1rem; }
  .hero-actions .btn{ width:100%; white-space:normal; text-align:center; }
  .kicker{ font-size:.66rem; letter-spacing:.2em; gap:12px; }
  .kicker .k-line{ width:28px; }
  .hero-copy .kicker .k-r{ display:none; }
  .hero-facts{ grid-template-columns:1fr; margin-top:48px; }
  .fact{ padding:18px 20px; }
  .tri-y{ width:44vw; height:30vw; }
  .tri-r{ width:34vw; height:22vw; }
  .hero .tri-y,.hero .tri-r{ display:none; }
  .sec{ padding:88px 0; }
  .sec-head.center{ text-align:left; }
  .sec-head.center .kicker .k-r{ display:none; }
  .display{ font-size:1.7rem; }
  .cases{ grid-template-columns:1fr; margin-top:44px; }
  .case,.case:nth-child(even){ border-left:0; flex-direction:row; flex-wrap:wrap; align-items:center; gap:16px 20px; padding:28px 0; }
  .case .ico{ width:70px; height:70px; }
  .case .ico svg{ width:54px; height:54px; }
  .case .ico .L{ width:38px; height:38px; border-width:10px; }
  .case p{ flex-basis:100%; font-size:1.18rem; }
  .statement{ text-align:left; }
  .statement .bar{ margin:0 0 20px; width:48px; height:5px; }
  .offer{ grid-template-columns:76px 1fr; gap:14px 20px; padding:30px 0; }
  .offer .ico-lg{ width:76px; height:76px; grid-row:1 / 3; align-self:start; }
  .offer .ico-lg svg{ width:58px; height:58px; }
  .offer .ico-lg .L{ width:42px; height:42px; border-width:11px; }
  .offer .rule{ display:none; }
  .offer p{ grid-column:2; font-size:1rem; padding-left:14px; border-left:3px solid var(--c); }
  .offer h3{ font-size:1.35rem; }
  .offer:hover{ padding-left:0; padding-right:0; }
  .dims{ margin-top:72px; }
  .dims .kicker .k-r{ display:none; }
  .dim-row{ grid-template-columns:1fr; gap:36px; }
  .dim,.dim + .dim{ padding:0; border-left:0; }
  .steps{ grid-template-columns:1fr; row-gap:44px; }
  .step-num{ font-size:2.6rem; }
  .cities{ grid-template-columns:1fr; gap:48px; }
  .city-img{ aspect-ratio:4/3; }
  .cover-foot{ text-align:left; }
  .cities-line{ font-size:.64rem; gap:10px; letter-spacing:.16em; }
  .cities-line .k-line{ width:20px; }
  .note{ padding:44px 26px 30px; }
  .note p{ font-size:1.28rem; }
  .note .btn{ white-space:normal; }
  .closing{ padding:96px 0 150px; }
  .closing-title{ font-size:2.1rem; padding-left:22px; }
  .vbar{ left:0; width:6px; }
  .closing-inner .btn{ width:100%; white-space:normal; }
  .closing-mail{ font-size:.9rem; letter-spacing:.12em; gap:12px; }
  .hline{ width:40px; }
  .footer-grid{ grid-template-columns:1fr; gap:40px; }
  .wa-float{ display:none; }
  .mobile-bar{
    display:grid; grid-template-columns:auto 1fr; gap:10px; position:fixed; left:0; right:0; bottom:0; z-index:950;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom)); background:var(--navy-d);
    box-shadow:0 -1px 0 rgba(255,255,255,.08);
  }
  .mobile-bar a{ display:flex; align-items:center; justify-content:center; gap:8px; padding:14px 16px; font-weight:700; font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; }
  .mb-wa{ color:#fff; border:1px solid rgba(255,255,255,.2); }
  .mb-wa svg{ width:20px; height:20px; color:#25D366; }
  .mb-cta{ background:var(--yellow); color:var(--navy-d); }
}

/* ---------- Base tricolor del logo (reemplaza los triángulos) ---------- */
.hero{ padding-bottom:10px; }
.ground{ position:absolute; left:0; right:0; bottom:0; height:10px; z-index:4; display:grid; grid-template-columns:1fr 1fr 1fr; }
.ground i{ transform:scaleX(0); transform-origin:left; animation:grow-x .9s var(--ease) forwards; }
.ground i:nth-child(1){ background:var(--yellow); animation-delay:.1s; }
.ground i:nth-child(2){ background:var(--navy); animation-delay:.3s; }
.ground i:nth-child(3){ background:var(--red); animation-delay:.5s; }

/* Cierre: esquinas en L del logo en lugar de triángulos */
.closing::before,.closing::after{ content:""; position:absolute; z-index:1; width:140px; height:140px; pointer-events:none; }
.closing::before{ left:48px; top:56px; border-top:16px solid var(--yellow); border-left:16px solid var(--yellow); }
.closing::after{ right:48px; bottom:56px; border-bottom:16px solid var(--red); border-right:16px solid var(--red); }
@media (max-width:700px){
  .ground{ height:7px; }
  .closing::before,.closing::after{ width:70px; height:70px; border-width:10px; }
  .closing::before{ left:16px; top:28px; } .closing::after{ right:16px; bottom:40px; }
}

/* ---------- Ajustes de portada ---------- */
.mark-word{ margin-top:26px; }
@media (max-width:700px){
  .hero-grid{ gap:28px; }
  .hero-mark{ order:1; max-width:none; margin:0; padding:8px 0 0; text-align:left; }
  .logo-build{ display:none; }
  .mark-word{ display:none; }
}
