/* =========================================================
   TAUS — Premium Editorial (Option A)
   File: /assets/css/styles.css
   Notes:
   - Fondo blanco minimal (editorial)
   - Acento TAUS dorado + grafito
   - Secciones tipo video: big text, full-bleed images, diagonal split, cards
========================================================= */

/* -------------------------
   0) Variables
-------------------------- */
:root{
  --bg: #ffffff;
  --ink: #0b0b0c;          /* grafito */
  --ink-2: rgba(11,11,12,.78);
  --muted: rgba(11,11,12,.62);
  --line: rgba(11,11,12,.10);
  --soft: rgba(11,11,12,.06);

  /* dorado TAUS (ajustable) */
  --gold: #d6b24c;
  --gold-2: rgba(214,178,76,.18);
  --gold-3: rgba(214,178,76,.32);

  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 18px 48px rgba(11,11,12,.10);
  --shadow-2: 0 10px 24px rgba(11,11,12,.10);

  --container: 1180px;

  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-2: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* -------------------------
   1) Reset / Base
-------------------------- */
*,
*::before,
*::after{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

.sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container{
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

/* -------------------------
   2) Flags + LangSwitch (FIX)
-------------------------- */
.flag{
  display: inline-block;
  width: 28px;
  height: 18px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  border: 1px solid rgba(17,17,20,.18);
  box-shadow: 0 10px 24px rgba(11,11,12,.10);
  background: #fff;
  flex: 0 0 auto;
}

.flag--mini{
  width: 22px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(11,11,12,.08);
}

.langSwitch{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,11,12,.10);
  box-shadow: 0 12px 30px rgba(11,11,12,.10);
  backdrop-filter: blur(10px);
}

.langBtn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(11,11,12,.78);
  transition: background .2s ease, color .2s ease, transform .2s ease, border .2s ease;
}
.langBtn:hover{ background: rgba(11,11,12,.06); }
.langBtn.is-active{
  background: var(--gold-2);
  border-color: var(--gold-3);
  color: var(--ink);
}

/* -------------------------
   3) Topbar
-------------------------- */
.topbar{
  position: relative;
  z-index: 30;
  background: #f7f7f7;
  border-bottom: 1px solid rgba(11,11,12,.08);
}

.topbar__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 10px 0;
  align-items: center;
}

.topbar__item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-2);
  font-size: 12.5px;
  color: rgba(11,11,12,.72);
}

.topbar__item--right{
  justify-content: flex-end;
}

.topbar__link{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,11,12,.08);
  transition: transform .2s ease, background .2s ease;
}
.topbar__link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.95);
}

.topbar__text{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.topbar__text span{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 520px;
}

.sep{ opacity: .45; }
.ico{ opacity: .8; }

/* -------------------------
   4) Header
-------------------------- */
.header{
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(11,11,12,.08);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
}

.header__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__logo{
  height: 34px;
  width: auto;
}

.header__right{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* -------------------------
   5) Nav
-------------------------- */
.nav{ position: relative; }

.nav__toggle{
  display: none;
  border: 1px solid rgba(11,11,12,.12);
  background: rgba(255,255,255,.9);
  border-radius: 12px;
  width: 44px;
  height: 42px;
  cursor: pointer;
}

.nav__toggleBars{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(11,11,12,.78);
  margin: 0 auto;
  border-radius: 99px;
  position: relative;
}
.nav__toggleBars::before,
.nav__toggleBars::after{
  content:"";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(11,11,12,.78);
  border-radius: 99px;
}
.nav__toggleBars::before{ top: -6px; }
.nav__toggleBars::after{ top: 6px; }

.nav__menu{
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__item{ position: relative; }

.nav__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(11,11,12,.78);
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.nav__link:hover{
  background: rgba(11,11,12,.06);
  transform: translateY(-1px);
}

.nav__link.is-active{
  background: rgba(11,11,12,.08);
  color: var(--ink);
}

.nav__link--btn{
  border: 0;
  background: transparent;
  cursor: pointer;
}

.caret{ opacity: .7; font-size: 12px; }

/* Dropdown */
.dropdown{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(420px, 92vw);
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(11,11,12,.10);
  box-shadow: 0 20px 60px rgba(11,11,12,.18);
  display: none;
}

.dropdown.is-open{ display: block; }

.dropdown__item{
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(11,11,12,.78);
  border: 1px solid transparent;
  transition: background .2s ease, border .2s ease, transform .2s ease;
}
.dropdown__item:hover{
  background: rgba(214,178,76,.10);
  border-color: rgba(214,178,76,.20);
  transform: translateY(-1px);
}

.nav__item--cta{ margin-left: 8px; }

/* -------------------------
   6) Buttons
-------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn:hover{ transform: translateY(-1px); }

.btn--gold{
  background: var(--gold);
  color: #0b0b0c;
  box-shadow: 0 16px 40px rgba(214,178,76,.25);
}
.btn--gold:hover{ box-shadow: 0 18px 50px rgba(214,178,76,.30); }

.btn--light{
  background: #fff;
  color: var(--ink);
  border-color: rgba(11,11,12,.14);
  box-shadow: 0 12px 34px rgba(11,11,12,.10);
}

.btn--ghostDark{
  background: rgba(11,11,12,.06);
  color: rgba(11,11,12,.85);
  border-color: rgba(11,11,12,.08);
}

.btn--outline{
  background: transparent;
  border-color: rgba(11,11,12,.22);
  color: rgba(11,11,12,.80);
}

/* -------------------------
   7) Reveal animations
-------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------
   8) Hero (light editorial)
-------------------------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s ease, transform 1.6s ease;
}

.hero__slide.is-active{
  opacity: 1;
  transform: scale(1);
}

.hero__overlay--light{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.35) 100%),
    radial-gradient(1200px 600px at 18% 40%, rgba(214,178,76,.22), transparent 55%);
}

.hero__content{
  position: relative;
  z-index: 2;
  padding: 78px 0 44px;
}

.hero__badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,11,12,.10);
  box-shadow: var(--shadow-2);
  font-weight: 800;
  font-size: 12px;
  color: rgba(11,11,12,.70);
  width: fit-content;
}
.dot{
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(214,178,76,.18);
}

.hero__title{
  margin: 18px 0 12px;
  font-size: clamp(40px, 6.2vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--ink);
}
.gold{ color: var(--gold); }

.hero__subtitle{
  max-width: 62ch;
  font-family: var(--font-2);
  color: rgba(11,11,12,.68);
  font-size: 15.5px;
  margin: 0 0 22px;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* mini cards en hero */
.heroMini{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 210px));
  gap: 12px;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.miniCard{
  border-radius: 16px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(11,11,12,.10);
  box-shadow: var(--shadow-2);
  padding: 14px 14px;
  backdrop-filter: blur(10px);
}
.miniCard__num{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: rgba(11,11,12,.90);
}
.miniCard__txt{
  margin-top: 6px;
  font-family: var(--font-2);
  font-size: 12.5px;
  color: rgba(11,11,12,.62);
}

.hero__scroll{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(11,11,12,.70);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(11,11,12,.10);
  padding: 10px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.mouse{
  width: 16px;
  height: 22px;
  border: 2px solid rgba(11,11,12,.45);
  border-radius: 99px;
  position: relative;
}
.mouse::after{
  content:"";
  width: 4px;
  height: 4px;
  background: rgba(11,11,12,.55);
  border-radius: 99px;
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  animation: wheel 1.4s infinite;
}
@keyframes wheel{
  0%{ transform: translateX(-50%) translateY(0); opacity: 1; }
  60%{ transform: translateX(-50%) translateY(8px); opacity: .25; }
  100%{ opacity: 0; }
}

/* -------------------------
   9) Chapter (big text + info card)
-------------------------- */
.kicker{
  font-family: var(--font-2);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(11,11,12,.55);
}

.chapter{
  padding: 92px 0 54px;
  background: #fff;
}

.chapter__grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

.chapter__title{
  margin: 14px 0 0;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 950;
  color: var(--ink);
}

.infoCard{
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(11,11,12,.10);
  box-shadow: var(--shadow);
  padding: 22px 22px;
}

.infoCard--tight{ padding: 20px; }

.infoCard__h{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.infoCard__p{
  margin: 0 0 14px;
  font-family: var(--font-2);
  color: rgba(11,11,12,.70);
  font-size: 14px;
}

.infoPills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,11,12,.10);
  background: rgba(214,178,76,.08);
  color: rgba(11,11,12,.78);
  font-weight: 800;
  font-size: 12px;
}

.infoCard__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* -------------------------
   10) Full-bleed image + glass caption
-------------------------- */
.fullBleed{
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  background: #fff;
}

.fullBleed--short{ min-height: 52vh; }

.fullBleed__img{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.fullBleed__img::after{
  content:"";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.05) 60%, rgba(255,255,255,.22) 100%),
    radial-gradient(900px 500px at 20% 40%, rgba(214,178,76,.22), transparent 55%);
}

.fullBleed__cap{
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: grid;
  align-items: end;
  padding: 40px 0;
}

.glassCard{
  width: min(560px, 100%);
  border-radius: 22px;
  padding: 16px 16px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.70);
  box-shadow: 0 20px 60px rgba(11,11,12,.16);
  backdrop-filter: blur(12px);
}

.glassCard__kicker{
  font-family: var(--font-2);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(11,11,12,.62);
}

.glassCard__title{
  margin-top: 8px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.glassCard__text{
  margin-top: 6px;
  font-family: var(--font-2);
  color: rgba(11,11,12,.70);
  font-size: 13.5px;
}

/* -------------------------
   11) Diagonal split (media + content)
-------------------------- */
.diag{
  padding: 70px 0;
  background: #fff;
}

.diag__wrap{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11,11,12,.10);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 520px;
  background: #fff;
}

.diag__media{
  position: relative;
  background-size: cover;
  background-position: center;
}

/* corte diagonal encima de la imagen */
.diag__media::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,11,12,.0) 0%, rgba(11,11,12,.0) 55%, rgba(255,255,255,1) 56%);
  pointer-events: none;
}

.diag__content{
  padding: 24px;
  display: grid;
  align-items: center;
}

.section__title{
  margin: 10px 0 10px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.8vw, 34px);
}

.section__title--sm{ font-size: clamp(20px, 2.2vw, 28px); }

.section__lead{
  margin: 0 0 14px;
  font-family: var(--font-2);
  color: rgba(11,11,12,.68);
  font-size: 14px;
}

.iconGrid{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.iconItem{
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.iconDot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--gold);
  margin-top: 4px;
  box-shadow: 0 0 0 6px rgba(214,178,76,.16);
}

.iconItem__t{
  font-weight: 900;
  font-size: 13.5px;
  color: rgba(11,11,12,.86);
}
.iconItem__s{
  margin-top: 2px;
  font-family: var(--font-2);
  font-size: 12.5px;
  color: rgba(11,11,12,.62);
}

.dividerSoft{
  height: 1px;
  margin: 54px 0 0;
  background: linear-gradient(90deg, transparent, rgba(11,11,12,.14), transparent);
}

/* -------------------------
   12) Metrics
-------------------------- */
.metrics{
  padding: 74px 0;
  background: #fff;
}

.metrics__head{
  max-width: 78ch;
  margin-bottom: 18px;
}

.metrics__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metricCard{
  border-radius: var(--radius);
  border: 1px solid rgba(11,11,12,.10);
  background: #fff;
  box-shadow: var(--shadow-2);
  padding: 18px 18px;
}

.metricCard__num{
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 28px;
  color: var(--ink);
}

.metricCard__t{
  margin-top: 6px;
  font-weight: 900;
  color: rgba(11,11,12,.82);
}

.metricCard__p{
  margin-top: 4px;
  font-family: var(--font-2);
  color: rgba(11,11,12,.62);
  font-size: 13px;
}

/* -------------------------
   13) Projects grid (editorial)
-------------------------- */
.projects{
  padding: 76px 0 84px;
  background: #fff;
}

.projects__head{
  max-width: 78ch;
  margin-bottom: 18px;
}

.projGrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.projItem{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11,11,12,.10);
  box-shadow: var(--shadow-2);
  min-height: 260px;
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease;
}
.projItem:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(11,11,12,.18);
}

.projItem__img{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.02);
  transform: scale(1.03);
  transition: transform 1.2s ease;
}
.projItem:hover .projItem__img{ transform: scale(1); }

.projItem__img::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0) 30%, rgba(11,11,12,.62) 100%);
}

.projItem__cap{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: #fff;
}
.projItem__t{
  font-weight: 950;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.projItem__s{
  margin-top: 4px;
  font-family: var(--font-2);
  font-size: 12.5px;
  opacity: .88;
}

.centerActions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* -------------------------
   14) CTA White (final)
-------------------------- */
.ctaWhite{
  padding: 76px 0 86px;
  background: #fff;
}

.ctaWhite__wrap{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11,11,12,.10);
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: center;
}

.ctaWhite__title{
  margin: 10px 0 10px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.ctaWhite__text{
  margin: 0;
  font-family: var(--font-2);
  color: rgba(11,11,12,.68);
  font-size: 14px;
  max-width: 62ch;
}

.ctaCardMini{
  border-radius: 18px;
  border: 1px solid rgba(11,11,12,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-2);
  padding: 16px;
}

.ctaCardMini__row{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(11,11,12,.75);
  font-family: var(--font-2);
}
.ctaCardMini__row a{ font-weight: 700; }

.ctaCardMini__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* -------------------------
   15) Footer (dark premium)
-------------------------- */
.footer{
  background: #0b0b0c;
  color: rgba(255,255,255,.84);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer__grid{
  display: grid;
  grid-template-columns: 1.2fr .7fr .9fr .6fr;
  gap: 18px;
  padding: 44px 0 28px;
}

.footer__logo{
  height: 34px;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.35));
}

.footer__text{
  margin-top: 14px;
  font-family: var(--font-2);
  color: rgba(255,255,255,.70);
  max-width: 46ch;
  font-size: 13px;
}

.footer h4{
  margin: 0 0 12px;
  color: rgba(255,255,255,.92);
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}

.footer__links,
.footer__info{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li,
.footer__info li{
  padding: 7px 0;
  color: rgba(255,255,255,.72);
  font-family: var(--font-2);
  font-size: 13px;
}

.footer__links a:hover{ color: #fff; }

.footer__info .ico{ opacity: .92; }

.footer__social{
  display: flex;
  gap: 10px;
}

.social{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .2s ease, background .2s ease;
}
.social:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
}

.toTop{
  margin-top: 14px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(214,178,76,.20);
  border: 1px solid rgba(214,178,76,.30);
  color: #fff;
  font-weight: 950;
  transition: transform .2s ease;
}
.toTop:hover{ transform: translateY(-2px); }

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}

.footer__bottomRow{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.60);
  font-family: var(--font-2);
  font-size: 12px;
}

/* -------------------------
   16) Splash (intro pastel + card)
-------------------------- */
.splash{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(214,178,76,.22), transparent 55%),
    radial-gradient(760px 520px at 80% 10%, rgba(180,210,255,.28), transparent 55%),
    radial-gradient(820px 560px at 70% 80%, rgba(255,210,230,.26), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3f3f4 100%);
  transition: opacity .6s ease, transform .6s ease;
}

.splash__inner{
  width: min(520px, calc(100% - 44px));
  border-radius: 26px;
  border: 1px solid rgba(11,11,12,.10);
  background: rgba(255,255,255,.82);
  box-shadow: 0 30px 90px rgba(11,11,12,.18);
  backdrop-filter: blur(12px);
  padding: 26px;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.splash__logoWrap{
  width: 110px;
  height: 110px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,11,12,.10);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 60px rgba(11,11,12,.12);
}

.splash__logo{
  width: 78px;
  height: auto;
}

.splash__name{
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(11,11,12,.82);
}

.splash__tag{
  font-family: var(--font-2);
  color: rgba(11,11,12,.62);
  font-size: 13px;
  margin-top: 6px;
}

.splash__loader{
  display: inline-flex;
  gap: 8px;
  margin-top: 4px;
}

.splash__loader span{
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(11,11,12,.22);
  animation: bounce 1s infinite;
}
.splash__loader span:nth-child(2){ animation-delay: .12s; }
.splash__loader span:nth-child(3){ animation-delay: .24s; }

@keyframes bounce{
  0%, 100%{ transform: translateY(0); opacity: .6; }
  50%{ transform: translateY(-6px); opacity: 1; background: rgba(214,178,76,.65); }
}

.splash.is-hidden{
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* -------------------------
   17) Responsive
-------------------------- */
@media (max-width: 1040px){
  .projGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .chapter__grid{ grid-template-columns: 1fr; }
  .ctaWhite__wrap{ grid-template-columns: 1fr; }
  .diag__wrap{ grid-template-columns: 1fr; }
  .diag__media{ min-height: 320px; }
  .diag__media::after{ background: linear-gradient(180deg, rgba(11,11,12,0) 0%, rgba(255,255,255,1) 82%); }
  .metrics__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 980px){
  .topbar__grid{ grid-template-columns: 1fr; }
  .topbar__item--right{ justify-content: flex-start; }

  .nav__toggle{ display: inline-grid; place-items: center; }
  .nav__menu{
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: min(360px, 92vw);
    padding: 10px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(11,11,12,.10);
    box-shadow: 0 20px 60px rgba(11,11,12,.18);
    border-radius: 18px;
    display: none;
  }
  .nav__menu.is-open{ display: flex; }
  .nav__link{ justify-content: space-between; width: 100%; }

  .dropdown{
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 14px;
    border: 1px solid rgba(11,11,12,.10);
    margin-top: 6px;
  }

  .heroMini{
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 520px;
  }

  .footer__grid{
    grid-template-columns: 1fr;
    padding: 34px 0 24px;
  }
  .footer__bottomRow{ flex-direction: column; align-items: flex-start; }
}
