:root {
  color-scheme: light;
  --paper: #f8f7ef;
  --ink: #112c3b;
  --quiet: #485d61;
  --green: #236459;
  --rule: #c9d2c9;
  --mint: #e6eee6;
  --light: #ddf2d7;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #b44915; outline-offset: 5px; }
::selection { background: #c6e8b8; color: var(--ink); }
.shell { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 5;
  top: .65rem;
  left: .75rem;
  padding: .5rem .9rem;
  transform: translateY(-175%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand langs" "nav nav"; align-items: center; gap: .35rem .5rem; padding-block: .6rem .25rem; }
.header-inner > .brand { grid-area: brand; justify-self: start; }
.header-inner .main-nav { grid-area: nav; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -.065em; line-height: 1.25; text-decoration: none; }
.lang-nav { grid-area: langs; display: flex; align-items: center; gap: .1rem; }
.lang-nav a { display: grid; justify-items: center; align-content: center; gap: .2rem; min-width: 2.15rem; min-height: 2.75rem; padding: .15rem; border-radius: .4rem; color: var(--quiet); font: 650 .68rem/1 var(--sans); text-decoration: none; }
.lang-nav img { width: 1.12rem; height: .84rem; border-radius: 2px; box-shadow: 0 0 0 1px #112c3b26; }
.lang-nav a[aria-current] { background: var(--mint); color: var(--ink); }
.lang-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.main-nav { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .1rem .6rem; font-size: .9rem; font-weight: 600; }
.main-nav a, .text-link, .back-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; text-decoration: none; }
.main-nav a:hover, .text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-contact { color: var(--green); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 2.6rem; padding-block: 2.65rem 3rem; }
#inicio { scroll-margin-top: 8rem; }
.hero-copy { min-width: 0; }
.eyebrow, .channel-label { font: 600 .73rem/1.4 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
.eyebrow { color: var(--green); }
.route, .section-label { display: flex; align-items: center; gap: .7rem; }
.route-line { position: relative; width: 2rem; height: 1px; background: currentColor; }
.route-line::after { content: ""; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
h1, h2 { font-weight: 600; letter-spacing: -.067em; }
h1 { margin-block: 1.05rem 1.25rem; font-size: clamp(2.55rem, 18vw - 1rem, 4.1rem); line-height: .99; }
h1 span, h1 em { display: block; }
h1 em, h2 em { color: var(--green); font-family: var(--serif); font-weight: 400; letter-spacing: -.067em; }
.hero-description, .intro-copy, .system-service p, .deliverables dd { color: var(--quiet); }
.hero-description { max-width: 31rem; font-size: 1.04rem; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.35rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 2.95rem; padding: .58rem 1.05rem; border: 1px solid var(--ink); border-radius: .2rem; background: var(--ink); color: white; font-size: .9rem; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--green); border-color: var(--green); }
.text-link, .back-link { font-size: .9rem; font-weight: 600; }
.text-link { text-decoration: underline; text-underline-offset: .28em; text-decoration-color: #889e93; }

.systems, .about { background: var(--mint); }
.systems, .management, .about, .contact { padding-block: 3.25rem; }
.section-label { margin-bottom: .85rem; }
.section-label::before { content: ""; width: 1.55rem; height: 2px; background: currentColor; }
h2 { font-size: clamp(2.35rem, 7.7vw, 3.9rem); line-height: 1.02; }
.title-dot { color: var(--green); }
.section-intro, .management, .about-inner, .contact-inner { display: grid; gap: 1.5rem; }
.intro-copy, .about-copy, .contact-copy > p:last-child { max-width: 36rem; font-size: 1.04rem; }
.system-services { margin-top: 2.1rem; border-top: 1px solid #aebfb3; }
.system-service { padding-block: 1.45rem; }
.system-service + .system-service { border-top: 1px solid #bccbbf; }
.system-service:last-child { padding-bottom: 0; }
.service-icon { display: block; width: 2.3rem; height: 2.3rem; margin-bottom: .8rem; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.system-service h3, .deliverables dt { font-size: 1.24rem; font-weight: 650; line-height: 1.25; letter-spacing: -.037em; }
.system-service p, .deliverables dd { margin-top: .55rem; line-height: 1.6; }
.management-intro .intro-copy { margin-top: 1.1rem; }
.deliverables { border-block: 1px solid var(--rule); }
.deliverables div { padding-block: 1.3rem; }
.deliverables div + div { border-top: 1px solid var(--rule); }
.about { background: #dce8dc; }
.about-copy { align-self: center; }
.about-copy p + p { margin-top: .95rem; color: #38544e; }
.contact { background: var(--ink); color: var(--paper); }
.contact .section-label, .contact h2 em { color: #c4e4b8; }
.contact-copy > p:last-child { margin-top: 1.15rem; color: #c9dbd8; }
.channels { display: grid; align-content: center; min-width: 0; font-style: normal; }
.channels > div { padding-block: 1rem; border-top: 1px solid #50706f; }
.channels > div:last-child { padding-bottom: 0; }
.channel-label { display: block; margin-bottom: .35rem; color: #bfdbcc; }
.channels a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--paper); font-weight: 500; line-height: 1.25; text-decoration: none; }
.channels a:hover { color: #c4e4b8; }
.email-link { gap: .45em; font-size: clamp(1.35rem, 5.9vw, 2.1rem); letter-spacing: -.045em; }
.phone-link { font-size: 1.16rem; }
.footer-inner { display: grid; gap: 1.25rem 2rem; padding-block: 1.65rem; }
.site-footer .brand { font-size: 1.05rem; }
.footer-brand, .legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.15rem; }
.footer-brand { justify-content: space-between; }
.legal-links a, .complaints-portal { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; color: var(--ink); font-size: .89rem; text-underline-offset: .25em; text-decoration-color: #99aaa1; }
.legal-links a:hover, .complaints-portal:hover { color: var(--green); text-decoration-color: currentColor; }
.complaints-portal { padding-top: .65rem; border-top: 1px solid var(--rule); font-weight: 650; }
.back-link { color: var(--green); }
.legal-article { max-width: 47rem; padding-block: clamp(2rem, 6vw, 5rem); }
.article-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; color: var(--green); text-decoration: none; font-size: .94rem; font-weight: 650; }
.article-back:hover { text-decoration: underline; }
.legal-article header { border-bottom: 1px solid var(--rule); padding-block: .85rem 1.6rem; }
.legal-article h1 { margin-block: .5rem 1.2rem; font-size: clamp(2.55rem, 6vw, 4.25rem); line-height: 1.05; overflow-wrap: break-word; }
.article-intro { color: var(--quiet); font-size: clamp(1.04rem, 2vw, 1.2rem); }
.legal-article section { margin-top: 2rem; }
.legal-article h2 { margin-bottom: .6rem; font-size: clamp(1.45rem, 3.5vw, 1.95rem); line-height: 1.15; letter-spacing: -.035em; }
.legal-article section p + p { margin-top: .6rem; }
.article-source { display: block; width: fit-content; padding-block: .36rem; color: var(--green); text-underline-offset: .22em; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--rule); }

@media (min-width: 40rem) {
  .shell { width: min(100% - 5rem, 76rem); }
  .header-inner { padding-block: .7rem; }
  .main-nav { width: auto; justify-content: flex-end; gap: 1.55rem; }
  .nav-contact { padding-inline: .95rem; border: 1px solid var(--ink); border-radius: .2rem; color: var(--ink); }
  .nav-contact:hover { background: var(--mint); }
  .hero { padding-block: 3.5rem; }
  .management, .about-inner, .contact-inner { grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: end; }
  .management { align-items: start; }
  .system-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .system-service, .system-service:last-child { margin-top: 1.6rem; padding: 0 1.2rem; }
  .system-service:first-child { padding-left: 0; }
  .system-service:last-child { padding-right: 0; }
  .system-service + .system-service { border-top: 0; border-left: 1px solid #bccbbf; }
}

@media (min-width: 46rem) {
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav langs"; gap: clamp(.8rem, 2.4vw, 2rem); }
  .header-inner .main-nav { gap: clamp(.85rem, 2vw, 1.8rem); }
  .lang-nav { border-left: 1px solid var(--rule); padding-left: clamp(.4rem, 1vw, 1rem); }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: start; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 0; }
  .legal-links { justify-content: center; }
  .complaints-portal { padding: 0; border: 0; }
}

@media (min-width: 44rem) and (max-width: 51.999rem) {
  .hero { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  h1 { font-size: 5.7vw; }
}

@media (min-width: 52rem) {
  .shell { width: min(100% - 6.5rem, 76rem); }
  .main-nav { gap: 2.25rem; }
  .hero { grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3.4rem, 5.25vw, 5.2rem); }
  h1 { font-size: clamp(3.55rem, 5.8vw, 5.3rem); }
  .hero-description { font-size: 1.05rem; }
  .systems, .management, .about, .contact { padding-block: clamp(4rem, 6vw, 6.25rem); }
  .section-intro, .management, .about-inner, .contact-inner { grid-template-columns: 1fr 1fr; gap: 9%; }
  .section-intro { align-items: end; }
  h2 { font-size: clamp(2.9rem, 5vw, 3.9rem); }
  .section-intro .intro-copy { max-width: 31rem; padding-bottom: .2rem; }
  .management-intro .intro-copy { max-width: 25rem; }
  .system-services { margin-top: 2.5rem; }
  .system-service, .system-service:last-child { margin-top: 1.8rem; padding-inline: 2rem; }
  .system-service:last-child { padding-right: 0; }
  .service-icon { margin-bottom: 1.1rem; }
  .system-service h3, .deliverables dt { font-size: 1.38rem; }
  .deliverables div { padding-block: 1.45rem; }
}

@media (min-width: 68rem) {
  .header-inner { padding-block: 1.1rem; }
  .brand { font-size: 1.45rem; }
  .hero-actions { margin-top: 1.8rem; gap: 1.7rem; }
  .intro-copy, .about-copy, .contact-copy > p:last-child { font-size: 1.13rem; }
  .system-service, .system-service:last-child { padding-inline: 2.4rem; }
  .system-service:last-child { padding-right: 0; }
  .footer-inner { padding-block: 1.4rem; }
}

@media (max-width: 22rem) {
  .site-header .shell { width: calc(100% - 1.25rem); }
}
