*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #263022;
  background: #f3f1ec;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

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

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

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.section-light {
  background: #f3f1ec;
}

.section-dark {
  color: #ffffff;
  background: #1b3618;
}

.section-kicker {
  margin: 0 0 12px;
  color: #7fb15b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  width: 100%;
  color: #ffffff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.48), transparent);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  min-height: 92px;
  padding: 0 5vw;
}

.brand {
  width: 175px;
  flex-shrink: 0;
}
.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-menu a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 240ms ease;
}
.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: #7fb15b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}
.nav-menu a:hover, .nav-menu a.active {
  color: #a8cb81;
}
.nav-menu a:hover::after, .nav-menu a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 0;
  padding: 8px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #ffffff;
  background: #1b3618;
}
.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 35%, rgba(27, 54, 24, 0.94) 65%, #1b3618 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 40%);
}

.about,
.portfolio,
.services,
.experience,
.contact,
.footer {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 58%;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100svh;
  padding-top: 100px;
  padding-left: 42%;
  padding-right: 5%;
  padding-bottom: 70px;
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 20px;
  color: #a8cb81;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.hero-role {
  margin-top: 18px;
  color: #7fb15b;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.accent-line {
  width: 44px;
  height: 3px;
  margin: 30px 0 22px;
  background: #a8cb81;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 240ms ease, background 240ms ease, color 240ms ease, border-color 240ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 1.1rem;
}
.button--filled {
  color: #1b3618;
  background: #a8cb81;
}
.button--filled:hover {
  background: #ffffff;
}
.button--outline {
  color: #ffffff;
  border-color: rgba(168, 203, 129, 0.8);
  background: transparent;
}
.button--outline:hover {
  color: #1b3618;
  background: #a8cb81;
  border-color: #a8cb81;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
}
.hero-scroll span {
  margin-left: 8px;
  color: #a8cb81;
}

.about {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  background: #f3f1ec;
  box-shadow: 0 -25px 50px rgba(0, 0, 0, 0.3);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}

.about-copy p:not(.section-kicker) {
  max-width: 520px;
  color: #697064;
  font-size: 0.92rem;
}
.about-copy h2 {
  color: #1b3618;
}

.about-actions {
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #1b3618;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.text-link span {
  color: #4e9c3c;
  transition: transform 240ms ease;
}
.text-link:hover span {
  transform: translate(4px, -4px);
}

.about-gallery {
  position: relative;
}

.about-carousel {
  position: relative;
  width: 100%;
}

.about-carousel__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1b3618;
}

.about-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 700ms ease, transform 1200ms ease, visibility 700ms ease;
}
.about-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.about-slide img {
  width: 100%;
  height: 117%;
  object-fit: cover;
}

/* Flechas */
.about-carousel__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(27, 54, 24, 0.15);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transform: translateY(-50%);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}
.about-carousel__arrow:hover {
  color: #1b3618;
  border-color: #a8cb81;
  background: #a8cb81;
}
.about-carousel__arrow:focus-visible {
  outline: 2px solid #a8cb81;
  outline-offset: 4px;
}
.about-carousel__arrow--prev {
  left: 20px;
}
.about-carousel__arrow--next {
  right: 20px;
}

/* Parte inferior */
.about-carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px 0;
}

.about-carousel__counter {
  display: flex;
  gap: 7px;
  color: rgba(27, 54, 24, 0.3);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.about-carousel__counter .current-about-slide {
  color: #4e9c3c;
}

.about-carousel__dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.about-carousel__dots button {
  width: 22px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(27, 54, 24, 0.18);
  cursor: pointer;
  transition: width 240ms ease, background 240ms ease;
}
.about-carousel__dots button.is-active {
  width: 42px;
  background: #4e9c3c;
}
.about-carousel__dots button:focus-visible {
  outline: 2px solid #4e9c3c;
  outline-offset: 4px;
}

.gallery-caption {
  margin-top: 14px;
  color: #4e612f;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.gallery-caption {
  grid-column: 1/-1;
  margin-top: 10px;
  color: #4e612f;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.portfolio {
  padding: 110px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 50px;
}
.section-heading h2 {
  margin-bottom: 16px;
}
.section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}
.section-heading--center {
  max-width: 650px;
  margin-inline: auto;
  text-align: center;
}
.section-heading--center > p:last-child {
  color: #697064;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.portfolio-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #132313;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 600ms ease;
}
.portfolio-card--tall {
  min-height: 540px;
}
.portfolio-card--tall img {
  min-height: 540px;
}
.portfolio-card::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
.portfolio-card:hover img {
  transform: scale(1.045);
}

.portfolio-overlay {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
}
.portfolio-overlay span {
  color: #a8cb81;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.portfolio-overlay h3 {
  margin: 6px 0 0;
  font-size: 1.6rem;
  line-height: 1;
}
.portfolio-overlay p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.portfolio-cta {
  margin-top: 38px;
  text-align: center;
}

.services {
  padding: 110px 0 120px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  margin-top: 65px;
}

.service {
  text-align: center;
}
.service .service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 22px;
}
.service .service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #4e612f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 {
  margin-bottom: 8px;
  color: #1b3618;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service p {
  max-width: 230px;
  margin: auto;
  color: #697064;
  font-size: 0.8rem;
}

.experience {
  padding: 110px 0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.experience h2 {
  max-width: 550px;
}

.timeline {
  display: grid;
  gap: 0;
}
.timeline article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 26px;
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.timeline article:last-child {
  margin-bottom: 0;
}
.timeline .timeline-year {
  color: #a8cb81;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.timeline h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #ffffff;
  background: #1b3618;
}

.contact-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 54, 24, 0.96), rgba(27, 54, 24, 0.83)), url("../images/hero-darwin.jpg") center 40%/cover no-repeat;
  opacity: 0.95;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 580px;
  margin-bottom: 20px;
}
.contact-copy > p:not(.section-kicker) {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.7);
}
.contact-copy .button {
  margin-top: 18px;
}

.contact-details {
  display: grid;
  gap: 0;
}
.contact-details > * {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}
.contact-details a:hover {
  color: #a8cb81;
}

.contact-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #a8cb81;
  font-size: 1.1rem;
}

.footer {
  color: rgba(255, 255, 255, 0.55);
  background: #102010;
  font-size: 0.7rem;
}
.footer .footer-inner {
  display: grid;
  grid-template-columns: 160px 1fr 42px;
  gap: 30px;
  align-items: center;
  min-height: 100px;
}
.footer img {
  width: 150px;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
}
.footer p {
  margin: 0;
  text-align: center;
}

.back-top {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1rem;
  transition: background 240ms ease, color 240ms ease;
}
.back-top:hover {
  color: #1b3618;
  background: #a8cb81;
}

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 82px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 220px;
    padding: 22px;
    background: rgba(27, 54, 24, 0.97);
  }
  .nav-menu.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    height: auto;
    min-height: 850px;
  }
  .hero-media {
    width: 100%;
    opacity: 0.52;
  }
  .hero-media img {
    object-position: 48% top;
    object-fit: cover;
  }
  .hero::after {
    background: linear-gradient(90deg, rgba(27, 54, 24, 0.5), rgba(27, 54, 24, 0.94));
  }
  .hero-content {
    min-height: 850px;
    padding: 120px 24px 70px;
  }
  .about-grid,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .about-gallery {
    max-width: 800px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 55px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-card--tall {
    grid-column: 1/-1;
  }
}
@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 1180px);
  }
  .site-header .nav {
    min-height: 78px;
  }
  .brand {
    width: 132px;
  }
  .hero {
    min-height: 780px;
  }
  .hero-content {
    min-height: 850px;
    padding: 120px 24px 70px;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero-role {
    letter-spacing: 0.25em;
  }
  .about,
  .portfolio,
  .services,
  .experience {
    padding: 80px 0;
  }
  .about-grid {
    gap: 50px;
  }
  .about-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .about-image--large {
    grid-column: 1/-1;
    transform: none;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-card,
  .portfolio-card--tall,
  .portfolio-card img,
  .portfolio-card--tall img {
    min-height: 430px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .experience-grid {
    gap: 45px;
  }
  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact {
    padding: 80px 0;
  }
  .footer .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 25px 0;
  }
  .footer p {
    order: 3;
  }
}

/*# sourceMappingURL=main.css.map */
