:root {
  --navy: #081120;
  --navy-2: #0B1830;
  --navy-3: #0E1F3C;
  --navy-footer: #060D19;
  --gold: #C9A24B;
  --gold-light: #E0BC6A;
  --ink: #E8E4DB;
  --line-gold: rgba(201, 162, 75, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--navy); }
body { font-family: 'Barlow', sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
::selection { background: var(--gold); color: var(--navy); }
img { max-width: 100%; }
input::placeholder, textarea::placeholder { color: rgba(232, 228, 219, 0.35); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.h-display { font-family: 'Barlow Condensed', sans-serif; font-weight: 500; color: #FFF; margin: 0; text-wrap: balance; }
.gold-rule { width: 56px; height: 2px; background: var(--gold); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 17, 32, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 38px; width: auto; display: block; }
.brand-text { display: flex; align-items: baseline; gap: 10px; }
.brand-text b, .brand-text span {
  font-family: 'Barlow Condensed', sans-serif; font-size: 24px; letter-spacing: 0.14em;
}
.brand-text b { font-weight: 600; color: #FFF; }
.brand-text span { font-weight: 400; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(232, 228, 219, 0.75);
}
.nav-links a:not(.btn):hover { color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: var(--navy) !important;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 22px; border: none; cursor: pointer; font-family: 'Barlow', sans-serif;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--gold-light); }
.btn-lg { font-size: 14px; padding: 16px 30px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--hero-pos, 50% 55%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,17,32,0.62) 0%, rgba(8,17,32,0.18) 42%, rgba(8,17,32,0.85) 100%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-bottom: 96px; }
.hero-box { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 {
  margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: 0.01em;
  color: #FFF; text-wrap: balance;
}
.hero p {
  margin: 0; font-size: 18px; font-weight: 300; line-height: 1.55;
  color: rgba(232, 228, 219, 0.85); max-width: 480px;
}

/* ---------- AFIRMACIÓN ---------- */
.statement { padding: 140px 0; }
.statement-inner {
  max-width: 880px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.statement h2 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.12; }
.statement p {
  margin: 0; font-size: 17px; font-weight: 300; line-height: 1.7;
  color: rgba(232, 228, 219, 0.7); max-width: 620px; text-wrap: pretty;
}

/* ---------- PILARES ---------- */
.pillars { background: var(--navy-2); padding: 110px 0; border-top: 1px solid var(--line-gold); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.pillar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-gold); border: 1px solid var(--line-gold);
}
.pillar {
  background: var(--navy-2); padding: 40px 32px 44px;
  display: flex; flex-direction: column; gap: 16px; min-height: 260px;
  transition: background 0.25s ease; text-decoration: none;
}
.pillar:hover { background: var(--navy-3); }
.pillar .num { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; letter-spacing: 0.18em; color: var(--gold); }
.pillar h3 {
  margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 25px; line-height: 1.15; color: #FFF; text-wrap: balance;
}
.pillar p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(232, 228, 219, 0.65); flex: 1; }
.pillar .more { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(201, 162, 75, 0.85); transition: color 0.2s ease; }
.pillar:hover .more { color: var(--gold-light); }

/* ---------- POR QUÉ ARXON ---------- */
.why { padding: 120px 0; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 64px; align-items: center; }
.why-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.why-photo img {
  position: absolute; width: 290%; height: 145%; left: -11.6%; top: -16%;
  object-fit: fill; max-width: none;
}
.why-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,17,32,0.25) 0%, rgba(8,17,32,0) 35%, rgba(8,17,32,0.35) 100%);
}
.why-copy { display: flex; flex-direction: column; gap: 36px; }
.why-copy .section-head { margin-bottom: 0; }
.reasons { display: flex; flex-direction: column; gap: 28px; }
.reason { display: flex; gap: 20px; align-items: flex-start; }
.reason .tick { width: 28px; height: 2px; background: var(--gold); margin-top: 12px; flex-shrink: 0; }
.reason h3 { margin: 0 0 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 21px; color: #FFF; }
.reason p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(232, 228, 219, 0.65); text-wrap: pretty; }

/* ---------- CINTILLO ---------- */
.trust { background: var(--gold); padding: 36px 32px; }
.trust-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 56px;
}
.trust span {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 17px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); white-space: nowrap;
}

/* ---------- SECTORES ---------- */
.sectors { background: var(--navy-2); padding: 110px 0; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.sector { border-top: 1px solid rgba(201, 162, 75, 0.35); padding-top: 24px; }
.sector h3 { margin: 0 0 12px; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 24px; color: #FFF; }
.sector p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(232, 228, 219, 0.65); text-wrap: pretty; }

/* ---------- CONTACTO ---------- */
.contact { padding: 130px 0 100px; border-top: 1px solid var(--line-gold); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 72px; }
.contact h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.contact-intro { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.7; color: rgba(232, 228, 219, 0.7); max-width: 440px; text-wrap: pretty; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(232, 228, 219, 0.6); }
.field input {
  background: transparent; border: none; border-bottom: 1px solid rgba(232, 228, 219, 0.25);
  padding: 10px 0; font-size: 16px; font-family: 'Barlow', sans-serif; color: var(--ink); outline: none;
  border-radius: 0;
}
.field input:focus { border-bottom-color: var(--gold); }
.form-note { font-size: 12.5px; font-weight: 300; color: rgba(232, 228, 219, 0.45); line-height: 1.6; }
.form-ok { border: 1px solid rgba(201, 162, 75, 0.5); padding: 32px; display: none; flex-direction: column; gap: 8px; }
.form-ok b { font-family: 'Barlow Condensed', sans-serif; font-weight: 500; font-size: 22px; color: var(--gold); }
.form-ok span { font-size: 15px; font-weight: 300; color: rgba(232, 228, 219, 0.7); }
.form-err { display: none; font-size: 14px; font-weight: 300; line-height: 1.6; color: #E8B4B4; border: 1px solid rgba(224, 150, 150, 0.4); padding: 18px 20px; }

/* ---------- FOOTER ---------- */
footer { background: var(--navy-footer); padding: 40px 0; border-top: 1px solid var(--line-gold); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner .brand-mark { height: 26px; }
.footer-inner .brand-text b, .footer-inner .brand-text span { font-size: 18px; }
.tagline { font-size: 12.5px; font-weight: 300; letter-spacing: 0.08em; color: rgba(232, 228, 219, 0.45); }
.legal { font-size: 12.5px; font-weight: 300; color: rgba(232, 228, 219, 0.35); }

/* ---------- REVEAL ON SCROLL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==================================================
   PÁGINAS INTERNAS (capacidades)
   ================================================== */
.page-hero { background: var(--navy); padding: 150px 0 76px; border-bottom: 1px solid var(--line-gold); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; max-width: 880px; }
.crumbs { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(232, 228, 219, 0.5); }
.crumbs a { color: rgba(232, 228, 219, 0.5); }
.crumbs a:hover { color: var(--gold); }
.page-hero h1 {
  margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; color: #FFF; text-wrap: balance;
}
.page-hero .lead {
  margin: 0; font-size: 19px; font-weight: 300; line-height: 1.6;
  color: rgba(232, 228, 219, 0.82); max-width: 680px; text-wrap: pretty;
}

.block { padding: 96px 0; }
.block.alt { background: var(--navy-2); }
.block .section-head { margin-bottom: 44px; }
.block .section-head h2 { font-size: clamp(27px, 3.4vw, 40px); }
.block .section-head p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.65; color: rgba(232, 228, 219, 0.68); max-width: 640px; text-wrap: pretty; }

.subgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line-gold); border: 1px solid var(--line-gold); }
.subcard { background: var(--navy); padding: 34px 30px 38px; display: flex; flex-direction: column; gap: 14px; }
.block.alt .subcard { background: var(--navy-2); }
.subcard .bar { width: 32px; height: 2px; background: var(--gold); }
.subcard h3 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 21px; line-height: 1.2; color: #FFF; }
.subcard p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.6; color: rgba(232, 228, 219, 0.68); text-wrap: pretty; }

.method { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: 0.18em; color: var(--gold); }
.step h4 { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 19px; color: #FFF; }
.step p { margin: 0; font-size: 14.5px; font-weight: 300; line-height: 1.55; color: rgba(232, 228, 219, 0.65); text-wrap: pretty; }

.cta-band { background: var(--navy); padding: 104px 0; border-top: 1px solid var(--line-gold); }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.cta-inner p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.6; color: rgba(232, 228, 219, 0.7); max-width: 520px; text-wrap: pretty; }
.other-caps { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.other-caps a { font-size: 12.5px; letter-spacing: 0.06em; border: 1px solid var(--line-gold); padding: 10px 18px; color: rgba(232, 228, 219, 0.8); }
.other-caps a:hover { border-color: var(--gold); color: #FFF; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: 220px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(8, 17, 32, 0.98); border-bottom: 1px solid var(--line-gold);
    display: none; padding: 8px 22px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 16px 0; font-size: 15px; width: 100%; border-bottom: 1px solid rgba(232,228,219,0.08); }
  .nav-links .btn { margin-top: 20px; }
  .hero-content { padding-bottom: 72px; }
  .statement { padding: 100px 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 0; padding: 32px 24px 36px; }
  .why, .sectors, .pillars { padding: 90px 0; }
  .why-grid, .contact-grid { gap: 48px; }
  .contact { padding: 100px 0 80px; }
  .trust-inner { flex-direction: column; gap: 14px; }
  .page-hero { padding: 120px 0 58px; }
  .block { padding: 72px 0; }
  .cta-band { padding: 78px 0; }
}
