/* ============================================================
   AISA GROUP — Web institucional
   Sistema monocromo institucional (negro · gris · blanco)
   Tipografía serif editorial + grotesca para utilidades
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Archivo:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  /* Monochrome ink scale */
  --ink:        #0B0B0C;
  --ink-2:      #151517;
  --charcoal:   #232327;
  --gray-800:   #2E2E33;
  --gray-700:   #43434A;
  --gray-500:   #717179;
  --gray-400:   #9B9BA2;
  --gray-300:   #C5C5CB;
  --gray-200:   #DDDCD7;
  --paper:      #F4F3EF;   /* warm off-white surface */
  --paper-2:    #ECEAE3;
  --paper-3:    #E3E0D7;
  --white:      #FCFBF9;

  /* Hairlines */
  --line:        rgba(11,11,12,0.13);
  --line-strong: rgba(11,11,12,0.32);
  --line-inv:    rgba(252,251,249,0.16);
  --line-inv-strong: rgba(252,251,249,0.34);

  /* Type */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'EB Garamond', Georgia, serif;
  --util:    'Archivo', system-ui, sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --ls-over: 0.32em;
  --ls-caps: 0.18em;

  --ease: cubic-bezier(0.22,0.61,0.36,1);
  --ease-io: cubic-bezier(0.65,0.05,0.36,1);

  --mx: clamp(20px, 6vw, 120px);  /* page gutter */
  --maxw: 1500px;

  /* Subtle warm accent — gives life without breaking the monochrome */
  --accent:      #B08D57;   /* warm bronze/gold */
  --accent-soft: rgba(176,141,87,0.14);
  --accent-line: rgba(176,141,87,0.34);
}

*{ margin:0; padding:0; box-sizing:border-box; }

/* Hide scrollbars everywhere (keep scrollability) */
html, body, *{ scrollbar-width:none; -ms-overflow-style:none; }
::-webkit-scrollbar{ width:0 !important; height:0 !important; display:none; }

html{ scroll-behavior:smooth; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{
  font-family:var(--body);
  background:var(--paper);
  color:var(--ink);
  font-size:19px;
  line-height:1.62;
  overflow-x:hidden;
}
::selection{ background:var(--ink); color:var(--paper); }
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

/* ---------- Utility type ---------- */
.over{
  font-family:var(--util);
  font-weight:600;
  font-size:11.5px;
  letter-spacing:var(--ls-over);
  text-transform:uppercase;
}
.util{ font-family:var(--util); }
.mono{ font-family:var(--mono); }
.serif-i{ font-style:italic; }

h1,h2,h3,h4{ font-family:var(--display); font-weight:400; line-height:1.02; letter-spacing:-0.01em; }

/* ============================================================
   NAV
   ============================================================ */
/* ---- floating liquid-glass nav ---- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; justify-content:center;
  padding:clamp(12px,1.8vw,20px) clamp(12px,3vw,30px);
  pointer-events:none;
}
.nav__bar{
  pointer-events:auto; position:relative;
  width:100%; max-width:1320px;
  display:flex; align-items:center; justify-content:space-between; gap:clamp(14px,2vw,32px);
  height:60px; padding:0 10px 0 24px;
  border-radius:20px;
  color:var(--white);
  background:rgba(18,18,21,0.30);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(252,251,249,0.18);
  box-shadow:0 1px 0 rgba(255,255,255,0.22) inset, 0 1px 0 rgba(255,255,255,0.10), 0 22px 50px -26px rgba(0,0,0,0.6);
  transition:background .55s var(--ease), color .55s var(--ease), max-width .6s var(--ease),
             height .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.nav__bar::after{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(125deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 32%, rgba(255,255,255,0) 66%, rgba(255,255,255,0.07));
}
.nav.solid .nav__bar{
  max-width:1140px; height:56px;
  background:rgba(244,243,239,0.62);
  color:var(--ink);
  border-color:rgba(11,11,12,0.08);
  box-shadow:0 1px 0 rgba(255,255,255,0.75) inset, 0 18px 44px -24px rgba(0,0,0,0.3);
}
.nav.solid .nav__bar::after{ background:linear-gradient(125deg, rgba(255,255,255,0.5), rgba(255,255,255,0) 40%); }
.nav__brand{
  font-family:var(--display); font-weight:600; font-size:18px;
  letter-spacing:0.2em; text-transform:uppercase;
  display:flex; align-items:center; gap:.6em; white-space:nowrap;
}
.nav__brand .dot{ width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block; transform:translateY(-1px); }
.nav__links{
  display:flex; align-items:center; gap:clamp(14px,1.9vw,30px);
  font-family:var(--util); font-weight:500; font-size:12px; letter-spacing:0.07em; text-transform:uppercase;
}
.nav__links a{ position:relative; padding:4px 0; opacity:.8; transition:opacity .3s var(--ease); }
.nav__links a::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:0; background:currentColor; transition:width .4s var(--ease);
}
.nav__links a:hover{ opacity:1; }
.nav__links a:hover::after{ width:100%; }
.nav__right{ display:flex; align-items:center; gap:16px; }
.nav__lang{ font-family:var(--util); font-size:11px; letter-spacing:.1em; display:flex; gap:5px; align-items:center; opacity:.65; cursor:pointer; }
.nav__lang b{ opacity:1; font-weight:700; }
.nav__cta{
  font-family:var(--util); font-weight:600; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 18px; border-radius:100px;
  background:var(--paper); color:var(--ink); transition:.4s var(--ease); white-space:nowrap;
}
.nav.solid .nav__cta{ background:var(--ink); color:var(--paper); }
.nav__cta:hover{ transform:translateY(-1px); box-shadow:0 8px 20px -8px rgba(0,0,0,.4); }
.nav__cta .ar{ transition:transform .4s var(--ease); }
.nav__cta:hover .ar{ transform:translateX(4px); }
.nav__burger{ display:none; width:26px; height:16px; position:relative; cursor:pointer; }
.nav__burger span{ position:absolute; left:0; width:100%; height:1.5px; background:currentColor; transition:.4s var(--ease); }
.nav__burger span:nth-child(1){ top:0; }
.nav__burger span:nth-child(2){ top:7px; }
.nav__burger span:nth-child(3){ top:14px; }

/* mobile overlay menu */
.menu{
  position:fixed; inset:0; z-index:99; background:var(--ink); color:var(--white);
  display:flex; flex-direction:column; justify-content:center;
  padding:calc(var(--mx) + 64px) var(--mx) calc(var(--mx) + env(safe-area-inset-bottom));
  overflow-y:auto; -webkit-overflow-scrolling:touch;
  transform:translateY(-101%); transition:transform .7s var(--ease), visibility .7s;
  visibility:hidden; pointer-events:none;
}
.menu.open{ transform:translateY(0); visibility:visible; pointer-events:auto; }
.menu a:not(.menu__contact){ font-family:var(--display); font-size:clamp(28px,7.2vw,56px); line-height:1.12; padding:clamp(4px,1vh,8px) 0; opacity:.55; transition:opacity .3s, padding-left .4s var(--ease); }
.menu a:not(.menu__contact):hover{ opacity:1; padding-left:14px; }
.menu__foot{ margin-top:clamp(28px,5vh,48px); display:flex; flex-direction:column; gap:6px; }
.menu__contact{ font-family:var(--util); font-size:13px; letter-spacing:.06em; color:var(--gray-400); opacity:.85; transition:color .3s, opacity .3s; }
.menu__contact:hover{ color:var(--white); opacity:1; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; min-height:100svh; display:flex; flex-direction:column; justify-content:flex-end;
  padding:clamp(104px,14vh,150px) var(--mx) clamp(56px,7vh,90px); overflow:hidden; background:var(--ink);
}
.hero__media{ position:absolute; inset:0; z-index:0; background:var(--ink); overflow:hidden; }
.hero__poster{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.06) brightness(.66); z-index:0; transform:scale(1.02); animation:kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns{ 0%{ transform:scale(1.02) translate(0,0); } 100%{ transform:scale(1.16) translate(-2%,-2%); } }
.hero__media::after{
  content:''; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(11,11,12,.34) 0%, rgba(11,11,12,.08) 40%, rgba(11,11,12,.74) 100%);
}
.hero__grain{ position:absolute; inset:0; z-index:1; opacity:.07; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner{ position:relative; z-index:2; color:var(--white); max-width:var(--maxw); width:100%; margin:0 auto; }
.hero__over{ display:flex; gap:18px; align-items:center; margin-bottom:26px; opacity:.85; }
.hero__over .ln{ height:1px; width:48px; background:currentColor; opacity:.5; }
.hero__title{
  font-family:var(--display); font-weight:500;
  font-size:clamp(56px, min(16vw, 21vh), 240px); line-height:.86; letter-spacing:-0.02em;
  text-transform:uppercase;
}
.hero__title .word{ display:block; overflow:hidden; }
.hero__title .word span{ display:block; transform:translateY(108%); }
.hero__sub{
  display:flex; flex-wrap:wrap; gap:30px 64px; align-items:flex-end; justify-content:space-between;
  margin-top:clamp(24px,4vh,46px); border-top:1px solid var(--line-inv); padding-top:24px;
}
.hero__tag{ font-family:var(--display); font-style:italic; font-size:clamp(22px,2.6vw,34px); line-height:1.15; max-width:18ch; opacity:.95; }
.hero__desc{ font-family:var(--util); font-weight:400; font-size:14px; line-height:1.6; max-width:42ch; opacity:.7; letter-spacing:.01em; }
.hero__scroll{ position:absolute; right:var(--mx); bottom:clamp(24px,5vh,40px); z-index:3; display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--white); opacity:.7; }
.hero__scroll .over{ writing-mode:vertical-rl; letter-spacing:.28em; }
@media(max-width:600px){ .hero__scroll{ display:none; } }
.hero__scroll .bar{ width:1px; height:46px; background:currentColor; position:relative; overflow:hidden; }
.hero__scroll .bar::after{ content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background:var(--white); animation:scrolldrop 2.2s var(--ease) infinite; }
@keyframes scrolldrop{ 0%{transform:translateY(0)} 60%,100%{transform:translateY(220%)} }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section{ position:relative; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 var(--mx); }
.block{ padding:clamp(80px,13vh,180px) 0; }
.eyebrow{ display:flex; align-items:center; gap:16px; margin-bottom:34px; }
.eyebrow .num{ font-family:var(--mono); font-size:12px; color:var(--accent); opacity:.85; }
.eyebrow .ln{ flex:1; height:1px; background:linear-gradient(90deg, var(--accent-line), var(--line) 40%); }
.on-dark .eyebrow .ln{ background:linear-gradient(90deg, var(--accent-line), var(--line-inv) 40%); }

/* Section label small head */
.kicker{ color:var(--gray-500); }

/* ---------- QUIÉNES SOMOS — big statement ---------- */
.statement{ font-family:var(--display); font-weight:400; font-size:clamp(28px,4.2vw,60px); line-height:1.2; letter-spacing:-0.012em; max-width:34ch; margin:clamp(28px,5vh,64px) auto; text-align:center; text-wrap:balance; }
.statement .w{ display:inline-block; opacity:.14; transform:translateY(0.14em); transition:opacity .55s var(--ease), transform .6s var(--ease); }
.statement .w.on{ opacity:1; transform:none; }
.statement em{ font-style:italic; color:var(--accent); }

.intro-grid{ display:grid; grid-template-columns:1fr; gap:clamp(40px,6vw,90px); margin-top:clamp(50px,8vh,110px); }
@media(min-width:900px){ .intro-grid{ grid-template-columns:1.1fr 1fr; align-items:start; } }
.intro-grid h3{ font-size:clamp(24px,2.6vw,34px); margin-bottom:18px; }
.intro-grid p{ color:var(--gray-700); max-width:52ch; }
.intro-grid p + p{ margin-top:18px; }
.intro-figure{ position:relative; aspect-ratio:4/5; background:var(--charcoal); overflow:hidden; }
.intro-figure img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); transition:filter .6s var(--ease), transform 1.1s var(--ease); }
.intro-figure:hover img{ filter:grayscale(0) contrast(1.02); }
.intro-figure figcaption{ position:absolute; left:16px; bottom:14px; color:var(--white); font-family:var(--util); font-size:11px; letter-spacing:.12em; text-transform:uppercase; opacity:.85; }
.intro-figure figcaption::before{ content:""; display:inline-block; width:18px; height:1px; background:var(--accent); vertical-align:middle; margin-right:9px; }

/* ============================================================
   STATS BAND (dark)
   ============================================================ */
.stats{ background:var(--ink); color:var(--white); overflow:hidden; }
/* .block zeroes horizontal padding; restore the page gutter so the head and
   stat row share the same left/right margins as the rest of the site. */
.stats .wrap.block{ padding-left:var(--mx); padding-right:var(--mx); }
.stats__head{ display:grid; grid-template-columns:1fr; gap:14px; margin-bottom:clamp(40px,6vh,72px); }
@media(min-width:780px){ .stats__head{ grid-template-columns:1fr minmax(0,36ch); align-items:start; column-gap:56px; } }
.stats__head .over{ opacity:.55; }
.stats__head p{ font-family:var(--display); font-style:italic; font-size:clamp(20px,2.2vw,28px); line-height:1.2; opacity:.8; max-width:40ch; margin:0; }
@media(min-width:780px){ .stats__head p{ text-align:right; justify-self:end; } }
.stat-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line-inv); border-top:1px solid var(--line-inv); border-bottom:1px solid var(--line-inv); }
@media(min-width:780px){ .stat-row{ grid-template-columns:repeat(4,1fr); } }
.stat{ background:var(--ink); padding:clamp(28px,4vw,52px) clamp(18px,2vw,30px) clamp(28px,4vw,44px); }
.stat .v{ font-family:var(--display); font-weight:500; font-size:clamp(52px,7vw,104px); line-height:.9; letter-spacing:-0.02em; display:flex; align-items:flex-start; gap:.06em; }
.stat .v .pre{ font-size:.42em; opacity:.55; transform:translateY(.35em); }
.stat .v .suf{ font-size:.34em; opacity:.7; transform:translateY(.6em); font-family:var(--util); font-weight:500; letter-spacing:0; }
.stat .l{ font-family:var(--util); font-size:13px; letter-spacing:.04em; color:var(--gray-400); margin-top:18px; max-width:24ch; }

/* marquee */
.marquee{ overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0; }
.marquee__track{ display:flex; gap:0; white-space:nowrap; width:max-content; animation:marq 38s linear infinite; }
.marquee.inv{ border-color:var(--line-inv); }
.marquee__track span{ font-family:var(--display); font-size:clamp(26px,3.4vw,46px); font-style:italic; padding:0 .6em; display:inline-flex; align-items:center; gap:.6em; opacity:.85; }
.marquee__track span::after{ content:'§'; font-family:var(--util); font-style:normal; font-size:.4em; opacity:.4; }
@keyframes marq{ to{ transform:translateX(-50%); } }

/* ============================================================
   UNIDADES DE NEGOCIO — sticky editorial
   ============================================================ */
.units__head{ display:grid; gap:24px; margin-bottom:clamp(50px,7vh,90px); }
.units__head h2{ font-size:clamp(40px,7vw,108px); line-height:.94; text-wrap:balance; }
.units__head p{ color:var(--gray-700); max-width:46ch; text-wrap:pretty; }

.unit{
  display:grid; grid-template-columns:1fr; gap:0;
  border-top:1px solid var(--line);
}
.unit:last-child{ border-bottom:1px solid var(--line); }
@media(min-width:960px){ .unit{ grid-template-columns:1fr 1fr; } }
.unit__text{ padding:clamp(40px,6vw,84px) clamp(0px,2vw,40px) clamp(40px,6vw,84px) 0; display:flex; flex-direction:column; }
@media(max-width:959px){ .unit__text{ padding:48px 0; } }
.unit__idx{ font-family:var(--mono); font-size:13px; color:var(--gray-400); margin-bottom:auto; display:flex; gap:14px; align-items:center; }
.unit__idx .tag{ font-family:var(--util); letter-spacing:.16em; text-transform:uppercase; font-size:10.5px; padding:5px 10px; border:1px solid var(--line); border-radius:2px; color:var(--gray-700); }
.unit__name{ font-size:clamp(38px,5vw,74px); line-height:.96; margin:46px 0 6px; }
.unit__name .sub{ display:block; font-family:var(--util); font-weight:500; font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:var(--gray-500); margin-bottom:18px; }
.unit__desc{ color:var(--gray-700); max-width:46ch; }
.unit__facts{ display:flex; flex-wrap:wrap; gap:28px 44px; margin-top:34px; padding-top:28px; border-top:1px solid var(--line); }
.unit__facts .f{ display:flex; flex-direction:column; gap:4px; }
.unit__facts .f b{ font-family:var(--display); font-weight:500; font-size:clamp(26px,2.7vw,38px); line-height:1.04; white-space:nowrap; }
.unit__facts .f span{ font-family:var(--util); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--gray-500); }
.unit__media{ position:relative; overflow:hidden; background:var(--charcoal); min-height:340px; }
.unit__media .ph{ position:absolute; inset:0; }
.unit__media img{ position:absolute; inset:0; width:100%; height:120%; object-fit:cover; filter:grayscale(1) contrast(1.06) brightness(.96); will-change:transform; transition:filter .6s var(--ease); }
.unit__media:hover img{ filter:grayscale(0) contrast(1.03) brightness(1); }
/* Touch devices: reveal colour when the photo scrolls into view (is-color added by JS) */
@media (hover: none){
  .intro-figure.is-color img{ filter:grayscale(0) contrast(1.02); }
  .unit__media.is-color img{ filter:grayscale(0) contrast(1.03) brightness(1); }
  .imodal__panel.is-color .imodal__media img{ filter:grayscale(0) contrast(1.02); }
  .modal__media.is-color img{ filter:grayscale(0) contrast(1.02); transform:scale(1.02); }
  .divider__media.is-color img{ filter:grayscale(0) contrast(1.06) brightness(.62); }
}
.unit__media .cap{ position:absolute; left:18px; bottom:16px; z-index:2; color:var(--white); font-family:var(--util); font-size:11px; letter-spacing:.12em; text-transform:uppercase; opacity:.9; display:flex; gap:10px; align-items:center; }
.unit__media .cap::before{ content:''; width:18px; height:1px; background:currentColor; }
@media(min-width:960px){
  .unit__media{ position:sticky; top:0; height:100svh; }
  .unit:nth-child(even) .unit__text{ order:2; padding:clamp(40px,6vw,84px) 0 clamp(40px,6vw,84px) clamp(0px,2vw,40px); }
  .unit:nth-child(even) .unit__media{ order:1; }
}

/* ============================================================
   MISIÓN VISIÓN VALORES
   ============================================================ */
.mvv{ background:var(--paper-2); }
.mvv__grid{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); margin-top:60px; }
@media(min-width:820px){ .mvv__grid{ grid-template-columns:1fr 1fr; } }
.mvv__cell{ background:var(--paper); padding:clamp(34px,4vw,60px); }
.mvv__cell h3{ font-size:clamp(28px,3.4vw,46px); margin:10px 0 18px; }
.mvv__cell p{ color:var(--gray-700); max-width:40ch; }
.values{ margin-top:60px; }
.values__list{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
@media(min-width:680px){ .values__list{ grid-template-columns:repeat(4,1fr); } }
.value{ background:var(--paper); padding:clamp(28px,3vw,46px) clamp(22px,2.4vw,32px); display:flex; flex-direction:column; gap:14px; min-height:200px; }
.value .vn{ font-family:var(--mono); font-size:12px; color:var(--gray-400); }
.value h4{ font-size:clamp(24px,2.6vw,32px); }
.value p{ font-family:var(--util); font-size:13px; color:var(--gray-500); line-height:1.55; margin-top:auto; }

/* ============================================================
   HISTORIA — timeline
   ============================================================ */
.timeline{ margin-top:70px; border-top:1px solid var(--line); }
.tl{ display:grid; grid-template-columns:1fr; gap:0; padding:clamp(30px,4vw,52px) 0; border-bottom:1px solid var(--line); align-items:start; }
@media(min-width:760px){ .tl{ grid-template-columns:200px 1fr; gap:60px; } }
.tl__year{ font-family:var(--display); font-weight:500; font-size:clamp(40px,5vw,72px); line-height:1; color:var(--ink); }
.tl__body h4{ font-family:var(--util); font-weight:600; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-500); margin-bottom:14px; }
.tl__body p{ color:var(--gray-700); max-width:60ch; font-size:clamp(19px,2vw,24px); line-height:1.45; }

/* ============================================================
   PRESENCIA GLOBAL
   ============================================================ */
.globe-sec{ background:var(--ink); color:var(--white); overflow:hidden; }
.globe-wrap{ display:grid; grid-template-columns:1fr; gap:50px; align-items:center; margin-top:50px; }
@media(min-width:980px){ .globe-wrap{ grid-template-columns:1.25fr .75fr; } }
.globe{ width:100%; aspect-ratio:1.6/1; position:relative; }
.globe svg{ width:100%; height:100%; overflow:visible; }
.geo{ fill:none; stroke:var(--line-inv); stroke-width:1; }
.geo-strong{ stroke:var(--line-inv-strong); }
.pt{ fill:var(--white); }
.pt-ring{ fill:none; stroke:var(--white); stroke-width:1; opacity:.6; transform-box:fill-box; transform-origin:center; animation:ring 3s ease-out infinite; }
@keyframes ring{ 0%{ r:3; opacity:.7 } 100%{ r:26; opacity:0 } }
.arc{ fill:none; stroke:var(--white); stroke-width:1; stroke-dasharray:4 5; opacity:.32; }
.bases{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line-inv); border:1px solid var(--line-inv); }
.base{ background:var(--ink); padding:22px 20px; }
.base .bn{ font-family:var(--mono); font-size:11px; color:var(--gray-500); }
.base h4{ font-family:var(--display); font-size:26px; margin-top:6px; }
.base span{ font-family:var(--util); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--gray-400); }

/* ============================================================
   SOSTENIBILIDAD
   ============================================================ */
.sustain__lead{ font-family:var(--display); font-size:clamp(28px,4vw,56px); line-height:1.14; max-width:24ch; letter-spacing:-0.01em; }
.sustain__lead em{ font-style:italic; color:var(--gray-500); }
.pillars{ display:grid; grid-template-columns:1fr; gap:40px; margin-top:70px; }
@media(min-width:760px){ .pillars{ grid-template-columns:repeat(3,1fr); } }
.pillar{ border-top:2px solid var(--ink); padding-top:24px; }
.pillar h4{ font-size:clamp(24px,2.6vw,32px); margin-bottom:14px; }
.pillar p{ color:var(--gray-700); font-size:17px; }

/* ============================================================
   NOTICIAS
   ============================================================ */
.news__grid{ display:grid; grid-template-columns:1fr; gap:1px; background:var(--line); border:1px solid var(--line); margin-top:60px; }
@media(min-width:760px){ .news__grid{ grid-template-columns:repeat(3,1fr); } }
.news-card{ background:var(--paper); padding:clamp(28px,3vw,40px); display:flex; flex-direction:column; min-height:340px; transition:background .4s var(--ease); cursor:pointer; }
.news-card:hover{ background:var(--white); }
.news-card .meta{ display:flex; justify-content:space-between; font-family:var(--util); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gray-500); }
.news-card h4{ font-size:clamp(26px,2.6vw,34px); line-height:1.05; margin:26px 0 14px; }
.news-card p{ font-family:var(--util); font-size:14px; color:var(--gray-600,#555); color:var(--gray-700); line-height:1.55; }
.news-card .more{ margin-top:auto; font-family:var(--util); font-size:12px; letter-spacing:.1em; text-transform:uppercase; display:flex; gap:10px; align-items:center; padding-top:24px; }
.news-card .more .ar{ transition:transform .4s var(--ease); }
.news-card:hover .more .ar{ transform:translateX(8px); }

/* ============================================================
   CONTACTO + FOOTER
   ============================================================ */
/* ----- New visual footer ----- */
.site-footer{ background:var(--ink); color:var(--white); padding:clamp(64px,10vh,140px) 0 clamp(34px,5vh,56px); position:relative; overflow:hidden; }
.site-footer::before{ display:none; }
.site-footer .wrap{ position:relative; z-index:1; }

.foot-cta{ display:grid; grid-template-columns:1fr; gap:34px; align-items:center; padding-bottom:clamp(48px,7vh,86px); border-bottom:1px solid var(--line-inv); }
@media(min-width:880px){ .foot-cta{ grid-template-columns:1.55fr auto; gap:48px; } }
.foot-cta__text .over.kicker{ color:var(--accent); }
.foot-cta__text h2,
.foot-cta__h{ font-family:var(--display); font-weight:500; font-size:clamp(36px,6vw,92px); line-height:.96; letter-spacing:-0.02em; margin:16px 0 20px; }
.foot-cta__h em{ font-style:italic; font-weight:400; color:var(--accent); }
.foot-cta__text p{ font-family:var(--util); font-size:14px; color:var(--gray-400); max-width:44ch; line-height:1.65; }
.foot-cta__btn{ display:inline-flex; align-items:center; gap:14px; padding:18px 32px; border-radius:100px; border:1px solid var(--white); background:var(--white); color:var(--ink); font-family:var(--util); font-size:14px; letter-spacing:.03em; cursor:pointer; white-space:nowrap; transition:transform .4s var(--ease), background .4s, color .4s, gap .4s, border-color .4s; }
.foot-cta__btn:hover{ transform:translateY(-3px); gap:20px; background:var(--accent); border-color:var(--accent); color:var(--white); }
.foot-cta__btn svg{ transition:transform .4s var(--ease); }
.foot-cta__btn:hover svg{ transform:translateX(3px); }

.foot-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0; padding-top:clamp(46px,7vh,78px); }
.foot-brand{ grid-column:1/-1; }
/* mobile / tablet: clean 2-col category grid with subtle divider lines */
@media(max-width:959px){
  .foot-col{ border-top:1px solid var(--line-inv); padding:26px 0 4px; }
  .foot-col:nth-of-type(odd){ padding-right:20px; }
  .foot-col:nth-of-type(even){ padding-left:20px; border-left:1px solid var(--line-inv); }
  .foot-brand{ padding-bottom:8px; }
}
@media(min-width:960px){ .foot-grid{ grid-template-columns:1.8fr 1fr 1fr 1fr; gap:48px; } .foot-brand{ grid-column:auto; } .foot-col{ border:0; padding:0; } }
.foot-logo{ height:34px; width:auto; opacity:.95; }
.foot-tagline{ font-family:var(--util); font-size:13px; color:var(--gray-400); margin-top:22px; max-width:38ch; line-height:1.65; }
.foot-social{ margin-top:26px; display:flex; gap:12px; }
.foot-social a{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--gray-300); border:1px solid var(--line-inv); transition:transform .35s var(--ease), background .35s, color .35s, border-color .35s; }
.foot-social a:hover{ transform:translateY(-3px); background:var(--accent); color:var(--white); border-color:var(--accent); }
.foot-locs{ list-style:none; margin:28px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:11px 18px; max-width:34ch; }
.foot-locs li{ display:inline-flex; align-items:center; gap:8px; font-family:var(--util); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gray-400); white-space:nowrap; }
.foot-locs .flag{ flex:none; width:21px; height:14px; border-radius:2.5px; overflow:hidden; box-shadow:0 0 0 1px rgba(255,255,255,0.14); line-height:0; }
.foot-locs .flag svg{ display:block; width:100%; height:100%; }
.foot-col h5{ font-family:var(--util); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gray-500); margin-bottom:18px; }
.foot-col a, .foot-col .foot-linkbtn{ position:relative; font-family:var(--util); font-size:14px; color:var(--gray-300); padding:7px 0; display:block; opacity:.85; transition:opacity .35s var(--ease), color .35s var(--ease), padding-left .35s var(--ease); text-align:left; }
.foot-col a::before, .foot-col .foot-linkbtn::before{ content:"→"; position:absolute; left:0; top:50%; transform:translate(-8px,-50%); opacity:0; color:var(--accent); transition:opacity .35s var(--ease), transform .35s var(--ease); }
.foot-col a:hover, .foot-col .foot-linkbtn:hover{ opacity:1; color:var(--white); padding-left:22px; }
.foot-col a:hover::before, .foot-col .foot-linkbtn:hover::before{ opacity:1; transform:translate(0,-50%); }
.foot-linkbtn{ background:none; border:0; cursor:pointer; width:100%; letter-spacing:0; }
.foot-admin{ color:var(--gray-600) !important; }
.foot-admin:hover{ color:var(--accent) !important; }
.foot-locs li{ transition:color .35s var(--ease); }
.foot-locs li:hover{ color:var(--gray-300); }
.foot-locs .flag{ filter:grayscale(.55) brightness(.92); transition:filter .45s var(--ease), transform .45s var(--ease); }
.foot-locs li:hover .flag{ filter:none; transform:translateY(-2px) scale(1.06); }
.foot-mark{ position:absolute; right:-5%; bottom:-7%; width:min(50%,540px); opacity:.055; pointer-events:none; z-index:0; }
.foot-mark svg{ display:block; width:100%; height:auto; }
.foot-mark path{ fill:var(--white); }
@media(prefers-reduced-motion:no-preference){ .foot-mark{ animation:footMark 16s ease-in-out infinite; } @keyframes footMark{ 0%,100%{ opacity:.045; transform:translateY(0); } 50%{ opacity:.08; transform:translateY(-12px); } } }
.foot-bar{ position:relative; z-index:1; border-top:1px solid var(--line-inv); margin-top:clamp(42px,6vh,68px); padding-top:28px; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; font-family:var(--util); font-size:11.5px; letter-spacing:.04em; color:var(--gray-500); }

/* ----- Newsletter (premium glass card) — Pantalla 51 ----- */
/* Dark band wrapper (used on the prensa page for contrast) */
.nl-band{ position:relative; background:var(--ink); color:var(--white); padding:clamp(64px,11vh,150px) 0; overflow:hidden; }
.nl-band::before{ content:""; position:absolute; top:-32%; left:-12%; width:55%; height:95%; background:radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events:none; opacity:.55; }
.nl-band::after{ content:""; position:absolute; bottom:-42%; right:-14%; width:62%; height:100%; background:radial-gradient(circle, rgba(176,141,87,0.15), transparent 70%); pointer-events:none; }

/* Glass card */
.nl-card{ position:relative; border-radius:28px; overflow:hidden;
  background:linear-gradient(165deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.13);
  -webkit-backdrop-filter:blur(26px) saturate(1.5); backdrop-filter:blur(26px) saturate(1.5);
  box-shadow:0 50px 120px -50px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.16); }
.nl-card__glow{ position:absolute; inset:0; pointer-events:none; background:radial-gradient(120% 85% at 88% -5%, rgba(176,141,87,0.24), transparent 55%); }
.nl-card__inner{ position:relative; display:grid; grid-template-columns:1fr; gap:38px 64px; padding:clamp(32px,5vw,68px); }
@media(min-width:900px){ .nl-card__inner{ grid-template-columns:0.92fr 1.08fr; align-items:center; } }

.nl-card__eyebrow{ font-family:var(--util); font-size:11px; letter-spacing:.28em; text-transform:uppercase; color:var(--accent); }
.nl-card__title{ font-family:var(--display); font-weight:500; font-size:clamp(34px,4.4vw,60px); line-height:1.0; letter-spacing:-0.02em; margin:18px 0; }
.nl-card__title em{ font-style:italic; color:var(--accent); }
.nl-card__sub{ font-family:var(--util); font-size:15px; color:var(--gray-300); max-width:40ch; line-height:1.7; }

/* hero email row */
.nl-hero{ display:flex; gap:10px; flex-wrap:wrap; }
.nl-hero__input{ flex:1 1 220px; min-width:0; font-family:var(--util); font-size:16px; color:var(--white);
  background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.18); border-radius:100px; padding:17px 24px;
  transition:border-color .3s var(--ease), background .3s, box-shadow .3s; }
.nl-hero__input::placeholder{ color:var(--gray-500); }
.nl-hero__input:focus{ outline:none; border-color:var(--accent); background:rgba(255,255,255,0.11); box-shadow:0 0 0 4px rgba(176,141,87,0.22); }
.nl-hero__btn{ flex:none; display:inline-flex; align-items:center; gap:10px; font-family:var(--util); font-size:14px; letter-spacing:.02em;
  background:var(--white); color:var(--ink); border:0; border-radius:100px; padding:17px 28px; cursor:pointer; white-space:nowrap;
  transition:transform .4s var(--ease), background .4s, color .4s, gap .4s; }
.nl-hero__btn:hover{ transform:translateY(-2px); background:var(--accent); color:var(--white); gap:16px; }
.nl-hero__btn svg{ transition:transform .4s var(--ease); }
.nl-hero__btn:hover svg{ transform:translateX(3px); }

/* interest chips */
.nl-chips{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:24px; }
.nl-chips__label{ font-family:var(--util); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gray-500); margin-right:4px; }
.nl-chip{ position:relative; cursor:pointer; }
.nl-chip input{ position:absolute; opacity:0; width:0; height:0; }
.nl-chip span{ display:inline-block; font-family:var(--util); font-size:13px; color:var(--gray-300);
  border:1px solid rgba(255,255,255,0.2); border-radius:100px; padding:9px 16px;
  transition:background .3s var(--ease), border-color .3s, color .3s, transform .3s; }
.nl-chip:hover span{ border-color:rgba(255,255,255,0.42); transform:translateY(-1px); }
.nl-chip input:checked + span{ background:var(--accent); border-color:var(--accent); color:var(--white); }
.nl-chip input:focus-visible + span{ box-shadow:0 0 0 3px rgba(176,141,87,0.35); }

/* expandable press fiche */
.nl-more{ display:inline-flex; align-items:center; gap:10px; margin-top:28px; background:none; border:0; cursor:pointer;
  font-family:var(--util); font-size:13px; letter-spacing:.02em; color:var(--gray-400); transition:color .3s; }
.nl-more:hover{ color:var(--white); }
.nl-more__ic{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.25); font-size:14px; line-height:1; transition:transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.nl-more.is-open .nl-more__ic{ transform:rotate(45deg); background:var(--white); color:var(--ink); border-color:var(--white); }
.nl-extra{ margin-top:22px; animation:nlExtraIn .45s var(--ease) both; }
@keyframes nlExtraIn{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
.nl-extra__grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media(min-width:560px){ .nl-extra__grid{ grid-template-columns:1fr 1fr; } }

/* dark-surface fields inside the card */
.nl-card .cform__field span{ color:var(--gray-400); }
.nl-card .cform__field input{ background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.16); color:var(--white); border-radius:12px; }
.nl-card .cform__field input::placeholder{ color:var(--gray-500); }
.nl-card .cform__field input:focus{ background:rgba(255,255,255,0.1); border-color:var(--accent); box-shadow:0 0 0 3px rgba(176,141,87,0.22); }
.nl-card .cform__status{ margin-top:16px; color:var(--gray-300); }

/* ---- Press ficha (Módulo 2: Noticias) ---- */
.pressform{ display:block; }
.pressform .cform__field select{ font-family:var(--util); font-size:15px; color:var(--white); background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.16); border-radius:12px; padding:13px 15px; width:100%; appearance:none; -webkit-appearance:none; cursor:pointer; transition:border-color .3s var(--ease), background .3s, box-shadow .3s; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:40px; }
.pressform .cform__field select:focus{ outline:none; background-color:rgba(255,255,255,0.1); border-color:var(--accent); box-shadow:0 0 0 3px rgba(176,141,87,0.22); }
.pressform .cform__field select option, .pressform .cform__field select optgroup{ color:var(--ink); background:#fff; }
.pressform .nl-chips{ margin-top:22px; }
.pressform__photo{ margin-top:22px; display:flex; flex-direction:column; gap:14px; }
.press-file input[type="file"]{ font-family:var(--util); font-size:13px; color:var(--gray-300); background:rgba(255,255,255,0.06); border:1px dashed rgba(255,255,255,0.2); border-radius:12px; padding:11px 14px; width:100%; cursor:pointer; }
.press-file input[type="file"]::-webkit-file-upload-button{ font-family:var(--util); font-size:12px; letter-spacing:.06em; color:var(--white); background:rgba(255,255,255,0.12); border:0; border-radius:8px; padding:7px 12px; margin-right:12px; cursor:pointer; }
.press-check{ display:flex; align-items:flex-start; gap:10px; cursor:pointer; font-family:var(--util); font-size:13.5px; line-height:1.5; color:var(--gray-300); }
.press-check input[type="checkbox"]{ flex:0 0 auto; width:17px; height:17px; margin-top:1px; accent-color:var(--accent); cursor:pointer; }
.press-consent{ margin-top:22px; }
.press-consent__link{ background:none; border:0; padding:0; cursor:pointer; color:var(--white); font:inherit; text-decoration:underline; text-underline-offset:2px; transition:color .3s; }
.press-consent__link:hover{ color:var(--accent); }
.nl-press-send{ margin-top:24px; }
.pressform__status{ margin-top:16px; color:var(--gray-300); }
.pressform__status.is-ok{ color:#8fd3a8; }
.pressform__status.is-err{ color:#e2998f; }

/* footer placement of the card */
.foot-news{ padding:clamp(10px,2vh,22px) 0 clamp(46px,6vh,74px); border-bottom:1px solid var(--line-inv); }

/* ----- Legacy footer (subpages) ----- */
.contact{ background:var(--ink); color:var(--white); }
.footer{ border-top:1px solid var(--line-inv); margin-top:clamp(70px,12vh,140px); padding-top:54px; display:grid; grid-template-columns:1fr; gap:40px; }
@media(min-width:680px){ .footer{ grid-template-columns:1fr 1fr; } }
@media(min-width:960px){ .footer{ grid-template-columns:1.7fr 1fr 1fr 1fr; gap:48px; } }
@media(min-width:680px){ .footer__brand{ grid-column:1/-1; } }
@media(min-width:960px){ .footer__brand{ grid-column:auto; } }
.footer__logo{ width:auto; height:34px; opacity:.95; }
.footer__brand p{ font-family:var(--util); font-size:13px; color:var(--gray-400); margin-top:22px; max-width:36ch; line-height:1.65; }
.footer__contact{ margin-top:22px; display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.footer__contact a{ font-family:var(--display); font-size:clamp(18px,1.6vw,22px); color:var(--white); width:max-content; border-bottom:1px solid var(--line-inv); padding-bottom:4px; transition:border-color .35s var(--ease), color .35s var(--ease); }
.footer__contact a:hover{ border-color:var(--white); }
.footer__social{ margin-top:24px; display:flex; gap:12px; clear:both; }
.footer__social a{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--gray-300); border:1px solid var(--line-inv); transition:transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.footer__social a:hover{ transform:translateY(-3px); background:var(--accent); color:var(--white); border-color:var(--accent); }
.footer__locs{ margin-top:24px; font-size:9.5px; letter-spacing:.22em; color:var(--gray-700); line-height:2; max-width:30ch; }
.footer__col h5{ font-family:var(--util); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gray-500); margin-bottom:20px; }
.footer__col a, .footer__col p, .footer__legal{ font-family:var(--util); font-size:14px; color:var(--gray-300); padding:6px 0; display:block; opacity:.85; transition:opacity .3s, color .3s; }
.footer__col a:hover, .footer__legal:hover{ opacity:1; color:var(--white); }
.footer__legal{ background:none; border:0; text-align:left; cursor:pointer; width:100%; letter-spacing:0; text-transform:none; }
.footer__admin{ color:var(--gray-500) !important; }
.footer__admin:hover{ color:var(--white) !important; }
.footer__bar{ grid-column:1/-1; border-top:1px solid var(--line-inv); margin-top:34px; padding:26px 0 0; display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; font-family:var(--util); font-size:11.5px; letter-spacing:.04em; color:var(--gray-500); }

/* ----- Contact form modal ----- */
.cmodal__panel{ width:min(620px, 100%); }
.cmodal__meta{ display:flex; flex-wrap:wrap; gap:8px 24px; margin:4px 0 24px; }
.cmodal__meta a{ font-family:var(--display); font-size:clamp(18px,2vw,24px); color:var(--ink); border-bottom:1px solid rgba(11,11,12,0.18); padding-bottom:3px; transition:border-color .35s var(--ease); }
.cmodal__meta a:hover{ border-color:var(--ink); }
.cmodal__sub{ font-family:var(--util); font-size:13.5px; color:var(--gray-600); line-height:1.6; margin:0 0 22px; max-width:48ch; }
.cform{ display:flex; flex-direction:column; gap:16px; }
.cform__row{ display:grid; grid-template-columns:1fr; gap:16px; }
@media(min-width:520px){ .cform__row{ grid-template-columns:1fr 1fr; } }
.cform__field{ display:flex; flex-direction:column; gap:7px; }
.cform__field span{ font-family:var(--util); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--gray-600); }
.cform__field input, .cform__field textarea{ font-family:var(--util); font-size:15px; color:var(--ink); background:rgba(255,255,255,0.55); border:1px solid rgba(11,11,12,0.14); border-radius:12px; padding:13px 15px; width:100%; transition:border-color .3s var(--ease), background .3s, box-shadow .3s; }
.cform__field textarea{ resize:vertical; min-height:96px; }
.cform__field input:focus, .cform__field textarea:focus{ outline:none; border-color:var(--accent); background:rgba(255,255,255,0.85); box-shadow:0 0 0 3px var(--accent-soft); }
.cform__send{ align-self:flex-start; margin-top:6px; }
.cform__status{ font-family:var(--util); font-size:13px; line-height:1.5; min-height:18px; color:var(--gray-600); }
.cform__status.is-ok{ color:#2f7d4f; }
.cform__status.is-err{ color:#b4453a; }

/* ---- Legal liquid-glass modal ---- */
.lgl{ position:fixed; inset:0; z-index:210; display:flex; align-items:center; justify-content:center; padding:clamp(14px,4vw,56px); opacity:0; pointer-events:none; transition:opacity .5s var(--ease); }
.lgl.open{ opacity:1; pointer-events:auto; }
.lgl__backdrop{ position:absolute; inset:0; background:rgba(8,8,9,0.14); -webkit-backdrop-filter:blur(5px) saturate(1.05); backdrop-filter:blur(5px) saturate(1.05); }
.lgl__panel{
  position:relative; width:min(760px,100%); max-height:86vh; display:flex; flex-direction:column;
  background:rgba(248,247,243,0.66); -webkit-backdrop-filter:blur(40px) saturate(1.7); backdrop-filter:blur(40px) saturate(1.7);
  border:1px solid rgba(255,255,255,0.6); border-radius:26px; overflow:hidden;
  box-shadow:0 50px 130px -34px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.55);
  transform:translateY(34px) scale(.97); opacity:0; transition:transform .6s var(--ease), opacity .5s var(--ease);
}
.lgl.open .lgl__panel{ transform:none; opacity:1; }
.lgl__head{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid rgba(11,11,12,0.08); background:rgba(255,255,255,0.22); }
.lgl__logo{ height:26px; width:auto; }
.lgl__x{ width:40px; height:40px; border-radius:50%; border:1px solid rgba(11,11,12,0.12); background:rgba(255,255,255,0.5); color:var(--ink); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.35s var(--ease); }
.lgl__x:hover{ background:var(--ink); color:var(--paper); transform:rotate(90deg); }
.lgl__scroll{ overflow-y:auto; -webkit-overflow-scrolling:touch; padding:clamp(28px,4vw,46px); }
.lgl__scroll::-webkit-scrollbar{ width:8px; } .lgl__scroll::-webkit-scrollbar-thumb{ background:var(--gray-300); border-radius:8px; }
.lgl__updated{ font-family:var(--util); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--gray-500); }
.lgl__title{ font-family:var(--display); font-weight:500; font-size:clamp(30px,4.4vw,52px); line-height:1.02; margin:12px 0 24px; }
.lgl__body p{ color:var(--gray-700); font-size:16px; line-height:1.7; margin-bottom:16px; }
.lgl__body h3{ font-family:var(--display); font-size:clamp(21px,2.4vw,28px); line-height:1.12; margin:32px 0 12px; }
.lgl__body ul{ list-style:none; margin:0 0 18px; padding:0; }
.lgl__body li{ position:relative; color:var(--gray-700); font-size:15.5px; line-height:1.6; padding-left:24px; margin-bottom:10px; }
.lgl__body li::before{ content:''; position:absolute; left:0; top:.72em; width:10px; height:1px; background:var(--gray-400); }
.lgl__body strong{ color:var(--ink); font-weight:600; }
.lgl__body em{ color:var(--gray-500); }
.lgl__body a{ border-bottom:1px solid var(--line-strong); transition:border-color .3s var(--ease); }
.lgl__body a:hover{ border-color:var(--ink); }

/* ---- Info liquid-glass modal (roles · personas · tarjetas) ---- */
.imodal{ position:fixed; inset:0; z-index:212; display:flex; align-items:center; justify-content:center; padding:clamp(14px,4vw,56px); opacity:0; pointer-events:none; transition:opacity .5s var(--ease); }
.imodal.open{ opacity:1; pointer-events:auto; }
.imodal__backdrop{ position:absolute; inset:0; background:rgba(8,8,9,0.14); -webkit-backdrop-filter:blur(5px) saturate(1.05); backdrop-filter:blur(5px) saturate(1.05); }
.imodal__panel{
  position:relative; width:min(680px, 100%); max-height:min(86vh, 760px); display:flex; flex-direction:column; overflow:hidden;
  background:rgba(248,247,243,0.72); -webkit-backdrop-filter:blur(40px) saturate(1.7); backdrop-filter:blur(40px) saturate(1.7);
  border:1px solid rgba(255,255,255,0.6); border-radius:24px;
  box-shadow:0 50px 120px -30px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.55);
  transform:translateY(24px) scale(.97); opacity:0; transition:.5s var(--ease);
}
.imodal.open .imodal__panel{ transform:none; opacity:1; }

/* ---- Corporate video modal (liquid glass) ---- */
.btn__play{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:50%; border:1px solid currentColor; margin-right:4px; }
.btn__play svg{ transform:translateX(1px); }
.vmodal{ position:fixed; inset:0; z-index:214; display:flex; align-items:center; justify-content:center; padding:clamp(14px,4vw,56px); opacity:0; pointer-events:none; transition:opacity .5s var(--ease); }
.vmodal.open{ opacity:1; pointer-events:auto; }
.vmodal__backdrop{ position:absolute; inset:0; background:rgba(8,8,9,0.42); -webkit-backdrop-filter:blur(8px) saturate(1.05); backdrop-filter:blur(8px) saturate(1.05); }
.vmodal__panel{ position:relative; width:min(1080px,100%); max-height:min(88vh,820px); display:flex; flex-direction:column; overflow:hidden; padding:clamp(12px,1.4vw,18px); background:rgba(18,18,20,0.5); -webkit-backdrop-filter:blur(34px) saturate(1.5); backdrop-filter:blur(34px) saturate(1.5); border:1px solid rgba(255,255,255,0.16); border-radius:24px; box-shadow:0 50px 120px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.18); transform:translateY(24px) scale(.97); opacity:0; transition:.5s var(--ease); }
.vmodal.open .vmodal__panel{ transform:none; opacity:1; }
.vmodal__x{ position:absolute; top:18px; right:18px; z-index:4; width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,0.22); background:rgba(255,255,255,0.12); color:var(--white); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); transition:.35s var(--ease); }
.vmodal__x:hover{ background:var(--accent); border-color:var(--accent); transform:rotate(90deg); }
.vmodal__stage{ position:relative; }
.vmodal__frame{ position:relative; width:100%; aspect-ratio:16/9; border-radius:14px; overflow:hidden; background:#000; }
.vmodal__frame video, .vmodal__frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; object-fit:cover; }
.vmodal__bigplay{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:78px; height:78px; border-radius:50%; border:1px solid rgba(255,255,255,0.4); background:rgba(255,255,255,0.16); -webkit-backdrop-filter:blur(10px) saturate(1.4); backdrop-filter:blur(10px) saturate(1.4); color:var(--white); cursor:pointer; transition:transform .4s var(--ease), background .4s var(--ease); }
.vmodal__bigplay:hover{ transform:translate(-50%,-50%) scale(1.07); background:rgba(255,255,255,0.26); }
.vmodal__bigplay svg{ transform:translateX(3px); }
.vctrl{ position:absolute; left:14px; right:14px; bottom:14px; display:flex; align-items:center; gap:14px; padding:10px 16px; border-radius:16px; border:1px solid rgba(255,255,255,0.18); background:rgba(20,20,22,0.42); -webkit-backdrop-filter:blur(16px) saturate(1.5); backdrop-filter:blur(16px) saturate(1.5); box-shadow:inset 0 1px 0 rgba(255,255,255,.2); opacity:0; transform:translateY(8px); transition:opacity .4s var(--ease), transform .4s var(--ease); }
.vmodal__frame:hover .vctrl, .vctrl:focus-within{ opacity:1; transform:none; }
.vctrl__btn{ flex:none; width:34px; height:34px; border-radius:50%; border:none; background:transparent; color:var(--white); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .3s var(--ease); }
.vctrl__btn:hover{ background:rgba(255,255,255,0.16); }
.vctrl__bar{ flex:1; height:5px; border-radius:3px; background:rgba(255,255,255,0.22); cursor:pointer; position:relative; }
.vctrl__fill{ position:absolute; left:0; top:0; height:100%; width:0; border-radius:3px; background:var(--accent); }
.vctrl__time{ flex:none; font-family:var(--mono); font-size:12px; color:var(--white); opacity:.85; min-width:38px; text-align:center; }
.vmodal__placeholder{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:14px; aspect-ratio:16/9; border-radius:14px; background:linear-gradient(140deg, rgba(40,40,44,0.6), rgba(18,18,20,0.6)); border:1px solid rgba(255,255,255,0.12); color:var(--white); padding:30px; }
.vmodal__ph-icon{ display:grid; place-items:center; width:66px; height:66px; border-radius:50%; border:1px solid rgba(255,255,255,0.28); color:var(--accent); }
.vmodal__ph-title{ font-family:var(--display); font-size:clamp(22px,3vw,32px); }
.vmodal__ph-sub{ font-family:var(--util); font-size:13px; letter-spacing:.02em; color:rgba(255,255,255,0.66); max-width:38ch; }
.imodal__x{ position:absolute; top:16px; right:16px; z-index:3; width:40px; height:40px; border-radius:50%; border:1px solid rgba(11,11,12,0.12); background:rgba(255,255,255,0.6); color:var(--ink); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.35s var(--ease); }
.imodal__x:hover{ background:var(--ink); color:var(--paper); transform:rotate(90deg); }
.imodal__media{ margin:0; height:clamp(160px,26vh,260px); overflow:hidden; background:var(--charcoal); flex:none; }
.imodal__media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); transition:filter .6s var(--ease); }
.imodal__panel:hover .imodal__media img{ filter:grayscale(0) contrast(1.02); }
.imodal__scroll{ overflow-y:auto; -webkit-overflow-scrolling:touch; padding:clamp(26px,4vw,42px); }
.imodal__scroll::-webkit-scrollbar{ width:8px; } .imodal__scroll::-webkit-scrollbar-thumb{ background:var(--gray-300); border-radius:8px; }
.imodal__eyebrow{ font-size:11px; letter-spacing:.16em; color:var(--gray-500); }
.imodal__title{ font-family:var(--display); font-weight:500; font-size:clamp(28px,4vw,46px); line-height:1.04; margin:10px 0 14px; }
.imodal__meta{ display:flex; flex-wrap:wrap; gap:10px 22px; font-family:var(--util); font-size:12.5px; letter-spacing:.04em; color:var(--gray-600); margin-bottom:22px; }
.imodal__meta b{ color:var(--ink); font-weight:600; }
.imodal__meta span{ display:inline-flex; align-items:center; gap:8px; }
.imodal__body p{ color:var(--gray-700); font-size:16px; line-height:1.7; margin-bottom:14px; }
.imodal__body h4{ font-family:var(--display); font-size:clamp(18px,2vw,22px); margin:22px 0 10px; }
.imodal__body ul{ list-style:none; margin:0 0 16px; padding:0; }
.imodal__body li{ position:relative; color:var(--gray-700); font-size:15px; line-height:1.6; padding-left:22px; margin-bottom:9px; }
.imodal__body li::before{ content:''; position:absolute; left:0; top:.72em; width:10px; height:1px; background:var(--gray-400); }
.imodal__cta{ margin-top:24px; }
.has-info{ cursor:pointer; }
[data-info-body]{ display:none; }
html.rtl .footer__legal{ text-align:right; }

/* ============================================================
   REVEAL ANIMATION PRIMITIVES
   ============================================================ */
.reveal{ opacity:0; transform:translateY(20px); transition:opacity .85s var(--ease), transform .95s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.08s; }
.reveal.d2{ transition-delay:.16s; }
.reveal.d3{ transition-delay:.24s; }
.reveal.d4{ transition-delay:.32s; }
.reveal.d5{ transition-delay:.4s; }

.clip-up{ clip-path:inset(0 0 100% 0); transition:clip-path 1.1s var(--ease); }
.clip-up.in{ clip-path:inset(0 0 0% 0); }

.line-grow{ transform:scaleX(0); transform-origin:left; transition:transform 1.1s var(--ease); }
.line-grow.in{ transform:scaleX(1); }

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
  .hero__title .word span{ transform:none; }
}

/* ---------- responsive nav ---------- */
@media(max-width:900px){
  .nav__links{ display:none; }
  .nav__cta{ display:none; }
  .nav__burger{ display:block; }
  /* compact floating liquid-glass pill */
  .nav{ padding:12px; }
  .nav__bar{ height:54px; padding:0 8px 0 16px; gap:12px; border-radius:16px; }
  .nav__right{ gap:10px; }
  /* glass burger button */
  .nav__burger{
    width:42px; height:42px; border-radius:12px; padding:13px 8px;
    background:rgba(252,251,249,0.10); border:1px solid rgba(252,251,249,0.20);
    backdrop-filter:blur(14px) saturate(160%); -webkit-backdrop-filter:blur(14px) saturate(160%);
    box-shadow:0 1px 0 rgba(255,255,255,0.22) inset;
  }
  .nav__burger span{ left:8px; width:26px; }
  .nav__burger span:nth-child(1){ top:14px; }
  .nav__burger span:nth-child(2){ top:20px; }
  .nav__burger span:nth-child(3){ top:26px; }
  .nav.solid .nav__burger{ background:rgba(11,11,12,0.06); border-color:rgba(11,11,12,0.12); }
  .menu.open ~ .nav .nav__burger span{ background:#fff; }
}
@media(max-width:420px){
  .nav__brandtxt{ display:none; }
}

/* ============================================================
   BUTTONS / CTA
   ============================================================ */
.btn{
  font-family:var(--util); font-weight:600; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:11px; padding:15px 26px; border-radius:100px;
  cursor:pointer; border:1px solid transparent; transition:.45s var(--ease); white-space:nowrap; background:none; color:inherit;
}
.btn .ar{ transition:transform .45s var(--ease); display:inline-block; }
.btn:hover .ar{ transform:translateX(6px); }
.btn--solid{ background:var(--ink); color:var(--paper); }
.btn--solid:hover{ background:var(--gray-800); transform:translateY(-2px); box-shadow:0 16px 34px -16px rgba(0,0,0,.5); }
.btn--ghost{ border-color:var(--line-strong); color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.on-dark .btn--solid, .btn--solid.inv{ background:var(--paper); color:var(--ink); }
.on-dark .btn--solid:hover, .btn--solid.inv:hover{ background:var(--white); }
.on-dark .btn--ghost{ border-color:var(--line-inv-strong); color:var(--white); }
.on-dark .btn--ghost:hover{ background:var(--white); color:var(--ink); border-color:var(--white); }
.btn--glass{
  background:rgba(255,255,255,0.10); color:var(--white);
  border-color:rgba(255,255,255,0.28);
  backdrop-filter:blur(14px) saturate(160%); -webkit-backdrop-filter:blur(14px) saturate(160%);
  box-shadow:0 1px 0 rgba(255,255,255,0.25) inset;
}
.btn--glass:hover{ background:rgba(255,255,255,0.2); transform:translateY(-2px); }
.cta-row{ display:flex; flex-wrap:wrap; gap:14px; }

.hero__cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }

/* unit CTA */
.unit__cta{ margin-top:36px; }

/* ============================================================
   FULL-BLEED PARALLAX DIVIDER
   ============================================================ */
.divider{ position:relative; min-height:74vh; display:flex; align-items:center; overflow:hidden; background:var(--ink); color:var(--white); }
.divider__media{ position:absolute; inset:0; z-index:0; }
.divider__media img{ position:absolute; inset:-12% 0; width:100%; height:124%; object-fit:cover; filter:grayscale(1) contrast(1.08) brightness(.5); will-change:transform; }
.divider__media::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(11,11,12,.4),rgba(11,11,12,.6)); }
.divider__inner{ position:relative; z-index:1; }
.divider__over{ opacity:.7; margin-bottom:26px; display:flex; align-items:center; gap:16px; }
.divider__over .ln{ width:46px; height:1px; background:currentColor; opacity:.6; }
.divider__quote{ font-family:var(--display); font-style:italic; font-weight:400; font-size:clamp(32px,5vw,72px); line-height:1.1; letter-spacing:-0.015em; max-width:28ch; text-wrap:balance; }
.divider__quote .w{ opacity:.18; transition:opacity .55s var(--ease); }
.divider__quote .w.on{ opacity:1; }

/* ============================================================
   IMAGE HOVER / VISUAL POLISH
   ============================================================ */
.unit__media{ cursor:pointer; }
.unit__media::after{ content:''; position:absolute; inset:0; z-index:1; background:rgba(11,11,12,0); transition:background .5s var(--ease); }
.unit__media:hover::after{ background:rgba(11,11,12,.14); }
.unit__media .view{
  position:absolute; z-index:2; top:50%; left:50%; transform:translate(-50%,-50%) scale(.85);
  width:108px; height:108px; border-radius:50%; display:flex; align-items:center; justify-content:center; text-align:center;
  background:rgba(255,255,255,0.12); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.4);
  color:var(--white); font-family:var(--util); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase;
  opacity:0; transition:opacity .5s var(--ease), transform .5s var(--ease); pointer-events:none;
}
.unit__media:hover .view{ opacity:1; transform:translate(-50%,-50%) scale(1); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-root{
  position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center;
  padding:clamp(14px,4vw,56px); opacity:0; pointer-events:none; transition:opacity .5s var(--ease);
}
.modal-root.open{ opacity:1; pointer-events:auto; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(8,8,9,0.14); backdrop-filter:blur(5px) saturate(1.05); -webkit-backdrop-filter:blur(5px) saturate(1.05); }
.modal{
  position:relative; width:min(940px,100%); max-height:88vh; overflow:auto; -webkit-overflow-scrolling:touch;
  background:rgba(248,247,243,0.72); -webkit-backdrop-filter:blur(40px) saturate(1.7); backdrop-filter:blur(40px) saturate(1.7);
  border-radius:22px; border:1px solid rgba(255,255,255,0.5);
  box-shadow:0 50px 130px -34px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,0.6);
  transform:translateY(34px) scale(.97); opacity:0; transition:transform .6s var(--ease), opacity .5s var(--ease);
}
.modal-root.open .modal{ transform:none; opacity:1; }
.modal::-webkit-scrollbar{ width:8px; } .modal::-webkit-scrollbar-thumb{ background:var(--gray-300); border-radius:8px; }
.modal__media{ position:relative; height:clamp(220px,34vh,330px); overflow:hidden; background:var(--charcoal); border-radius:22px 22px 0 0; }
.modal__media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); transition:filter .7s var(--ease), transform 1.2s var(--ease); }
.modal__media:hover img{ filter:grayscale(0) contrast(1.02); transform:scale(1.03); }
.modal__media .tag{
  position:absolute; left:24px; bottom:20px; color:var(--white);
  font-family:var(--util); font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  background:rgba(255,255,255,0.12); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.3);
  padding:8px 14px; border-radius:100px;
}
.modal__close{
  position:absolute; top:18px; right:18px; z-index:5; width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,0.16); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,0.4);
  color:var(--white); font-family:var(--util); font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:.35s var(--ease);
}
.modal__close:hover{ background:rgba(255,255,255,0.32); transform:rotate(90deg); }
.modal__body{ padding:clamp(30px,4vw,56px); }
.modal__body .over{ color:var(--gray-500); }
.modal__body h3{ font-size:clamp(34px,4.6vw,60px); line-height:.98; margin:14px 0 22px; }
.modal__body p{ color:var(--gray-700); max-width:62ch; }
.modal__body p + p{ margin-top:16px; }
.modal__facts{ display:flex; flex-wrap:wrap; gap:26px 44px; margin:34px 0; padding:28px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.modal__facts .f{ display:flex; flex-direction:column; gap:5px; }
.modal__facts .f b{ font-family:var(--display); font-weight:500; font-size:clamp(28px,3vw,42px); line-height:1; }
.modal__facts .f span{ font-family:var(--util); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--gray-500); }
.modal__share{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:0 0 28px; }
.modal__share-label{ font-family:var(--util); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--gray-500); margin-right:4px; }
.share-btn{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:transparent; color:var(--ink); cursor:pointer; transition:transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.share-btn:hover{ transform:translateY(-3px); background:var(--accent); border-color:var(--accent); color:var(--white); }
.share-btn.is-copied{ background:var(--accent); border-color:var(--accent); color:var(--white); }
.share-source{ display:inline-flex; align-items:center; gap:9px; margin-left:auto; font-family:var(--util); font-size:12px; letter-spacing:.04em; color:var(--ink); border-bottom:1px solid var(--accent-line); padding-bottom:3px; transition:color .35s var(--ease), border-color .35s var(--ease); }
.share-source:hover{ color:var(--accent); border-color:var(--accent); }
@media(max-width:560px){ .share-source{ margin-left:0; width:100%; } }
body.modal-open{ overflow:hidden; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor{
  position:fixed; top:0; left:0; z-index:9999; width:7px; height:7px; border-radius:50%;
  background:#fff; mix-blend-mode:difference; pointer-events:none; transform:translate(-50%,-50%);
  transition:width .22s var(--ease), height .22s var(--ease), opacity .3s; opacity:0; will-change:left,top;
}
.cursor-ring{
  position:fixed; top:0; left:0; z-index:9999; width:34px; height:34px; border-radius:50%;
  border:1px solid #fff; mix-blend-mode:difference; pointer-events:none; transform:translate(-50%,-50%);
  transition:width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s; opacity:0; will-change:left,top;
}
html.cursor-hot .cursor{ width:0; height:0; }
html.cursor-hot .cursor-ring{ width:52px; height:52px; background:rgba(255,255,255,.10); }
@media (hover:none),(pointer:coarse){ .cursor,.cursor-ring{ display:none; } }
/* hide native cursor only when the custom cursor is active */
html.cursor-on, html.cursor-on *{ cursor:none; }

/* ============================================================
   POP-CHAR HEADINGS (split text, pop in on scroll)
   ============================================================ */
.pop{ display:block; }
.pop .pc-word{ display:inline-block; white-space:nowrap; }
.pop .pc{
  display:inline-block;
  opacity:0;
  transform:translateY(0.32em);
  transition:opacity .7s var(--ease), transform .8s var(--ease);
  will-change:transform, opacity;
}
.pop.in .pc{ opacity:1; transform:none; }

/* ============================================================
   WORLD MAP — Presencia global
   ============================================================ */
.worldmap-wrap{ display:flex; flex-direction:column; gap:clamp(34px,5vw,58px); margin-top:54px; }
.worldmap{
  position:relative; width:100%; overflow:hidden;
  border:1px solid var(--line-inv); border-radius:18px;
  background:#0b0b0c;
  box-shadow:0 50px 110px -60px rgba(0,0,0,.9);
}
.worldmap svg{ display:block; width:100%; height:auto; }
.wm-grid line{ stroke:rgba(252,251,249,0.045); stroke-width:1; }
.wm-land{
  fill:rgba(252,251,249,0.075);
  stroke:rgba(252,251,249,0.30);
  stroke-width:0.6; stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.wm-arc{ stroke:url(#wmArc); stroke-width:1.2; stroke-linecap:round; }
.wm-flow circle{ opacity:.9; filter:drop-shadow(0 0 3px rgba(252,251,249,.9)); }
.wm-dot{ fill:#fcfbf9; }
.wm-halo{ fill:none; stroke:rgba(252,251,249,0.55); stroke-width:1; }
.wm-ping{ fill:none; stroke:#fcfbf9; stroke-width:1; animation:wmPing 3.2s ease-out infinite; }
.wm-hub .wm-dot{ filter:drop-shadow(0 0 5px rgba(252,251,249,.85)); }
.wm-hub .wm-ping{ animation-duration:2.6s; }
@keyframes wmPing{ 0%{ r:3; opacity:.65; } 70%{ opacity:0; } 100%{ r:20; opacity:0; } }
.wm-lab{
  font-family:var(--util); font-weight:600; font-size:11px; letter-spacing:.12em;
  fill:rgba(252,251,249,0.6);
}
.wm-lab--hub{ fill:#fcfbf9; }
.worldmap__cap{
  position:absolute; left:16px; bottom:14px; color:var(--gray-300);
  background:rgba(11,11,12,0.45); border:1px solid var(--line-inv);
  padding:8px 14px; border-radius:100px;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
@media(max-width:600px){ .wm-lab{ display:none; } .worldmap__cap{ left:12px; bottom:10px; } }

/* arc draw-in primitive (reused by JS) */
.wm-arc{ opacity:.92; }

/* export arcs from Argentina (bronze = circulación de bienes) */
.wm-arc--export{ stroke:#B08D57; stroke-width:1; opacity:.6; }
.wm-flow--export circle{ opacity:.95; filter:drop-shadow(0 0 3px rgba(176,141,87,.95)); }

/* bases under the map */
@media(min-width:760px){ .bases{ grid-template-columns:repeat(4,1fr); } }
.base--accent{ display:flex; flex-direction:column; justify-content:center; }
.base--accent .bn{ font-family:var(--display); font-weight:500; font-size:30px; color:var(--white); }
.base--accent span{ color:var(--gray-300); }

@media (prefers-reduced-motion:reduce){
  .pop .pc{ opacity:1; transform:none; }
  .wm-ping, .wm-flow circle{ display:none; }
}

/* ============================================================
   PHASE 3 — logo · idioma · chatbot · whatsapp · edición · móvil
   ============================================================ */

/* ---- Brand logo ---- */
.nav__logo{
  height:24px; width:auto; display:block;
  filter:brightness(0) invert(1);             /* white on dark glass nav */
  transition:filter .55s var(--ease);
}
.nav.solid .nav__logo{ filter:brightness(0); }  /* dark on light solid nav */
.nav__brandtxt{ display:none; }                  /* the logo SVG already carries the wordmark */

/* ---- Language switcher (built by boot.js) ---- */
.nav__lang{ position:relative; opacity:1; }
.lang__btn{
  display:inline-flex; align-items:center; gap:5px; cursor:pointer;
  font-family:var(--util); font-weight:600; font-size:11px; letter-spacing:.12em;
  color:currentColor; background:none; border:0; padding:6px 4px; text-transform:uppercase;
}
.lang__caret{ font-size:9px; opacity:.7; transition:transform .3s var(--ease); }
.nav__lang.open .lang__caret{ transform:rotate(180deg); }
.lang__menu{
  position:absolute; top:calc(100% + 12px); right:0; min-width:180px;
  background:rgba(18,18,21,0.72); backdrop-filter:blur(22px) saturate(180%);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  border:1px solid rgba(252,251,249,0.16); border-radius:14px; padding:6px;
  box-shadow:0 24px 60px -24px rgba(0,0,0,.6); color:var(--white);
  opacity:0; transform:translateY(-8px); pointer-events:none; transition:.32s var(--ease); z-index:120;
}
.nav__lang.open .lang__menu{ opacity:1; transform:none; pointer-events:auto; }
.lang__item{
  display:flex; align-items:baseline; gap:10px; width:100%; cursor:pointer;
  background:none; border:0; color:inherit; text-align:left; padding:9px 12px; border-radius:9px;
  font-family:var(--util); font-size:12px; letter-spacing:.04em; transition:background .2s;
}
.lang__item:hover{ background:rgba(252,251,249,0.10); }
.lang__item.on{ background:rgba(252,251,249,0.14); }
.lang__item span{ font-weight:700; min-width:30px; }
.lang__item em{ font-style:normal; opacity:.6; font-size:11px; }
@media(max-width:900px){
  .nav__lang{ display:flex; }
  .lang__menu{ background:rgba(18,18,21,0.86); }
}

/* ---- RTL (Arabic) ---- */
html.rtl{ direction:rtl; }
html.rtl .hero__over,
html.rtl .eyebrow{ flex-direction:row-reverse; }
html.rtl .nav__links{ flex-direction:row-reverse; }
html.rtl .lang__menu{ right:auto; left:0; }

/* ---- Hub: una sola burbuja de contacto (IA · mensaje · WhatsApp) ---- */
:root{ --hub-accent:#3f8f86; --hub-wa:#25d366; }
.hub{ position:fixed; right:22px; bottom:22px; z-index:82; display:flex; flex-direction:column; align-items:flex-end; gap:14px; }
.hub__fab{
  position:relative; width:58px; height:58px; border-radius:50%; cursor:pointer; align-self:flex-end;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  background:rgba(24,24,26,0.46); color:var(--white);
  -webkit-backdrop-filter:blur(22px) saturate(1.7); backdrop-filter:blur(22px) saturate(1.7);
  border:1px solid rgba(255,255,255,0.28);
  box-shadow:0 14px 38px -14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 1px rgba(255,255,255,.10);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease), background .4s var(--ease);
}
.hub__fab::after{ content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:radial-gradient(130% 90% at 28% 8%, rgba(255,255,255,.30), rgba(255,255,255,0) 58%); }
.hub__fab:hover{ transform:translateY(-3px) scale(1.05); background:rgba(24,24,26,0.56); box-shadow:0 20px 48px -14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.5); }
.hub__fab-ic{ position:absolute; display:flex; align-items:center; justify-content:center; transition:opacity .35s var(--ease), transform .45s var(--ease); }
.hub__fab-ic svg{ width:23px; height:23px; }
.hub__fab-ic--close{ opacity:0; transform:rotate(-45deg) scale(.6); color:var(--white); font-size:20px; }
.hub.open .hub__fab{ color:var(--white); }
.hub.open .hub__fab-ic--chat{ opacity:0; transform:rotate(45deg) scale(.6); }
.hub.open .hub__fab-ic--close{ opacity:1; transform:none; }
.hub.busy .hub__fab{ opacity:0; pointer-events:none; transform:scale(.5); }
.hub__menu{
  width:min(308px, calc(100vw - 44px)); display:flex; flex-direction:column; gap:6px; padding:14px;
  background:rgba(248,247,243,0.66);
  -webkit-backdrop-filter:blur(34px) saturate(1.6); backdrop-filter:blur(34px) saturate(1.6);
  border:1px solid rgba(255,255,255,0.55); border-radius:22px;
  box-shadow:0 40px 100px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transform-origin:bottom right; opacity:0; transform:translateY(16px) scale(.94); pointer-events:none;
  transition:.42s var(--ease);
}
.hub.open .hub__menu{ opacity:1; transform:none; pointer-events:auto; }
.hub.busy .hub__menu{ opacity:0; pointer-events:none; }
.hub__title{ font-family:var(--util); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--gray-600); padding:6px 8px 8px; }
.hub__opt{ display:flex; align-items:center; gap:13px; width:100%; text-align:left; padding:11px 12px; border-radius:14px; border:1px solid transparent; background:rgba(255,255,255,0.4); cursor:pointer; transition:transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.hub__opt:hover{ transform:translateY(-1px); background:rgba(255,255,255,0.78); border-color:rgba(255,255,255,0.7); }
.hub__ic{ flex:none; width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--white); }
.hub__ic svg{ width:21px; height:21px; }
.hub__ic--ai{ background:var(--hub-accent); }
.hub__ic--msg{ background:var(--ink); }
.hub__ic--wa{ background:var(--hub-wa); }
.hub__ic--wa svg{ fill:var(--white); }
.hub__lbl{ flex:1; display:flex; flex-direction:column; line-height:1.2; }
.hub__lbl b{ font-family:var(--display); font-weight:500; font-size:16px; color:var(--ink); }
.hub__lbl em{ font-family:var(--util); font-style:normal; font-size:11px; letter-spacing:.02em; color:var(--gray-600); margin-top:2px; }
.hub__ar{ font-family:var(--mono); color:var(--gray-400); transition:transform .3s var(--ease); }
.hub__opt:hover .hub__ar{ transform:translateX(3px); color:var(--ink); }
html.rtl .hub{ right:auto; left:22px; align-items:flex-start; }
html.rtl .hub__menu{ transform-origin:bottom left; }

/* ---- WhatsApp inline link (contacto) ---- */
.wa-inline{
  display:inline-flex; align-items:center; gap:12px; margin-top:6px;
  font-family:var(--util); font-weight:600; font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--white); padding:13px 22px 13px 16px; border-radius:100px; width:max-content;
  background:rgba(252,251,249,0.06);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  border:1px solid rgba(252,251,249,0.22);
  transition:transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.contact .wa-inline{ color:var(--white); }
.wa-inline:hover{ transform:translateY(-2px); background:rgba(252,251,249,0.12); border-color:rgba(252,251,249,0.5); }
.wa-inline svg{ width:18px; height:18px; fill:currentColor; }

/* ---- Chatbot (liquid glass) ---- */
.cbot{
  position:fixed; right:22px; bottom:22px; z-index:83; width:min(384px, calc(100vw - 32px));
  height:min(580px, calc(100vh - 120px)); display:flex; flex-direction:column;
  background:rgba(248,247,243,0.62);
  -webkit-backdrop-filter:blur(34px) saturate(1.6); backdrop-filter:blur(34px) saturate(1.6);
  border:1px solid rgba(255,255,255,0.55); border-radius:24px; overflow:hidden;
  box-shadow:0 40px 100px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5);
  opacity:0; transform:translateY(20px) scale(.96); pointer-events:none; transform-origin:bottom right;
  transition:.45s var(--ease);
}
.cbot.open{ opacity:1; transform:none; pointer-events:auto; }
.cbot__head{
  display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 18px;
  background:rgba(11,11,12,0.82); -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px);
  color:var(--white); border-bottom:1px solid rgba(255,255,255,0.08);
}
.cbot__brand{ display:flex; align-items:center; gap:12px; }
.cbot__logo{ width:34px; height:34px; flex:none; }
.cbot__title b{ font-family:var(--display); font-weight:500; font-size:19px; display:block; line-height:1.1; }
.cbot__title span{ font-family:var(--util); font-size:10px; letter-spacing:.14em; text-transform:uppercase; opacity:.55; }
.cbot__x{ background:none; border:0; color:inherit; font-size:16px; cursor:pointer; opacity:.7; }
.cbot__x:hover{ opacity:1; }
.cbot__log{ flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:12px; }
.cbot__msg{ max-width:84%; padding:11px 15px; border-radius:16px; font-family:var(--util); font-size:14px; line-height:1.5; }
.cbot__msg--bot{ background:rgba(255,255,255,0.62); border:1px solid rgba(255,255,255,0.5); color:var(--ink); align-self:flex-start; border-bottom-left-radius:5px; }
.cbot__msg--user{ background:rgba(11,11,12,0.9); color:var(--paper); align-self:flex-end; border-bottom-right-radius:5px; }
.cbot__msg--typing{ opacity:.6; font-style:italic; }
/* Rich (markdown) bot messages + character pop reveal */
.cbot__msg--rich{ white-space:normal; }
.cbot__msg--rich p{ margin:0 0 7px; }
.cbot__msg--rich p:last-child{ margin-bottom:0; }
.cbot__msg--rich p.cbot__h{ font-weight:700; letter-spacing:.01em; margin:10px 0 5px; }
.cbot__msg--rich .cbot__sp{ display:block; height:5px; }
.cbot__msg--rich strong{ font-weight:700; color:var(--ink); }
.cbot__msg--rich em{ font-style:italic; }
.cbot__msg--rich code{ font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.92em; background:rgba(11,11,12,.07); padding:1px 5px; border-radius:5px; }
.cbot__msg--rich a{ color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.cbot__msg--rich ul,.cbot__msg--rich ol{ margin:4px 0 8px; padding-left:20px; display:flex; flex-direction:column; gap:3px; }
.cbot__msg--rich li{ line-height:1.55; }
.cbot__msg--rich li::marker{ color:var(--accent); }
/* word-by-word pop reveal (keeps emojis whole + natural text flow) */
.cbot-w{ display:inline-block; opacity:0; animation:cbotPop .34s cubic-bezier(.2,.75,.3,1) both; }
@keyframes cbotPop{ from{ opacity:0; transform:translateY(.3em); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .cbot-w{ animation-duration:.01s; } }
.cbot__form{ display:flex; gap:8px; padding:14px; border-top:1px solid rgba(255,255,255,0.45); background:rgba(255,255,255,0.18); }
.cbot__form input{ flex:1; border:1px solid rgba(11,11,12,0.12); border-radius:100px; padding:11px 16px; font-family:var(--util); font-size:14px; background:rgba(255,255,255,0.7); color:var(--ink); }
.cbot__form input:focus{ outline:none; border-color:var(--gray-500); background:rgba(255,255,255,0.92); }
.cbot__form button{ width:42px; height:42px; border-radius:50%; border:0; background:var(--ink); color:var(--paper); cursor:pointer; font-size:17px; flex:none; transition:transform .3s var(--ease); }
.cbot__form button:hover{ transform:scale(1.08); }
.cbot__leave{ background:none; border:0; border-top:1px solid rgba(255,255,255,0.45); padding:11px; cursor:pointer; font-family:var(--util); font-size:11px; letter-spacing:.08em; color:var(--gray-700); text-transform:uppercase; }
.cbot__leave:hover{ color:var(--ink); }
.cbot__contact{ display:flex; flex-direction:column; gap:8px; padding:14px; border-top:1px solid rgba(255,255,255,0.45); }
.cbot__contact input,.cbot__contact textarea{ border:1px solid rgba(11,11,12,0.12); border-radius:10px; padding:10px 12px; font-family:var(--util); font-size:13px; background:rgba(255,255,255,0.7); }
.cbot__contact textarea{ min-height:70px; resize:vertical; }
.cbot__contact button{ background:var(--ink); color:var(--paper); border:0; border-radius:100px; padding:11px; cursor:pointer; font-family:var(--util); font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
html.rtl .cbot{ right:auto; left:22px; transform-origin:bottom left; }

/* ---- Edit mode (visual editor) ---- */
html.aisa-edit [data-k]{ cursor:text; }
html.aisa-edit .aisa-editable{ outline:1px dashed rgba(120,120,255,0.0); transition:outline .2s, background .2s; border-radius:3px; }
html.aisa-edit .aisa-editable:hover{ outline:1px dashed rgba(90,110,255,0.5); background:rgba(90,110,255,0.04); }
html.aisa-edit .aisa-editable.aisa-focus{ outline:2px solid rgba(70,100,255,0.85); background:rgba(90,110,255,0.07); }
html.aisa-edit .aisa-img-edit{ cursor:pointer; outline:2px dashed rgba(70,100,255,0.0); transition:outline .2s; }
html.aisa-edit .aisa-img-edit:hover{ outline:3px solid rgba(70,100,255,0.7); outline-offset:-3px; }
html.aisa-edit .cursor,html.aisa-edit .cursor-ring{ display:none !important; }

/* ---- Toast ---- */
.aisa-toast{
  position:fixed; left:50%; bottom:26px; transform:translate(-50%, 20px); z-index:200;
  background:var(--ink); color:var(--paper); padding:13px 22px; border-radius:100px;
  font-family:var(--util); font-size:13px; letter-spacing:.02em; max-width:90vw;
  box-shadow:0 20px 50px -18px rgba(0,0,0,.6); opacity:0; transition:.4s var(--ease); pointer-events:none;
}
.aisa-toast.in{ opacity:1; transform:translate(-50%,0); }

/* ============================================================
   HERO — refinamiento móvil ("holding familiar" + scroll)
   ============================================================ */
@media(max-width:760px){
  .hero{ min-height:100svh; padding:clamp(96px,16vh,130px) var(--mx) clamp(70px,10vh,96px); justify-content:flex-end; }
  .hero__over{ margin-bottom:18px; font-size:10px; flex-wrap:wrap; row-gap:6px; }
  .hero__over .ln{ width:30px; }
  .hero__title{ font-size:clamp(52px, min(20vw, 17vh), 120px); line-height:.9; }
  .hero__sub{ gap:18px; margin-top:22px; padding-top:18px; }
  .hero__tag{ font-size:clamp(20px,6vw,26px); max-width:100%; }
  .hero__desc{ font-size:13px; max-width:100%; }
  .hero__cta{ width:100%; }
  .hero__cta .btn{ flex:1; justify-content:center; }
}
@media(max-width:760px){
  .hero__scroll{ display:none; }   /* avoid overlap with CTA on mobile */
}
/* short-but-wide screens: keep title from colliding with nav */
@media(max-height:680px) and (min-width:761px){
  .hero__title{ font-size:clamp(48px, 14vh, 150px); }
}

/* Unit media video (Real Estate — Cinzano drone) — mirrors .unit__media img */
.unit__media video{ position:absolute; inset:0; width:100%; height:120%; object-fit:cover; filter:grayscale(1) contrast(1.06) brightness(.96); will-change:transform; transition:filter .6s var(--ease); pointer-events:none; background:var(--charcoal); }
.unit__media:hover video{ filter:grayscale(0) contrast(1.03) brightness(1); }
.unit__media.is-color video{ filter:grayscale(0) contrast(1.03) brightness(1); }

/* ---------- Footer — Compañías del grupo (en foot-brand, sin separador) ---------- */
.foot-companies{ margin:24px 0 30px; }
.foot-companies__label{ display:block; font-family:var(--util); font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.42); margin-bottom:15px; }
.foot-companies__logos{ display:flex; align-items:center; flex-wrap:wrap; gap:30px; }
.company-logo{ display:inline-flex; align-items:center; opacity:.72; transition:opacity .3s var(--ease), transform .3s var(--ease); }
.company-logo:hover{ opacity:1; transform:translateY(-2px); }
.company-logo img{ height:30px; width:auto; max-width:180px; object-fit:contain; display:block; }
.company-logo--cabo img{ height:38px; }

/* ---------- Colaboradores estratégicos ---------- */
.partners-block .partners__h{ font-size:clamp(34px,5vw,68px); line-height:.98; }
.partners__sub{ max-width:620px; margin-top:18px; color:var(--gray-700); font-size:clamp(16px,1.6vw,19px); line-height:1.6; }
.partners-grid{ margin-top:clamp(38px,5.5vh,64px); display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:clamp(18px,2.6vw,40px); align-items:center; border-top:1px solid var(--line); padding-top:clamp(30px,4vh,52px); }
.partner{ display:flex; align-items:center; justify-content:center; min-height:64px; padding:14px 12px; opacity:.85; transition:opacity .35s var(--ease), transform .35s var(--ease); }
.partner img{ max-width:100%; max-height:54px; width:auto; height:auto; object-fit:contain; display:block; }
.partner__name{ font-family:var(--util); font-size:15px; letter-spacing:.02em; color:var(--ink); }
a.partner{ cursor:pointer; }
a.partner:hover{ opacity:1; transform:translateY(-3px); }
@media(max-width:560px){ .partners-grid{ grid-template-columns:repeat(2,1fr); } }
