/* Bilingual homepage presentation. Shared enquiry and navigation behaviour
   remain owned by the existing website. */
.home-refined {
  --home-ink: #12283c;
  --home-muted: #455766;
  --home-paper: #f7f5ef;
  --home-line: #d8d9d2;
  --home-accent: #805d32;
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-refined :is(h1, h2, h3) {
  font-family: var(--font-hebrew);
  letter-spacing: 0;
  text-wrap: balance;
}

.home-refined[dir="ltr"] :is(h1, h2, h3),
html[lang="en"] .home-refined :is(h1, h2, h3) { font-family: var(--font-sans); }

.home-refined :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #98651e;
  outline-offset: 5px;
}

.home-refined .navbar {
  background: var(--home-paper);
  box-shadow: none;
  border-bottom: 1px solid var(--home-line);
}

.home-refined .hero {
  min-height: auto;
  padding-block: calc(var(--navbar-height) + 40px) 0;
  background: var(--home-paper);
}

.home-refined .hero::before,
.home-refined .hero::after,
.home-refined .hero-bg-pattern,
.home-refined .hero-particles,
.home-refined .hero-visual::before,
.home-refined .hero-visual::after,
.home-refined .hero-image-accent,
.home-refined .pulse-dot,
.home-refined .hero h1::before {
  display: none;
  animation: none;
}

.home-refined .hero-split {
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: 0 48px;
}

.home-refined .hero-content { transform: none !important; }

.home-refined .hero-badge {
  padding: 0;
  margin: 0 0 22px;
  border: 0;
  background: none;
  border-radius: 0;
  color: var(--home-accent);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}

.home-refined .hero h1 {
  font-size: clamp(2.8rem, 5.1vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--home-ink);
}

.home-refined .hero h2 {
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--home-accent);
  margin-bottom: 18px;
}

.home-refined .hero .hero-description {
  font-size: 1.125rem;
  color: var(--home-muted);
  max-width: 38em;
  line-height: 1.85;
  margin-bottom: 28px;
}

.home-refined .hero-image-frame {
  border-radius: 4px;
  box-shadow: none;
}

.home-refined .hero-portrait {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.home-refined .home-paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--home-line);
}

.home-refined .home-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 18px;
  align-items: center;
  min-width: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.home-refined .home-path strong {
  font-size: 1.1rem;
  line-height: 1.5;
}

.home-refined .home-path > span:not(.home-path-arrow) {
  grid-column: 1;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--home-muted);
}

.home-refined .home-path .home-path-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  font-size: 1.4rem;
}

.home-refined .home-path-primary {
  background: var(--home-ink);
  border-color: var(--home-ink);
  color: #fff;
}

.home-refined .home-path-primary > span:not(.home-path-arrow) { color: #dbe2e5; }
.home-refined .home-path:hover { background: #e9e9df; }
.home-refined .home-path-primary:hover { background: #25445a; }
.home-refined .home-path:active { background: #d8dedb; }
.home-refined .home-path-primary:active { background: #0b1c2b; }

.home-refined .hero-stats {
  border-radius: 0;
  background: transparent;
  border-block: 1px solid var(--home-line);
  margin-top: 0;
  padding-block: 14px;
}

.home-refined .hero-stats .stat-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--home-ink);
}

.home-refined .hero-stats .stat-label { color: var(--home-muted); }
.home-refined .hero-stats .stat-item { padding-block: 12px; }

.home-refined .guide-index {
  border: 0;
  padding-block: 56px;
  background: var(--home-paper);
}

.home-refined .guide-index + .guide-index { padding-top: 0; }
.home-refined .guide-index h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.home-refined .guide-index p { max-width: 52em; color: var(--home-muted); }
.home-refined .guide-index-links { gap: 12px; }

.home-refined .guide-index-links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 20px;
  border-radius: 4px;
  border-color: var(--home-line);
  background: #fff;
  color: var(--home-ink);
  text-decoration: none;
}

.home-refined .guide-index-links a:hover {
  border-color: var(--home-accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-refined :is(.why-agada, .market-insights, .faq-section, .hot-properties, .property-owners) {
  padding-block: 64px;
}

.home-refined :is(.section-title, .faq-title) {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.4;
}

.home-refined :is(.why-card, .insight-card, .service-card, .live-listings-block, .lead-form-wrap) {
  border-radius: 6px;
  box-shadow: none;
}

.home-refined .faq-section { background: var(--home-paper); }
.home-refined .faq-item { padding-block: 22px; border-color: var(--home-line); }
.home-refined .faq-q { line-height: 1.7; font-size: 1.1rem; gap: 24px; }
.home-refined .faq-answer { color: var(--home-muted); line-height: 1.85; }
.home-refined .contact-cta-subtitle { color: #e0e6ec; }
.home-refined .contact-option-desc { color: #d0dae3; }
.home-refined .contact-cta :is(a, button, input, select, textarea):focus-visible {
  outline-color: #e9cca2;
}
.home-refined .lead-form {
  background: #14283f;
  color: #e0e6ec;
  border-radius: 6px;
  box-shadow: none;
  backdrop-filter: none;
}
.home-refined .form-privacy-notice { color: #e0e6ec; }
.home-refined .form-label { color: #e0e6ec; line-height: 1.7; }
.home-refined .lead-form .btn-submit { background: #e9cca2; color: #12283c; border-color: #e9cca2; }
.home-refined .lead-form .btn-submit:hover { background: #f2ddbf; }
.home-refined .lead-form .btn-ghost { color: #e0e6ec; border-color: #718397; }
.home-refined .lead-form-error {
  background: #fff1ee !important;
  color: #742b21 !important;
  border-color: #e1ada4 !important;
}
.home-refined .lead-form-error p { color: #742b21; }
.home-refined .lead-form-error a { color: #5f3519; text-decoration: underline; }
.home-refined .lead-form-error a:focus-visible { outline-color: #98651e; }
.home-refined :is(.form-input, .form-select, .form-textarea) { border-radius: 4px; }

/* The homepage does not need entrance delays or continuous decorative motion. */
.home-refined :is(.js-reveal, .js-reveal--left, .js-reveal--right, .js-reveal--down,
  .js-reveal--scale, .js-reveal-children, .js-reveal-stagger, .js-reveal-cascade) {
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

@media (max-width: 900px) {
  .home-refined .hero { padding-top: calc(var(--navbar-height) + 32px); }
  .home-refined .hero-split { grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; }
  .home-refined .hero h1 { font-size: 3rem; }
  .home-refined .hero .hero-description { font-size: 1rem; }
}

@media (max-width: 640px) {
  .home-refined .hero { padding-top: calc(var(--navbar-height) + 28px); }
  .home-refined .hero-split { grid-template-columns: minmax(0, 1fr); padding-bottom: 28px; }
  .home-refined .hero-visual { display: none; }
  .home-refined .hero-badge { font-size: .85rem; margin-bottom: 18px; }
  .home-refined .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.5rem); margin-bottom: 20px; }
  .home-refined .hero h2 { font-size: .95rem; }
  .home-refined .hero .hero-description { margin-bottom: 24px; line-height: 1.8; }
  .home-refined .hero-stats { gap: 0; }
  .home-refined .hero-stats .stat-item { padding: 14px 8px; gap: 4px; }
  .home-refined .hero-stats .stat-label { font-size: .8rem; }
  .home-refined .guide-index { padding-block: 36px; }
  .home-refined .guide-index-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-refined .guide-index-links a { padding: 14px; font-size: .95rem; line-height: 1.6; }
  .home-refined :is(.why-agada, .market-insights, .faq-section, .hot-properties, .property-owners) {
    padding-block: 44px;
  }
}

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

/* The expertise is carried by the content, without entrance delays. */
.home-refined main { animation: none !important; }
.home-refined .hero h1 { font-size: clamp(2.5rem, 4.3vw, 3.8rem); }
.home-refined .hero h1 span { color: var(--home-accent); }
.home-refined .hero-sectors {
  margin: 0 0 20px;
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
}
.home-refined .hero-visual { align-self: center; }
.home-refined .hero-image-frame { max-width: 340px; }
.home-refined .founder-caption {
  max-width: 340px;
  margin: 18px auto 0;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--home-accent);
  display: grid;
  gap: 4px;
  text-align: start;
  color: var(--home-ink);
}
.home-refined .founder-caption strong { font-size: 1.25rem; }
.home-refined .founder-caption span { color: var(--home-muted); font-size: .9rem; }
.home-refined .founder-caption a { color: var(--home-accent); font-size: .85rem; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
.home-refined .sector-directory .guide-index-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-refined .sector-directory .guide-index-links a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 152px;
  padding: 22px;
  padding-block-start: 48px;
  border-radius: 2px;
}
.home-refined .sector-directory .guide-index-links strong { font-size: 1.12rem; }
.home-refined .sector-directory .guide-index-links span { font-size: .88rem; line-height: 1.6; color: var(--home-muted); }
.home-refined .sector-directory .guide-index-links .sector-number {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 22px;
  color: var(--home-accent);
  font-size: .75rem;
  letter-spacing: .08em;
}
.home-refined .authority-method { background: var(--home-ink); color: #fff; padding-block: 72px; }
.home-refined .authority-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 40px; }
.home-refined .authority-eyebrow { color: #e3bd89; font-size: .85rem; font-weight: 600; letter-spacing: .06em; margin: 0 0 12px; }
.home-refined .authority-heading h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.3; margin: 0; }
.home-refined .authority-heading > p { color: #d3dce3; line-height: 1.8; margin: 0; }
.home-refined .authority-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.home-refined .authority-card { border-top: 1px solid #58697a; padding-top: 20px; }
.home-refined .authority-number { color: #e3bd89; font-size: .8rem; }
.home-refined .authority-card h3 { color: #fff; font-size: 1.2rem; margin: 16px 0 12px; }
.home-refined .authority-card p { color: #d3dce3; font-size: .95rem; line-height: 1.85; margin: 0; }
.home-refined .authority-link { display: inline-block; color: #e3bd89; margin-top: 32px; padding-block: 10px; text-decoration: underline; text-underline-offset: 6px; }
.home-refined .authority-method a:focus-visible { outline-color: #e3bd89; }

@media (max-width: 1000px) {
  .home-refined .authority-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-refined .sector-directory .guide-index-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-refined .hero h1 { font-size: clamp(2.1rem, 8.8vw, 2.9rem); }
  .home-refined .hero-sectors { font-size: .9rem; }
  .home-refined .authority-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .home-refined .authority-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-refined .sector-directory .guide-index-links a { padding: 40px 16px 18px; min-height: 150px; }
  .home-refined .sector-directory .guide-index-links .sector-number { inset-inline-start: 16px; }
  .home-refined .sector-directory .guide-index-links strong { font-size: 1rem; }
}
