
:root {
  --forest: #102b21;
  --forest-deep: #091d16;
  --olive: #626d44;
  --cream: #f3ecde;
  --paper: #fbf7ef;
  --gold: #c8954d;
  --ink: #243027;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.hero {
  --hero-y: 0px;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
  background: var(--forest-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -8% -3%;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6, 24, 17, .82) 0%, rgba(9, 29, 22, .48) 47%, rgba(9, 29, 22, .12) 75%),
    linear-gradient(0deg, rgba(7, 23, 17, .7), transparent 45%),
    url("assets/el-comienzo-story.png") center 32% / cover no-repeat;
  transform: translate3d(0, var(--hero-y), 0) scale(1.04);
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.3) 0 1px, transparent 1.5px);
  background-size: 7px 7px, 11px 11px;
}

.nav {
  position: relative;
  z-index: 2;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(243, 236, 222, .28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 24px/1 var(--serif);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}

.navLinks {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: .08em;
}

.navLinks a,
.navCta,
.textLink {
  transition: opacity .2s ease;
}

.navLinks a {
  position: relative;
  padding-block: 12px;
}

.navLinks a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.2,.65,.2,1);
}

.navLinks a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navLinks a:hover,
.navCta:hover,
.textLink:hover {
  opacity: .68;
}

.navCta {
  padding: 13px 20px;
  border: 1px solid rgba(243, 236, 222, .7);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.heroContent {
  position: relative;
  z-index: 1;
  padding-top: clamp(110px, 16vh, 180px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity .85s ease var(--delay, 0ms),
    transform .85s cubic-bezier(.2,.65,.2,1) var(--delay, 0ms);
}

[data-reveal].isVisible {
  opacity: 1;
  transform: translateY(0);
}

.heroContent[data-reveal] {
  transform: translateY(28px);
}

.heroContent[data-reveal].isVisible {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold);
}

h1, h2, h3, blockquote {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(70px, 9vw, 132px);
  line-height: .82;
  letter-spacing: -.055em;
}

h1 em, h2 em {
  color: var(--gold);
  font-weight: 400;
}

.heroLead {
  max-width: 500px;
  margin: 36px 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 230px;
  padding: 17px 20px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}

.buttonLight:hover {
  background: var(--cream);
  color: var(--forest);
}

.scrollHint {
  position: absolute;
  z-index: 1;
  right: 5vw;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(243, 236, 222, .8);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.scrollHint i {
  width: 65px;
  height: 1px;
  background: currentColor;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-block: 150px;
}

.leafMark {
  display: block;
  color: var(--gold);
  font: 48px/1 var(--serif);
}

.introCopy h2,
.sectionHead h2,
.placeCopy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.introCopy > p {
  max-width: 600px;
  margin: 38px 0 0;
  font: 19px/1.8 var(--serif);
  color: #5b625c;
}

.experiences {
  padding: 130px 0;
  color: var(--cream);
  background: var(--forest);
}

.sectionHead {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 75px;
}

.sectionHead > p {
  margin: 0 0 5px;
  color: #b8b9a9;
  font: 17px/1.7 var(--serif);
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(243, 236, 222, .2);
}

.serviceCard {
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(243, 236, 222, .2);
  transform: translateY(20px);
  opacity: 0;
  transition:
    background .35s ease,
    opacity .75s ease var(--delay, 0ms),
    transform .75s cubic-bezier(.2,.65,.2,1) var(--delay, 0ms);
}

.serviceGrid.isVisible .serviceCard {
  opacity: 1;
  transform: translateY(0);
}

.serviceCard:last-child {
  border-right: 0;
}

.serviceCard.featured {
  color: var(--forest);
  background: var(--gold);
}

.serviceNumber {
  font: italic 16px/1 var(--serif);
}

.serviceCard h3 {
  margin: 0 0 16px;
  font-size: 34px;
}

.serviceCard p {
  max-width: 280px;
  margin: 0;
  color: #b8b9a9;
  line-height: 1.65;
}

.serviceCard.featured p {
  color: rgba(16, 43, 33, .76);
}

.place {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

.placeImage {
  min-height: 650px;
  background: url("assets/el-comienzo-story.png") center 17% / cover no-repeat;
}

.placeCopy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(40px, 7vw, 120px);
  background: var(--cream);
}

.placeCopy > p:not(.eyebrow) {
  margin: 34px 0;
  color: #62675f;
  font: 18px/1.75 var(--serif);
}

.textLink {
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.textLink span {
  margin-left: 24px;
}

.quote {
  padding: 130px 30px;
  text-align: center;
}

.servicesDetail {
  padding: 130px 0;
  background: var(--paper);
}

.servicesIntro {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 72px;
}

.servicesIntro h2,
.galleryHead h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.servicesIntro > p,
.galleryHead > p {
  margin: 0 0 6px;
  color: #62675f;
  font: 17px/1.7 var(--serif);
}

.detailGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #c9c5b9;
}

.detailGrid article {
  min-height: 280px;
  padding: 30px 26px;
  border-right: 1px solid #d8d3c7;
}

.detailGrid article:last-child {
  border-right: 0;
}

.detailGrid span {
  color: var(--gold);
  font: italic 15px/1 var(--serif);
}

.detailGrid h3 {
  margin: 86px 0 14px;
  color: var(--forest);
  font-size: 28px;
}

.detailGrid p {
  margin: 0;
  color: #6e736c;
  font-size: 14px;
  line-height: 1.7;
}

.gallery {
  padding: 130px 0 110px;
  color: var(--cream);
  background: var(--forest);
}

.galleryHead {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.galleryHead > p {
  color: #b8b9a9;
}

.galleryGrid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 330px 330px;
  gap: 16px;
}

.galleryItem {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.galleryItem img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.65,.2,1);
}

.galleryItem:hover img {
  transform: scale(1.035);
}

.galleryItem::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 20, 14, .72));
}

.galleryMain {
  grid-row: 1 / 3;
}

.galleryMain img {
  object-position: center 14%;
}

.galleryTall {
  display: none;
}

.galleryItem figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 20px;
  font: italic 22px/1 var(--serif);
}

.galleryNote {
  margin: 18px 0 0;
  color: #7f8d84;
  font-size: 10px;
  letter-spacing: .04em;
}

.quote blockquote {
  margin: 28px 0 0;
  color: var(--forest);
  font-size: clamp(34px, 4.5vw, 66px);
  line-height: 1.2;
}

.contact {
  padding: 120px 0;
  color: var(--cream);
  background: var(--forest-deep);
}

.contactInner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: end;
  gap: 100px;
}

.contactCopy > p {
  margin: 0 0 30px;
  color: #b8b9a9;
  font: 17px/1.7 var(--serif);
}

.contactDetails {
  margin: 0 0 32px;
  border-top: 1px solid rgba(243, 236, 222, .18);
}

.contactDetails a {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 236, 222, .18);
  transition: color .2s ease;
}

.contactDetails a:hover {
  color: var(--gold);
}

.contactDetails span {
  color: #79847d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contactDetails strong {
  font: 16px/1.3 var(--serif);
  font-weight: 400;
}

.buttonGold {
  border-color: var(--gold);
  color: var(--forest);
  background: var(--gold);
}

.buttonGold:hover {
  color: var(--cream);
  background: transparent;
}

.contactCopy small {
  display: block;
  margin-top: 14px;
  color: #79847d;
  font-size: 11px;
}

footer {
  color: var(--cream);
  background: #061710;
}

.footerInner {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.socialLinks {
  display: flex;
  gap: 10px;
}

.socialLink {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 236, 222, .32);
  border-radius: 50%;
  color: var(--cream);
  cursor: default;
  transition: color .25s, border-color .25s, background .25s;
}

.socialLink:hover {
  color: var(--forest-deep);
  border-color: var(--gold);
  background: var(--gold);
}

.socialGlyph {
  position: relative;
  width: 17px;
  height: 17px;
  display: block;
  font-style: normal;
}

.instagramGlyph {
  border: 1.7px solid currentColor;
  border-radius: 5px;
}

.instagramGlyph::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  inset: 4px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.instagramGlyph::after {
  content: "";
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  top: 2px;
  right: 2px;
  border-radius: 50%;
  background: currentColor;
}

.mapGlyph {
  width: 14px;
  height: 17px;
  border: 1.7px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.mapGlyph::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  inset: 4px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}

.whatsappGlyph {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  transform: rotate(-20deg);
}

.whatsappGlyph::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 5px;
  height: 5px;
  border-left: 1.5px solid currentColor;
  transform: rotate(-25deg);
}

.footerInner p,
.footerInner > a:last-child {
  color: #8d978f;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footerBrand {
  font-size: 20px;
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 40px, 680px);
  }

  .nav {
    height: 84px;
  }

  .navLinks {
    display: none;
  }

  .navCta {
    padding: 11px 13px;
    font-size: 9px;
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    background-position: 62% 30%;
  }

  .heroContent {
    padding-top: 140px;
  }

  h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .heroLead {
    max-width: 330px;
    font-size: 17px;
  }

  .intro,
  .sectionHead,
  .servicesIntro,
  .galleryHead,
  .contactInner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .intro {
    padding-block: 90px;
  }

  .experiences {
    padding: 90px 0;
  }

  .sectionHead {
    margin-bottom: 50px;
  }

  .serviceGrid {
    grid-template-columns: 1fr;
  }

  .serviceCard {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 236, 222, .2);
  }

  .place {
    grid-template-columns: 1fr;
  }

  .placeImage {
    min-height: 480px;
  }

  .placeCopy {
    padding: 80px 30px;
  }

  .servicesDetail,
  .gallery {
    padding: 90px 0;
  }

  .detailGrid {
    grid-template-columns: 1fr 1fr;
  }

  .detailGrid article:nth-child(2) {
    border-right: 0;
  }

  .detailGrid article {
    min-height: 240px;
    border-bottom: 1px solid #d8d3c7;
  }

  .detailGrid h3 {
    margin-top: 56px;
  }

  .galleryGrid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 430px 260px;
  }

  .galleryMain {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .galleryTall {
    display: block;
  }

  .galleryGrid .galleryItem:last-child {
    display: none;
  }

  .quote {
    padding: 100px 24px;
  }

  .contact {
    padding: 90px 0;
  }

  .footerInner {
    padding-block: 40px;
    flex-direction: column;
    align-items: flex-start;
  }

  .socialLinks {
    order: 3;
  }
}

@media (max-width: 520px) {
  .detailGrid {
    grid-template-columns: 1fr;
  }

  .detailGrid article,
  .detailGrid article:nth-child(2) {
    min-height: 210px;
    border-right: 0;
  }

  .galleryGrid {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 280px 280px;
  }

  .galleryMain {
    grid-column: auto;
  }

  .galleryGrid .galleryItem:last-child {
    display: block;
  }
}

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

  [data-reveal],
  .heroContent[data-reveal],
  .serviceCard {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before {
    transform: none;
  }
}
