:root {
  --bg: #050807;
  --bg-soft: #08110e;
  --panel: #0b1512;
  --panel-2: #101b17;
  --text: #f6f3e9;
  --muted: #9aa9a2;
  --green: #12b981;
  --green-deep: #0b5d43;
  --gold: #f7b733;
  --gold-soft: #ffd46a;
  --border: rgba(255,255,255,.09);
  --border-gold: rgba(247,183,51,.24);
  --shadow: 0 30px 80px rgba(0,0,0,.35);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(18,185,129,.08), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(247,183,51,.06), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 120px 0; }
.skip-link { position: fixed; left: 18px; top: -60px; z-index: 999; padding: 12px 16px; border-radius: 10px; background: var(--gold); color: #111; font-weight: 800; }
.skip-link:focus { top: 18px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: .25s ease; }
.site-header.scrolled { background: rgba(5,8,7,.84); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav-shell { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 220px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #cad3cf; font-size: 13px; font-weight: 700; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: .2s ease; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--border-gold); border-radius: 999px; color: var(--gold-soft); background: rgba(247,183,51,.06); }
.menu-button { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--text); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 145px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 82%); }
.hero-noise { position: absolute; inset: 0; opacity: .2; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; }
.kicker, .section-label { display: flex; align-items: center; gap: 10px; color: var(--gold-soft); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.kicker span { width: 32px; height: 1px; background: var(--gold); }
.hero h1 { margin: 24px 0; font-size: clamp(58px, 7.2vw, 104px); line-height: .95; letter-spacing: -.065em; font-weight: 850; }
.hero h1 em { color: transparent; -webkit-text-stroke: 1px rgba(247,183,51,.72); font-style: normal; }
.hero-copy > p { max-width: 650px; color: #adbbb4; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border-radius: 16px; font-size: 13px; font-weight: 850; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button.primary { background: linear-gradient(135deg, var(--gold), #f3a71e); color: #111; box-shadow: 0 16px 40px rgba(247,183,51,.16); }
.button.secondary { border: 1px solid var(--border); background: rgba(255,255,255,.025); color: #d9e1dd; }
.hero-principles { display: flex; align-items: center; gap: 14px; margin-top: 42px; color: #7f9188; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-principles i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.hero-art { position: relative; min-height: 620px; display: grid; place-items: center; }
.symbol-card { position: relative; z-index: 3; width: min(78%, 440px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(247,183,51,.18); border-radius: 42px; background: linear-gradient(145deg, rgba(14,38,30,.9), rgba(9,14,12,.74)); box-shadow: var(--shadow); transform: rotate(2deg); overflow: hidden; }
.symbol-card::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(18,185,129,.17); border-radius: 30px; }
.symbol-card img { position: relative; z-index: 2; width: 74%; filter: drop-shadow(0 24px 44px rgba(0,0,0,.4)); }
.symbol-glow { position: absolute; width: 65%; aspect-ratio: 1; border-radius: 50%; background: rgba(18,185,129,.13); filter: blur(55px); }
.nordic-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(247,183,51,.15); }
.orbit-one { width: 570px; height: 570px; animation: rotate 48s linear infinite; }
.orbit-one::before { content: ""; position: absolute; inset: 34px; border: 1px dashed rgba(18,185,129,.18); border-radius: 50%; }
.orbit-two { width: 680px; height: 680px; border-style: dashed; opacity: .42; animation: rotateReverse 65s linear infinite; }
.rune { position: absolute; z-index: 2; color: rgba(247,183,51,.7); font-family: Georgia, serif; font-size: 30px; }
.rune-a { top: 8%; right: 12%; }.rune-b { bottom: 15%; left: 4%; }.rune-c { top: 26%; left: 0; color: rgba(18,185,129,.7); }
.brand-word { position: absolute; z-index: 5; right: 4%; bottom: 17%; padding: 10px 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(5,8,7,.78); backdrop-filter: blur(14px); font-size: 18px; font-weight: 800; }
.brand-word strong { color: var(--gold); }
.brand-line { position: absolute; z-index: 5; left: 0; top: 15%; max-width: 205px; padding: 14px 16px; border-left: 2px solid var(--green); background: rgba(5,8,7,.62); color: #a6b4ad; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 24px; display: flex; flex-direction: column; align-items: center; gap: 7px; color: #71847a; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--green), transparent); }

.brand-statement { padding: 95px 0; border-block: 1px solid var(--border); background: rgba(255,255,255,.015); }
.statement-grid { display: grid; grid-template-columns: 100px 1.2fr .8fr; gap: 55px; align-items: start; }
.statement-number { color: var(--gold); font: 50px/1 Georgia, serif; opacity: .85; }
.statement-copy h2, .solutions-heading h2, .essence-copy h2, .promise-panel h2, .contact-copy h2 { margin: 15px 0 20px; font-size: clamp(38px, 4.7vw, 68px); line-height: 1.04; letter-spacing: -.05em; }
.statement-copy p, .solutions-heading p, .essence-copy > p, .promise-panel p, .contact-copy > p { color: var(--muted); font-size: 17px; }
.statement-aside { padding-top: 38px; color: #bdc7c2; }
.statement-aside p { margin: 0; padding-left: 22px; border-left: 1px solid var(--green); }

.pillars { padding-top: 80px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { position: relative; min-height: 320px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16,27,23,.92), rgba(7,12,10,.9)); overflow: hidden; }
.pillar::after { content: ""; position: absolute; width: 180px; height: 180px; right: -90px; bottom: -90px; border: 1px solid rgba(247,183,51,.1); border-radius: 50%; }
.pillar-index { color: #60726a; font-size: 10px; letter-spacing: .2em; }
.pillar-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-top: 55px; border: 1px solid rgba(18,185,129,.2); border-radius: 18px; color: var(--green); font-size: 23px; }
.pillar h3 { margin: 22px 0 10px; font-size: 23px; }
.pillar p { margin: 0; color: var(--muted); font-size: 14px; }

.solutions { background: linear-gradient(180deg, rgba(8,17,14,.2), rgba(8,17,14,.8)); }
.solutions-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.solutions-heading { position: sticky; top: 125px; }
.solution-list { border-top: 1px solid var(--border); }
.solution-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 24px; align-items: center; min-height: 155px; border-bottom: 1px solid var(--border); transition: padding .25s ease, background .25s ease; }
.solution-row:hover { padding-inline: 18px; background: rgba(255,255,255,.018); }
.solution-no { color: var(--gold); font: 20px Georgia, serif; }
.solution-row h3 { margin: 0 0 5px; font-size: 24px; }
.solution-row p { margin: 0; color: var(--muted); font-size: 13px; }
.solution-tag { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; color: #8fa097; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.essence { position: relative; overflow: hidden; }
.essence::before { content: ""; position: absolute; inset: 8% 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(247,183,51,.18), transparent); }
.essence-runes { position: absolute; left: -40px; bottom: -45px; color: rgba(255,255,255,.018); font: 230px Georgia, serif; white-space: nowrap; }
.essence-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: center; }
.essence-symbol { position: relative; min-height: 520px; display: grid; place-items: center; }
.essence-symbol img { position: relative; z-index: 2; width: 330px; filter: drop-shadow(0 30px 70px rgba(0,0,0,.5)); }
.essence-ring { position: absolute; width: 470px; height: 470px; border: 1px solid rgba(18,185,129,.18); border-radius: 50%; }
.essence-ring::before, .essence-ring::after { content: ""; position: absolute; border-radius: 50%; }
.essence-ring::before { inset: 34px; border: 1px dashed rgba(247,183,51,.17); }
.essence-ring::after { inset: 90px; border: 1px solid rgba(255,255,255,.05); }
.essence-copy blockquote { margin: 34px 0; padding: 25px 0 25px 26px; border-left: 2px solid var(--gold); color: #e7e2d4; font: italic 22px/1.5 Georgia, serif; }
.signature { color: #d5ddd9; font-weight: 850; }
.signature span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 500; }

.promise-panel { display: grid; grid-template-columns: 170px 1fr; gap: 50px; align-items: center; padding: 55px; border: 1px solid var(--border-gold); border-radius: 34px; background: linear-gradient(125deg, rgba(247,183,51,.08), rgba(18,185,129,.06) 42%, rgba(255,255,255,.02)); }
.promise-mark { width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(247,183,51,.2); border-radius: 50%; color: var(--gold); font: 54px Georgia, serif; }
.promise-panel h2 { max-width: 850px; }
.promise-panel p { max-width: 760px; margin-bottom: 0; }

.contact { border-top: 1px solid var(--border); background: radial-gradient(circle at 80% 50%, rgba(18,185,129,.07), transparent 32%); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 95px; align-items: center; }
.contact-copy h2 { font-size: clamp(45px, 5vw, 74px); }
.contact-copy .button { margin-top: 24px; }
.contact-card { padding: 28px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(145deg, rgba(16,27,23,.92), rgba(7,12,10,.9)); box-shadow: var(--shadow); }
.contact-top { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.contact-top img { width: 64px; border-radius: 18px; }
.contact-top div { display: flex; flex-direction: column; }
.contact-top small, .contact-top span, .contact-card > a span { color: var(--muted); font-size: 11px; }
.contact-top strong { margin: 3px 0; font-size: 18px; }
.contact-card > a { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--border); }
.contact-card > a strong { color: var(--gold-soft); font-size: 13px; }
.contact-note { padding-top: 18px; color: #71847a; font-size: 11px; }

.site-footer { padding: 55px 0 24px; border-top: 1px solid var(--border); background: #040605; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-main img { width: 240px; }
.footer-links { display: flex; gap: 25px; color: var(--muted); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--border); color: #64756d; font-size: 10px; }
.footer-runes { color: rgba(247,183,51,.55); letter-spacing: .2em; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotateReverse { to { transform: rotate(-360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 76px; right: 20px; width: min(340px, calc(100% - 40px)); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--border); border-radius: 20px; background: rgba(8,17,14,.97); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero-grid, .solutions-shell, .essence-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 540px; }
  .statement-grid { grid-template-columns: 70px 1fr; }
  .statement-aside { grid-column: 2; padding-top: 0; }
  .solutions-heading { position: static; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 250px; }
  .pillar-icon { margin-top: 28px; }
  .essence-grid { gap: 35px; }
  .promise-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 84px 0; }
  .nav-shell { min-height: 74px; }
  .brand img { width: 180px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-copy > p { font-size: 16px; }
  .hero-principles { flex-wrap: wrap; }
  .hero-art { min-height: 430px; }
  .symbol-card { width: 76%; border-radius: 30px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 470px; height: 470px; }
  .brand-line { display: none; }
  .brand-word { right: 0; bottom: 12%; }
  .scroll-cue { display: none; }
  .brand-statement { padding: 72px 0; }
  .statement-grid { grid-template-columns: 1fr; gap: 22px; }
  .statement-number { font-size: 34px; }
  .statement-aside { grid-column: auto; }
  .statement-copy h2, .solutions-heading h2, .essence-copy h2, .promise-panel h2, .contact-copy h2 { font-size: 40px; }
  .solution-row { grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; }
  .solution-tag { grid-column: 2; justify-self: start; }
  .essence-symbol { min-height: 390px; }
  .essence-symbol img { width: 250px; }
  .essence-ring { width: 345px; height: 345px; }
  .promise-panel { padding: 30px; }
  .promise-mark { width: 105px; height: 105px; font-size: 38px; }
  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   MISIÓN, VISIÓN Y VALORES
   ============================================================ */
.purpose {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 15% 25%, rgba(18,185,129,.07), transparent 28%),
    radial-gradient(circle at 85% 65%, rgba(247,183,51,.055), transparent 30%);
}
.purpose-rune {
  position: absolute;
  right: -40px;
  top: -120px;
  color: rgba(247,183,51,.025);
  font: 520px/1 Georgia, serif;
  pointer-events: none;
}
.purpose-heading {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin-bottom: 58px;
}
.purpose-heading h2 {
  margin: 15px 0 20px;
  font-size: clamp(42px,5vw,72px);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.purpose-heading > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}
.purpose-core {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.purpose-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(145deg,rgba(16,27,23,.94),rgba(7,12,10,.92));
  overflow: hidden;
}
.purpose-card-featured {
  border-color: rgba(247,183,51,.23);
  background: linear-gradient(145deg,rgba(247,183,51,.075),rgba(16,27,23,.95) 50%,rgba(7,12,10,.94));
}
.purpose-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.purpose-number {
  color: #64766d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}
.purpose-symbol {
  color: rgba(247,183,51,.65);
  font: 32px Georgia, serif;
}
.purpose-type {
  width: fit-content;
  margin-top: 80px;
  padding: 7px 11px;
  border: 1px solid rgba(18,185,129,.2);
  border-radius: 999px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.purpose-card-featured .purpose-type {
  border-color: rgba(247,183,51,.25);
  color: var(--gold-soft);
}
.purpose-card h3 {
  margin: 22px 0 13px;
  font-size: clamp(27px,3vw,39px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.purpose-card p {
  max-width: 560px;
  margin: auto 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.values-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 70px;
  align-items: end;
  margin: 105px 0 34px;
}
.values-heading h3 {
  margin: 14px 0 0;
  font-size: clamp(34px,4vw,55px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.values-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.values-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.value-card {
  min-height: 245px;
  padding: 25px 21px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.012);
  transition: transform .25s ease, background .25s ease;
}
.value-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  background: rgba(18,185,129,.045);
}
.value-card > span {
  color: var(--gold);
  font: 16px Georgia, serif;
}
.value-card h4 {
  margin: 78px 0 10px;
  font-size: 21px;
}
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
@media (max-width: 980px) {
  .purpose-core { grid-template-columns: 1fr; }
  .purpose-card { min-height: 380px; }
  .values-heading { grid-template-columns: 1fr; gap: 20px; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .purpose-heading { margin-bottom: 38px; }
  .purpose-heading h2 { font-size: 40px; }
  .purpose-card { min-height: 380px; padding: 27px; }
  .purpose-type { margin-top: 55px; }
  .values-heading { margin-top: 75px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 210px; }
  .value-card h4 { margin-top: 50px; }
}

/* Unified legal navigation patch */
.main-nav {
  gap: 16px;
  font-size: 11.5px;
}
.main-nav .nav-active {
  color: var(--gold-soft);
}
.main-nav .nav-active::after {
  right: 0 !important;
}

@media (max-width: 1320px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    width: min(360px, calc(100% - 40px));
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(8,17,14,.98);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
}
