:root {
  --ivory: #f3ede3;
  --paper: #fffdf8;
  --ink: #10251d;
  --forest: #06704d;
  --forest-deep: #034833;
  --leaf: #76c064;
  --leaf-soft: #dcebd5;
  --line: #d7d0c5;
  --muted: #53665e;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 4px;
}

.site-header {
  width: min(100% - 64px, 1420px);
  height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 10;
}

.brand {
  width: 88px;
  height: 88px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 28px rgba(16, 37, 29, 0.08);
}

.brand img,
.footer-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
  font-size: 0.95rem;
  font-weight: 550;
}

.main-nav a,
.footer-links a,
.text-link {
  position: relative;
}

.main-nav a::after,
.footer-links a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--leaf);
  transition: right 180ms ease;
}

.main-nav a:hover::after,
.footer-links a:hover::after,
.text-link:hover::after {
  right: 0;
}

.main-nav .access-nav {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 750;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav .access-nav::after {
  display: none;
}

.main-nav .access-nav:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-2px);
}

.hero {
  width: min(100% - 64px, 1420px);
  min-height: calc(100vh - 108px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: stretch;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(70px, 8vh, 108px) clamp(36px, 5vw, 78px) 70px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 54px;
  height: 2px;
  display: inline-block;
  margin: 0 16px 4px 0;
  background: var(--leaf);
}

.eyebrow.light {
  color: #b9dfaa;
}

.hero h1,
.section-heading h2,
.compliance-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(4rem, 6.4vw, 6.35rem);
  line-height: 0.92;
}

.hero h1 em {
  color: var(--forest);
  font-weight: 500;
}

.hero-lead {
  max-width: 600px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.27rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--forest);
  color: white;
  box-shadow: 0 16px 34px rgba(6, 112, 77, 0.18);
}

.button-primary:hover {
  background: var(--forest-deep);
}

.text-link {
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 54px 0 0;
  padding: 0;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.hero-points li:not(:first-child)::before {
  content: "Â·";
  margin-right: 24px;
  color: var(--leaf);
}

.hero-visual {
  min-height: 740px;
  position: relative;
  overflow: hidden;
  border-radius: 240px 0 0 0;
  background: var(--leaf-soft);
}

.hero-visual > img {
  object-fit: cover;
  object-position: center;
  animation: image-reveal 900ms ease-out both;
}

.hero-stamp {
  width: 142px;
  height: 142px;
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest);
  text-align: center;
  box-shadow: 0 14px 36px rgba(16, 37, 29, 0.2);
}

.hero-stamp strong {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 0.8;
}

.hero-stamp span {
  width: 88px;
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.material-strip {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 52px);
  padding: 22px 32px;
  background: var(--forest);
  color: white;
}

.material-strip p {
  color: #acd89c;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.material-strip span {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
}

.material-strip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}

.section {
  padding: clamp(100px, 12vw, 168px) max(32px, calc((100vw - 1356px) / 2));
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading h2,
.compliance-intro h2,
.contact-copy h2 {
  max-width: 860px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 8vw;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-section {
  background: var(--paper);
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.material-card {
  min-height: 440px;
  padding: 42px 38px;
  position: relative;
  border-right: 1px solid var(--line);
  transition: background 220ms ease, transform 220ms ease;
}

.material-card:last-child {
  border-right: 0;
}

.material-card:hover {
  background: var(--ivory);
  transform: translateY(-6px);
}

.material-code {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 62px;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.material-card h3,
.process-grid h3,
.project-copy h3,
.compliance-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.material-card > p {
  margin: 18px 0 36px;
  color: var(--muted);
  line-height: 1.7;
}

.material-card > a {
  position: absolute;
  left: 38px;
  bottom: 42px;
  display: inline-flex;
  gap: 18px;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 750;
}

.process-section {
  background: var(--forest-deep);
  color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.process-grid article {
  min-height: 300px;
  padding: 38px;
  background: var(--forest-deep);
}

.process-grid article > span {
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.process-grid h3 {
  margin-top: 80px;
  font-size: 2.4rem;
}

.process-grid p {
  color: #bed0c9;
  line-height: 1.65;
}

.projects-section {
  background: var(--ivory);
}

.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: var(--paper);
}

.project-map {
  position: relative;
  overflow: hidden;
  background: var(--leaf-soft);
}

.project-map::before,
.project-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(6, 112, 77, 0.22);
  border-radius: 50%;
}

.project-map::before {
  width: 560px;
  height: 560px;
  left: -140px;
  top: -160px;
}

.project-map::after {
  width: 380px;
  height: 380px;
  right: -120px;
  bottom: -100px;
}

.project-map p {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(6, 112, 77, 0.12);
  font-family: var(--serif);
  font-size: 15rem;
}

.route {
  width: 110%;
  height: 180px;
  position: absolute;
  left: -5%;
  border: 3px solid var(--forest);
  border-color: var(--forest) transparent transparent var(--forest);
  border-radius: 50%;
  transform: rotate(-19deg);
}

.route-a {
  top: 34%;
}

.route-b {
  top: 58%;
  border-color: var(--leaf) transparent transparent var(--leaf);
  transform: rotate(24deg);
}

.map-dot {
  width: 18px;
  height: 18px;
  position: absolute;
  z-index: 2;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 1px var(--forest);
}

.dot-a { left: 24%; top: 38%; }
.dot-b { left: 62%; top: 54%; }
.dot-c { left: 74%; top: 26%; }

.map-label {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(16, 37, 29, 0.12);
}

.label-puente { left: 27%; top: 42%; }
.label-bernardo { left: 64%; top: 58%; }

.project-copy {
  padding: clamp(44px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-type {
  margin: 0 0 22px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy h3 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.project-locations {
  display: grid;
  gap: 18px;
  margin: 28px 0 38px;
}

.project-locations article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.project-locations article > span {
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 850;
}

.project-locations h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.project-locations p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.project-copy dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
}

.project-copy dl div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.project-copy dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.project-copy dd {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.compliance-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  background: var(--paper);
}

.compliance-intro > p:not(.eyebrow) {
  max-width: 580px;
  margin: 32px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.compliance-list {
  align-self: end;
}

.compliance-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.compliance-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.compliance-list > article > span {
  color: var(--leaf);
  font-weight: 800;
}

.compliance-list h3 {
  font-size: 1.65rem;
}

.compliance-list p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  background: var(--ivory);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-note {
  padding-left: 20px;
  border-left: 3px solid var(--leaf);
  font-size: 0.84rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--forest-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form label:nth-of-type(3),
.contact-form label:nth-of-type(4) {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #b9b3a9;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form input,
.contact-form select {
  height: 50px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px 0;
}

.contact-form .button {
  margin-top: 10px;
}

.contact-form > p {
  align-self: center;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

footer {
  min-height: 190px;
  padding: 42px max(32px, calc((100vw - 1356px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: #0c241b;
  color: white;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: white;
}

.footer-brand p,
.footer-legal {
  max-width: 260px;
  margin: 0;
  color: #b9c9c2;
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.8rem;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

@keyframes image-reveal {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 90px 1fr;
  }

  .main-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 52% 48%;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 7vw, 5rem);
  }

  .split-heading,
  .compliance-section,
  .contact-section {
    gap: 6vw;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 90px;
  }

  .site-header {
    width: min(100% - 36px, 1420px);
    height: 90px;
    grid-template-columns: 68px 1fr;
  }

  .brand {
    width: 64px;
    height: 64px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 70px 24px 58px;
  }

  .hero-visual {
    min-height: 560px;
    border-radius: 120px 0 0 0;
  }

  .material-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .material-strip > * {
    flex: 0 0 auto;
  }

  .split-heading,
  .compliance-section,
  .contact-section,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .split-heading {
    align-items: start;
    gap: 32px;
  }

  .material-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .material-card {
    min-height: 350px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .material-code {
    margin-bottom: 38px;
  }

  .process-grid h3 {
    margin-top: 52px;
  }

  .project-map {
    min-height: 460px;
  }

}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 16vw, 5rem);
  }

  .hero-actions,
  .hero-points {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-points li:not(:first-child)::before {
    margin-right: 10px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-stamp {
    width: 112px;
    height: 112px;
  }

  .hero-stamp strong {
    font-size: 2.2rem;
  }

  .section {
    padding: 90px 24px;
  }

  .section-heading h2,
  .compliance-intro h2,
  .contact-copy h2 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .project-copy {
    padding: 42px 26px;
  }

  .project-copy dl {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .contact-form label,
  .contact-form label:nth-of-type(3),
  .contact-form label:nth-of-type(4),
  .contact-form .button,
  .contact-form > p {
    grid-column: 1;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-legal {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Acceso usuarios visible en tablet y m¨®vil */
.mobile-user-access {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-user-access {
    display: inline-flex;
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 99999;

    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 13px 18px;
    border-radius: 999px;

    background: #007a3d;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  }

  .mobile-user-access:visited,
  .mobile-user-access:hover,
  .mobile-user-access:focus {
    color: #ffffff;
    text-decoration: none;
    background: #005f2f;
  }
}