@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Courgette";
  src: url("../fonts/courgette-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #004ba1;
  --cream: #f3efe0;
  --terra: #b5654b;
  --gray: #444c57;
  --black: #000000;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray);
  background: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 32px), 1080px);
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  transition: background 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease,
    padding 0.25s ease, top 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  top: 12px;
  padding: 0 18px;
  min-height: 84px;
  background: rgba(243, 239, 224, 0.94);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 136px;
  height: auto;
  transition: width 0.25s ease;
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  width: 116px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
}

.site-nav a,
.language-current {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 3px;
}

.site-nav a:hover,
.language-current:hover,
.site-nav a.is-active {
  color: var(--white);
  background: var(--blue);
}

.language-select {
  position: relative;
}

.language-current {
  border: 0;
  color: var(--terra);
  background: transparent;
  cursor: pointer;
  text-transform: none;
}

.language-current::after {
  margin-left: 5px;
  color: currentColor;
  content: "▾";
  font-size: 10px;
}

.language-current img,
.language-options img {
  width: 19px;
  height: 13px;
  margin-right: 5px;
  object-fit: cover;
}

.language-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  overflow: hidden;
  min-width: 76px;
  border-radius: 4px;
  background: rgba(243, 239, 224, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.language-options button {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
}

.language-options button:hover {
  background: rgba(0, 75, 161, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.button-light {
  color: var(--blue);
  background: var(--cream);
}

.button-terra {
  color: var(--white);
  background: var(--terra);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: var(--black);
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.04) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 610px;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 110px 0 72px;
}

.logo-complete {
  display: inline-grid;
  justify-items: center;
  line-height: 1;
}

.logo-complete img {
  width: 100%;
}

.logo-complete span {
  margin-top: -2px;
  font-family: "Courgette", cursive;
  font-size: 0.33em;
  font-weight: 400;
}

.logo-complete-cream {
  color: var(--cream);
}

.logo-complete-terra {
  color: var(--gray);
  font-size: 118px;
}

.hero-logo {
  width: min(310px, 64vw);
  font-size: 110px;
  transform: translateX(82px);
}

.intro-band {
  padding: 36px 20px;
  background: var(--cream);
}

.intro-inner {
  display: grid;
  width: min(calc(100% - 20px), 760px);
  margin: 0 auto;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 36px;
}

.intro-inner .logo-complete {
  width: 260px;
}

.intro-inner p {
  margin: 0;
  padding-left: 30px;
  border-left: 1px solid rgba(68, 76, 87, 0.3);
  color: var(--gray);
  font-size: 16px;
  line-height: 1.25;
}

.intro-inner strong {
  display: block;
  color: var(--terra);
  font-weight: 700;
}

.say-hi {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  background: var(--white);
}

.say-hi-bg {
  position: absolute;
  inset: 0;
  background: url("../images/backgrounds/say-hi.jpg") center top / cover no-repeat;
}

.say-hi-content {
  position: relative;
  display: grid;
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  grid-template-columns: 1fr 1.04fr;
  gap: 52px;
  padding: 122px 0 90px;
}

.script-title {
  align-self: start;
  justify-self: end;
  margin-top: 4px;
  color: var(--blue);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.script-title span,
.section-heading h2,
.mission h2,
.contact-section h2,
.faq-title span {
  font-family: "Courgette", cursive;
}

.copy-block {
  display: block;
  max-width: 430px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.18;
}

.copy-block p {
  margin: 0;
}

.copy-block strong {
  font-weight: 700;
}

.copy-top {
  display: grid;
  gap: 28px;
}

.copy-bottom {
  display: grid;
  gap: 17px;
  margin-top: 205px;
}

.highlight {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  padding: 8px 16px;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
}

.highlight-follow {
  color: var(--gray);
  font-weight: 400;
}

.mission {
  padding: 70px 20px 82px;
  color: var(--blue);
  background: #f9f8f1;
  text-align: center;
}

.section-icon {
  color: var(--blue);
  font-size: 36px;
}

.mission h2 {
  margin: 6px 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 400;
}

.mission p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 15px;
}

.properties-section {
  position: relative;
  overflow: hidden;
  padding: 64px 20px 150px;
  color: var(--gray);
  background: var(--cream);
}

.properties-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 28px;
  color: var(--terra);
  text-align: center;
}

.section-heading p {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.1;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  line-height: 0.95;
}

.properties-section .section-heading {
  text-align: left;
}

.properties-section .section-heading h2 {
  color: var(--blue);
}

.properties-grid {
  display: grid;
  padding: 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 44px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.property-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--terra);
  text-align: center;
}

.property-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.image-wrap {
  position: relative;
}

.delivery-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 3px;
  color: var(--white);
  background: var(--terra);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.property-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 0;
}

.property-body h3 {
  margin: 0 0 2px;
  color: var(--terra);
  font-size: 21px;
  line-height: 1.1;
}

.property-body p {
  min-height: 42px;
  margin: 0;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.25;
}

.property-body strong {
  display: block;
  margin: 6px 0 16px;
  color: var(--terra);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.property-body .button {
  min-height: 34px;
  margin-top: auto;
  padding: 0 28px;
  font-size: 12px;
}

.cta-banner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 960px);
  min-height: 190px;
  margin: -94px auto 0;
  overflow: hidden;
  border-radius: 28px;
  background: url("../images/backgrounds/cta-paradise.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.cta-banner::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 33, 80, 0.42);
  content: "";
}

.cta-content {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  color: var(--white);
  text-align: center;
}

.cta-content p {
  margin: 0;
  font-family: "Courgette", cursive;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1;
}

.cta-content h2 {
  margin: 8px 0 22px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.1;
}

.testimonials {
  padding: 78px 20px 98px;
  background: #f8f8f8;
}

.section-heading-light h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.testimonial-grid {
  display: grid;
  width: min(100%, 720px);
  margin: 42px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.testimonial-card {
  position: relative;
  padding: 52px 18px 22px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray);
  text-align: left;
}

.testimonial-card:nth-child(2) {
  border-color: var(--terra);
}

.testimonial-card img {
  position: absolute;
  top: -38px;
  left: 50%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
}

.testimonial-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 16px;
}

.testimonial-card:nth-child(2) h3 {
  color: var(--terra);
}

.testimonial-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.faq-section {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 94px 20px 74px;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  color: var(--gray);
  background: #f8f8f8;
}

.faq-title,
.faq-list {
  position: relative;
  z-index: 1;
}

.faq-title {
  justify-self: end;
  text-align: right;
}

.faq-title h2 {
  margin: 0;
  color: var(--terra);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.faq-title span {
  display: block;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  text-transform: none;
}

.faq-title img {
  width: 132px;
  margin: 22px 0 0 auto;
}

.faq-list {
  width: min(100%, 600px);
}

.faq-list details {
  border-top: 1px solid var(--terra);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--terra);
}

.faq-list summary {
  position: relative;
  min-height: 64px;
  padding: 22px 40px 20px 0;
  color: var(--terra);
  cursor: pointer;
  font-family: "Courgette", cursive;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 8px;
  color: var(--terra);
  content: "+";
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 44px 24px 0;
  color: var(--gray);
  font-size: 14px;
}

.contact-section {
  padding: 78px 20px 90px;
  background: linear-gradient(180deg, #f8f8f8 0, var(--cream) 100%);
}

.contact-section h2 {
  margin: 0 0 34px;
  color: var(--blue);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  text-align: center;
}

.contact-panel {
  display: grid;
  width: min(100%, 760px);
  margin: 0 auto;
  overflow: hidden;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-image {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #d9d6e9;
}

.contact-image p {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 24px;
  right: 24px;
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.contact-image p::first-line {
  font-weight: 400;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 48px 34px 38px;
  color: var(--gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 3px;
  background: var(--white);
  color: var(--gray);
  min-height: 38px;
  padding: 8px 10px;
}

.contact-form textarea {
  min-height: 84px;
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  font-size: 12px;
}

.site-footer {
  display: grid;
  min-height: 310px;
  padding: 48px 20px 28px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 30px;
  color: var(--cream);
  background: var(--blue);
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 145px;
}

.footer-brand span {
  font-size: 12px;
}

.footer-brand .button {
  min-height: 34px;
  padding: 0 28px;
  font-size: 12px;
}

.footer-info {
  display: grid;
  width: min(100%, 310px);
  padding-left: 36px;
  gap: 10px;
  border-left: 1px solid rgba(243, 239, 224, 0.45);
  font-size: 13px;
}

.footer-info a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
}

.social-links img {
  width: 22px;
  height: 22px;
}

.site-footer small {
  grid-column: 1 / -1;
  color: rgba(243, 239, 224, 0.72);
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.modal-dialog img {
  width: 100%;
}

.modal-close {
  position: sticky;
  z-index: 2;
  top: 12px;
  float: right;
  width: 46px;
  height: 46px;
  margin: 12px 12px -58px 0;
  border: 0;
  border-radius: 50%;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
}

.modal-cta {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  width: min(calc(100% - 48px), 620px);
  border-radius: 4px;
  color: var(--white);
  background: var(--gray);
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .site-header {
    top: 8px;
    width: min(calc(100% - 24px), 680px);
    height: auto;
    min-height: 76px;
    padding: 0 14px;
    border-radius: 8px;
    background: rgba(243, 239, 224, 0.94);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  }

  .brand img {
    width: 116px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(243, 239, 224, 0.98);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .language-current {
    justify-content: flex-start;
  }

  .language-select,
  .language-current {
    width: 100%;
  }

  .language-options {
    position: static;
    margin-top: 4px;
    box-shadow: none;
  }

  .hero,
  .hero-content {
    min-height: 72vh;
  }

  .hero-logo {
    width: min(260px, 66vw);
    transform: none;
  }

  .intro-inner,
  .say-hi-content,
  .faq-section,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-inner {
    justify-items: center;
    text-align: center;
  }

  .intro-inner .logo-complete {
    width: min(260px, 80vw);
  }

  .intro-inner p {
    padding: 20px 0 0;
    border-top: 1px solid rgba(68, 76, 87, 0.3);
    border-left: 0;
  }

  .say-hi {
    min-height: auto;
  }

  .say-hi-bg {
    opacity: 0.58;
  }

  .say-hi-content {
    gap: 22px;
    padding: 60px 0 76px;
  }

  .script-title {
    justify-self: start;
    margin-top: 0;
  }

  .copy-block {
    max-width: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(3px);
  }

  .copy-top {
    gap: 22px;
  }

  .copy-bottom {
    margin-top: 34px;
  }

  .properties-grid {
    padding: 28px;
    gap: 38px 24px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .testimonial-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .faq-title {
    justify-self: start;
    text-align: left;
  }

  .faq-title img {
    margin-left: 0;
  }

  .contact-image {
    min-height: 360px;
  }

  .footer-info {
    padding-left: 0;
    border-left: 0;
    text-align: center;
    justify-items: center;
  }
}

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

  .hero-content {
    min-height: 640px;
    justify-content: flex-end;
  }

  .hero-logo {
    margin-bottom: 28px;
  }

  .properties-section {
    padding-bottom: 150px;
  }

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

  .property-body p {
    min-height: 0;
  }

  .cta-banner {
    width: min(calc(100% - 24px), 960px);
    border-radius: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 20px;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    max-height: calc(100vh - 24px);
  }

  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .modal-cta {
    min-height: 58px;
    margin-bottom: 18px;
    width: min(calc(100% - 28px), 620px);
  }
}
