/* Homepage redesign: one clear travel-discovery flow. */
.home-page {
  --home-ink: #173d37;
  --home-muted: #687a74;
  --home-line: #dde5e0;
  --home-paper: #ffffff;
  --home-soft: #f5f7f4;
  --home-cream: #faf8f3;
  --home-green: #0d5148;
  --home-green-dark: #073b35;
  --home-coral: #e9784a;
  --home-coral-dark: #cf6036;
  --home-sand: #f3dfc4;
  background: var(--home-paper);
  color: var(--home-ink);
  font-size: 16px;
}

.home-page main {
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.home-page .hero { order: 1; }
.home-page .service-section { order: 2; }
.home-page .community-showcase { order: 3; }
.home-page .seasonal-section { order: 4; }
.home-page .advisor-section { order: 5; }
.home-page .results-section { order: 6; }
.home-page .explore-section { order: 7; }
.home-page .brand-story { order: 8; }

.home-page .container {
  width: min(1180px, calc(100% - 48px));
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p { text-wrap: pretty; }

.home-page h2 {
  color: var(--home-ink);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.45;
  letter-spacing: -.045em;
}

.home-page .eyebrow,
.home-page .eyebrow.dark {
  margin: 0 0 6px;
  color: #548078;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

/* Hero and navigation */
.home-page .hero {
  min-height: 660px;
  color: #fff;
  background: var(--home-green-dark);
}

.home-page .hero::before {
  background:
    linear-gradient(90deg, rgba(3, 29, 25, .94) 0%, rgba(3, 31, 27, .72) 42%, rgba(3, 29, 25, .16) 78%),
    linear-gradient(0deg, rgba(3, 25, 22, .55), transparent 52%);
}

.home-page .hero::after,
.home-page .hero-orbit { display: none; }

.home-page .hero-image {
  object-position: center 55%;
  filter: saturate(.88) contrast(1.04);
  transform: none;
}

.home-page .hero:hover .hero-image { transform: none; }

.home-page .nav {
  height: 76px;
  border-bottom-color: rgba(255, 255, 255, .16);
}

.home-page .brand {
  gap: 10px;
  font-size: 19px;
}

.home-page .brand-mark {
  width: 34px;
  height: 34px;
  border: 0;
}

.home-page .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-page .nav-links {
  gap: 28px;
  margin-right: 48px;
  margin-left: auto;
}

.home-page .nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 600;
}

.home-page .nav-account {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  font-size: 12px;
}

.home-page .nav-account span { border: 0; }

.home-page .hero-content {
  padding-top: 78px;
}

.home-page .hero-content > * { animation: none; }

.home-page .hero .eyebrow {
  color: #f0cda6;
  font-size: 13px;
}

.home-page .hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(50px, 5.8vw, 76px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.055em;
}

.home-page .hero h1 em {
  color: #f6d2aa;
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
}

.home-page .hero-copy {
  width: min(610px, 100%);
  margin: 15px 0 25px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.95;
}

.home-page .quick-planner {
  width: min(790px, 100%);
  grid-template-columns: 1.25fr .9fr 140px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
  transform: none;
}

.home-page .quick-planner:focus-within {
  box-shadow: 0 24px 56px rgba(0,0,0,.3), 0 0 0 4px rgba(243,200,146,.24);
  transform: none;
}

.home-page .planner-field {
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  border-left: 1px solid #e6e8e4;
}

.home-page .planner-field > span {
  margin-bottom: 2px;
  color: #7a8984;
  font-size: 10px;
}

.home-page .planner-field input {
  color: #173d37;
  font: 700 14px Vazirmatn, Tahoma, sans-serif;
}

.home-page .planner-field input.is-demo-typing::placeholder {
  color: #456d65;
  opacity: .88;
}

.home-page .quick-planner:focus-within .planner-field input::placeholder {
  color: #80908a;
}

.home-page .planner-alt { background: #f7f8f5; }

.home-page .planner-alt strong {
  display: flex;
  justify-content: space-between;
  color: #315d55;
  font-size: 12px;
}

.home-page .planner-alt i {
  color: var(--home-coral);
  font-style: normal;
}

.home-page .planner-submit {
  min-width: 0;
  border-radius: 0;
  background: var(--home-coral);
  font-size: 14px;
}

.home-page .planner-submit:hover { background: var(--home-coral-dark); }
.home-page .planner-submit::before { display: none; }

.home-page .quick-suggestions {
  margin-top: 13px;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
}

.home-page .quick-suggestions button {
  padding: 4px 11px;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  font-size: 10px;
}

.home-page .hero-trust {
  margin-top: 16px;
  gap: 14px 28px;
  color: rgba(255,255,255,.76);
  font-size: 10px;
}

.home-page .hero-trust span::before {
  width: 5px;
  height: 5px;
  background: #f2ca9c;
}

.home-page .hero-note {
  left: max(24px, calc((100% - 1180px)/2));
  bottom: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(4,35,31,.36);
  backdrop-filter: blur(8px);
  font-size: 10px;
}

.home-page .hero-note span {
  display: inline;
  margin-left: 4px;
  font-size: 17px;
}

/* Quick paths */
.home-page .service-section {
  padding: 48px 0 58px;
  background: #fff;
}

.home-page .service-section .container {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .compact-heading {
  align-items: end;
  margin: 0 0 25px;
  padding: 0;
  border: 0;
}

.home-page .compact-heading h2 { font-size: clamp(29px, 3vw, 41px); }

.home-page .compact-heading > p {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.9;
}

.home-page .service-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  perspective: 900px;
}

.home-page .service-card,
.home-page .service-card.featured-service {
  min-height: 128px;
  align-items: center;
  justify-content: center;
  padding: 15px 12px 18px;
  border: 1px solid #dce6e1;
  border-radius: 15px;
  background: linear-gradient(155deg, #fff, #f7faf7);
  color: var(--home-ink);
  box-shadow: 0 7px 0 #dfe8e3, 0 16px 28px rgba(21,61,55,.09);
  text-align: center;
  transform: translateY(0) rotateX(0);
}

.home-page .service-card:hover {
  border-color: #a9c2bb;
  box-shadow: 0 9px 0 #cdded6, 0 22px 36px rgba(21,61,55,.15);
  transform: translateY(-4px) rotateX(1.5deg);
}

.home-page .service-card.featured-service {
  border-color: #0d5148;
  background: linear-gradient(145deg, #17675c, #0c4d45);
  color: #fff;
  box-shadow: 0 7px 0 #073a34, 0 18px 32px rgba(8,64,56,.2);
}

.home-page .service-icon,
.home-page .featured-service .service-icon {
  width: 39px;
  height: 39px;
  margin: 0 0 11px;
  border: 1px solid rgba(33,94,84,.13);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #e5f0ea);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.95), 0 5px 0 #cdded5, 0 9px 16px rgba(17,68,59,.18);
  transform: rotateX(5deg) rotateY(-5deg);
}

.home-page .featured-service .service-icon {
  background: linear-gradient(145deg, #fff6e7, #efc995);
  box-shadow: inset 1px 1px 0 #fff, 0 5px 0 #c99763, 0 9px 17px rgba(0,0,0,.22);
}

.home-page .service-icon img {
  width: 36px;
  height: 36px;
}

.home-page .service-card b {
  color: inherit;
  font-size: 13px;
  line-height: 1.65;
}

.home-page .service-card p,
.home-page .service-card i { display: none; }

/* Seasonal recommendations */
.home-page .seasonal-section {
  padding: 62px 0;
  background: linear-gradient(180deg, #faf8f3, #f3f6f1);
}

.home-page .seasonal-section::before { display: none; }

.home-page .seasonal-section .container {
  position: relative;
  padding: clamp(20px, 2.3vw, 28px);
  border: 1px solid rgba(35,91,81,.16);
  border-radius: 27px;
  background:
    radial-gradient(circle at 8% 4%, rgba(229,240,233,.8), transparent 25%),
    rgba(255,255,252,.9);
  box-shadow: 0 22px 64px rgba(18,68,59,.11), inset 0 1px 0 rgba(255,255,255,.95);
}

.home-page .seasonal-header {
  align-items: center;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
}

.home-page .seasonal-header h2 {
  font-size: clamp(30px, 3.3vw, 42px);
  line-height: 1.35;
}

.home-page .jalali-date {
  min-width: 205px;
  padding: 8px 11px;
  border: 1px solid var(--home-line);
  border-radius: 11px;
  background: rgba(255,255,255,.78);
  box-shadow: none;
}

.home-page .jalali-date > span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #e5efea;
}

.home-page .season-tabs {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
  margin-bottom: 15px;
}

.home-page .season-tab {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  overflow: hidden;
  padding: 6px 9px;
  border: 1px solid rgba(39,91,82,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 4px 0 #e0e8e3, 0 9px 18px rgba(22,61,54,.06);
  text-align: right;
}

.home-page .season-tab::before,
.home-page .season-tab::after { display: none; }

.home-page .season-tab-art {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 9px;
  background-image: url("assets/seasonal/season-selector-sprite-v1.webp");
  background-repeat: no-repeat;
  background-size: 400% auto;
  background-position-y: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
}

.home-page .season-spring .season-tab-art { background-position-x: 0%; }
.home-page .season-summer .season-tab-art { background-position-x: 33.333%; }
.home-page .season-autumn .season-tab-art { background-position-x: 66.667%; }
.home-page .season-winter .season-tab-art { background-position-x: 100%; }

.home-page .season-tab b {
  color: #31564f;
  font-size: 11px;
}

.home-page .season-tab.active {
  border-color: var(--home-green);
  background: #fff;
  color: var(--home-green);
  box-shadow: 0 0 0 1px var(--home-green), 0 6px 0 #0b574e, 0 14px 24px rgba(13,81,72,.16);
  transform: translateY(-2px);
}

.home-page .season-tab.active b { color: var(--home-green); }
.home-page .season-tab.active .season-tab-art { box-shadow: inset 0 0 0 2px rgba(255,255,255,.68); }

.home-page .seasonal-slider { --seasonal-duration: 6200ms; }

.home-page .seasonal-slider-viewport {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28,65,58,.08);
  touch-action: pan-y;
}

.home-page .seasonal-slider-viewport:focus-visible {
  outline: 3px solid rgba(13,81,72,.25);
  outline-offset: 3px;
}

.home-page .seasonal-slider-track {
  display: flex;
  direction: ltr;
  transform: translate3d(calc(var(--seasonal-index, 0) * -100%),0,0);
  transition: transform .72s cubic-bezier(.2,.74,.18,1);
  will-change: transform;
}

.home-page .seasonal-slide {
  min-width: 100%;
  direction: rtl;
}

.home-page .seasonal-slide[aria-hidden="true"] { pointer-events: none; }

.home-page .seasonal-recommendation {
  min-height: 286px;
  grid-template-columns: 320px minmax(0, 1fr);
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.home-page .seasonal-media { min-height: 286px; }

.home-page .seasonal-media > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  min-width: 42px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(5,43,38,.62);
  color: #fff;
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

.home-page .seasonal-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 21px 25px 18px;
}

.home-page .seasonal-kicker { gap: 6px; }

.home-page .seasonal-kicker span {
  padding: 4px 8px;
  border: 1px solid #dbe5df;
  border-radius: 7px;
  background: #eef4ef;
  color: #436a61;
  font-size: 8px;
}

.home-page .seasonal-kicker span:last-child {
  border-color: #eadac6;
  background: #fff4e7;
  color: #8c6748;
}

.home-page .seasonal-city-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 4px;
}

.home-page .seasonal-city-heading h3 {
  flex: none;
  margin: 0;
  color: #123f38;
  font-size: 28px;
  line-height: 1.35;
}

.home-page .seasonal-city-heading b {
  overflow: hidden;
  color: #526e66;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .seasonal-summary > .seasonal-lead {
  overflow: hidden;
  display: -webkit-box;
  max-width: 720px;
  margin: 0;
  color: #62756e;
  font-size: 10px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page .seasonal-meta {
  display: grid;
  grid-template-columns: 1.1fr .75fr 1fr;
  gap: 1px;
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid #e2e7e2;
  border-radius: 10px;
  background: #e2e7e2;
}

.home-page .seasonal-meta div {
  min-width: 0;
  padding: 7px 9px;
  background: #fafbf8;
}

.home-page .seasonal-meta dt,
.home-page .seasonal-meta dd { margin: 0; }

.home-page .seasonal-meta dt {
  color: #849089;
  font-size: 7px;
  font-weight: 600;
}

.home-page .seasonal-meta dd {
  overflow: hidden;
  margin-top: 1px;
  color: #294f47;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .seasonal-card-footer {
  min-height: 31px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 9px;
}

.home-page .seasonal-card-footer p {
  max-width: 550px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #81705d;
  font-size: 8px;
  line-height: 1.6;
}

.home-page .seasonal-card-footer p > span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 6px;
  background: #fff0dd;
  color: #a26b42;
  font-size: 9px;
  font-weight: 900;
}

.home-page .seasonal-city-link {
  flex: none;
  margin: 0;
  font-size: 10px;
}

.home-page .seasonal-slider-footer {
  min-height: 45px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 9px 3px 0;
}

.home-page .seasonal-slide-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #73827c;
  font-size: 8px;
}

.home-page .seasonal-slide-status b { color: #174e46; font-size: 11px; }

.home-page .seasonal-slide-status > i {
  width: min(115px, 10vw);
  height: 3px;
  display: block;
  overflow: hidden;
  margin-right: 5px;
  border-radius: 99px;
  background: #dfe6e1;
}

.home-page .seasonal-slide-status > i em {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg,#d78255,#276f64);
  transform: scaleX(0);
  transform-origin: right;
}

.home-page .seasonal-slider.is-autoplaying .seasonal-slide-status > i em {
  animation: seasonal-auto-progress var(--seasonal-duration) linear forwards;
}

.home-page .seasonal-slider-dots { display: flex; gap: 6px; }

.home-page .seasonal-slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #b9c7c1;
  transition: width .25s ease, background .25s ease;
}

.home-page .seasonal-slider-dots button.active {
  width: 22px;
  background: #175d53;
}

.home-page .seasonal-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.home-page .seasonal-slider-controls button {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid #d3ded8;
  border-radius: 9px;
  background: rgba(255,255,255,.86);
  color: #275e55;
  font-size: 12px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.home-page .seasonal-slider-controls button:hover {
  border-color: #176156;
  background: #176156;
  color: #fff;
  transform: translateY(-2px);
}

.home-page .seasonal-play-toggle span { font-size: 8px; font-weight: 700; }

.home-page .seasonal-play-toggle i {
  width: 8px;
  height: 10px;
  display: block;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.home-page .seasonal-slider.is-paused .seasonal-play-toggle i {
  width: 0;
  height: 0;
  border: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid currentColor;
}

@keyframes seasonal-auto-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.home-page .seasonal-alternatives,
.home-page .seasonal-data-note { display: none; }

/* Personal advisor */
.home-page .advisor-section {
  position: relative;
  padding: 62px 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(238,198,142,.18), transparent 28%),
    linear-gradient(135deg, #062f2a, #0d4b43);
}

.home-page .advisor-section .advisor-grid {
  display: block;
  width: min(920px, calc(100% - 48px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .quiz-card {
  min-height: 0;
  padding: 26px 32px 24px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 22px;
  background: linear-gradient(145deg, #fffdf8, #f6f4ed);
  box-shadow: 0 28px 70px rgba(0,0,0,.22), inset 0 1px 0 #fff;
}

.home-page .quiz-card::before {
  height: 3px;
  background: linear-gradient(90deg, #c89556, #f0d19e 48%, #4d8f82);
}

.home-page .quiz-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 0 0 15px;
}

.home-page .quiz-progress > div:first-child {
  min-width: 90px;
}

.home-page .quiz-progress #step-label {
  color: var(--home-green);
  font-size: 12px;
}

.home-page .quiz-progress small {
  color: #8b7b68;
  font-size: 9px;
}

.home-page .progress-track {
  height: 4px;
  background: #e4e3dc;
}

.home-page .progress-track i {
  background: linear-gradient(90deg, #c68e50, #1b6a5e);
}

.home-page .question {
  padding: 24px 0 20px;
}

.home-page .question-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.home-page .question h3 {
  margin: 0;
  color: #153f38;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.5;
}

.home-page .selection-status {
  flex: none;
  order: 2;
  padding: 5px 9px;
  border: 1px solid #e2d4bd;
  background: #fffaf0;
  color: #90704b;
  font-size: 9px;
}

.home-page .choice-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.home-page .choice {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 13px 16px 13px 48px;
  border: 1px solid #d9ddd7;
  border-radius: 13px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 5px 16px rgba(25,58,51,.035);
}

.home-page .choice b {
  padding: 0;
  font-size: 13px;
}

.home-page .choice .tick {
  top: 50%;
  left: 15px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-color: #b9c8c1;
}

.home-page .choice.selected {
  border-color: #1c665b;
  background: linear-gradient(135deg, #e6f2ec, #fbf3e6);
  box-shadow: inset 0 0 0 1px #1c665b;
}

.home-page .choice.selected .tick {
  transform: translateY(-50%);
}

.home-page .quiz-actions {
  min-height: 55px;
  padding-top: 14px;
}

.home-page .quiz-actions .button {
  min-height: 44px;
  padding: 9px 17px;
  border-radius: 10px;
  box-shadow: none;
}

.home-page .quiz-actions [hidden] { display: none; }

.home-page .quiz-actions .button-ghost {
  border-color: #c8d2cc;
  background: transparent;
  color: var(--home-green);
}

.home-page .button {
  border-radius: 10px;
  background: var(--home-green);
}

.home-page .match-insights,
.home-page .results-section .data-note { display: none; }

.home-page .results-section { padding: 58px 0; }
.home-page .results-head { margin-bottom: 20px; }
.home-page .results-head h2 { font-size: clamp(29px,3.2vw,42px); }
.home-page .results-layout { grid-template-columns: 1.25fr .75fr; }
.home-page .featured-result { min-height: 330px; }
.home-page .featured-content p { margin-bottom: 13px; }
.home-page .other-results { grid-template-columns: 1fr 1fr; }
.home-page .mini-result { grid-template-columns: 1fr; min-height: 0; }
.home-page .mini-result img { width: 100%; height: 118px; }
.home-page .mini-result-content { padding: 12px; }

/* Destination explorer */
.home-page .explore-section {
  padding: 82px 0;
  background: var(--home-soft);
}

.home-page .explore-section .container {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .explore-control-panel {
  padding: 0;
  background: transparent;
}

.home-page .explore-control-panel .section-heading {
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .explore-control-panel .section-heading::after { display: none; }

.home-page .explore-section .section-heading h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.home-page .explore-control-panel .explorer-tools {
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .city-search {
  min-height: 48px;
  border: 1px solid #d5dfda;
  border-radius: 11px;
  background: #fff;
}

.home-page .explore-filters { align-items: center; }

.home-page .filter-chip {
  min-height: 38px;
  padding: 7px 12px;
  border-color: #cfdbd5;
  background: #fff;
  font-size: 10px;
}

.home-page .filter-chip:hover,
.home-page .filter-chip.active {
  border-color: var(--home-green);
  background: var(--home-green);
}

.home-page .explore-section .city-carousel {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .city-carousel-toolbar {
  padding: 0 0 13px;
  border-bottom: 1px solid var(--home-line);
}

.home-page .city-carousel-toolbar b { font-size: 14px; }
.home-page .city-carousel-toolbar small { font-size: 10px; }

.home-page .city-grid {
  gap: 14px;
  padding: 16px 0 18px;
}

.home-page .city-card {
  flex-basis: clamp(190px, 20vw, 238px);
  aspect-ratio: .82;
  border-radius: 15px;
}

.home-page .city-card h3 { font-size: 22px; }
.home-page .city-card p { font-size: 10px; }
.home-page .profile-status { font-size: 9px; }

.home-page .carousel-button {
  width: 38px;
  height: 38px;
  background: #fff;
}

/* Compact brand promise at the end of the decision flow */
.home-page .brand-story {
  padding: 78px 0;
  background: var(--home-green-dark);
}

.home-page .brand-story::after { display: none; }

.home-page .brand-story-grid {
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
}

.home-page .brand-story-media {
  min-height: 380px;
  border-radius: 18px;
  box-shadow: none;
}

.home-page .brand-story-copy { padding: 0; }

.home-page .brand-story-copy h2 {
  color: #fff;
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.5;
}

.home-page .brand-story-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 13px 0 19px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.home-page .brand-values article { padding: 12px 0; }
.home-page .story-link { margin-top: 18px; }

/* Results and footer */
.home-page .results-section { padding: 72px 0; background: #fff; }

.home-page .results-section .container {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .featured-result { border-radius: 16px; }
.home-page .mini-result { border-radius: 12px; }

.home-page .home-footer { background: #062f2a; }

.home-page .home-footer-main {
  min-height: 174px;
  grid-template-columns: 1.15fr .8fr .9fr;
}

@media (max-width: 900px) {
  .home-page .nav-links { gap: 18px; margin-right: 25px; }
  .home-page .service-grid { grid-template-columns: repeat(4, 1fr); }
  .home-page .seasonal-recommendation { grid-template-columns: 260px minmax(0,1fr); }
  .home-page .advisor-section .advisor-grid { grid-template-columns: 1fr; gap: 34px; }
  .home-page .advisor-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .home-page .trust-list { margin-top: 0; }
  .home-page .brand-story-grid { gap: 36px; }
}

@media (max-width: 680px) {
  .home-page {
    padding-bottom: 76px;
    font-size: 15px;
  }

  .home-page .container { width: min(100% - 32px, 1180px); }

  .home-page .hero { min-height: 640px; }

  .home-page .hero::before {
    background: linear-gradient(0deg, rgba(3,29,25,.94) 0%, rgba(3,29,25,.7) 67%, rgba(3,29,25,.18));
  }

  .home-page .hero-image { object-position: 50% center; }
  .home-page .nav { height: 66px; }
  .home-page .nav-links { display: none; }
  .home-page .nav-account { min-width: 40px; padding: 0; border: 0; }
  .home-page .nav-account span { font-size: 22px; }

  .home-page .hero-content { padding-top: 54px; }
  .home-page .hero .eyebrow { font-size: 11px; }

  .home-page .hero h1 {
    max-width: 360px;
    font-size: clamp(38px, 11.4vw, 47px);
    line-height: 1.35;
  }

  .home-page .hero-copy {
    max-width: 345px;
    margin: 12px 0 18px;
    font-size: 12px;
    line-height: 1.9;
  }

  .home-page .quick-planner {
    grid-template-columns: 1fr 104px;
    border-radius: 12px;
  }

  .home-page .planner-field { min-height: 58px; padding: 8px 12px; }
  .home-page .planner-alt { display: none; }
  .home-page .planner-submit { font-size: 11px; }
  .home-page .quick-suggestions { margin-top: 10px; }

  .home-page .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
    font-size: 9px;
  }

  .home-page .hero-trust span:last-child { grid-column: 1 / -1; }
  .home-page .hero-note { display: none; }

  .home-page .service-section,
  .home-page .seasonal-section,
  .home-page .advisor-section,
  .home-page .explore-section,
  .home-page .brand-story { padding: 56px 0; }

  .home-page .compact-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
  }

  .home-page .compact-heading h2,
  .home-page .seasonal-header h2,
  .home-page .explore-section .section-heading h2 { font-size: 28px; }

  .home-page .compact-heading > p { font-size: 11px; }

  .home-page .service-section { padding: 38px 0 45px; }
  .home-page .service-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }

  .home-page .service-card,
  .home-page .service-card.featured-service {
    min-height: 105px;
    padding: 11px 5px 14px;
    border-radius: 11px;
    box-shadow: 0 5px 0 #dfe8e3, 0 11px 20px rgba(21,61,55,.09);
  }

  .home-page .service-card.featured-service { box-shadow: 0 5px 0 #073a34, 0 13px 22px rgba(8,64,56,.2); }

  .home-page .service-icon,
  .home-page .featured-service .service-icon {
    width: 33px;
    height: 33px;
    margin-bottom: 9px;
    border-radius: 10px;
    box-shadow: inset 1px 1px 0 rgba(255,255,255,.95), 0 4px 0 #cdded5, 0 7px 12px rgba(17,68,59,.17);
  }

  .home-page .featured-service .service-icon { box-shadow: inset 1px 1px 0 #fff, 0 4px 0 #c99763, 0 7px 13px rgba(0,0,0,.2); }
  .home-page .service-icon img { width: 31px; height: 31px; }
  .home-page .service-card b { min-height: auto; font-size: 9px; line-height: 1.55; }

  .home-page .seasonal-header {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 13px;
  }

  .home-page .jalali-date {
    display: none;
  }

  .home-page .seasonal-header > div:first-child { width: 100%; }
  .home-page .season-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }

  .home-page .season-tab {
    min-height: 57px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    padding: 5px 3px;
    border-radius: 9px;
    box-shadow: 0 3px 0 #e0e8e3, 0 7px 13px rgba(22,61,54,.055);
  }

  .home-page .season-tab-art {
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }

  .home-page .season-tab b { font-size: 8px; line-height: 1.2; }

  .home-page .seasonal-section .container {
    width: min(100% - 22px, 1180px);
    padding: 13px;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(18,68,59,.11), inset 0 1px 0 #fff;
  }

  .home-page .seasonal-recommendation {
    min-height: 246px;
    grid-template-columns: clamp(108px, 30vw, 144px) minmax(0,1fr);
    border-radius: 14px;
  }

  .home-page .seasonal-slider-viewport {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(28,65,58,.08);
  }

  .home-page .seasonal-media { min-height: 246px; }

  .home-page .seasonal-media > span {
    top: 9px;
    right: 9px;
    min-width: 36px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 7px;
  }

  .home-page .seasonal-summary {
    justify-content: flex-start;
    padding: 12px 12px 10px;
  }

  .home-page .seasonal-city-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    margin: 6px 0 3px;
  }

  .home-page .seasonal-city-heading h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  .home-page .seasonal-city-heading b {
    width: 100%;
    font-size: 8px;
    line-height: 1.6;
  }

  .home-page .seasonal-summary > .seasonal-lead {
    font-size: 8px;
    line-height: 1.65;
    -webkit-line-clamp: 2;
  }

  .home-page .seasonal-kicker { gap: 4px; }
  .home-page .seasonal-kicker span { padding: 2px 5px; border-radius: 5px; font-size: 7px; }

  .home-page .seasonal-meta {
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
    border-radius: 8px;
  }

  .home-page .seasonal-meta div { padding: 5px 6px; }
  .home-page .seasonal-meta div:last-child { grid-column: 1 / -1; }
  .home-page .seasonal-meta dt { font-size: 6px; }
  .home-page .seasonal-meta dd { font-size: 7px; }

  .home-page .seasonal-card-footer {
    min-height: 24px;
    align-items: end;
    justify-content: flex-end;
    margin-top: auto;
  }

  .home-page .seasonal-card-footer p { display: none; }
  .home-page .seasonal-city-link { margin: 6px 0 0; font-size: 8px; }

  .home-page .seasonal-slider-footer {
    min-height: 42px;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding-top: 7px;
  }

  .home-page .seasonal-slide-status { gap: 3px; font-size: 7px; }
  .home-page .seasonal-slide-status b { font-size: 9px; }
  .home-page .seasonal-slide-status > i { display: none; }
  .home-page .seasonal-slider-dots { justify-content: center; gap: 5px; }
  .home-page .seasonal-slider-dots button { width: 6px; height: 6px; }
  .home-page .seasonal-slider-dots button.active { width: 18px; }
  .home-page .seasonal-slider-controls { gap: 4px; }

  .home-page .seasonal-slider-controls button {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border-radius: 8px;
    font-size: 10px;
  }

  .home-page .seasonal-play-toggle span { display: none; }

  .home-page .advisor-section .advisor-grid {
    width: min(100% - 24px, 920px);
  }

  .home-page .quiz-card {
    min-height: 0;
    padding: 17px 13px 13px;
    border-radius: 17px;
  }

  .home-page .quiz-progress {
    grid-template-columns: auto 1fr;
    gap: 13px;
    padding-bottom: 11px;
  }

  .home-page .quiz-progress > div:first-child { min-width: 76px; }
  .home-page .quiz-progress #step-label { font-size: 10px; }
  .home-page .quiz-progress small { font-size: 8px; }

  .home-page .question { padding: 17px 0 14px; }

  .home-page .question-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 13px;
  }

  .home-page .question h3 { font-size: 20px; line-height: 1.5; }
  .home-page .selection-status { order: 0; padding: 3px 7px; font-size: 8px; }
  .home-page .choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }

  .home-page .choice {
    min-height: 61px;
    padding: 10px 10px 10px 36px;
    border-radius: 11px;
  }

  .home-page .choice b { font-size: 10px; line-height: 1.5; }

  .home-page .choice .tick {
    left: 9px;
    width: 18px;
    height: 18px;
  }

  .home-page .quiz-actions { min-height: 49px; padding-top: 10px; }
  .home-page .quiz-actions .button { min-height: 40px; padding: 7px 12px; font-size: 10px; }

  .home-page .results-section { padding: 44px 0; }
  .home-page .results-layout { grid-template-columns: 1fr; gap: 10px; }
  .home-page .featured-result { min-height: 255px; }
  .home-page .featured-content { padding: 19px; }
  .home-page .other-results { grid-template-columns: 1fr 1fr; gap: 8px; }
  .home-page .mini-result img { height: 92px; }
  .home-page .mini-result-content { padding: 9px; }
  .home-page .mini-result h3 { font-size: 16px; }
  .home-page .mini-result a { font-size: 9px; }

  .home-page .explore-control-panel .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
  }

  .home-page .explore-control-panel .explorer-tools { grid-template-columns: 1fr; }
  .home-page .filter-chip { min-height: 35px; padding: 6px 10px; font-size: 9px; }
  .home-page .city-carousel-toolbar small { font-size: 9px; }
  .home-page .city-card { flex-basis: 172px; }

  .home-page .brand-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-page .brand-story-copy { order: 1; }
  .home-page .brand-story-media { order: 2; min-height: 280px; }
  .home-page .brand-story-copy h2 { font-size: 31px; }
  .home-page .brand-story-copy > p:not(.eyebrow) { font-size: 11px; }

  .home-page .home-footer-main {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 30px 0 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Community city league: a lively, editorial carousel within the home journey. */
.home-page .community-showcase {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(circle at 8% 22%, rgba(233,120,74,.18), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(242,214,165,.12), transparent 25%),
    linear-gradient(140deg, #073a35, #0b5148 58%, #083c36);
  color: #fff;
}

.home-page .community-showcase::before {
  content: "";
  position: absolute;
  width: 530px;
  height: 530px;
  left: -250px;
  top: 40px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(255,255,255,.018), 0 0 0 150px rgba(255,255,255,.012);
}

.home-page .community-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.home-page .community-intro { max-width: 500px; }
.home-page .community-live { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 21px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.07); color: #c6ddd5; font-size: 11px; font-weight: 800; }
.home-page .community-live i { width: 7px; height: 7px; border-radius: 50%; background: #68d99e; box-shadow: 0 0 0 5px rgba(104,217,158,.12); animation: community-live-pulse 1.8s infinite; }
.home-page .community-showcase .eyebrow { color: #94b9ad; }
.home-page .community-showcase h2 { margin: 3px 0 15px; color: #fff; font-size: clamp(50px,5vw,68px); line-height: 1.22; letter-spacing: -.065em; }
.home-page .community-showcase h2 em { color: transparent; background: linear-gradient(110deg,#f5dcae,#f0a479 56%,#f5dcae); background-size: 210% 100%; -webkit-background-clip: text; background-clip: text; font-style: normal; animation: community-headline-shine 5.5s ease-in-out infinite; }
.home-page .community-intro > p:last-of-type { max-width: 470px; margin: 0; color: rgba(255,255,255,.76); font-size: 15px; line-height: 2; text-wrap: pretty; }
.home-page .community-scoreline { display: flex; gap: 34px; margin: 24px 0 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.home-page .community-scoreline span { display: grid; gap: 1px; }
.home-page .community-scoreline b { font-family: "Estedad",sans-serif; font-size: 25px; }
.home-page .community-scoreline small { color: rgba(255,255,255,.52); font-size: 10px; }
.home-page .community-cta { min-height: 56px; display: flex; align-items: center; justify-content: space-between; width: min(340px,100%); padding: 0 19px; border-radius: 15px; background: linear-gradient(115deg,#e86f45,#f08b60); box-shadow: 0 17px 36px rgba(176,69,29,.31),inset 0 1px 0 rgba(255,255,255,.17); color: #fff; font-size: 14px; font-weight: 900; text-decoration: none; transition: transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s ease; }
.home-page .community-cta:hover { box-shadow: 0 22px 42px rgba(176,69,29,.4); transform: translateY(-3px); }
.home-page .community-cta span { font-size: 22px; }
.home-page .community-slider { min-width: 0; padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: rgba(255,255,255,.08); box-shadow: 0 30px 72px rgba(2,30,27,.29),inset 0 1px 0 rgba(255,255,255,.09); backdrop-filter: blur(16px); }
.home-page .community-slider-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 2px 3px 17px; }
.home-page .community-slider-head small,.home-page .community-slider-head b { display: block; }
.home-page .community-slider-head small { color: #9fc0b6; font-size: 10px; }
.home-page .community-slider-head b { margin-top: 4px; color: #fff; font-size: 15px; }
.home-page .community-slider-controls { display: flex; gap: 7px; }
.home-page .community-slider-controls button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(255,255,255,.07); color: #fff; cursor: pointer; font-size: 17px; transition: background .22s ease,transform .25s cubic-bezier(.22,1,.36,1); }
.home-page .community-slider-controls button:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.home-page .community-slider-viewport { overflow: hidden; border-radius: 20px; }
.home-page .community-slider-track { display: flex; direction: ltr; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.home-page .community-slide { position: relative; min-width: 100%; height: 430px; overflow: hidden; border-radius: 19px; direction: rtl; isolation: isolate; }
.home-page .community-slide > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-page .community-slide[aria-hidden="false"] > img { animation: community-image-in 7s ease-out both; }
.home-page .community-slide-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(5,31,28,.14),rgba(5,31,28,.2) 38%,rgba(4,28,25,.92)); }
.home-page .community-slide-top { display: flex; align-items: center; justify-content: space-between; padding: 18px; }
.home-page .community-slide-top span,.home-page .community-slide-top b { padding: 7px 10px; border: 1px solid rgba(255,255,255,.19); border-radius: 999px; background: rgba(6,41,36,.49); backdrop-filter: blur(9px); color: #fff; font-size: 10px; font-weight: 700; }
.home-page .community-slide-top b { color: #f5d79f; }
.home-page .community-slide-copy { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px; }
.home-page .community-slide[aria-hidden="false"] .community-slide-copy { animation: community-copy-in .65s cubic-bezier(.22,1,.36,1) both; }
.home-page .community-slide-copy > span { color: #c1ddd4; font-size: 11px; font-weight: 700; }
.home-page .community-slide-copy h3 { margin: 6px 0 4px; color: #fff; font-size: clamp(31px,3.5vw,44px); line-height: 1.4; }
.home-page .community-slide-copy > p { margin: 0; color: rgba(255,255,255,.66); font-size: 11px; }
.home-page .community-slide-copy > div { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.15); }
.home-page .community-slide-copy strong { color: #fff; font-size: 12px; }
.home-page .community-slide-copy a { min-height: 40px; display: inline-flex; align-items: center; color: #f3d59f; font-size: 12px; font-weight: 900; text-decoration: none; }
.home-page .community-slider-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px 0; color: rgba(255,255,255,.62); font-size: 10px; }
.home-page .community-dots { display: flex; gap: 1px; }
.home-page .community-dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-page .community-dots button::before { content: ""; position: absolute; top: 50%; right: 50%; width: 14px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.25); transform: translate(50%,-50%); transition: width .25s ease,background .25s ease; }
.home-page .community-dots button.active::before { width: 23px; background: #ed8a61; }
.home-page .community-slide-loading { min-width: 100%; height: 430px; border-radius: 19px; background: linear-gradient(100deg,rgba(255,255,255,.05),rgba(255,255,255,.13),rgba(255,255,255,.05)); background-size: 200% 100%; animation: home-community-loading 1.3s infinite; }

@keyframes community-live-pulse { 50% { opacity: .45; transform: scale(.72); } }
@keyframes home-community-loading { to { background-position: -200% 0; } }
@keyframes community-headline-shine { 0%,100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
@keyframes community-image-in { from { transform: scale(1.07); filter: saturate(.86); } to { transform: scale(1); filter: saturate(1.03); } }
@keyframes community-copy-in { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 900px) {
  .home-page .community-shell { grid-template-columns: 1fr; gap: 42px; }
  .home-page .community-intro { max-width: 620px; }
  .home-page .community-intro > p:last-of-type { max-width: 560px; }
}

@media (max-width: 680px) {
  .home-page .mobile-dock { grid-template-columns: repeat(5,1fr); }
  .home-page .mobile-dock .dock-icon-city { font-family: "Estedad",sans-serif; font-size: 18px; }
  .home-page .community-showcase { padding: 58px 0 64px; }
  .home-page .community-shell { gap: 34px; }
  .home-page .community-live { margin-bottom: 17px; font-size: 10px; }
  .home-page .community-showcase h2 { font-size: 48px; }
  .home-page .community-intro > p:last-of-type { font-size: 14px; }
  .home-page .community-scoreline { margin: 21px 0 23px; }
  .home-page .community-scoreline b { font-size: 22px; }
  .home-page .community-scoreline small { font-size: 9px; }
  .home-page .community-cta { min-height: 53px; font-size: 13px; }
  .home-page .community-slider { padding: 13px; border-radius: 21px; }
  .home-page .community-slider-head { padding: 3px 2px 13px; }
  .home-page .community-slider-head small { font-size: 9px; }
  .home-page .community-slider-head b { font-size: 12px; }
  .home-page .community-slider-controls button { width: 44px; height: 44px; }
  .home-page .community-slide,.home-page .community-slide-loading { height: 360px; border-radius: 16px; }
  .home-page .community-slide-top { padding: 13px; }
  .home-page .community-slide-top span,.home-page .community-slide-top b { font-size: 9px; }
  .home-page .community-slide-copy { padding: 19px; }
  .home-page .community-slide-copy > span,.home-page .community-slide-copy > p { font-size: 10px; }
  .home-page .community-slide-copy h3 { font-size: 29px; }
  .home-page .community-slide-copy strong,.home-page .community-slide-copy a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .community-live i,.home-page .community-slide-loading { animation: none; }
  .home-page .community-slider-track { transition: none; }
}

/* Scroll journey and section framing */
.home-page .page-scroll-progress {
  position: fixed;
  z-index: 140;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: rgba(255,255,255,.18);
}

.home-page .page-scroll-progress i {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #d78255, #efc795 48%, #3f8d80);
  box-shadow: 0 1px 7px rgba(13,81,72,.22);
  transform: scaleX(var(--page-scroll-progress, 0));
  transform-origin: right center;
  will-change: transform;
}

.home-page .section-rail {
  position: fixed;
  z-index: 95;
  top: 50%;
  left: max(14px, calc((100vw - 1360px) / 2));
  display: grid;
  gap: 3px;
  padding: 9px 7px;
  border: 1px solid rgba(28,77,68,.13);
  border-radius: 18px;
  background: rgba(255,253,248,.82);
  box-shadow: 0 14px 34px rgba(14,51,45,.12), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter: blur(13px);
  transform: translateY(-50%);
}

.home-page .section-rail::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 1px;
  background: #dbe3de;
  transform: translateX(-50%);
}

.home-page .section-rail a {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--home-green);
}

.home-page .section-rail a > i {
  width: 7px;
  height: 7px;
  display: block;
  border: 2px solid #78968f;
  border-radius: 50%;
  background: #fffdf8;
  transition: width .28s ease, height .28s ease, border-color .28s ease, background .28s ease;
}

.home-page .section-rail a > span {
  position: absolute;
  top: 50%;
  left: 38px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #083c36;
  color: #fff;
  box-shadow: 0 8px 20px rgba(4,37,33,.2);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-5px,-50%);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

.home-page .section-rail a:hover > span,
.home-page .section-rail a:focus-visible > span,
.home-page .section-rail a[aria-current="true"] > span {
  opacity: 1;
  transform: translate(0,-50%);
}

.home-page .section-rail a[aria-current="true"] {
  background: #edf4ef;
}

.home-page .section-rail a[aria-current="true"] > i {
  width: 11px;
  height: 11px;
  border-color: #0d5148;
  background: #0d5148;
  box-shadow: 0 0 0 4px rgba(13,81,72,.1);
}

.home-page .section-rail a:focus-visible {
  outline: 2px solid #d78255;
  outline-offset: 2px;
}

.home-page main > .journey-section {
  position: relative;
  scroll-margin-top: 18px;
}

.home-page main > .journey-section > .container {
  transition: opacity .68s cubic-bezier(.2,.72,.2,1), transform .68s cubic-bezier(.2,.72,.2,1);
  will-change: opacity, transform;
}

html.has-home-journey .home-page main > .journey-section:not(.is-section-visible) > .container {
  opacity: 0;
  transform: translateY(28px) scale(.992);
}

.home-page main > .journey-section.is-section-visible > .container {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-page .service-section {
  border-block: 1px solid #edf0ec;
  background:
    radial-gradient(circle at 86% 14%, rgba(232,241,235,.8), transparent 24%),
    linear-gradient(180deg, #fff, #fbfcfa);
}

.home-page .seasonal-section {
  border-bottom: 1px solid #dfe8e2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.home-page .advisor-section {
  border-block: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 -1px 0 rgba(0,0,0,.15);
}

.home-page .explore-section {
  border-top: 1px solid #dce6e0;
  background:
    radial-gradient(circle at 10% 18%, rgba(255,255,255,.95), transparent 29%),
    linear-gradient(145deg, #f2f6f2, #e9efeb);
}

.home-page .compact-heading,
.home-page .seasonal-header,
.home-page .explore-control-panel .section-heading {
  position: relative;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(29,75,66,.12);
}

.home-page .compact-heading::after,
.home-page .seasonal-header::after,
.home-page .explore-control-panel .section-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 58px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #d78255, #256d62);
}

.home-page .compact-heading { margin-bottom: 24px; }
.home-page .seasonal-header { margin-bottom: 15px; }
.home-page .explore-control-panel .section-heading { margin-bottom: 17px; }

.home-page main > .journey-section.is-journey-active .eyebrow {
  color: #2e7065;
}

@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  html:has(body.home-page) {
    scroll-snap-type: y proximity;
    scroll-padding-top: 16px;
  }

  .home-page main > .journey-section {
    scroll-snap-align: start;
  }
}

@media (max-width: 1220px) {
  .home-page .section-rail { display: none; }
}

@media (max-width: 680px) {
  .home-page .page-scroll-progress { height: 2px; }

  .home-page main > .journey-section { scroll-margin-top: 8px; }

  .home-page main > .journey-section > .container {
    transition-duration: .52s;
  }

  html.has-home-journey .home-page main > .journey-section:not(.is-section-visible) > .container {
    transform: translateY(18px);
  }

  .home-page .compact-heading,
  .home-page .seasonal-header,
  .home-page .explore-control-panel .section-heading {
    padding-bottom: 13px;
  }

  .home-page .compact-heading { margin-bottom: 17px; }
  .home-page .seasonal-header { margin-bottom: 11px; }
  .home-page .explore-control-panel .section-heading { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .page-scroll-progress i,
  .home-page main > .journey-section > .container,
  .home-page .section-rail a > i,
  .home-page .section-rail a > span {
    transition: none !important;
  }

  html.has-home-journey .home-page main > .journey-section:not(.is-section-visible) > .container {
    opacity: 1;
    transform: none;
  }
}

/* Distinct framing for each step of the homepage journey */
.home-page .hero {
  min-height: 648px;
  margin: 10px 10px 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 28px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.07),
    inset 0 -90px 100px rgba(0,27,24,.18),
    0 14px 0 #062f2a,
    0 28px 62px rgba(4,42,36,.22);
}

.home-page .service-section {
  padding: 54px 0 58px;
  background: linear-gradient(180deg, #fff 0%, #f9fbf9 100%);
}

.home-page .service-section .container {
  position: relative;
  padding: 21px 22px 25px;
  border: 1px solid #d8e4de;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(219,236,226,.82), transparent 25%),
    linear-gradient(145deg, #fff, #f5f9f6);
  box-shadow: 0 9px 0 #e0e9e4, 0 25px 52px rgba(21,61,55,.1), inset 0 1px 0 #fff;
}

.home-page .service-section .container::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -1px;
  width: 3px;
  height: 58px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #e37c50, #17665b);
}

.home-page .seasonal-section {
  padding: 64px 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(245,224,195,.42), transparent 22%),
    linear-gradient(180deg, #faf7f0, #eef4ef);
}

.home-page .seasonal-section .container {
  border-color: rgba(42,91,80,.19);
  background:
    linear-gradient(90deg, rgba(225,120,75,.7), rgba(238,205,151,.78), rgba(37,111,99,.8)) top / 100% 3px no-repeat,
    radial-gradient(circle at 8% 4%, rgba(229,240,233,.88), transparent 25%),
    rgba(255,255,252,.94);
  box-shadow: 0 10px 0 #dce7e1, 0 28px 72px rgba(18,68,59,.13), inset 0 1px 0 #fff;
}

.home-page .advisor-section {
  margin: 12px 10px;
  overflow: hidden;
  border: 1px solid rgba(231,195,144,.36);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 5%, rgba(238,198,142,.22), transparent 28%),
    linear-gradient(135deg, #052e2a, #0b5148);
  box-shadow: 0 11px 0 #052d29, 0 28px 70px rgba(5,48,42,.2), inset 0 1px 0 rgba(255,255,255,.12);
}

.home-page .advisor-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, transparent, #e3a66b 34%, #f3d8aa 58%, #4c998b 82%, transparent);
}

.home-page .explore-section {
  padding: 66px 0 76px;
  background:
    radial-gradient(circle at 10% 18%, rgba(255,255,255,.96), transparent 29%),
    linear-gradient(145deg, #eef4f1, #e5eeea);
}

.home-page .explore-section .container {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid #cadbd4;
  border-radius: 27px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(243,248,246,.95));
  box-shadow: 0 10px 0 #d4e1dc, 0 28px 65px rgba(21,70,61,.12), inset 0 1px 0 #fff;
}

.home-page .explore-section .container::before,
.home-page .explore-section .container::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-page .explore-section .container::before {
  top: -1px;
  right: 26px;
  width: 92px;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, #e17c50, #237366);
}

.home-page .explore-section .container::after {
  inset: 8px;
  border: 1px solid rgba(38,103,91,.055);
  border-radius: 20px;
}

@media (max-width: 680px) {
  .home-page .hero {
    min-height: 626px;
    margin: 6px 6px 0;
    border-radius: 21px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 8px 0 #062f2a, 0 19px 42px rgba(4,42,36,.2);
  }

  .home-page .service-section { padding: 42px 0 48px; }

  .home-page .service-section .container {
    width: min(100% - 22px, 1180px);
    padding: 14px 12px 18px;
    border-radius: 19px;
    box-shadow: 0 7px 0 #e0e9e4, 0 18px 38px rgba(21,61,55,.1), inset 0 1px 0 #fff;
  }

  .home-page .service-section .container::before {
    top: 17px;
    height: 44px;
  }

  .home-page .seasonal-section { padding: 50px 0 54px; }

  .home-page .seasonal-section .container {
    box-shadow: 0 7px 0 #dce7e1, 0 20px 48px rgba(18,68,59,.12), inset 0 1px 0 #fff;
  }

  .home-page .advisor-section {
    margin: 9px 6px 14px;
    padding: 48px 0;
    border-radius: 22px;
    box-shadow: 0 8px 0 #052d29, 0 22px 48px rgba(5,48,42,.18), inset 0 1px 0 rgba(255,255,255,.1);
  }

  .home-page .explore-section { padding: 52px 0 60px; }

  .home-page .explore-section .container {
    width: min(100% - 22px, 1180px);
    padding: 15px 13px 18px;
    border-radius: 20px;
    box-shadow: 0 7px 0 #d4e1dc, 0 20px 45px rgba(21,70,61,.11), inset 0 1px 0 #fff;
  }

  .home-page .explore-section .container::after {
    inset: 5px;
    border-radius: 16px;
  }
}

/* Premium mobile dock: generated material texture + a consistent vector icon family. */
@media (max-width: 680px) {
  .home-page {
    padding-bottom: calc(102px + env(safe-area-inset-bottom));
  }

  .home-page .mobile-dock {
    --dock-deep: #0a4e46;
    --dock-ink: #536c66;
    --dock-gold: #d4a35e;
    position: fixed;
    z-index: 150;
    right: 10px;
    bottom: max(9px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    min-height: 82px;
    padding: 8px 7px 7px;
    overflow: visible;
    border: 1px solid rgba(174,142,87,.3);
    border-radius: 25px;
    background-image:
      linear-gradient(108deg, rgba(255,254,250,.9), rgba(247,252,248,.77) 48%, rgba(255,253,247,.87)),
      url("assets/ui/mobile-dock-luxe-texture-v1.webp");
    background-position: center, center 25%;
    background-size: cover, cover;
    box-shadow:
      0 18px 42px rgba(4,45,39,.2),
      0 5px 0 rgba(7,62,55,.07),
      inset 0 1px 0 rgba(255,255,255,.96);
    isolation: isolate;
    backdrop-filter: blur(20px) saturate(1.2);
  }

  .home-page .mobile-dock::before,
  .home-page .mobile-dock::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .home-page .mobile-dock::before {
    z-index: 0;
    top: -1px;
    right: 24px;
    left: 24px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, rgba(199,146,71,.78) 24%, #f0d6a7 52%, rgba(32,105,91,.62) 82%, transparent);
    box-shadow: 0 1px 8px rgba(202,154,84,.24);
  }

  .home-page .mobile-dock::after {
    z-index: 0;
    inset: 5px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 19px;
    box-shadow: inset 0 -1px 0 rgba(23,76,66,.06);
  }

  .home-page .mobile-dock > a {
    --dock-accent: var(--dock-deep);
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 62px;
    display: grid;
    grid-template-rows: 39px 16px;
    place-items: center;
    gap: 1px;
    border-radius: 17px;
    color: var(--dock-ink);
    font-size: inherit;
    font-weight: 650;
    -webkit-tap-highlight-color: transparent;
    transition: color .25s ease, transform .38s cubic-bezier(.22,1,.36,1);
  }

  .home-page .mobile-dock .dock-icon {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(40,91,81,.08);
    border-radius: 13px;
    background: rgba(255,255,252,.3);
    color: currentColor;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
    transition:
      color .25s ease,
      background .25s ease,
      border-color .25s ease,
      box-shadow .3s ease,
      transform .38s cubic-bezier(.22,1,.36,1);
  }

  .home-page .mobile-dock svg {
    width: 21px;
    height: 21px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.72;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }

  .home-page .mobile-dock .dock-label {
    position: relative;
    z-index: 2;
    overflow: hidden;
    max-width: 100%;
    color: currentColor;
    font-size: 9px;
    line-height: 1.3;
    white-space: nowrap;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
  }

  .home-page .mobile-dock > a.active {
    color: #083f39;
    font-weight: 900;
    transform: translateY(-7px);
  }

  .home-page .mobile-dock > a.active::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 3px -2px;
    border: 1px solid rgba(191,145,77,.28);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255,255,252,.94), rgba(232,244,238,.85));
    box-shadow: 0 9px 20px rgba(12,74,64,.14), inset 0 1px 0 #fff;
  }

  .home-page .mobile-dock > a.active::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 1px;
    right: 50%;
    width: 19px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, #c98b45, #f1d29d, #2c7e70);
    box-shadow: 0 2px 8px rgba(193,140,69,.3);
    transform: translateX(50%);
  }

  .home-page .mobile-dock > a.active .dock-icon {
    border-color: rgba(223,185,118,.54);
    background: linear-gradient(145deg, #0c5d53, #073f39);
    color: #f8e7c4;
    box-shadow:
      0 7px 16px rgba(7,66,58,.24),
      inset 0 1px 0 rgba(255,255,255,.16),
      inset 0 0 0 1px rgba(255,231,189,.08);
    transform: translateY(-1px) scale(1.05);
  }

  .home-page .mobile-dock > a:not(.active):hover .dock-icon,
  .home-page .mobile-dock > a:not(.active):active .dock-icon {
    border-color: rgba(44,106,94,.18);
    background: rgba(225,239,233,.72);
    color: var(--dock-deep);
    box-shadow: 0 6px 13px rgba(12,72,63,.11), inset 0 1px 0 #fff;
    transform: translateY(-3px) scale(1.05);
  }

  .home-page .mobile-dock > a:active {
    transform: translateY(-3px) scale(.97);
  }

  .home-page .mobile-dock > a:not(.active):active {
    transform: translateY(1px) scale(.97);
  }

  .home-page .mobile-dock > a:focus-visible {
    outline: 2px solid #b98448;
    outline-offset: 2px;
  }
}
