/*
Theme Name: Antoine Baril
Author: Oriana Solutions
Version: 1.0
*/

@font-face {
  font-family: 'Sharp Grotesk';
  src: url('assets/fonts/SharpGrotesk-Book15.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sharp Grotesk';
  src: url('assets/fonts/SharpGrotesk-Medium15.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sharp Grotesk';
  src: url('assets/fonts/SharpGrotesk-SemiBold15.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

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

.footer__link {
  color: inherit;
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}


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

* {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --navbar-height: 100px;
  --container-padding: 7%;
}

body {
  font-family: 'Sharp Grotesk', system-ui, -apple-system, sans-serif;
  margin: 0;
  background-color: #EFEFEF;
}

.hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero__left,
.hero__right {
  width: 50%;
}

.hero__left {
  background-color: #173029;
  color: #ffffff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: 80%;
  padding-left: var(--container-padding);
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 40px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7c5c0;
  margin-bottom: 12px;
}

.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #b7c5c0;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 24px 0;
}

.hero p {
  font-size: 22px;
  line-height: 1.6;
  color: #cfd8d5;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}

.hero__cta {
  display: flex;
  gap: 20px;
}

.hero__rating {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero__rating:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.hero__rating .ti-widget {
  margin: 0 !important;
}

.hero__art {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
}

.hero__right {
  background-size: cover;
  background-position: center;
}

.btn {
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: #f6b94c;
  color: #173029;
}

.btn--primary:hover {
  background-color: #e5a93c;
}

.btn--secondary {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn--secondary:hover {
  background-color: rgba(255,255,255,0.08);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 10;
  display: flex;
  background-color: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar__left,
.navbar__right {
  width: 50%;
}

.navbar__left {
  display: flex;
  align-items: center;
}

.navbar__left-inner {
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 60px;
  display: block;
}

.navbar__menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__menu a {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

.navbar__menu a:hover {
  color: #f6b94c;
}

.navbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 3%;
}

.navbar--scrolled {
  background-color: #173029;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__left,
  .navbar__left {
    width: 60%;
  }

  .hero__right,
  .navbar__right {
    width: 40%;
  }

  .hero__art {
    left: 60%;
  }

  .hero h1 {
    font-size: clamp(48px, 5vw, 64px);
  }

  .hero p {
    font-size: clamp(18px, 1.5vw, 21px);
  }
}

@media (max-width: 1023px) {
  .hero {
    flex-direction: column;
  }

  .hero__left {
    width: 100%;
  }

  .hero__right {
    display: none;
  }

  .hero__art {
    left: 100%;
  }

  .hero__content {
    max-width: 90%;
    padding-top: calc(var(--navbar-height) + 32px);
  }
}

@media (max-width: 639px) {
  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(38px, 9vw, 56px);
    line-height: 1.15;
  }

  .hero__content {
    max-width: 92%;
    padding-top: calc(var(--navbar-height) + 24px);
    padding-bottom: 32px;
  }

  .hero__art {
    display: none;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .hero__left,
  .hero__right,
  .navbar__left,
  .navbar__right {
    width: 50%;
  }

  .hero__art {
    left: 50%;
  }

  .hero h1 {
    font-size: clamp(56px, 4vw, 72px);
    margin-top: 12px;
  }

  .hero p {
    font-size: clamp(20px, 1.3vw, 22px);
  }
}

.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
}

.navbar__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #ffffff;
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;

  width: 80%;
  max-width: 320px;

  height: var(--vh);

  background-color: #173029;

  padding:
    calc(var(--navbar-height) + 24px)
    24px
    calc(24px + env(safe-area-inset-bottom));

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transform: translateX(100%);
  transition: transform 0.35s ease;

  z-index: 40;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.mobile-menu__links li {
  margin-bottom: 28px;
}

.mobile-menu__links a {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.mobile-menu__links a:hover {
  color: #f6b94c;
}

.mobile-menu__cta {
  width: 100%;
  text-align: center;
}

@media (max-width: 1023px) {
  .navbar__menu,
  .navbar__cta {
    display: none;
  }

  .navbar__burger {
    display: block;
  }
}

.mobile-menu__close {
  position: absolute;
  top: calc(24px + env(safe-area-inset-top));
  right: 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  height: auto;

  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
  z-index: 30;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


.navbar {
  z-index: 30;
}

.mobile-menu {
  z-index: 40;
}

body.menu-open {
  overflow: hidden;
  height: 100svh;
  touch-action: none;
}

.navbar__menu {
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar.navbar--scrolled .navbar__menu {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.about {
  padding: 140px 0 40px;
}

.about__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);

  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  column-gap: 45px;
  row-gap: 24px;

  justify-content: center;
  align-items: stretch;
}

.about__eyebrow {
  grid-column: 1 / 2;
  grid-row: 1;

  display: flex;
  align-items: center;
  gap: 18px;
}

.about__name {
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #7a7a7a;
  white-space: nowrap;
}

.about__line {
  flex: 1;
  height: 1px;
  background-color: rgba(0,0,0,0.25);
}

.about__image {
  grid-column: 1 / 2;
  grid-row: 2;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  object-fit: cover;
}

.about__content {
  grid-column: 2 / 3;
  grid-row: 2;
}

.about__text {
  font-size: 27px;
  line-height: 1.5;
  margin: 0;
}

.about__text--primary {
  color: #2b2b2b;
}

.about__text--secondary {
  color: #9a9a9a;
}

@media (max-width: 1023px) {
  .about {
    padding: 100px 0;
  }

  .about__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .about__eyebrow {
    order: 2;
  }

  .about__content {
    order: 2;
  }

  .about__image {
    order: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
  }

  .about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 33%;
  }

  .about__text {
    max-width: 100%;
    font-size: 22px;
  }
}

.stats {
  position: relative;
  padding: 80px 0 60px;
}

.stats::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 1px;
  background: #d9d9d9;
}

.stats__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;

  position: relative;
}

.stats__item {
  position: relative;
  text-align: left;
}

.stats__top {
  position: relative;
  margin-bottom: 16px;
}

.stats__dot {
  position: absolute;
  top: -40px;
  left: 0;

  width: 22px;
  height: 22px;
  background: #0f2f25;
  border-radius: 50%;
  border: 5px solid #EFEFEF;

  transform: translateY(-50%);

  z-index: 2;
}

.stats__dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;

  z-index: -1;
}

.stats__value {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #0f2f25;
  line-height: 1;
}

.stats__text {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .stats {
    position: relative;
    padding: 20px 0 60px;
  }

  .stats::before {
    display: none;
  }

  .stats__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__dot {
    position: static;
    transform: none;
    margin-top: 0;
  }

  .stats__top {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .stats__dot::before {
    display: none;
  }
}

.testimonials {
  padding: 100px 0;
}

.testimonials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: 420px 1fr;

  align-items: center;
}

.testimonials__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.testimonials__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #8a8a8a;
}

.testimonials__title {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: #0f2f25;
  margin-bottom: 24px;
  margin-top: 12px;
}

.testimonials__description {
  font-size: 20px;
  line-height: 1.6;
  color: #666;
  max-width: 360px;
}

.testimonials__slider {
  position: relative;
  overflow: hidden;
}

.testimonials .grw-slider {
  overflow: hidden;
  padding: 8px 0;
}

.testimonials .grw-review {
  width: 320px;
  flex-shrink: 0;

  margin-right: 24px;

  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  padding: 28px;
  background: #fff;
}

.testimonials .grw-review-content {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  min-height: 120px;
}

.testimonials .grw-review-name {
  font-weight: 600;
  color: #0f2f25;
}

.testimonials .grw-stars {
  margin-top: 12px;
}

.testimonials .grw-slider-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f2f25;
  color: #fff;
  border: none;
}

.testimonials .grw-slider-nav button:hover {
  background: #0c261f;
}

@media (max-width: 900px) {

  .testimonials__slider {
    margin-left: -32px;
    margin-right: -32px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .testimonials {
    padding: 72px 0;
  }

  .testimonials__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonials__title {
    font-size: 42px;
  }

  .testimonials .grw-slider {
    padding-left: 0px;
    padding-right: 0px;
  }

  .testimonials .grw-review {
    width: 100%;
    
  }
}

.featured {
  padding: 80px 0;
}

.featured__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.featured__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
  text-align: center;
}

.featured__eyebrow::before,
.featured__eyebrow::after {
  content: '';
  width: 64px;
  height: 1px;
  background: #8a8a8a;
}

.featured__title {
  font-size: 52px;
  font-weight: 700;
  color: #0f2f25;
  line-height: 1.1;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .featured {
    padding: 64px 0;
  }

  .featured__title {
    font-size: 42px;
  }
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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





.property-card {
  display: block;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.property-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 8px;
  border-radius: 12px;
}

.property-card__content {
  padding: 16px 16px 18px;
  text-align: left;
}

.property-card__price {
  font-size: 24px;
  font-weight: 700;
  color: #0f2f25;
  margin-bottom: 4px;
}

.property-card__address {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.property-card__chips {
  display: flex;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #f3f3f3;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.chip img {
  width: 16px;
  height: 16px;
}

.property-card__centris {
  margin: 8px 0px;
  font-size: 15px;
  color: #525252;
}


@media (max-width: 640px) {
  .featured__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .featured__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .featured__grid::-webkit-scrollbar {
    display: none;
  }

  .property-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}



/* ===== CAROUSEL ===== */

.property-card__image {
  position: relative;
}

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

.property-carousel img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-carousel img.is-active {
  opacity: 1;
}

/* ARROWS */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 24px;
  height: 24px;
  border-radius: 50%;

  background: rgba(0,0,0,0.6);
  color: #fff;

  border: none;
  cursor: pointer;

  font-size: 16px;
  line-height: 1;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.carousel-arrow.prev {
  left: 12px;
}

.carousel-arrow.next {
  right: 12px;
}

/* show arrows on hover */
.property-card:hover .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}


.property-card__type {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;

  background: #ffffff;
  color: #000;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 500;
}

.property-card__sold-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: none;
  align-items: center;
  justify-content: center;

  pointer-events: none;
}

.property-card__sold-overlay span {
  font-size: 16px;
  font-weight: 600;
}

.property-card__sold-overlay img {
  width: 18px;
  height: 18px;
}

.property-card__sold-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: none;
  align-items: center;
  justify-content: center;

  pointer-events: none;
}

.property-card__sold-overlay span {
  font-size: 16px;
  font-weight: 600;
}

.property-card__sold-overlay img {
  width: 18px;
  height: 18px;
}

.property-card__sold-overlay > * {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #000;
}

.property-card.is-sold .property-card {
  filter: blur(4px);
}

.property-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.property-card.is-sold .property-card__image::after {
  opacity: 1;
}

.property-card.is-sold .property-carousel img {
  filter: blur(3px);
}

.property-card__sold-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #000;

  font-size: 14px;
  font-weight: 600;
}

.property-card__image::after {
  pointer-events: none;
}

.property-card__sold-badge img {
  width: 16px;
  height: 16px;
  display: block;

  filter: brightness(0) saturate(100%);
}

.property-card__sold-badge .sold-icon {
  width: 16px;
  height: 16px;
  display: block;
  fill: #000;
  stroke: #000;
}




.consultation {
  padding: 80px 0;
}

.consultation__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: start;
}

.consultation__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.consultation__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #8a8a8a;
}

.consultation__title {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: #0f2f25;
  margin-bottom: 24px;
  margin-top: 12px;
}

.consultation__description {
  font-size: 20px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 32px;
  max-width: 380px;
}

.consultation__cta {
  padding: 14px 28px;
  background: #0f2f25;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.consultation__cta:hover {
  background: #0c261f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 47, 37, 0.2);
}

.consultation__calendar {
  position: relative;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 400px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.consultation__calendar.is-expanded {
  height: 900px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.consultation__calendar iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 900px) {
  .consultation {
    padding: 72px 0;
  }

  .consultation__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .consultation__title {
    font-size: 32px;
  }

  .consultation__description {
    font-size: 18px;
  }

  .consultation__calendar {
    height: 350px;
  }

  .consultation__calendar.is-expanded {
    height: 800px;
  }
}

@media (max-width: 600px) {
  .consultation {
    padding: 60px 0;
  }

  .consultation__title {
    font-size: 28px;
  }

  .consultation__calendar {
    height: 320px;
    border-radius: 8px;
  }

  .consultation__calendar.is-expanded {
    height: 700px;
  }
}


.contact {
  padding: 100px 0;
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.contact__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.contact__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #8a8a8a;
}

.contact__form form {
  width: 100%;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__field label {
  font-size: 18px;
  font-weight: 600;
  color: #0f2f25;
}

.contact__field input,
.contact__field textarea {
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  background: #fff;
  font-size: 16px;
}

.contact__field textarea {
  resize: none;
}

.contact__submit {
  margin-top: 24px;
  padding: 14px 28px;
  background: #0f2f25;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.contact__submit:hover {
  background: #0c261f;
}


@media (max-width: 900px) {
  .contact {
    padding: 72px 0;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact__image {
    order: 1;
  }

  .contact__form {
    order: 2;
  }

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

.contact__field.has-error input,
.contact__field.has-error textarea {
  border: 2px solid #d9534f;
}

.contact__error {
  font-size: 14px;
  color: #d9534f;
}

.contact__feedback {
  margin-top: 16px;
  font-size: 16px;
}

.contact__feedback.success {
  color: #2e7d32;
}

.contact__feedback.error {
  color: #d9534f;
}

.mortgage {
  padding: 80px 0;
}

.mortgage__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px;
  background: #16352b;
  border-radius: 12px;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.mortgage__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.mortgage__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.mortgage__title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
  margin-top: 12px;
}

.mortgage__text {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.mortgage__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  background: #ffffff;
  color: #16352b;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid;
}

.mortgage__btn:hover {
  background-color: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid white;
}

.mortgage__card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.mortgage-preview {
  text-align: center;
}

.mortgage-preview__amount {
  margin-bottom: 24px;
}

.mortgage__label {
  font-size: 16px;
  
}

.mortgage-preview__amount .mp-value {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: #0f2f25;
}

.mortgage-preview__amount small {
  font-size: 14px;
  color: #666;
}

.mp-svg {
  width: 100%;
  height: 180px;
  cursor: pointer;
}

.mp-curve {
  fill: none;
  stroke: #0f2f25;
  stroke-width: 2;
}

.mp-guide {
  stroke: #aaa;
  stroke-dasharray: 4 4;
}

.mp-vertical {
  stroke: #0f2f25;
  stroke-width: 1;
  opacity: 0.3;
}

.mp-dot {
  transform-box: fill-box;
  transform-origin: center center;
}

.mp-svg:hover .mp-dot {
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .mortgage {
    padding: 48px 16px;
  }

  .mortgage__wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px 24px;
  }

  .mortgage__left {
    text-align: left;
  }

  .mortgage__title {
    font-size: 36px;
  }

  .mortgage__text {
    font-size: 18px;
  }

  .mortgage__btn {
    font-size: 16px;
    padding: 12px 16px;
  }

  .mortgage__right {
    display: flex;
    justify-content: center;
  }

  .mortgage__card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .mortgage__wrapper {
    padding: 32px 20px;
    gap: 40px;
  }

  .mortgage__eyebrow {
    font-size: 14px;
    gap: 12px;
  }

  .mortgage__eyebrow::before {
    width: 24px;
  }

  .mortgage__title {
    font-size: 30px;
    line-height: 1.2;
  }

  .mortgage__text {
    font-size: 16px;
    line-height: 1.6;
  }

  .mortgage__btn {
    width: 100%;
    justify-content: center;
  }

  .mortgage-preview__amount .mp-value {
    font-size: 36px;
  }

  .mp-svg {
    height: 160px;
  }
}

.mp-svg,
.mp-svg * {
  -webkit-tap-highlight-color: transparent;
}

.mp-svg {
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.footer {
  background: #16352b;
  color: #fff;
  padding: 42px 0 42px;
}

.footer__container {
  margin: 0 auto;
  padding: 0 64px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  column-gap: 64px;
  margin-bottom: 48px;
}

.footer__top-left {
  justify-self: start;
}

.footer__top-nav {
  justify-self: center;
  display: flex;
  gap: 44px;
}

.footer__top-right {
  justify-self: end;
}

.footer__logo {
  width: 150px;
  display: block;
}

.footer__partner {
  width: 200px;
  display: block;
}

.footer__top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.footer__top-nav a:hover {
  opacity: 0.75;
}

.footer__middle {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 48px;
}

.footer__line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

.footer__socials {
  display: flex;
  gap: 18px;
}

.footer__socials a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer__socials img {
  width: 18px;
  height: 18px;
  display: block;
}

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.footer__meta {
  display: flex;
  gap: 96px;
}

.footer__label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer__value {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
}

.footer__copyright {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 900px) {

  .footer__container {
    padding: 0 24px;
  }

  .footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0;
    row-gap: 50px;
    margin-bottom: 32px;
  }

  .footer__top-left {
    order: 1;
    width: 50%;
    display: flex;
    justify-content: flex-start;
  }

  .footer__top-right {
    order: 2;
    width: 50%;
    display: flex;
    justify-content: flex-end;
  }

  .footer__top-nav {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: nowrap;
  }

  .footer__top-nav a {
    font-size: 16px;
  }

  .footer__middle {
    margin-bottom: 32px;
  }

  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
  }

  .footer__meta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }

  .footer__label {
    font-size: 16px;
  }

  .footer__value {
    font-size: 16px;
  }

  .footer__copyright {
    width: 100%;
    text-align: center;
    font-size: 16px;
  }

  .footer__logo {
    width: 120px;
  }

  .footer__partner {
    width: 160px;
  }
}

.navbar__menu a.is-active {
  font-weight: 600;
  /* background-color: red; */
}

.footer__powered {
  width: 100%;
  text-align: center;

  margin-top: 18px;

  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer__powered a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.footer__powered a:hover {
  opacity: 0.85;
}

.legal-hero {
  padding: 24px 0;
}

.legal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 120px;
}

.legal-content * {
  text-align: left;
}

.legal-content h1 {
  font-size: 42px;
}

.legal-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 24px;
}

.legal-content p {
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 20px;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 20px;
}





.mortgage-page-hero {
  background-color: #EFEFEF;
}

.mortgage-page-hero__container {
  margin: 0 auto;
  padding:
    calc(var(--navbar-height) + 64px)
    var(--container-padding)
    100px;
}

.mortgage-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a7a7a;
  margin-bottom: 12px;
}

.mortgage-page-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #7a7a7a;
}

.mortgage-page-hero__title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  color: #0f2f25;
  margin-bottom: 12px;
  margin-top: 12px;
}

.mortgage-page-hero__text {
  font-size: 22px;
  line-height: 1.6;
  color: #666;
  max-width: 720px;
  margin-bottom: 64px;
}

.mortgage-ui {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.mortgage-ui__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mortgage-ui__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mortgage-ui__field label {
  font-size: 16px;
  font-weight: 600;
  color: #0f2f25;
}

.mortgage-ui__field input,
.mortgage-ui__field select {
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  background: #ffffff;
  font-size: 16px;
  font-family: inherit;
}

.mortgage-ui__field select {
  appearance: none;
  cursor: pointer;
}

.mortgage-ui__btn {
  margin-top: 32px;
  padding: 14px 28px;
  background: #f6b94c;
  color: #173029;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.mortgage-ui__btn:hover {
  background: #e5a93c;
}

.mortgage-ui__disclaimer {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #777;
  max-width: 520px;
}

.mortgage-ui__preview {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.mortgage-ui__tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.mortgage-ui__tabs button {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #999;
}

.mortgage-ui__tabs button.active {
  color: #0f2f25;
  border-bottom: 2px solid #0f2f25;
  padding-bottom: 4px;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

.contact__recaptcha {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
  max-width: 520px;
}

.contact__recaptcha a {
  color: #0f2f25;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact__recaptcha a:hover {
  color: #173029;
}

.mortgage-ui__circle {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 32px;
}

.mortgage-ui__circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 9px;
}

.donut-label {
  font-size: 20px;
}

.donut-amount {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  color:#173029 ;
}

.donut-payment {
  fill: none;
  stroke: #f6b94c;
  stroke-width: 9px;
  stroke-linecap: butt;
}

/* todo hugo */

.donut-insurance {
  fill: none;
  stroke: #cfcfcf;
  stroke-width: 9px;
  stroke-linecap: butt;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mortgage-ui__label {
  font-size: 14px;
  color: #777;
}

.mortgage-ui__amount {
  font-size: 32px;
  font-weight: 700;
  color: #0f2f25;
}

.donut-tag {
  position: absolute;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.donut-tag--payment {
  bottom: -15px;
  left: -20px;
}

.donut-tag--insurance {
  top: -10px;
  right: -20px;
}

.dot {
  width: 8px;
  height: 8px;
}

.dot.yellow {
  background: #f6b94c;
}

.dot.gray {
  background: #cfcfcf;
}

.mortgage-ui__breakdown {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mortgage-ui__breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}

.mortgage-ui__breakdown .dot.tax {
  background: #f6b94c;
}

.mortgage-ui__breakdown .dot.insurance {
  background: #ccc;
}

.mortgage-summary {
  margin-top: 96px;
  text-align: center;
}

.mortgage-summary__title {
  font-size: 32px;
  font-weight: 700;
  color: #0f2f25;
  margin-bottom: 32px;
}

.mortgage-summary__list {
  max-width: 520px;
  margin: 0 auto;
}

.mortgage-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mortgage-summary__row span {
  font-size: 18px;
  color: #666;
}

.mortgage-summary__row strong {
  font-size: 18px;
  font-weight: 700;
  color: #0f2f25;
  white-space: nowrap;
}

.mortgage-ui__field.error input,
.mortgage-ui__field.error select {
  border: 2px solid #d9534f;
}

.mortgage-ui__error {
  font-size: 13px;
  color: #d9534f;
}

@media (max-width: 1024px) {
  .mortgage-page-hero__title {
    font-size: 42px;
  }

  .mortgage-ui {
    grid-template-columns: 1fr;
  }

  .mortgage-ui__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mortgage-page-hero__container {
    padding:
      calc(var(--navbar-height) + 40px)
      var(--container-padding)
      80px;
  }

  .mortgage-page-hero__title {
    font-size: 42px;
  }

  .mortgage-page-hero__text {
    font-size: 20px;
  }

  .mortgage-ui__circle {
    width: 220px;
    height: 220px;
  }

  .donut-tag--payment {
    left: 0;
  }

  .donut-tag--insurance {
    right: 0;
  }
}

.donut-payment,
.donut-insurance {
  transition:
    stroke-dasharray 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.mortgage-amortization {
  margin-top: 120px;
  max-width: 1200px;
  margin: auto;
  padding: 0 32px 32px;
}

.mortgage-amortization__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #0f2f25;
}

.mortgage-amortization__controls {
  text-align: center;
  margin-bottom: 24px;
}

.mortgage-amortization__controls input {
  margin-left: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.mortgage-amortization__table-wrapper {
  overflow-x: auto;
}

.mortgage-amortization__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.mortgage-amortization__table thead th {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 2px solid #e0e0e0;
  font-weight: 600;
}

.mortgage-amortization__table tbody tr:nth-child(odd) {
  background: #f3f3f3;
}

.mortgage-amortization__table td {
  padding: 14px 12px;
  white-space: nowrap;
}

.mortgage-amortization__more {
  display: block;
  margin: 24px auto 0;
  background: none;
  border: none;
  color: #d49b3f;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}



.buy-sell-popup {
  display: none;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.buy-sell-popup.is-visible {
  display: flex;
  transform: translateY(0);
}


.buy-sell-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;

  display: none;
  align-items: stretch;

  width: 440px;
  border-radius: 16px;

  background: #0f2f25;
  color: #fff;

  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  overflow: hidden;

}

.buy-sell-popup__image {
  width: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

.buy-sell-popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buy-sell-popup__content {
  position: relative;
  padding: 16px 40px 16px 16px;
}

.buy-sell-popup__content h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 200px;
}

.buy-sell-popup__content p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.25;
  opacity: 0.85;
}

.buy-sell-popup__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 20px;
  border-radius: 999px;

  background: #FFBD59;
  color: #000;

  font-weight: 500;
  font-size: 18px;
  text-decoration: none;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.buy-sell-popup__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.buy-sell-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 24px;
  height: 24px;

  background-color: #FFBD59;
  border: none;
  border-radius: 50%;

  cursor: pointer;
  opacity: 0.95;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10;
}

.buy-sell-popup__close::before,
.buy-sell-popup__close::after {
  content: '';
  position: absolute;

  width: 12px;
  height: 2px;

  background-color: #000;
  border-radius: 2px;
}

.buy-sell-popup__close::before {
  transform: rotate(45deg);
}

.buy-sell-popup__close::after {
  transform: rotate(-45deg);
}

.buy-sell-popup__close:hover {
  opacity: 1;
}

.buy-sell-popup__close:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .buy-sell-popup {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
    display: none;
  }
}

.logo-proprio {
  display: block;
}

@media (max-width: 1023px) {
  .logo-proprio {
    display: none !important;
  }
}