:root {
  color-scheme: light;
  --ink: #111113;
  --paper: #f6f4ef;
  --white: #fffdf8;
  --red: #bd122a;
  --bright: #ff4960;
  --muted: #575552;
  --body: "DM Sans", Arial, sans-serif;
  --display: "Archivo Black", "Arial Black", "DejaVu Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: var(--header-offset, 90px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: .97; letter-spacing: -.082em; }
h3 { font-size: clamp(1.3rem, 2.55vw, 2.05rem); line-height: 1.1; letter-spacing: -.055em; }
p + p { margin-top: 1rem; }
.shell { width: min(100% - 112px, 1232px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-160%); background: white; color: black; padding: 12px; }
.skip:focus { transform: none; }
.header, .footer { background: var(--ink); color: var(--white); }
.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #2b2829; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 82px; }
.wordmark { display: block; flex-shrink: 0; width: clamp(144px, 15vw, 180px); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 45px); font-size: .87rem; font-weight: 700; }
.nav a:hover, .footer a:hover { color: var(--bright); }
.nav-contact { display: flex; gap: 15px; align-items: center; border: 1px solid #575253; padding: 8px 15px; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(710px, 84svh); color: var(--white); background: #121012; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: center 44%; }
.hero-shade { background: linear-gradient(90deg, #111012 2%, rgba(17,16,18,.94) 21%, rgba(17,16,18,.66) 42%, transparent 72%), linear-gradient(0deg, #11101270, transparent 32%); }
.hero-inner { padding-block: 78px 86px; }
.hero-label, .eyebrow, .program-kind, .project-type { font-size: .69rem; font-weight: 800; letter-spacing: .19em; line-height: 1.35; }
.hero-label { display: flex; align-items: center; gap: 12px; color: #f1e8e7; }
.hero-rule { flex: 0 0 26px; height: 2px; background: var(--bright); }
.hero h1 { margin-top: 24px; font-size: clamp(4.2rem, 10vw, 9rem); letter-spacing: -.104em; line-height: .83; }
.hero h1 em { color: var(--bright); font-style: italic; padding-right: .08em; }
.hero-description { margin-top: 30px; color: #ebe4e3; font-size: clamp(1rem, 1.65vw, 1.25rem); max-width: 370px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; width: max-content; max-width: 100%; min-height: 48px; padding: 10px 17px; font-size: .87rem; font-weight: 800; border: 1px solid transparent; transition: background-color .18s ease, color .18s ease; }
.button > [aria-hidden="true"] { font-size: 1.12rem; }
.button-red { color: white; background: var(--red); }
.button-red:hover { background: #a10d22; }
.button-outline { border-color: #817979; }
.button-outline:hover { background: var(--white); color: var(--ink); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--ink); color: var(--white); border-color: var(--white); }
.brand, .programs { padding-block: clamp(48px, 6.5vw, 88px); }
.brand { background: #e3e0d9; }
.brand-inner, .programs-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: clamp(24px, 7vw, 110px); }
.brand-inner { align-items: center; row-gap: 24px; }
.programs-heading { row-gap: 12px; }
.eyebrow { color: var(--red); margin-bottom: 14px; }
.red { color: var(--red); }
.brand-text { color: var(--muted); max-width: 530px; }
.lead { font-weight: 700; color: var(--ink); font-size: clamp(1.12rem, 1.8vw, 1.4rem); line-height: 1.4; }
.text-link { display: inline-flex; align-items: baseline; gap: 11px; margin-top: 20px; font-size: .88rem; font-weight: 800; color: var(--ink); }
.text-link:hover { color: var(--red); }
.flagship { color: var(--white); background: var(--red); }
.flagship-inner { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; }
.flagship-image { align-self: stretch; min-height: clamp(350px, 35vw, 470px); position: relative; }
.flagship-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.flagship-content { padding: clamp(32px, 4vw, 56px) 0 clamp(32px, 4vw, 56px) clamp(35px, 6vw, 94px); }
.flagship .lead, .partnership .eyebrow { color: var(--white); }
.flagship h2 { width: min(100%, 365px); margin-bottom: 18px; }
.flagship .button { margin-top: 22px; }
.programs-heading > p { align-self: end; color: var(--muted); max-width: 360px; margin-top: 0; }
.program-list { margin-top: 42px; border-top: 1px solid #c8c4bd; }
.program, .program-info { border-bottom: 1px solid #c8c4bd; }
.program { display: grid; grid-template-columns: minmax(125px,.63fr) minmax(0,1.24fr) minmax(0,1.45fr) 36px; align-items: center; gap: 19px; min-height: 92px; padding: 15px 9px; }
.program:hover, .program-detail[open] summary { background: #ece9e2; }
.program p, .program-description { color: var(--muted); font-size: .93rem; margin: 0; }
.program-kind, .project-type { color: var(--red); }
.program-arrow { color: var(--red); text-align: center; font-size: 1.45rem; }
.program-detail summary { list-style: none; cursor: pointer; }
.program-detail summary::-webkit-details-marker { display: none; }
.program-detail .program-arrow::before { content: "+"; }
.program-detail[open] .program-arrow::before { content: "−"; }
.program-info { padding: 0 9px 16px; }
.program-info .text-link { margin-top: 13px; }
.community { background: #eae7df; padding-block: clamp(38px, 5.2vw, 75px); }
.community h2 { max-width: 800px; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.community-grid article { border-top: 3px solid var(--red); background: var(--paper); padding: clamp(18px, 2.6vw, 34px); }
.community-grid h3 { margin: 12px 0; }
.community-grid p:not(.project-type) { color: var(--muted); max-width: 420px; }
.partnership { background: var(--red); color: var(--white); padding-block: clamp(50px, 6vw, 87px); }
.partnership-inner { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.partnership p:not(.eyebrow) { max-width: 560px; margin-top: 15px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 124px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links { color: #d9d0d0; font-size: .82rem; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 66px); }
  .hero-image { object-position: 59% center; }
}
@media (max-width: 660px) {
  .shell { width: calc(100% - 40px); }
  html { scroll-padding-block-start: var(--header-offset, 138px); }
  .header-inner { min-height: 0; display: grid; justify-content: stretch; gap: 6px; padding-block: 13px 8px; }
  .nav { flex-wrap: wrap; gap: 0 12px; padding-top: 4px; font-size: .78rem; }
  .nav a { padding-block: 8px; }
  .nav .nav-contact { border: 0; padding-inline: 0; gap: 4px; }
  .hero { min-height: 600px; align-items: end; }
  .hero-image { object-position: 71% 32%; }
  .hero-shade { background: linear-gradient(0deg, #111012 2%, #111012ea 19%, #111012a0 46%, #11101212 83%), linear-gradient(90deg, #11101255, transparent); }
  .hero-inner { padding-block: 190px 47px; }
  .hero h1 { font-size: clamp(3.15rem, 13vw, 5.4rem); margin-top: 17px; }
  .hero-description { margin-top: 20px; }
  .actions { margin-top: 20px; }
  .button { gap: 12px; padding-inline: 12px; }
  .brand-inner, .flagship-inner, .community-grid { grid-template-columns: 1fr; }
  .programs-heading { grid-template-columns: minmax(0, 1fr); }
  .flagship .shell { width: 100%; }
  .flagship-image { min-height: 0; aspect-ratio: 1.2; }
  .flagship-content { padding: 27px 20px 34px; }
  .program-list { margin-top: 25px; }
  .program { grid-template-columns: minmax(0, 1fr) 25px; gap: 5px 11px; padding: 16px 3px; }
  .program h3, .program-kind, .program p, .program-description { grid-column: 1; }
  .program-arrow { grid-area: 2 / 2; }
  .community-grid { margin-top: 24px; }
  .partnership-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { padding-block: 33px; gap: 20px; }
  .footer-links { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.brand-name { white-space: nowrap; }
.brand-name sub {
  position: relative;
  bottom: -.16em;
  margin-inline-start: -.12em;
  font: 800 .62em/0 var(--body);
  letter-spacing: .02em;
  vertical-align: baseline;
}
.architecture { padding-block: clamp(34px, 5vw, 64px) clamp(42px, 5.4vw, 72px); }
.architecture h2 { margin-bottom: clamp(23px, 3.6vw, 40px); }
.architecture-map { max-width: 1080px; }
.architecture-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 38px minmax(0, 1fr);
  align-items: center;
}
.architecture-brand, .architecture-operator { padding: clamp(18px, 3vw, 32px); }
.architecture-brand { color: var(--white); background: var(--ink); text-align: center; }
.architecture-brand img { width: min(100%, 240px); margin-inline: auto; }
.architecture-brand p, .architecture-operator p { margin-top: 8px; }
.architecture-operator { background: #eae7df; }
.architecture-operator a { display: inline-flex; align-items: baseline; gap: 9px; }
.architecture-operator a:hover { color: var(--red); }
.architecture-connector { height: 2px; background: var(--red); }
.architecture-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 34px;
}
.architecture-branches::before {
  content: "";
  position: absolute;
  left: calc((100% - 28px) / 6);
  top: 0;
  width: calc(100% - (100% - 28px) / 3);
  height: 17px;
  border-bottom: 2px solid var(--red);
  background: linear-gradient(var(--red), var(--red)) center top / 2px 100% no-repeat;
}
.architecture-branch { position: relative; padding: 20px; border-top: 2px solid var(--red); background: var(--white); }
.architecture-branch::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 19px;
  background: var(--red);
  left: calc(50% - 1px);
  top: -20px;
}
.architecture-branch h3 { font-size: clamp(1.08rem, 2vw, 1.42rem); }
.architecture-branch ul, .directory-list { list-style: none; margin: 0; padding: 0; }
.architecture-branch li { margin-top: 9px; }
.architecture-branch p, .architecture-related p { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.architecture-branch a, .architecture-related a { display: inline-flex; align-items: baseline; gap: 9px; font-weight: 700; }
.architecture-branch a:hover, .architecture-related a:hover { color: var(--red); }
.architecture-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #c8c4bd;
}
.arrow-up {
  position: relative;
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  color: inherit;
}
.arrow-up::before, .arrow-up::after { content: ""; position: absolute; }
.arrow-up::before { inset: 0 0 auto auto; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow-up::after { right: 1px; top: 1px; width: 11px; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: right; }
.architecture-map .arrow-up, .directory .arrow-up { color: var(--red); }

.directory { background: #efede7; padding-block: clamp(38px, 5.5vw, 76px); }
.directory h2 { margin-bottom: 14px; }
.directory-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.directory-nav a { padding: 7px 13px; border: 1px solid #c4bfb6; font-size: .85rem; font-weight: 800; }
.directory-nav a:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.directory-group { margin-top: clamp(24px, 3.5vw, 43px); scroll-margin-top: 18px; }
.directory-group > h3 { margin-bottom: 14px; padding-left: 11px; border-left: 3px solid var(--red); font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.directory-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.directory-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(17px, 2.25vw, 27px);
  background: var(--white);
  border: 1px solid #dbd6cc;
  scroll-margin-top: 20px;
}
.directory-list li:target, .directory-list li:focus-within { border-color: var(--red); }
.directory-list h4 { margin: 0; font: 900 clamp(1.08rem, 1.9vw, 1.46rem)/1.15 var(--display); letter-spacing: -.04em; }
.directory-list p { color: var(--muted); font-size: .93rem; }
.directory-list .text-link { margin-top: auto; padding-top: 7px; }
.directory-access { color: var(--muted); font-size: .76rem; }

.partnership-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 6vw, 80px); }
.partnership-cta { margin-top: 25px; }
.contact-form { background: var(--white); color: var(--ink); padding: clamp(19px, 3.5vw, 38px); scroll-margin-top: 20px; }
.contact-form h3 { margin-bottom: 20px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-fields label { display: grid; align-content: start; gap: 5px; font-size: .86rem; font-weight: 700; }
.contact-fields input, .contact-fields select, .contact-fields textarea {
  width: 100%;
  min-height: 43px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #aca79f;
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.contact-fields textarea { resize: vertical; }
.contact-wide { grid-column: 1 / -1; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-consent { display: flex; align-items: start; gap: 8px; margin-block: 15px; font-size: .85rem; }
.contact-consent input { margin: .23em 0 0; accent-color: var(--red); }
.contact-form .button { cursor: pointer; }
.contact-form .button:disabled { opacity: .7; cursor: wait; }
.contact-form p.contact-note, .contact-form p.contact-status { font-size: .84rem; color: var(--muted); margin-top: 10px; }
.contact-status:empty, .contact-whatsapp[hidden] { display: none; }

@media (max-width: 900px) {
  :where(#directorio-desarrollo, #directorio-operacion) .directory-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partnership-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 660px) {
  .architecture-top, .architecture-branches, .architecture-related, .directory-list { grid-template-columns: minmax(0, 1fr); }
  .architecture-connector { height: 16px; width: 2px; margin-inline: 18px; }
  .architecture-branches { margin-top: 14px; padding: 0 0 0 14px; border-left: 2px solid var(--red); }
  .architecture-branches::before, .architecture-branch::before { display: none; }
  .architecture-branch { padding: 16px; }
}

@media (max-width: 460px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
}

.flagship-image img { object-position: 50% 55%; }
.architecture-related { padding: 0; border: 0; gap: 14px; }
.architecture-related > div { padding: 18px 20px; background: var(--red); color: var(--white); }
.architecture-related p, .architecture-map .architecture-related .arrow-up { color: inherit; }
.architecture-related a:hover { color: inherit; text-decoration: underline; }
.directory-intro { max-width: 620px; margin-bottom: 17px; color: var(--muted); }
.talent-panel { background: #efede7; padding: 12px; }
.talent-panel .contact-form { max-width: 820px; }

.flagship .flagship-label { color: var(--white); margin-bottom: 9px; }
.flagship-next { font-weight: 800; margin-top: 18px; }
.flagship-more { color: var(--ink); background: #eae7df; padding-block: clamp(26px, 4vw, 48px); }
.flagship-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.flagship-stats > div { display: flex; flex-direction: column-reverse; gap: 5px; border-top: 3px solid var(--red); padding: clamp(12px, 2.25vw, 24px); background: var(--white); }
.flagship-stats dt { font-size: clamp(.78rem, 1.3vw, 1rem); font-weight: 800; line-height: 1.25; }
.flagship-stats dd { margin: 0; color: var(--red); font: 900 clamp(1.95rem, 4.5vw, 3.65rem)/1 var(--display); }
.flagship-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 4vw, 56px); margin-top: 24px; }
.flagship-features p { color: var(--muted); margin-top: 8px; }
@media (max-width: 660px) {
  .flagship .flagship-more .shell { width: calc(100% - 40px); }
  .flagship-stats { gap: 7px; }
  .flagship-stats > div { padding: 10px 8px; }
  .flagship-features { grid-template-columns: minmax(0, 1fr); }
}
