/* LegalMark Figma homepage layout */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes statPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dotPop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes testimonialPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes goldLineDraw {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 72px;
    opacity: 1;
  }
}

@keyframes titleAccentShine {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Hero — full first screen; about section stays below the fold */
.home-hero {
  position: relative;
  color: #ffffff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--topbar-h));
  padding-bottom: 1.5rem;
  overflow: hidden;
  box-sizing: border-box;
}

.home-hero > .container {
  width: min(100% - clamp(2.25rem, 5.5vw, 4rem), var(--container));
  margin-inline: auto;
}

.home-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: calc(100% + 140px);
  background:
    linear-gradient(118deg, rgba(16, 24, 52, 0.96) 0%, rgba(20, 30, 62, 0.95) 45%, rgba(28, 39, 79, 0.94) 100%),
    url('../attached_assets/images/hero.png') center 4.5rem / cover no-repeat;
  transform: scale(1.02);
  transform-origin: center top;
  will-change: transform;
}

.home-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}

.home-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 88%, rgba(184, 149, 90, 0.38) 0%, transparent 42%),
    linear-gradient(180deg, transparent 70%, rgba(28, 39, 79, 0.28) 100%);
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.home-hero__content {
  animation: heroFadeUp 0.9s var(--ease-out) both;
  min-width: 0;
}

.home-hero__media {
  animation: heroFadeUp 0.9s var(--ease-out) 0.2s both;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  transform: translateX(-14rem);
}

.home-hero__brand {
  font-family: var(--font-accent);
  font-size: var(--fs-label);
  line-height: 1.15;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.home-hero__brand::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.75rem;
  background: var(--gold-gradient);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(184, 149, 90, 0.45);
}

.home-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.home-hero__title::before {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin-bottom: 0.5rem;
  background: var(--gold-gradient);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(184, 149, 90, 0.55);
  animation: goldLineDraw 0.9s var(--ease-out) 0.35s both;
}

.home-hero__title-line {
  display: block;
}

.home-hero__title-line--soft {
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
}

.home-hero__title-accent {
  display: block;
  background: linear-gradient(120deg, #f0e0b8 0%, #d4b77a 35%, #e8d4a8 55%, #b8955a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleAccentShine 8s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(184, 149, 90, 0.28));
}

.home-hero__lead {
  margin-top: 1.25rem;
  margin-bottom: 1.6rem;
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.88);
  text-wrap: pretty;
}

.home-hero__actions .btn--primary {
  min-width: 13.5rem;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.hero-stat {
  padding: 0.875rem 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(184, 149, 90, 0.38);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 183, 122, 0.75);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* Gold frame — matches primary button gold */
.home-frame {
  position: relative;
  width: 420px;
  max-width: 100%;
  flex-shrink: 0;
}

.home-hero .home-frame {
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.45));
  width: 380px;
  animation: none;
}

.home-hero .home-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184, 149, 90, 0.18) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.home-frame__shape {
  width: 100%;
  height: auto;
  color: transparent;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(184, 149, 90, 0.28));
}

.home-frame__image {
  position: absolute;
  top: 2.25%;
  right: 3.5%;
  bottom: 2.25%;
  left: 6%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(150, 120, 66, 0.28);
}

.home-frame__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-frame--flip {
  transform: scaleX(-1);
}

.home-frame--flip .home-frame__image {
  transform: scaleX(-1);
}

/* Sections — tighter rhythm between blocks */
.home-section {
  padding-block: clamp(2.75rem, 6vw, 5rem);
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 0.5rem);
}

.section-text {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}

.section-text--light {
  color: rgba(255, 255, 255, 0.82);
}

.section-title--light {
  color: #ffffff;
}

.section-lead--light {
  color: rgba(255, 255, 255, 0.78);
}

/* About — explicit white section starts after hero */
.home-about {
  padding-block: clamp(2.5rem, 5.5vw, 4.5rem);
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8955a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right top;
}

.home-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-about__media {
  position: relative;
}

.home-about__content .section-label {
  font-size: var(--fs-label);
}

.home-subtitle {
  font-family: var(--font-heading);
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.018em;
  text-transform: none;
  text-wrap: balance;
  margin-top: 0.55rem;
  color: var(--navy);
}

.home-subtitle--light {
  color: #ffffff;
}

.home-about__content .home-subtitle::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 0.75rem;
  background: var(--gold-gradient);
  border-radius: 999px;
}

.home-about__content .section-text {
  margin-top: 1.1rem;
  font-size: var(--fs-body);
}

.home-about .about-media--wide {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-about .about-media--wide .about-media__img {
  aspect-ratio: 5 / 2;
  min-height: 160px;
}

.home-about__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.home-about__read-more:hover {
  color: var(--navy);
}

.home-about__read-more::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.3s var(--ease-out);
}

.home-about__read-more:hover::after {
  transform: translateX(5px);
}

.home-info-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-elevated);
  border: 1px solid rgba(184, 149, 90, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease-spring), border-color 0.35s var(--ease);
}

.home-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(6px) translateY(-2px);
  border-color: rgba(184, 149, 90, 0.5);
}

.home-info-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.home-info-card p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

.home-about__content .btn {
  margin-top: 1.5rem;
}

/* Services */
.home-services {
  background:
    radial-gradient(ellipse 75% 55% at 50% -5%, rgba(184, 149, 90, 0.18) 0%, transparent 50%),
    var(--navy-gradient);
  color: #ffffff;
}

.home-services__label {
  font-family: var(--font-accent);
  font-size: var(--fs-label);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.home-services__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.018em;
  color: #ffffff;
}

.home-services__heading::before,
.home-services__heading::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(184, 149, 90, 0.4);
}

.home-services__header .section-lead {
  margin-top: 0.9rem;
  font-size: var(--fs-lead);
  max-width: 36rem;
  margin-inline: auto;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (min-width: 1025px) {
  .service-cards {
    grid-template-columns: repeat(6, 1fr);
  }

  .service-cards .service-card {
    grid-column: span 2;
  }

  .service-cards .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .service-cards .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 149, 90, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.service-card::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.service-card:hover,
.service-card.reveal-pop.is-visible:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 183, 122, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28, 39, 79, 0.75) 100%);
}

.service-card__icon {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(184, 149, 90, 0.4);
  transition: transform 0.4s var(--ease-spring);
}

.service-card:hover .service-card__icon {
  transform: scale(1.12) rotate(-6deg);
}

.service-card__body {
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.service-card__body p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.78);
}

/* Process timeline */
.home-process {
  background-color: var(--surface-elevated);
  background-image:
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23b8955a' fill-opacity='0.06'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 80px 80px;
}

.home-process__header .section-label {
  font-size: var(--fs-label);
}

.home-process__header .section-lead {
  font-size: var(--fs-lead);
}

.home-process__header .home-subtitle::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.875rem;
  margin-inline: auto;
  background: var(--gold-gradient);
  border-radius: 999px;
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.process-timeline__col {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.process-timeline__line {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding-block: 3rem;
  position: relative;
}

.process-timeline__line::before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: rgba(184, 149, 90, 0.35);
}

.process-timeline__line span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(184, 149, 90, 0.15);
}

.process-timeline__line.is-visible span {
  animation: dotPop 0.55s var(--ease-spring) both;
}

.process-timeline__line.is-visible span:nth-child(1) { animation-delay: 0.25s; }
.process-timeline__line.is-visible span:nth-child(2) { animation-delay: 0.45s; }
.process-timeline__line.is-visible span:nth-child(3) { animation-delay: 0.65s; }

.process-card {
  background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--surface-muted) 100%);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease), transform 0.4s var(--ease-spring), border-color 0.35s var(--ease);
}

.process-card:hover,
.process-card.reveal-pop.is-visible:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(184, 149, 90, 0.45);
}

.process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(184, 149, 90, 0.35);
  transition: transform 0.4s var(--ease-spring);
}

.process-card:hover .process-card__num {
  transform: scale(1.12);
}

.process-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.process-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.process-card__list li {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  padding-left: 1.25rem;
  position: relative;
}

.process-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* FAQ */
.home-faq {
  background:
    linear-gradient(rgba(28, 39, 79, 0.93), rgba(28, 39, 79, 0.93)),
    url('../attached_assets/images/doc1.jpg') center / cover no-repeat;
  color: #ffffff;
}

.home-faq__header .section-label {
  font-family: var(--font-accent);
  font-size: var(--fs-label);
}

.home-faq__header .home-subtitle::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.875rem;
  margin-inline: auto;
  background: var(--gold-gradient);
  border-radius: 999px;
}

.home-faq__header .section-lead {
  font-size: var(--fs-lead);
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(184, 149, 90, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.faq-accordion__item {
  border-bottom: 1px solid rgba(184, 149, 90, 0.35);
}

.faq-accordion__item:last-child {
  border-bottom: none;
}

.faq-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  transition: background 0.25s var(--ease);
}

.faq-accordion__question {
  flex: 1;
  min-width: 0;
}

.faq-accordion__trigger:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-accordion__item.is-open .faq-accordion__trigger {
  background: rgba(184, 149, 90, 0.2);
}

.faq-accordion__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.faq-accordion__item.is-open .faq-accordion__icon {
  background: var(--gold);
  transform: rotate(180deg);
}

.faq-accordion__icon::after {
  content: '+';
  font-size: 1.125rem;
  color: var(--gold);
  line-height: 1;
  transition: color 0.25s var(--ease);
}

.faq-accordion__item.is-open .faq-accordion__icon::after {
  content: '−';
  color: var(--navy);
}

.faq-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-accordion__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-accordion__item.is-open .faq-accordion__panel {
  grid-template-rows: 1fr;
}

.faq-accordion__panel p {
  padding: 0.25rem 1.35rem 1.15rem;
  background: rgba(184, 149, 90, 0.25);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.92);
}

.faq-cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: clamp(2.25rem, 4vw, 3rem) 1.75rem;
  text-align: center;
  background: linear-gradient(165deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border: 1px solid rgba(184, 149, 90, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.faq-cta__title {
  font-family: var(--font-heading);
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

/* Why Choose Us */
.home-why {
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8955a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    left top / auto no-repeat,
    var(--surface-muted);
}

.home-why__header .section-label {
  font-family: var(--font-accent);
  font-size: var(--fs-label);
}

.home-why__header .home-subtitle::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.875rem;
  margin-inline: auto;
  background: var(--gold-gradient);
  border-radius: 999px;
}

.home-why__header .section-lead {
  font-size: var(--fs-lead);
}

.home-testimonials__header .section-label {
  font-family: var(--font-accent);
  font-size: var(--fs-label);
}

.home-testimonials__header .home-subtitle::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.875rem;
  margin-inline: auto;
  background: var(--gold-gradient);
  border-radius: 999px;
}

.home-testimonials__header .section-lead {
  font-size: var(--fs-lead);
}

.home-blog__header .section-label {
  font-family: var(--font-accent);
  font-size: var(--fs-label);
}

.home-blog__header .home-subtitle::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.875rem;
  margin-inline: auto;
  background: var(--gold-gradient);
  border-radius: 999px;
}

.home-blog__header .section-lead {
  font-size: var(--fs-lead);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.why-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 2.5vw, 1.875rem);
  background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.why-card:hover,
.why-card.reveal-pop.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 149, 90, 0.4);
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
  background: rgba(184, 149, 90, 0.12);
  border-radius: var(--radius-sm);
  transition: transform 0.4s var(--ease-spring), background 0.3s var(--ease);
}

.why-card:hover .why-card__icon {
  transform: scale(1.15) rotate(-5deg);
  background: rgba(184, 149, 90, 0.2);
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.why-card p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

/* Quote */
.home-quote {
  background:
    linear-gradient(rgba(28, 39, 79, 0.93), rgba(28, 39, 79, 0.93)),
    url('../attached_assets/images/hero.png') center / cover no-repeat;
  color: #ffffff;
}

.home-quote__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.home-quote__name {
  font-family: var(--font-heading);
  font-size: var(--fs-title);
  font-weight: 700;
}

.home-quote__role {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-body);
  opacity: 0.85;
}

.home-quote__text {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
}

.home-quote__text p {
  font-size: var(--fs-lead);
  line-height: 1.65;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.home-quote__content .btn {
  margin-top: 2rem;
}

/* Testimonials */
.home-testimonials {
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg width='50' height='49' viewBox='0 0 50 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.4 48.7C8.5 48.7 5.5 47.4 3.3 44.7 1.1 41.9 0 37.7 0 32.2c0-5.7 1.3-11.2 3.8-16.5 2.7-5.2 6.5-10.4 11.3-15.6.1-.1.3-.2.5-.2.4 0 .6.2.7.5.2.2.3.6.2 1-2.9 3.9-4.9 7.7-6 11.4-1 3.5-1.5 7.5-1.5 11.9 0 3.3.4 5.9 1.3 7.7.9 1.8 2 3.5 3.5 4.8l-6.9 1.3c-.1-2.1.4-3.7 1.7-4.8 1.3-1.1 3-1.6 5.1-1.6 2.6 0 4.5.7 5.8 2.2 1.5 1.5 2.2 3.5 2.2 6.1 0 2.7-.9 4.7-2.6 6.2-1.6 1.3-3.9 2-7.3 2zm28.1 0c-3.9 0-6.9-1.3-9.1-4-2.1-2.8-3.1-7-3.1-12.5 0-5.9 1.3-11.4 3.8-16.7 2.7-5.2 6.5-10.4 11.4-15.6.1-.1.3-.2.5-.2.4 0 .6.2.7.5.2.2.3.6.2 1-2.9 3.9-4.9 7.7-6 11.4-1 3.5-1.5 7.5-1.5 11.9 0 3.3.4 6 1.3 7.8.9 1.8 2 3.4 3.5 4.7l-6.8 1.3c-.1-2.1.5-3.7 1.7-4.8 1.2-1.1 2.9-1.6 5-1.6 2.6 0 4.5.7 5.8 2.2 1.5 1.5 2.2 3.5 2.2 6.1 0 2.7-.9 4.7-2.6 6.2-1.6 1.3-3.9 2-7.2 2z' fill='%23b8955a' fill-opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 120px;
}

.home-testimonials .section-title,
.home-testimonials .section-lead {
  color: var(--navy);
}

.home-testimonials .section-lead {
  color: var(--text-secondary);
}

.testimonial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.testimonial-split__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.testimonial-split__label span {
  width: 12px;
  height: 12px;
  background: var(--gold);
  display: block;
}

.testimonial-slide {
  display: none;
  opacity: 0;
}

.testimonial-slide.is-active {
  display: block;
  opacity: 1;
  animation: testimonialPop 0.45s var(--ease-out) both;
}

.testimonial-slide.is-leaving {
  display: block;
  animation: testimonialPop 0.2s var(--ease) reverse both;
}

.testimonial-slide.is-entering {
  animation: testimonialPop 0.45s var(--ease-out) both;
}

.testimonial-slider__nav[hidden] {
  display: none;
}

.testimonial-slide p {
  position: relative;
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold);
}

.testimonial-slide__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-slide__author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.testimonial-slide__author strong {
  display: block;
  font-size: var(--fs-body);
  color: var(--navy);
}

.testimonial-slide__author span {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.testimonial-slider__nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonial-slider__btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 1.125rem;
  background: var(--surface-elevated);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--ease-spring), box-shadow 0.25s var(--ease);
}

.testimonial-slider__btn:hover {
  background: var(--gold-gradient);
  color: #ffffff;
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-gold);
}

.testimonial-slider__btn:active {
  transform: translateY(-1px) scale(1.02);
}

.testimonial-split__media .home-frame {
  margin-inline: auto 0;
}

/* Contact */
.home-contact {
  background:
    linear-gradient(rgba(28, 39, 79, 0.93), rgba(28, 39, 79, 0.93)),
    url('../attached_assets/images/visa_stamp.jpg') center / cover no-repeat;
  color: #ffffff;
}

.home-contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form__field span {
  font-size: var(--fs-small);
  font-weight: 600;
}

.contact-form__field--full {
  margin-top: 1rem;
}

.home-contact__form-wrap {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(184, 149, 90, 0.35);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: var(--surface-elevated);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 149, 90, 0.22);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(28, 39, 79, 0.45);
}

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

.contact-form .btn {
  margin-top: 1.5rem;
}

/* Blog */
.home-blog {
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8955a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right top;
}

.home-blog .section-title {
  color: var(--navy);
}

.home-blog .section-lead {
  color: var(--text-secondary);
}

.home-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.home-blog-slider {
  --home-blog-card-w: 280px;
  --home-blog-gap: 1.15rem;
  position: relative;
  max-width: calc((var(--home-blog-card-w) * 4) + (var(--home-blog-gap) * 3));
  margin-inline: auto;
}

.home-blog-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.home-blog-slider__track {
  display: flex;
  gap: var(--home-blog-gap);
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-blog-slider__track.is-instant {
  transition: none;
}

.home-blog-slider__slide {
  flex: 0 0 var(--home-blog-card-w);
  width: var(--home-blog-card-w);
  min-width: var(--home-blog-card-w);
  max-width: var(--home-blog-card-w);
}

.home-blog-slider__slide .blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
}

.home-blog-slider__slide .blog-card > img {
  width: 100%;
  height: 168px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-blog-slider__slide .blog-card__body {
  padding: 1.05rem 1.1rem 1.2rem;
}

.home-blog-slider__slide .blog-card__tag {
  font-size: var(--fs-small);
  padding: 0.22rem 0.55rem;
}

.home-blog-slider__slide .blog-card__title {
  font-size: var(--fs-card-title);
  margin-top: 0.55rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-slider__slide .blog-card__body > p {
  font-size: var(--fs-body);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-slider__slide .blog-card__meta time {
  font-size: var(--fs-small);
}

.home-blog-slider__slide .blog-card:hover,
.home-blog-slider__slide .blog-card.reveal-pop.is-visible:hover {
  transform: translateY(-4px);
}

.home-blog-slider__loading,
.home-blog-slider__empty {
  width: 100%;
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 1rem;
  margin: 0;
}

.home-blog-slider__footer {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.home-blog__grid .blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease-spring), border-color 0.35s var(--ease);
  background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
}

.blog-card:hover,
.blog-card.reveal-pop.is-visible:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: rgba(184, 149, 90, 0.4);
}

.blog-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover > img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.5rem 1.375rem 1.625rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  background: rgba(184, 149, 90, 0.12);
  border-radius: 999px;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card__body > p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: 1rem;
}

.blog-card__meta time {
  font-size: var(--fs-small);
  color: rgba(28, 39, 79, 0.65);
}

/* Responsive */
@media (max-width: 1100px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.75rem;
  }

  .home-hero .home-frame {
    width: 100%;
    max-width: 320px;
  }

}

@media (max-width: 1024px) {
  .home-about__grid,
  .home-quote__grid,
  .testimonial-split,
  .home-contact__grid {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-frame {
    margin-inline: auto;
  }

  .testimonial-split__media .home-frame {
    margin-inline: auto;
    max-width: 360px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-timeline__line {
    display: none;
  }

  .home-blog__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-blog-slider {
    --home-blog-card-w: 240px;
    max-width: calc((var(--home-blog-card-w) * 2) + var(--home-blog-gap));
  }

  .home-blog-slider__slide .blog-card > img {
    height: 120px;
  }

  .home-about .about-media--wide .about-media__img {
    aspect-ratio: 16 / 9;
    min-height: 140px;
  }

  .home-contact__form-wrap {
    padding: 1.5rem;
  }
}

@media (max-width: 1200px) and (min-width: 961px) {
  .home-blog-slider {
    --home-blog-card-w: 270px;
    max-width: calc((var(--home-blog-card-w) * 3) + (var(--home-blog-gap) * 2));
  }
}

@media (max-height: 760px) and (min-width: 961px) {
  .home-hero__lead {
    margin-bottom: 1rem;
  }

  .home-hero__stats {
    margin-bottom: 1rem;
  }

  .home-hero .home-frame {
    width: 300px;
  }

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.75rem;
  }
}

@media (max-width: 960px) {
  .home-hero {
    align-items: flex-start;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero__media {
    justify-content: center;
    order: -1;
    transform: none;
  }

  .home-frame {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }

  .home-hero .home-frame {
    width: 100%;
    max-width: 280px;
    animation: none;
  }

  .home-hero__lead {
    margin-bottom: 1.25rem;
  }

  .home-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: none;
    margin-bottom: 1.125rem;
  }

  .hero-stat {
    padding: 0.625rem 0.375rem;
  }

  .hero-stat__value {
    font-size: 1.1rem;
  }

  .hero-stat__label {
    font-size: 0.7rem;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .faq-accordion__trigger {
    padding: 1.125rem 1.125rem;
  }

  .faq-accordion__panel p {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .faq-cta {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .home-section {
    padding-block: clamp(2.25rem, 7vw, 3.5rem);
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .why-grid,
  .home-blog__grid {
    grid-template-columns: 1fr;
  }

  .home-blog-slider {
    --home-blog-card-w: 280px;
    max-width: 280px;
  }

  .home-blog-slider__slide .blog-card > img {
    height: 140px;
  }

  .home-about__grid {
    gap: 1.5rem;
  }

  .home-info-card {
    padding: 1.125rem 1.25rem;
  }

  .home-info-card:hover {
    transform: translateY(-2px);
  }

  .process-card {
    padding: 1.375rem;
  }

  .home-contact__form-wrap {
    padding: 1.25rem;
  }

  .service-card__body,
  .blog-card__body {
    padding: 1.125rem;
  }

  .why-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding-bottom: 2.25rem;
  }

  .home-hero .home-frame {
    max-width: 240px;
  }

  .home-hero__stats {
    gap: 0.375rem;
  }

  .hero-stat {
    padding: 0.5rem 0.25rem;
  }

  .hero-stat__label {
    font-size: 0.625rem;
    letter-spacing: 0;
  }

  .home-about .about-media--wide .about-media__img {
    aspect-ratio: 4 / 3;
    min-height: 120px;
  }
}

@media (max-width: 960px) and (max-height: 700px) {
  .home-hero__media {
    display: none;
  }
}
