
/* ==========================================
   SRII PROPERTIES
   HOMEPAGE — SECTION 01: HERO
   Desktop + Tablet + Mobile
   ========================================== */

/* HERO BACKGROUND */

.sp-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 37.7vw, 770px);
  background: #faf7f1
    url('/assets/images/hero-clean.jpg')
    center center / cover no-repeat;
  overflow: hidden;
}

/* HERO INNER CONTAINER */

.sp-hero__inner {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
}

/* HERO CONTENT */

.sp-hero__content {
  position: relative;
  z-index: 2;
  width: min(63%, 900px);
  padding: 42px 0 35px;
}

/* WELCOME TEXT */

.sp-hero__eyebrow {
  margin: 0 0 18px;
  letter-spacing: .34em;
  font-size: clamp(11px, 1vw, 17px);
  font-weight: 700;
  color: #101e37;
}

/* MAIN HEADING */

.sp-hero h1 {
  margin: 0;
  color: #0b1d3b;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(48px, 4.85vw, 94px);
  line-height: .99;
  letter-spacing: -.045em;
}

.sp-hero h1 span {
  color: #af772f;
  white-space: nowrap;
}

/* HERO DESCRIPTION */

.sp-hero__description {
  margin: 20px 0 24px;
  font-size: clamp(15px, 1.36vw, 27px);
  line-height: 1.35;
  color: #152b4b;
}

/* ACTION BUTTONS */

.sp-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sp-hero__actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 13px 27px;
  border-radius: 8px;
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 21px);
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}

.sp-hero__actions a:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.sp-hero__actions a:focus-visible {
  outline: 3px solid #0b1d3b;
  outline-offset: 3px;
}

/* PRIMARY BUTTON */

.sp-hero__primary {
  background: linear-gradient(100deg, #a16a2a, #b77f38);
  color: #fff !important;
}

/* SECONDARY BUTTON */

.sp-hero__secondary {
  background: rgba(255, 255, 255, .55);
  border: 1.5px solid #aa7436;
  color: #935e23 !important;
}

/* TRUST HIGHLIGHTS */

.sp-hero__trust {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  max-width: 950px;
}

.sp-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-right: 1px solid #d6c8b5;
  min-width: 0;
}

.sp-hero__trust-item:first-child {
  padding-left: 0;
}

.sp-hero__trust-item:last-child {
  border-right: 0;
}

.sp-hero__trust-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #aa722f;
  color: #fff;
  font-size: 29px;
  line-height: 1;
}

.sp-hero__trust-item strong,
.sp-hero__trust-item small {
  display: block;
  white-space: nowrap;
  color: #11203b;
}

.sp-hero__trust-item strong {
  font-size: clamp(11px, .91vw, 17px);
  line-height: 1.15;
}

.sp-hero__trust-item small {
  font-size: clamp(11px, .83vw, 16px);
  font-weight: 400;
  margin-top: 4px;
}

/* HANDWRITTEN TAGLINE */

.sp-hero__signature {
  position: absolute;
  z-index: 1;
  top: 7%;
  left: 49%;
  transform: rotate(-9deg);
  margin: 0;
  color: #a76c29;
  text-align: center;
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: clamp(24px, 2.6vw, 52px);
  font-style: italic;
  line-height: 1.05;
  pointer-events: none;
}

/* ==========================================
   TABLET / SMALL DESKTOP
   ========================================== */

@media (max-width: 1200px) {

  .sp-hero__content {
    width: 67%;
  }

  .sp-hero__trust {
    flex-wrap: wrap;
    gap: 16px 0;
    max-width: 640px;
  }

  .sp-hero__trust-item {
    width: 50%;
    padding-left: 0;
  }

  .sp-hero__trust-item:nth-child(2) {
    border-right: 0;
  }

  .sp-hero__signature {
    left: 57%;
    top: 5%;
  }
}

/* ==========================================
   TABLET — UP TO 850px
   ========================================== */

@media (max-width: 850px) {

  .sp-hero {
    min-height: 620px;
    background-position: 57% center;
  }

  /* Soft overlay for readability */

  .sp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
      90deg,
      rgba(250, 247, 241, 1) 0%,
      rgba(250, 247, 241, .93) 50%,
      rgba(250, 247, 241, .40) 100%
    );
  }

  .sp-hero__inner {
    align-items: center;
  }

  .sp-hero__content {
    width: min(100%, 610px);
    padding: 52px 0 38px;
  }

  .sp-hero h1 {
    font-size: clamp(46px, 7vw, 69px);
  }

  .sp-hero__signature {
    display: none;
  }

  .sp-hero__trust {
    margin-top: 36px;
  }
}

/* ==========================================
   MOBILE — UP TO 520px
   ========================================== */

@media (max-width: 520px) {

  /* Remove inherited desktop hero height */

  .sp-hero {
    min-height: 0;
    height: auto;
    background-position: 61% center;
    background-size: cover;
  }

  /* Cream overlay with villa still visible */

  .sp-hero::before {
    background: linear-gradient(
      90deg,
      rgba(250, 247, 241, .90) 0%,
      rgba(250, 247, 241, .75) 55%,
      rgba(250, 247, 241, .45) 100%
    );
  }

  /* Align content toward the top */

  .sp-hero__inner {
    min-height: 0;
    height: auto;
    display: flex;
    align-items: flex-start;
  }

  .sp-hero__content {
    width: 100%;
    padding: 16px 0 32px;
  }

  /* Welcome label */

  .sp-hero__eyebrow {
    margin: 0 0 16px;
    letter-spacing: .20em;
    font-size: 10px;
    line-height: 1.5;
  }

  /* Main heading */

  .sp-hero h1 {
    font-size: clamp(35px, 9.2vw, 46px);
    line-height: 1.06;
    letter-spacing: -.045em;
    overflow-wrap: break-word;
  }

  .sp-hero h1 span {
    white-space: normal;
  }

  /* Description */

  .sp-hero__description {
    margin: 22px 0 25px;
    font-size: 15px;
    line-height: 1.55;
  }

  .sp-hero__desktop-break {
    display: none;
  }

  /* Two buttons side by side */

  .sp-hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .sp-hero__actions a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 10px 7px;
    font-size: 11px;
    gap: 5px;
    text-align: center;
    white-space: normal;
    border-radius: 7px;
  }

  /* Trust highlights — 2 columns */

  .sp-hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
    margin-top: 26px;
    max-width: 100%;
  }

  .sp-hero__trust-item {
    width: auto;
    min-width: 0;
    padding: 0;
    gap: 8px;
    border: none;
  }

  .sp-hero__trust-icon {
    width: 35px;
    height: 35px;
    font-size: 23px;
    border-radius: 7px;
  }

  .sp-hero__trust-item strong {
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  .sp-hero__trust-item small {
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
  }

  /* Hide desktop decorative tagline */

  .sp-hero__signature {
    display: none;
  }
}

/* ==========================================
   EXTRA SMALL MOBILE — UP TO 360px
   ========================================== */

@media (max-width: 360px) {

  .sp-hero__content {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .sp-hero h1 {
    font-size: 33px;
  }

  .sp-hero__actions {
    gap: 7px;
  }

  .sp-hero__actions a {
    font-size: 10px;
    padding: 9px 5px;
  }

  .sp-hero__trust {
    gap: 16px 8px;
  }

  .sp-hero__trust-icon {
    width: 32px;
    height: 32px;
    font-size: 21px;
  }
}

/* ==========================================
   END — SECTION 01 HERO
   ========================================== */
