:root {
  --brand-green: #50ad3c;
  --brand-green-hover: #438f32;
  --brand-blue: #075a94;
  --navy: #173c58;
  --ink: #253743;
  --muted: #667781;
  --line: #e2e8eb;
  --surface: #f5f7f7;
  --white: #fff;
  --font: Inter, Arial, sans-serif;
  --font-display: "Manrope", Inter, Arial, sans-serif;
  --panel-radius: 8px;
  --panel-shadow: 0 14px 34px rgba(23,60,88,.07);
  --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(7,90,148,.32); outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; top: -60px; left: 16px; padding: 10px 14px; color: white; background: var(--navy); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; height: 82px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo { display: block; width: 190px; max-height: 48px; height: auto; object-fit: contain; object-position: left center; }
.main-nav { height: 100%; display: flex; align-items: center; gap: 35px; font-size: 13px; font-weight: 500; color: #405561; }
.main-nav a:not(.nav-cta) { transition: color .18s ease; }
.main-nav a:not(.nav-cta):hover, .main-nav a[aria-current="page"]:not(.nav-cta) { color: var(--brand-green-hover); }
.nav-cta { display: inline-flex; align-items: center; gap: 18px; padding: 11px 17px; color: white; background: var(--brand-green); border-radius: 4px; font-weight: 600; transition: background .18s ease, transform .18s ease; }
.nav-cta:hover { background: var(--brand-green-hover); }
.nav-cta span { font-size: 16px; line-height: 1; }
.menu-toggle { display: none; }
/* Home: una sola portada visual, con imagen de borde a borde. */
.home-page .hero-full { position: relative; display: flex; width: 100%; height: auto; min-height: 0; aspect-ratio: 5000 / 2216; overflow: hidden; background: #e8edef; }
.hero-picture { position: absolute; inset: 0; display: block; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 20%, rgba(255,255,255,.72) 30%, rgba(255,255,255,.34) 38%, rgba(255,255,255,.08) 45%, transparent 52%); }
.home-page .hero-inner { position: relative; z-index: 1; display: flex; align-items: center; width: min(var(--container), calc(100% - 64px)); height: 100%; min-height: 0; padding-top: 86px; padding-bottom: 46px; }
.home-page .hero-copy { width: min(590px, 55%); padding: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--brand-blue); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.eyebrow > span { display: block; width: 22px; height: 2px; background: var(--brand-green); }
.home-page .hero-copy h1 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: 60px; font-weight: 650; line-height: 1.02; letter-spacing: -.055em; }
.home-page .hero-copy h1 em { color: var(--brand-blue); font-style: normal; }
.hero-location { margin: 24px 0 5px; color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.walk-distance { display: flex; align-items: center; gap: 9px; max-width: 380px; margin: 0 0 25px; color: #50636e; font-size: 12px; line-height: 1.5; }
.walk-distance svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--brand-green-hover); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 18px; border: 0; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--brand-green); box-shadow: 0 5px 14px rgba(67,143,50,.14); }
.button-primary:hover { background: var(--brand-green-hover); }
.button-primary span { font-size: 16px; }
.home-page .hero-copy .button { min-width: 218px; }
.hero-note { margin: 13px 0 0; color: #61717a; font-size: 9px; }
.home-page .hero-bottom { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 14px 0 17px; border-top: 1px solid rgba(255,255,255,.65); color: rgba(255,255,255,.94); font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.brochure-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.65); border-radius: 3px; color: #fff; background: var(--brand-green); box-shadow: 0 6px 18px rgba(19,55,34,.2); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; cursor: not-allowed; opacity: 1; }
.brochure-cta small { display: block; margin-top: 2px; color: rgba(255,255,255,.86); font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.brochure-cta b { font-size: 17px; line-height: 1; }
/* Interior pages */
.inner-page { min-height: calc(100vh - 160px); }
.page-banner { position: relative; overflow: hidden; padding: 68px 0 65px; background: linear-gradient(135deg, #f7f9f9 0%, #f0f4f5 100%); }
.page-banner::after { display: none; }
.page-banner .container { position: relative; z-index: 1; }
.page-banner .eyebrow { margin-bottom: 19px; }
.breadcrumb { margin: 0 0 18px; color: #7a8991; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.breadcrumb span { padding: 0 8px; color: var(--brand-green); }
.page-banner h1 { max-width: 820px; margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(40px, 4.8vw, 62px); font-weight: 650; line-height: 1.08; letter-spacing: -.05em; }
.page-banner h1 em { color: var(--brand-blue); font-style: normal; }
.page-lede { max-width: 560px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.page-content { min-height: 330px; padding: 68px 0 90px; }
.project-empty { position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 27px; min-height: 210px; padding: 38px 5%; border: 1px solid #e4eaec; border-radius: var(--panel-radius); background: linear-gradient(120deg, #fff 0%, #fbfcfc 100%); box-shadow: var(--panel-shadow); }
.project-empty::before { position: absolute; top: 16px; bottom: 16px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-green); content: ""; }
.empty-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid #e2ecdf; border-radius: 15px; background: #f2f7f0; }
.empty-icon svg { width: 23px; height: 23px; fill: none; stroke: var(--brand-green-hover); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }

.empty-kicker { margin: 0 0 7px; color: var(--brand-green-hover); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.project-empty h2 { margin: 0 0 6px; color: var(--navy); font-family: var(--font-display); font-size: 21px; font-weight: 650; letter-spacing: -.035em; }
.project-empty p:not(.empty-kicker) { margin: 0; color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 5px; border-bottom: 1px solid var(--brand-green); color: var(--navy); font-size: 11px; font-weight: 600; white-space: nowrap; }
.text-link span { color: var(--brand-green-hover); font-size: 15px; }
.about-detail { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 10%; }
.about-brand-panel { display: flex; min-height: 250px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 36px; border: 1px solid #e7ecee; border-radius: var(--panel-radius); background: linear-gradient(145deg, #f7f9f9, #edf3f4); box-shadow: var(--panel-shadow); }
.about-brand-panel img { width: min(210px, 100%); height: auto; }
.brand-panel-rule { width: 38px; height: 2px; margin: 26px 0 12px; background: var(--brand-green); }
.about-brand-panel p { margin: 0; color: #586c77; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.about-detail h2 { max-width: 610px; margin: 0; color: var(--navy); font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 650; line-height: 1.1; letter-spacing: -.05em; }
.about-detail h2 em { color: var(--brand-blue); font-style: normal; }
.about-detail .about-lede { max-width: 570px; margin: 18px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.value-points-light { margin: 20px 0 24px; border-top: 1px solid var(--line); }
.value-points-light .value-point { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.value-points-light .point-number { padding-top: 3px; color: var(--brand-green-hover); font-size: 9px; font-weight: 700; }
.value-points-light .value-point h3 { margin: 0 0 3px; color: var(--navy); font-size: 13px; font-weight: 600; }
.value-points-light .value-point p { margin: 0; color: var(--muted); font-size: 11px; }
.about-button { min-width: 170px; }
.contact-detail { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 12%; }
.contact-aside { padding-top: 14px; color: var(--brand-blue); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.aside-line { display: block; width: 32px; height: 2px; margin-bottom: 10px; background: var(--brand-green); }
.contact-aside p { max-width: 310px; margin: 22px 0 0; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.8; }
.contact-form { width: 100%; max-width: 620px; padding: 34px 36px; border: 1px solid #e3e9eb; border-radius: var(--panel-radius); background: white; box-shadow: var(--panel-shadow); }
.contact-form label { display: block; margin: 0 0 7px; color: var(--navy); font-size: 12px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; margin: 0 0 19px; padding: 11px 13px; border: 1px solid #d9e1e5; border-radius: 4px; outline: 0; color: var(--ink); background: white; font-size: 13px; transition: border-color .18s ease, box-shadow .18s ease; }
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa7ad; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--brand-green); box-shadow: 0 0 0 2px rgba(80,173,60,.12); }
.contact-form .button { min-width: 180px; }
.form-note { margin: 10px 0 0; color: #77868e; font-size: 10px; line-height: 1.5; }
/* Footer */
.site-footer { background: #f5f7f7; color: var(--navy); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; border-bottom: 1px solid #dfe5e8; }
.footer-top > p { margin: 0; color: var(--muted); font-size: 11px; }
.back-top { color: var(--navy); font-size: 9px; font-weight: 600; letter-spacing: .1em; }
.back-top span { margin-left: 9px; color: var(--brand-green-hover); font-size: 15px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0 21px; color: #75848c; font-size: 9px; }
.footer-bottom > div { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--brand-green-hover); }
/* Dialog and reduced motion */
.notice-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--panel-radius); color: var(--ink); box-shadow: 0 18px 60px rgba(14,37,51,.18); }
.notice-dialog::backdrop { background: rgba(18,40,54,.42); }
.notice-dialog form { padding: 32px; }
.notice-dialog .eyebrow { margin-bottom: 14px; }
.notice-dialog h2 { margin: 0 0 10px; color: var(--navy); font-family: var(--font-display); font-size: 23px; font-weight: 650; line-height: 1.25; letter-spacing: -.03em; }
.notice-dialog p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.7; }
.notice-dialog code { padding: 2px 4px; background: var(--surface); font-size: 11px; }
.dialog-close { position: absolute; top: 9px; right: 14px; border: 0; color: #647680; background: none; font-size: 24px; cursor: pointer; }
.notice-dialog .button { margin-top: 8px; }
@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .main-nav { gap: 22px; }
  .home-page .hero-copy { width: min(560px, 62%); }

  .about-detail { gap: 7%; }
  .contact-detail { gap: 8%; }
}
@media (min-width: 701px) and (max-width: 1199px) {
  .home-page .hero-copy h1 { font-size: clamp(44px, 4.5vw, 54px); }
}
@media (min-width: 701px) and (max-width: 900px) {
  .home-page .hero-inner { align-items: center; padding-top: 24px; padding-bottom: 60px; }
  .home-page .hero-copy { width: min(340px, 52%); }
  .home-page .hero-copy h1 { font-size: clamp(38px, 4.5vw, 42px); }
  .home-page .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-location { margin-top: 12px; }
  .walk-distance { margin-bottom: 16px; }
  .hero-note { margin-top: 8px; }
  .home-page .hero-bottom { padding: 10px 0 12px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 72px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 72px; }
  body[data-page="inicio"] .site-header { height: 72px; }
  .brand-logo { width: 155px; max-height: 40px; }
  .menu-toggle { z-index: 22; display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; border: 1px solid var(--line); background: white; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--navy); transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { position: absolute; top: 71px; right: 0; left: 0; display: flex; height: auto; max-height: 0; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; padding: 0 20px; background: white; box-shadow: 0 12px 18px rgba(23,60,88,.08); transition: max-height .24s ease, padding .24s ease; }
  .main-nav.is-open { max-height: 320px; padding: 10px 20px 20px; }
  .main-nav a:not(.nav-cta) { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: space-between; margin-top: 13px; }
  .home-page .hero-full { height: auto; min-height: 0; aspect-ratio: auto; flex-direction: column; align-items: stretch; background: white; }
  .hero-picture { position: relative; inset: auto; order: 2; display: block; width: 100%; height: clamp(390px, 120vw, 520px); }
  .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero-shade { display: none; }
  .home-page .hero-inner { order: 1; align-items: flex-start; width: calc(100% - 40px); height: auto; margin: 0 auto; padding: 36px 0 28px; }
  .home-page .hero-copy { width: 100%; max-width: 440px; }
  .home-page .hero-copy h1 { font-size: clamp(36px, 9vw, 42px); }
  .home-page .hero-copy .eyebrow { margin-bottom: 12px; font-size: 9px; }
  .hero-location { margin-top: 16px; }
  .walk-distance { max-width: 300px; margin-bottom: 18px; font-size: 11px; }
  .home-page .hero-bottom { position: relative; inset: auto; order: 3; align-self: stretch; width: calc(100% - 40px); margin: 0 auto; align-items: center; gap: 10px; padding: 14px 0 18px; border-top: 1px solid var(--line); color: var(--navy); font-size: 8px; letter-spacing: .08em; }
  .brochure-cta { flex: none; min-height: 42px; gap: 12px; padding: 0 12px; font-size: 9px; }
  .page-banner { padding: 48px 0 50px; }

  .page-banner h1 { max-width: 92%; font-size: clamp(37px, 10vw, 46px); }
  .page-lede { max-width: 96%; margin-top: 14px; font-size: 13px; }
  .page-content { min-height: 260px; padding: 38px 0 58px; }
  .project-empty { grid-template-columns: 48px 1fr; gap: 15px; min-height: 210px; padding: 25px 20px; }
  .project-empty h2 { font-size: 17px; }
  .project-empty p:not(.empty-kicker) { font-size: 11px; }
  .project-empty .text-link { grid-column: 2; justify-self: start; margin-top: 2px; }
  .about-detail, .contact-detail { grid-template-columns: 1fr; gap: 29px; }
  .about-brand-panel { min-height: 180px; padding: 26px; }
  .about-brand-panel img { width: 175px; }
  .brand-panel-rule { margin: 17px 0 9px; }
  .about-detail h2 { font-size: 37px; }
  .about-detail .about-lede { font-size: 13px; }
  .contact-aside p { margin-top: 13px; }
  .contact-form { padding: 23px 19px; }
  .footer-top { flex-wrap: wrap; gap: 12px 16px; padding: 23px 0; }
  .footer-top > p { order: 3; width: 100%; }
  .footer-bottom { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .footer-bottom > span:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
  .footer-bottom > div { justify-content: flex-end; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* En escritorio, el texto queda claramente en el tercio izquierdo del render. */
@media (min-width: 901px) {
  .home-page .hero-inner {
    --hero-left-gap: clamp(32px, 7vw, 132px);
    width: calc(100% - var(--hero-left-gap) - 32px);
    max-width: none;
    margin-right: auto;
    margin-left: var(--hero-left-gap);
  }
  .home-page .hero-copy { width: min(590px, 45%); }
}

/* En monitores grandes, escala ligeramente la marca y el contenido principal. */
@media (min-width: 1600px) {
  :root { --container: 1360px; }
  .site-header { height: clamp(90px, 5.2vw, 104px); }
  .brand-logo { width: clamp(220px, 13vw, 270px); max-height: 60px; }
  .main-nav { gap: clamp(35px, 2.2vw, 52px); font-size: clamp(15px, .85vw, 17px); }
  .nav-cta { padding: 13px 20px; }
  .home-page .hero-copy { width: min(680px, 45%); }
  .home-page .hero-copy h1 { font-size: clamp(64px, 3.8vw, 78px); }
  .eyebrow { font-size: clamp(10px, .65vw, 12px); }
  .hero-location { font-size: clamp(11px, .65vw, 13px); }
  .walk-distance { max-width: 440px; font-size: clamp(13px, .8vw, 15px); }
  .home-page .hero-copy .button { min-width: 240px; min-height: 54px; font-size: 14px; }
  .hero-note, .home-page .hero-bottom { font-size: 10px; }
}


