@font-face {
  font-family: "Creato Display";
  src: url("assets/fonts/creato-display-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Creato Display";
  src: url("assets/fonts/creato-display-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Creato Display", Arial, sans-serif;
  background: #151515;
  color: #d0cec9;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; }
img { display: block; max-width: 100%; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 1128px);
  min-height: 600px;
  margin-inline: auto;
  background: url("assets/images/hero-background.svg") center bottom / 1128px 600px no-repeat;
  border-inline: 1px solid #252525;
  border-bottom: 1px solid #252525;
}

.hero__content {
  align-self: center;
  padding: 64px 24px 64px 84px;
}

.hero__headline {
  max-width: 456px;
  margin: 0 0 24px;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 400;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  padding: 8px 14px 8px 28px;
  border-radius: 100px;
  background: #292927;
  color: inherit;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.hero__button-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d7b593;
}

.hero__button-icon img { transition: transform 180ms ease; }
.hero__button:hover { background: #363633; }
.hero__button:hover img { transform: translateY(2px); }
.hero__button:focus-visible { outline: 2px solid #d7b593; outline-offset: 5px; }

.hero__media { display: block; min-width: 0; }
.hero__portrait {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
}

#links { scroll-margin-top: 24px; outline: none; }

.credentials {
  position: relative;
  max-width: 1128px;
  margin-inline: auto;
  border: 1px solid #252525;
  border-top: 0;
}
.credentials__viewport { overflow-x: auto; scrollbar-width: thin; }
.credentials.is-animated .credentials__viewport {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 clamp(24px, 6vw, 72px), #000 calc(100% - clamp(24px, 6vw, 72px)), transparent);
}
.credentials__track { display: flex; width: max-content; }
.credentials.is-animated .credentials__track { will-change: transform; }
.credentials__list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 28px 0;
  list-style: none;
}
.credentials__list li {
  flex-shrink: 0;
  padding: 0 32px;
  border-right: 1px solid #252525;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
}
.credentials__list strong { font-weight: 500; color: #9b938b; }

.about {
  display: grid;
  grid-template-columns: 456px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 1128px;
  margin-inline: auto;
  padding: 96px 72px;
  border: 1px solid #252525;
  border-top: 0;
}
.about__content { grid-column: 2; grid-row: 1; }
.about h2 {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 500;
}
.about p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}
.about p + p { margin-top: 24px; }
.about__portrait {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
}

.properties { max-width: 1128px; margin-inline: auto; border: 1px solid #252525; border-top: 0; }
.properties__header { display: grid; grid-template-columns: minmax(0, 1fr) 308px; min-height: 135px; border-bottom: 1px solid #252525; }
.properties h2 { align-self: center; margin: 0; padding: 32px 72px; font-size: 48px; line-height: 1.1; font-weight: 500; }
.properties__decoration { background: #d8d2c9 url("assets/images/property-decoration.svg") center / cover no-repeat; }
.properties__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 64px 72px; }
.property-card { display: flex; flex-direction: column; background: #636361; color: #fff; text-decoration: none; }
.property-card__image { width: 100%; height: auto; }
.property-card__content { position: relative; isolation: isolate; overflow: hidden; flex: 1; padding: 32px 40px; }
.property-card__content::before { content: ""; position: absolute; inset: -24px; z-index: -2; background: var(--card-image) center top / cover no-repeat; filter: blur(18px); }
.property-card__content::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(21 21 21 / 52%); }
.property-card:focus-visible { outline: 2px solid #d7b593; outline-offset: 5px; }
.property-card:hover .property-card__button { background: #a09689; }
.property-card h3 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; font-weight: 500; }
.property-card p { margin: 0 0 20px; font-size: 16px; line-height: 1.4; }
.property-card__button { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 6px 12px 6px 24px; border: 0; border-radius: 100px; background: #89857f; color: #fff; font: inherit; font-size: 16px; transition: background-color 320ms ease; }
.property-card__button > span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #d7b593; }
.property-card__button img { transform: rotate(-90deg); transition: transform 320ms ease; }
.property-card:hover .property-card__button img, .property-card:focus-visible .property-card__button img { transform: translateX(3px) rotate(-90deg); }

@media (max-width: 1000px) and (min-width: 701px) {
  .properties__header { grid-template-columns: minmax(0, 1fr) 220px; }
  .properties h2 { font-size: 40px; padding-inline: 40px; }
  .properties__grid { padding-inline: 40px; }
  .property-card__content { padding: 28px 24px; }
}

@media (max-width: 700px) {
  .properties { border-inline: 0; }
  .properties__header { grid-template-columns: minmax(0, 1fr) 34%; min-height: 115px; }
  .properties h2 { padding: 24px; font-size: clamp(26px, 8vw, 36px); }
  .properties__grid { grid-template-columns: minmax(0, 1fr); padding: 36px 24px 48px; }
  .property-card__content { padding: 24px; }
  .property-card h3 { font-size: 24px; }
  .property-card p { font-size: 14px; }
  .property-card__button { font-size: 14px; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 64px 40px; }
  .about h2 { font-size: 40px; }
}

@media (max-width: 700px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 48px 24px; border-inline: 0; }
  .about__content, .about__portrait { grid-column: auto; grid-row: auto; }
  .about h2 { font-size: clamp(30px, 9vw, 40px); margin-bottom: 24px; }
  .about p { font-size: 16px; line-height: 1.5; }
}

@media (max-width: 900px) and (min-width: 701px) {
  .hero__content { padding-left: 32px; }
  .hero__headline { font-size: 48px; }
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    border-inline: 0;
    background: none;
  }
  .hero__media { grid-row: 1; }
  .hero__portrait {
    grid-row: 1;
    height: auto;
    aspect-ratio: 828 / 900;
  }
  .hero__content {
    padding: 48px 24px;
    background: url("assets/images/hero-background-mobile.svg") right bottom / 100% auto no-repeat;
  }
  .hero__headline {
    max-width: 500px;
    font-size: clamp(32px, 9.2vw, 48px);
    line-height: 1.08;
    margin-bottom: 24px;
  }
  .hero__button { font-size: 16px; min-height: 48px; padding-left: 24px; }
  .hero__button-icon { width: 32px; height: 32px; }
}

.service { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1128px; margin-inline: auto; border: 1px solid #252525; border-top: 0; }
.service__content { align-self: center; padding: 64px 48px 64px 72px; }
.service h2 { margin: 0 0 20px; font-size: 40px; line-height: 1.15; font-weight: 500; }
.service p { margin: 0; font-size: 18px; line-height: 1.5; }
.service p + p { margin-top: 24px; }
.service .service__label { margin-top: 24px; color: #9b938b; }
.service__list { list-style: none; margin: 16px 0 24px; padding: 0; }
.service__list li { position: relative; padding-left: 28px; font-size: 18px; line-height: 1.5; }
.service__list li + li { margin-top: 16px; }
.service__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: url("assets/icons/list-arrow.svg") center / contain no-repeat; }
.service__image { width: 100%; height: 100%; object-fit: cover; }
.service--mentoring .service__content { grid-column: 2; grid-row: 1; padding: 64px 72px 64px 48px; }
.service--mentoring .service__image { grid-column: 1; grid-row: 1; }
.service__topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; padding: 0; list-style: none; }
.service__topics li { padding: 12px 20px; border: 1px solid #4d4d4d; border-radius: 100px; font-size: 16px; line-height: 1.2; }
.service__button { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; margin-top: 24px; padding: 8px 12px 8px 24px; border: 0; border-radius: 100px; background: #292927; color: inherit; font: inherit; font-size: 16px; text-decoration: none; transition: background-color 320ms ease; }
.service__list + .service__button { margin-top: 0; }
.service__button span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #d7b593; }
.service__button img { transform: rotate(-90deg); }
a.service__button:hover { background: #363633; }
.service__button:focus-visible { outline: 2px solid #d7b593; outline-offset: 5px; }

.hero__button, .property-card__button, .service__button,
.service__label, .service__intro, .service__topics li { font-weight: 500; }

@media (min-width: 1001px) {
  .service__desktop-line { display: block; }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .service__content, .service--mentoring .service__content { padding: 48px 32px; }
  .service h2 { font-size: 32px; }
  .service p, .service__list li { font-size: 16px; }
}

@media (max-width: 700px) {
  .service { grid-template-columns: minmax(0, 1fr); border-inline: 0; }
  .service__content, .service--mentoring .service__content { grid-column: auto; grid-row: auto; padding: 48px 24px; }
  .service--mentoring .service__image { grid-column: auto; grid-row: auto; }
  .service__image { height: auto; }
  .service h2 { font-size: 32px; }
  .service p, .service__list li { font-size: 16px; }
  .service__topics li { font-size: 14px; padding: 12px 16px; }
  .service__button { font-size: 14px; }
}

.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 32px; max-width: 1128px; margin-inline: auto; padding: 96px 72px; border: 1px solid #252525; border-top: 0; }
.visit h2 { margin: 0 0 16px; font-size: 48px; font-weight: 500; line-height: 1.1; }
.visit p { margin: 0; font-size: 18px; line-height: 1.5; }
.visit__location address { width: fit-content; max-width: 100%; margin-inline: auto; font-style: normal; font-size: 16px; line-height: 1.5; }
.visit__map { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px 24px; border: 1px solid #4d4d4d; border-radius: 100px; color: inherit; text-decoration: none; transition: background-color 320ms ease; }
.visit__map:hover { background: #292927; }
.visit__map:focus-visible { outline: 2px solid #d7b593; outline-offset: 4px; }
.visit__location img { flex-shrink: 0; }
.visit .visit__note { margin-top: 12px; text-align: center; font-size: 16px; font-weight: 500; color: #d7b593; }
.contact { display: grid; grid-template-columns: 3fr 1fr 1fr; max-width: 1128px; margin-inline: auto; }
.contact a { display: flex; align-items: center; justify-content: center; min-height: 154px; gap: 24px; text-decoration: none; transition: background-color 320ms ease; }
.contact__whatsapp { background: #cba17f; color: #151515; font-size: 40px; font-weight: 500; padding: 24px; }
.contact__whatsapp img { flex-shrink: 0; }
.contact__whatsapp:hover { background: #d7b593; }
.contact__social { background: #343434; border-left: 1px solid #252525; }
.contact__social:hover { background: #414141; }
.contact a:focus-visible { outline: 2px solid #d7b593; outline-offset: -5px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1128px; margin-inline: auto; padding: 40px 72px; border-inline: 1px solid #252525; }
.footer__brand { flex-shrink: 0; max-width: 100%; }
.footer__brand img { width: 208px; height: auto; }
.footer__credits { text-align: right; font-size: 14px; line-height: 1.5; }
.footer__credits p { margin: 0; }
.footer__credits a { color: #d7b593; font-weight: 500; text-decoration: none; transition: color 320ms ease; }
.footer__credits a:hover { color: #e9ccb0; }
.footer__credits a:focus-visible { outline: 2px solid #d7b593; outline-offset: 3px; }

@media (min-width: 701px) and (max-width: 1000px) {
  .visit { padding: 64px 40px; gap: 32px; }
  .visit h2 { font-size: 40px; }
  .contact__whatsapp { font-size: 30px; }
  .footer { padding-inline: 40px; }
}

@media (max-width: 700px) {
  .visit { grid-template-columns: minmax(0, 1fr); padding: 64px 24px; gap: 24px; text-align: center; border-inline: 0; }
  .visit h2 { font-size: 40px; }
  .visit p { font-size: 16px; }
  .visit__location address { font-size: 14px; text-align: left; }
  .visit__map { padding: 16px; gap: 12px; }
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact a { min-height: 104px; }
  .contact .contact__whatsapp { grid-column: 1 / -1; font-size: clamp(22px, 6vw, 30px); gap: 16px; }
  .contact__whatsapp img { width: 36px; height: 36px; }
  .contact__social img { width: 48px; height: 48px; }
  .footer { padding: 32px 24px; border-inline: 0; flex-wrap: wrap; gap: 24px; }
  .footer__brand img { width: 180px; }
  .footer__credits { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
