/**
 * Theme Name:     GeneratePress Child
 * Author:         Tom Usborne
 * Template:       generatepress
 * Text Domain:	   generatepress-child
 * Description:    GeneratePress Child
 */
/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Instrument Sans', Arial, sans-serif;
  color: #000000;
  background-color: #ffffff;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p, address, blockquote {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* de-emphasis text (replaces .em class from source — renamed to avoid conflict with <em> element) */
.em-text {
  color: #b3b3b3;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b3b3b3;
  margin-bottom: 16px;
}

/* ============================================================
   REVEAL ANIMATIONS (IntersectionObserver adds .visible)
   ============================================================ */

/* Default fade-up 36px — small content, paragraphs, buttons */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Translate up 70px — large content blocks, step list items */
.reveal-up {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Clip-style reveal via ::after overlay mask
   Avoids the clip-path-breaks-IntersectionObserver issue, and matches
   the original FIND site, which also uses absolute overlay divs that
   scale away. The mask color is set per section via --mask-color. */
.reveal-clip-ltr,
.reveal-clip-rtl {
  position: relative;
  overflow: hidden;
}

.reveal-clip-ltr::after,
.reveal-clip-rtl::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--mask-color, #ffffff);
  z-index: 3;
  pointer-events: none;
  transform: scaleX(1);
  will-change: transform;
}

/* LTR wipe: anchored at right, scales to 0 → reveals left→right */
.reveal-clip-ltr::after {
  transform-origin: right center;
  transition: transform 0.95s cubic-bezier(0.7, 0, 0.3, 1);
}

/* RTL wipe: anchored at left, scales to 0 → reveals right→left */
.reveal-clip-rtl::after {
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.7, 0, 0.3, 1);
}

.reveal-clip-ltr.visible::after,
.reveal-clip-rtl.visible::after {
  transform: scaleX(0);
}

/* Mask color contexts — each section sets the bg color it wipes against */
:root { --mask-color: #ffffff; }
.testimonials,
.blog { --mask-color: #f1f1f1; }
.services,
.features,
.site-footer { --mask-color: #151717; }
.outro { --mask-color: #1a1a1a; }

/* ============================================================
   TEXT-SWAP — vertical text replace on hover (uses data-text attr)
   Outer span = overflow-clip "viewport"
   Inner span = original text, has ::after clone positioned below
   On parent hover, inner translates up 100% — original exits, clone enters
   ============================================================ */
.text-swap {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  vertical-align: middle;
  position: relative;
  line-height: 1.2;
  height: 1.2em;
}

.text-swap > span {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.42s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.text-swap > span::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  white-space: nowrap;
}

.btn-pill:hover .text-swap > span,
.btn-signin:hover .text-swap > span,
.menu-item > a:hover .text-swap > span,
.footer-nav-link:hover .text-swap > span,
.footer-social:hover .text-swap > span,
.blog-post-title:hover .text-swap > span {
  transform: translateY(-100%);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
  line-height: 1;
  overflow: hidden;
  position: relative;
}

.btn-pill svg {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  z-index: 1;
}

.btn-pill:hover svg {
  transform: translateX(4px);
}

/* Hover background shifts subtly on each variant */
.btn-dark:hover {
  background-color: #2a2c2c;
}

.btn-light:hover {
  background-color: #ededed;
}

.btn-secondary:hover {
  background-color: #151717;
  color: #ffffff;
  border-color: #151717;
}

.btn-dark {
  background-color: #151717;
  color: #ffffff;
}

.btn-light {
  background-color: #ffffff;
  color: #151717;
}

.btn-secondary {
  background-color: transparent;
  color: #000000;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
}

/* Outlined pill button for dark backgrounds (used by Features section) */
.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #151717;
  border-color: #ffffff;
}

.btn-pill-sm {
  padding: 10px 18px;
  font-size: 13px;
}

@media (min-width: 980px) {
  .btn-pill {
    font-size: 15px;
    padding: 15px 26px;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 24px;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  color: #000000;
  flex-shrink: 0;
}

.header-logo svg {
  height: 22px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- User's nav: hidden on mobile, dropdown --- */
.main-nav {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  z-index: 99;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.main-nav.open {
  display: block;
}

.menu.sf-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item a {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: #000000;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.2s ease;
}

.menu-item:last-child a {
  border-bottom: none;
}

.menu-item a:hover {
  color: #444444;
}

/* Sign In button — solid dark pill to match the original */
.btn-signin {
  display: none;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background-color: #151717;
  transition: background-color 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.btn-signin:hover {
  background-color: #2a2c2c;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #000000;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 980px) {
  .site-header {
    padding: 22px 40px;
  }

  /* Nav visible inline on desktop */
  .main-nav {
    display: flex;
    position: static;
    background: none;
    padding: 0;
    border-top: none;
    box-shadow: none;
    width: auto;
    align-items: center;
  }

  .menu.sf-menu {
    flex-direction: row;
    gap: 0;
    align-items: center;
  }

  .menu-item a {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-bottom: none;
    color: #000000;
    position: relative;
  }

  /* Underline slide-in on hover */
  .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 12px;
    right: 12px;
    height: 1px;
    background-color: #000000;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
  }

  .menu-item a:hover::after {
    transform: scaleX(1);
  }

  .btn-signin {
    display: inline-flex;
    align-items: center;
  }

  .hamburger {
    display: none;
  }
}

/* ============================================================
   HERO — pinned scroll-scrub
   Tall section + sticky inner viewport. JS drives all transforms
   based on a 0→1 scroll-progress value computed from how far the
   hero has scrolled through its overflow area.
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  /* 4x viewport: 1vh pinned + 3vh of scroll-scrub */
  height: 400vh;
  background-color: #dce8f0;
}

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Layer 0 — sky / cityscape background */
.hero-back {
  position: absolute;
  inset: -3% 0;
  width: 100%;
  height: 106%;
  z-index: 0;
  will-change: transform;
  transform-origin: center top;
}

.hero-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Layer 1 — the big house. Scales up + lifts slightly on scroll */
.hero-house {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -38%;
  width: 100%;
  z-index: 1;
  will-change: transform;
  transform-origin: center 65%;
  pointer-events: none;
}

.hero-house img {
  width: 100%;
  height: auto;
  display: block;
}

/* Layer 2 — two cloud images that drift slowly */
.hero-clouds {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-cloud {
  position: absolute;
  width: 110%;
  height: auto;
  opacity: 0.85;
  will-change: transform;
}

.hero-cloud-1 {
  top: -8%;
  left: -10%;
  animation: cloud-drift-a 60s ease-in-out infinite alternate;
}

.hero-cloud-2 {
  bottom: 20%;
  right: -10%;
  width: 130%;
  opacity: 0.55;
  animation: cloud-drift-b 80s ease-in-out infinite alternate;
}

@keyframes cloud-drift-a {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(6%, -2%, 0); }
}

@keyframes cloud-drift-b {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-7%, 1%, 0); }
}

/* Layer 3 — smoke. Starts below the viewport, rises into view on scroll */
.hero-smoke {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10%;
  width: 100%;
  height: 75%;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 80%, 0);
}

.hero-smoke img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

/* Layer 4 — big FIND Real Estate logo. Fades in mid-scroll, blend-modes with what's behind */
.hero-logo {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  color: rgba(255, 255, 255, 0.78);
  mix-blend-mode: overlay;
  will-change: opacity, transform;
}

.hero-logo svg {
  width: 78%;
  max-width: 1100px;
  height: auto;
  display: block;
}

/* Layer 5 — text content. Pinned to top center, fades out as user scrolls in */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
  padding: 130px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  will-change: opacity, transform;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: #000000;
}

.hero-content p {
  font-size: 16px;
  color: #111111;
  max-width: 380px;
  line-height: 1.55;
}

.hero-content p .em-text {
  color: #444444;
}

/* Layer 6 — white gradient at bottom, opacity rises near end to blend into next section */
.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

@media (min-width: 980px) {
  .hero-content {
    padding-top: 160px;
    gap: 22px;
  }

  .hero-content h1 {
    font-size: 88px;
  }

  .hero-content p {
    font-size: 18px;
    max-width: 460px;
  }

  .hero-house {
    bottom: -48%;
  }

  .hero-logo svg {
    width: 72%;
  }
}

/* ============================================================
   WHY FIND
   Layout: small "Why FIND" label (left) | large body text (right)
   on a single row, full-width video below
   ============================================================ */
.why-us {
  padding: 80px 0 60px;
  background-color: #ffffff;
}

.why-us-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.why-us-label h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: #000000;
}

.why-us-text p {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #000000;
}

.why-us-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #e0e0e0;
}

.why-us-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 980px) {
  .why-us {
    padding: 120px 0 80px;
  }

  .why-us-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 80px;
  }

  .why-us-label {
    flex: 0 0 40%;
    padding-top: 6px;
  }

  .why-us-label h2 {
    font-size: 16px;
  }

  .why-us-text {
    flex: 1;
    max-width: 760px;
  }

  .why-us-text p {
    font-size: 44px;
    line-height: 1.12;
  }
}

/* ============================================================
   ARROWS SECTION — 4 chevron-shaped image tiles pointing right
   Shape from the original site, via an inline SVG mask. Tiles
   overlap by negative margin-left so the points "interlock".
   ============================================================ */
.arrows-section {
  padding: 64px 0;
  background-color: #ffffff;
}

.arrows-title {
  text-align: center;
  margin-bottom: 32px;
}

.arrows-title h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #000000;
}

.arrows-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.arrow-item {
  width: 93px;
  height: 118px;
  margin-left: -18px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 346 440'><path fill='black' d='M183.98 440 346 220 183.98 0H0l162.02 220L0 440h183.98Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 346 440'><path fill='black' d='M183.98 440 346 220 183.98 0H0l162.02 220L0 440h183.98Z'/></svg>");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

.arrow-item:first-child {
  margin-left: 0;
}

.arrow-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arrows-text {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.arrows-text p {
  font-size: 16px;
  line-height: 1.45;
  color: #000000;
}

.arrows-text p .em-text {
  color: #b3b3b3;
}

@media (min-width: 980px) {
  .arrows-section {
    padding: 117px 0;
  }

  .arrows-title {
    margin-bottom: 56px;
  }

  .arrows-title h2 {
    font-size: 56px;
  }

  .arrow-item {
    width: 270px;
    height: 343px;
    margin-left: -52px;
  }

  .arrows-row {
    margin-bottom: 56px;
  }

  .arrows-text {
    max-width: 634px;
  }

  .arrows-text p {
    font-size: 25px;
    line-height: 1.4;
  }
}

/* ============================================================
   REWIRED — "Real Estate, Rewired." + 3 numbered steps
   Matches original specs: title 56.25px/500, steps 34.375px,
   1px hairline borders rgba(21,23,23,.07), section pad 117px
   ============================================================ */
.rewired {
  padding: 64px 0;
  background-color: #ffffff;
}

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

.rewired-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.rewired-left h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: #000000;
}

.rewired-right {
  display: flex;
  flex-direction: column;
}

.steps-label {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #000000;
  margin-bottom: 24px;
}

.step {
  padding: 24px 0;
  border-top: 1px solid rgba(21, 23, 23, 0.07);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #000000;
}

.step:last-child {
  border-bottom: 1px solid rgba(21, 23, 23, 0.07);
}

.step::before {
  content: attr(data-index);
  font-size: 11px;
  font-weight: 500;
  color: #000000;
  flex-shrink: 0;
  padding-top: 8px;
  letter-spacing: 0.02em;
  min-width: 16px;
}

.step .em-text {
  color: #b3b3b3;
}

@media (min-width: 980px) {
  .rewired {
    padding: 117px 0;
  }

  .rewired-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .rewired-left {
    flex: 0 0 40%;
    gap: 32px;
  }

  .rewired-left h2 {
    font-size: 56px;
  }

  .rewired-right {
    flex: 1;
    padding-top: 0;
  }

  .steps-label {
    font-size: 25px;
    margin-bottom: 0;
  }

  .step {
    font-size: 34px;
    padding: 32px 0;
    gap: 44px;
  }

  .step::before {
    font-size: 13px;
    padding-top: 14px;
    min-width: 28px;
  }
}

/* ============================================================
   FOR AGENTS — asymmetric 2-col layout
   Left: small "For Agents" label (top) + small portrait img (bottom)
   Right: large headline + main image + body text + button
   ============================================================ */
.for-agents {
  padding: 64px 0;
  background-color: #ffffff;
}

.for-agents-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.for-agents-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.for-agents-left .section-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #000000;
  margin: 0;
}

.for-agents-left-img {
  width: 70%;
  aspect-ratio: 284 / 337;
  overflow: hidden;
}

.for-agents-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.for-agents-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.for-agents-right h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #000000;
}

.for-agents-img-right {
  width: 100%;
  aspect-ratio: 763 / 538;
  overflow: hidden;
}

.for-agents-img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.for-agents-right p {
  font-size: 15px;
  line-height: 1.45;
  color: #000000;
  font-weight: 500;
  max-width: 480px;
}

.for-agents-right p .em-text {
  color: #b3b3b3;
}

@media (min-width: 980px) {
  .for-agents {
    padding: 117px 0;
  }

  .for-agents-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 80px;
  }

  .for-agents-left {
    flex: 0 0 32%;
    justify-content: space-between;
    gap: 0;
  }

  .for-agents-left .section-label {
    font-size: 16px;
  }

  .for-agents-left-img {
    width: 100%;
    max-width: 284px;
    margin-top: auto;
  }

  .for-agents-right {
    flex: 1;
    gap: 32px;
    max-width: 770px;
  }

  .for-agents-right h2 {
    font-size: 56px;
  }

  .for-agents-right p {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* ============================================================
   TESTIMONIALS — 2-col layout
   Left: large image of clients
   Right: pagination dots + big quote mark, then carousel of quotes
   ============================================================ */
.testimonials {
  padding: 64px 0;
  background-color: #f1f1f1;
}

.testimonials-title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #000000;
  margin-bottom: 32px;
}

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

.testimonials-preview {
  width: 100%;
  aspect-ratio: 763 / 538;
  overflow: hidden;
}

.testimonials-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonials-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonials-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(21, 23, 23, 0.1);
}

.testimonials-pagination {
  display: flex;
  gap: 6px;
  align-items: center;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background-color: #b3b3b3;
  opacity: 1;
  margin: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s ease, width 0.25s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background-color: #151717;
  width: 22px;
  border-radius: 4px;
}

.testimonials-quote-mark {
  font-size: 36px;
  line-height: 1;
  color: #151717;
  font-family: 'Lora', Georgia, serif;
}

.testimonials-swiper {
  width: 100%;
}

/* slide is transparent text, not a card */
.testimonials .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  height: auto;
}

.testimonial-quote p {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
  color: #000000;
  font-weight: 400;
}

.testimonial-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonial-author {
  color: #000000;
}

.testimonial-sep {
  color: #b3b3b3;
}

.testimonial-rating {
  color: #000000;
  letter-spacing: 1px;
  font-size: 11px;
}

/* Hide the default scrollbar — original uses pagination only */
.testimonials .swiper-scrollbar {
  display: none;
}

@media (min-width: 980px) {
  .testimonials {
    padding: 117px 0;
  }

  .testimonials-title {
    font-size: 56px;
    margin-bottom: 56px;
  }

  .testimonials-grid {
    flex-direction: row;
    gap: 72px;
    align-items: flex-start;
  }

  .testimonials-preview {
    flex: 0 0 56%;
  }

  .testimonials-side {
    flex: 1;
    gap: 32px;
  }

  .testimonials-quote-mark {
    font-size: 52px;
  }

  .testimonial-quote p {
    font-size: 25px;
    line-height: 1.4;
  }

  .testimonial-info {
    font-size: 12px;
  }
}

/* ============================================================
   SERVICES — BUY / SELL / RENT
   Dark section, 3 rows:
     [number circle | description text]  ........  [huge word]
   ============================================================ */
.services {
  background-color: #151717;
  color: #ffffff;
  padding: 64px 0 0;
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.services-label {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0;
}

.services-title {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #ffffff;
}

.services-title .em-text {
  color: rgba(255, 255, 255, 0.4);
}

.services-items {
  display: flex;
  flex-direction: column;
}

.service-item {
  background: none;
  border: none;
  color: #ffffff;
  width: 100%;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-family: 'Instrument Sans', Arial, sans-serif;
  text-align: left;
  display: block;
  transition: background-color 0.3s ease;
}

.service-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.service-item-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.service-item-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 380px;
}

.service-item-num {
  font-size: 11px;
  font-weight: 500;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-item-text {
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  font-weight: 400;
}

.service-item-name {
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
}

.services-footer {
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.services-footer p {
  font-size: 22px;
  line-height: 1.18;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
  max-width: 520px;
}

.services-footer p .em-text {
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 980px) {
  .services {
    padding: 117px 0 0;
  }

  .services-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .services-label {
    flex: 0 0 28%;
    font-size: 16px;
    padding-top: 12px;
  }

  .services-title {
    flex: 1;
    font-size: 56px;
  }

  .service-item {
    padding: 0;
  }

  .service-item-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 313px;
    gap: 48px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .service-item-left {
    flex: 0 0 28%;
    max-width: 330px;
    gap: 24px;
  }

  .service-item-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
    margin-top: 4px;
  }

  .service-item-text {
    font-size: 19px;
    line-height: 1.4;
  }

  .service-item-name {
    flex: 1;
    font-size: 188px;
  }

  .services-footer {
    padding: 96px 80px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .services-footer p {
    font-size: 32px;
    max-width: 720px;
  }
}

/* ============================================================
   FEATURES — SUPPORT BEYOND
   Top row: title left | intro+CTA right
   Bottom row: 3 image cards with overlay text + Learn More button
   ============================================================ */
.features {
  padding: 64px 0;
  background-color: #151717;
  color: #ffffff;
}

.features-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.features-title-col h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #ffffff;
}

.features-title-col h2 .em-text {
  color: rgba(255, 255, 255, 0.4);
}

.features-intro-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.features-intro-col p {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
  max-width: 540px;
}

.features-intro-col p .em-text {
  color: rgba(255, 255, 255, 0.4);
}

.features-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  position: relative;
  width: 100%;
  aspect-ratio: 432 / 367;
  overflow: hidden;
  border-radius: 6px;
}

.feature-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.feature-card:hover .feature-card-bg {
  transform: scale(1.06);
}

.feature-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 24px;
  gap: 12px;
  align-items: flex-start;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 980px) {
  .features {
    padding: 117px 0;
  }

  .features-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 80px;
  }

  .features-title-col {
    flex: 0 0 50%;
  }

  .features-title-col h2 {
    font-size: 56px;
  }

  .features-intro-col {
    flex: 1;
    gap: 32px;
    max-width: 600px;
  }

  .features-intro-col p {
    font-size: 25px;
    line-height: 1.2;
  }

  .features-items {
    flex-direction: row;
    gap: 16px;
  }

  .feature-card {
    flex: 1;
  }

  .feature-card-content {
    padding: 32px;
  }

  .feature-card h3 {
    font-size: 34px;
  }

  .feature-card p {
    font-size: 16px;
  }
}

/* ============================================================
   BLOG — meta col (title + CTA) + posts col
   Each post is text-on-left, thumbnail-on-right
   ============================================================ */
.blog {
  padding: 64px 0;
  background-color: #f1f1f1;
}

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

.blog-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.blog-meta h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #000000;
}

.blog-meta p {
  font-size: 16px;
  line-height: 1.45;
  color: #000000;
  max-width: 360px;
}

.blog-posts {
  display: flex;
  flex-direction: column;
}

.blog-post {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.blog-post:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.blog-post-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.blog-post-date {
  font-size: 13px;
  color: #b3b3b3;
  font-weight: 500;
  letter-spacing: 0;
}

.blog-post-title {
  font-size: 22px;
  font-weight: 500;
  color: #000000;
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.blog-post-title:hover {
  color: #555555;
}

.blog-post-excerpt {
  font-size: 13px;
  line-height: 1.4;
  color: #000000;
  font-weight: 500;
}

.blog-post-thumb {
  width: 100%;
  aspect-ratio: 763 / 352;
  overflow: hidden;
  display: block;
}

.blog-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.blog-post-thumb:hover img {
  transform: scale(1.04);
}

@media (min-width: 980px) {
  .blog {
    padding: 117px 0;
  }

  .blog-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }

  .blog-meta {
    flex: 0 0 32%;
    position: sticky;
    top: 120px;
  }

  .blog-meta h2 {
    font-size: 62px;
  }

  .blog-meta p {
    font-size: 16px;
  }

  .blog-posts {
    flex: 1;
  }

  .blog-post {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    padding: 48px 0;
  }

  .blog-post-text {
    flex: 1;
    max-width: 420px;
    gap: 14px;
  }

  .blog-post-title {
    font-size: 34px;
  }
}

/* ============================================================
   OUTRO — full-bleed image with centered title + CTA
   ============================================================ */
.outro {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.outro-bg {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
  transform: scale(1.08);
}

.outro-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.outro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

.outro-content h2 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #ffffff;
  max-width: 560px;
}

.outro-content h2 .em-text {
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 980px) {
  .outro {
    min-height: 700px;
  }

  .outro-content {
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .outro-content h2 {
    font-size: 56px;
    max-width: 800px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #151717;
  color: #ffffff;
  padding: 80px 0 40px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 48px;
}

.footer-newsletter-title {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  max-width: 360px;
  transition: border-color 0.2s ease;
}

.footer-newsletter-form:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 13px 20px;
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 14px;
  color: #ffffff;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.footer-newsletter-form button:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.footer-contact-value {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-value a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-contact-value a:hover {
  color: #ffffff;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.footer-nav-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  padding: 7px 24px 7px 0;
  transition: color 0.2s ease;
  position: relative;
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: calc(100% - 24px);
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.footer-nav-link:hover {
  color: #ffffff;
}

.footer-nav-link:hover::after {
  transform: scaleX(1);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-social {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.footer-social:hover {
  color: #ffffff;
}

.footer-logo {
  margin-bottom: 40px;
  opacity: 0.1;
}

.footer-logo svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

@media (min-width: 980px) {
  .site-footer {
    padding: 100px 0 40px;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
  }

  .footer-newsletter {
    flex: 0 0 42%;
  }

  .footer-contacts {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .footer-middle {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0;
  }

  .footer-socials {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }

  .footer-logo svg {
    max-width: 1344px;
  }

  .footer-newsletter-title {
    font-size: 25px;
  }
}


.container.grid-container{
	width:100% !important;
	padding:0px !important;
	max-width:none !important;
}

.one-container .site-content {
    padding: 0px !important;
}


.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header {
    background-color: transparent !important;
}

.has-inline-mobile-toggle{
	display:none;
}

.site-header {
    background-color: transparent !important;
}