/* Core design tokens */
:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --ink: #13211f;
  --muted: #667773;
  --surface: #ffffff;
  --soft: #f5f8f7;
  --line: #dde7e4;
  --shadow: 0 18px 45px rgba(19, 33, 31, 0.1);
  --radius: 18px;
}

/* Marketing and sales page */
.marketing-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 132px 0 76px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 29, 26, 0.88), rgba(7, 29, 26, 0.36)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.marketing-hero-copy {
  max-width: 820px;
}

.marketing-hero h1 {
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(2.55rem, 5.6vw, 5rem);
  line-height: 1.04;
  font-weight: 800;
}

.marketing-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.85;
}

.marketing-overview-media,
.marketing-lead-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.marketing-overview-media img,
.marketing-lead-image img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.marketing-lead-image img {
  height: 300px;
}

.marketing-overview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 26, 0), rgba(7, 29, 26, 0.64));
}

.marketing-overview-media div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(19, 33, 31, 0.56);
  backdrop-filter: blur(12px);
}

.marketing-overview-media strong,
.marketing-overview-media span {
  display: block;
}

.marketing-overview-media strong {
  margin-bottom: 5px;
}

.marketing-overview-media span {
  color: rgba(255, 255, 255, 0.78);
}

.marketing-overview-media:hover img,
.marketing-lead-image:hover img {
  transform: scale(1.04);
}

.marketing-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  margin-bottom: 34px;
}

.marketing-section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.06;
  font-weight: 800;
}

.marketing-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.marketing-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.marketing-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.marketing-strategy-grid article,
.marketing-service-grid article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 86px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.marketing-strategy-grid article::before,
.marketing-service-grid article::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -54px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #eef8f6;
  transition: transform 0.25s ease, background 0.25s ease;
}

.marketing-strategy-grid article:hover,
.marketing-service-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 22px 55px rgba(19, 33, 31, 0.09);
}

.marketing-strategy-grid article:hover::before,
.marketing-service-grid article:hover::before {
  transform: scale(1.16);
  background: #dff7f2;
}

.marketing-service-grid article.featured {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(17, 94, 89, 0.9)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=900&q=80") center/cover;
}

.marketing-service-grid article.featured::before {
  background: rgba(255, 255, 255, 0.13);
}

.marketing-strategy-grid i,
.marketing-service-grid i {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: #eef8f6;
  font-size: 1.2rem;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.marketing-strategy-grid article:hover i,
.marketing-service-grid article:hover i {
  transform: translateY(-4px);
  color: #fff;
  background: var(--primary);
}

.marketing-service-grid article.featured i {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.marketing-service-grid span {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1;
  color: rgba(15, 118, 110, 0.18);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 800;
}

.marketing-service-grid article.featured span {
  color: rgba(255, 255, 255, 0.28);
}

.marketing-strategy-grid h3,
.marketing-service-grid h3,
.marketing-strategy-grid p,
.marketing-service-grid p {
  position: relative;
  z-index: 1;
}

.marketing-strategy-grid h3,
.marketing-service-grid h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
}

.marketing-strategy-grid p,
.marketing-service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.marketing-service-grid article.featured p {
  color: rgba(255, 255, 255, 0.8);
}

.marketing-lead-section {
  background:
    linear-gradient(180deg, #f6fbfa 0%, #ffffff 100%);
}

.marketing-lead-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 26, 0), rgba(7, 29, 26, 0.64));
}

.marketing-lead-image div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(19, 33, 31, 0.54);
  backdrop-filter: blur(12px);
}

.marketing-lead-image strong,
.marketing-lead-image span {
  display: block;
}

.marketing-lead-image strong {
  margin-bottom: 5px;
}

.marketing-lead-image span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.marketing-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.marketing-lead-grid article {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.marketing-lead-grid article::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #eef8f6;
  transition: transform 0.25s ease, background 0.25s ease;
}

.marketing-lead-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 118, 110, 0.3);
  background: #fff;
  box-shadow: 0 22px 55px rgba(19, 33, 31, 0.09);
}

.marketing-lead-grid article:hover::after {
  transform: scale(1.16);
  background: #dff7f2;
}

.marketing-lead-grid small {
  position: absolute;
  left: 22px;
  top: 18px;
  color: rgba(15, 118, 110, 0.18);
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.marketing-lead-grid i {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--primary);
  background: #eef8f6;
  margin-top: 38px;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.marketing-lead-grid article:hover i {
  transform: translateY(-4px);
  color: #fff;
  background: var(--primary);
}

.marketing-lead-grid div {
  position: relative;
  z-index: 1;
  margin-top: 38px;
}

.marketing-lead-grid h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 800;
}

.marketing-lead-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
}

.marketing-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.marketing-sales-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
}

.marketing-sales-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.marketing-sales-media {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.marketing-sales-media img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.marketing-sales-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 26, 0), rgba(7, 29, 26, 0.64));
}

.marketing-sales-media div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(19, 33, 31, 0.54);
  backdrop-filter: blur(12px);
}

.marketing-sales-media strong,
.marketing-sales-media span {
  display: block;
}

.marketing-sales-media strong {
  margin-bottom: 5px;
}

.marketing-sales-media span {
  color: rgba(255, 255, 255, 0.78);
}

.marketing-sales-media:hover img {
  transform: scale(1.04);
}

.marketing-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 25px;
  width: 2px;
  background: linear-gradient(var(--primary), rgba(15, 118, 110, 0.08));
}

.marketing-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.marketing-timeline article::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: #eef8f6;
  transition: background 0.25s ease, transform 0.25s ease;
}

.marketing-timeline article:hover {
  transform: translateX(6px);
  border-color: rgba(15, 118, 110, 0.28);
  background: #fff;
  box-shadow: 0 16px 32px rgba(19, 33, 31, 0.08);
}

.marketing-timeline article:hover::after {
  transform: scaleY(1.08);
  background: #dff7f2;
}

.marketing-timeline article > span {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.marketing-timeline h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}

.marketing-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.marketing-timeline article > i {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #eef8f6;
}

/* Content making page */
.content-hero {
  padding: 150px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfa 100%);
}

.content-hero-banner {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 128px 0 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 29, 26, 0.86), rgba(7, 29, 26, 0.44)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.content-hero-copy {
  max-width: 760px;
}

.content-hero h1 {
  margin: 10px 0 22px;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
}

.content-hero-banner h1 {
  margin-bottom: 18px;
  color: #fff;
}

.content-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.content-hero-banner p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.content-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.content-hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-dark);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.content-hero-pills i {
  color: var(--primary);
}

.content-hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(19, 33, 31, 0.1);
}

.content-hero-media img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.content-hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(19, 33, 31, 0.58);
  backdrop-filter: blur(12px);
}

.content-hero-note strong,
.content-hero-note span {
  display: block;
}

.content-hero-note strong {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.content-hero-note span {
  color: rgba(255, 255, 255, 0.78);
}

.content-about-grid {
  display: grid;
  gap: 16px;
}

.content-about-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.content-about-media img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.content-about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 26, 0), rgba(7, 29, 26, 0.58));
}

.content-about-media div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(19, 33, 31, 0.52);
  backdrop-filter: blur(12px);
}

.content-about-media strong,
.content-about-media span {
  display: block;
}

.content-about-media strong {
  margin-bottom: 5px;
}

.content-about-media span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.content-about-media:hover img {
  transform: scale(1.04);
}

.content-about-grid article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.content-about-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 45px rgba(19, 33, 31, 0.08);
}

.content-about-grid i {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: #eef8f6;
  font-size: 1.2rem;
}

.content-about-grid h3 {
  grid-column: 2;
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-weight: 800;
}

.content-about-grid p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.content-services-section {
  background: linear-gradient(180deg, #f6fbfa 0%, #ffffff 100%);
}

.content-services-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  margin-bottom: 34px;
}

.content-services-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.06;
  font-weight: 800;
}

.content-services-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.content-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.content-service-card {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  padding: 88px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.content-service-card::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -54px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #eef8f6;
  transition: transform 0.25s ease, background 0.25s ease;
}

.content-service-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.content-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 22px 55px rgba(19, 33, 31, 0.09);
}

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

.content-service-card:hover::before {
  transform: scale(1.16);
  background: #dff7f2;
}

.content-service-card.featured {
  grid-column: span 2;
  min-height: 265px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(17, 94, 89, 0.9)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=80") center/cover;
}

.content-service-card.featured::before {
  background: rgba(255, 255, 255, 0.13);
}

.content-service-card i {
  position: absolute;
  z-index: 1;
  left: 22px;
  top: 22px;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: #eef8f6;
  font-size: 1.18rem;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.content-service-card:hover i {
  transform: translateY(-4px);
  color: #fff;
  background: var(--primary);
}

.content-service-card.featured i {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.content-service-card span {
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 18px;
  color: rgba(15, 118, 110, 0.18);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 800;
}

.content-service-card.featured span {
  color: rgba(255, 255, 255, 0.28);
}

.content-service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  max-width: calc(100% - 30px);
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.content-service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.content-service-card.featured p {
  color: rgba(255, 255, 255, 0.8);
}

/* B2B page */
.b2b-main {
  background: radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 34%), linear-gradient(180deg, #f7fbfa 0%, #ffffff 42%, #f3f8f7 100%);
}

.b2b-command,
.b2b-partner-map,
.b2b-process,
.b2b-cta {
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 0 24px 70px rgba(19, 33, 31, 0.08);
}

.b2b-command {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: #fff;
}

.b2b-command h2,
.b2b-process-head h2,
.b2b-cta h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

/* Legal vetting page */
.legal-matters-section {
  background: #fff;
}

.legal-matters-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  margin-bottom: 54px;
}

.legal-matters-head h2 {
  margin: 10px 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.08;
  font-weight: 800;
}

.legal-matters-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.legal-matters-media {
  position: relative;
  min-height: 500px;
  overflow: visible;
  border-radius: 8px;
  box-shadow: none;
}

.legal-matters-media::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -18px;
  width: 42%;
  height: 44%;
  border-radius: 8px;
  background: #eef8f6;
  z-index: -1;
}

.legal-matters-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-matters-stack {
  position: absolute;
  right: -24px;
  top: 34px;
  display: grid;
  gap: 14px;
  width: 190px;
}

.legal-matters-stack img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(19, 33, 31, 0.12);
}

.legal-matters-badge {
  position: absolute;
  right: 34px;
  bottom: 24px;
  z-index: 1;
  width: min(86%, 330px);
  padding: 16px 18px;
  border: 1px solid rgba(221, 231, 228, 0.82);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.legal-matters-badge strong,
.legal-matters-badge span {
  display: block;
}

.legal-matters-badge strong {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.legal-matters-badge span {
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-matters-title {
  max-width: 640px;
  margin: 10px 0 18px;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
}

.legal-matters-copy {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: 1.03rem;
}

.legal-matters-summary {
  margin-bottom: 24px;
}

.legal-matters-summary h3 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
}

.legal-matters-list {
  display: grid;
  gap: 14px;
}

.legal-matters-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.legal-matters-list article > span {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: #eef8f6;
  font-size: 1.08rem;
}

.legal-matters-list h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 800;
}

.legal-matters-list p {
  margin: 0;
  color: var(--muted);
}

.legal-verify-section {
  background:
    linear-gradient(180deg, #f6fbfa 0%, #ffffff 100%);
}

.legal-verify-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: 34px;
}

.legal-verify-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  line-height: 1.05;
  font-weight: 800;
}

.legal-verify-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.legal-verify-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.legal-verify-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 92px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.legal-verify-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.legal-verify-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: #eef8f6;
  transition: background 0.25s ease, transform 0.25s ease;
}

.legal-verify-card:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 118, 110, 0.32);
  background: #fff;
  box-shadow: 0 22px 55px rgba(19, 33, 31, 0.09);
}

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

.legal-verify-card:hover::after {
  transform: scaleY(1.08);
  background: #dff7f2;
}

.legal-verify-card.featured {
  grid-column: span 2;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(17, 94, 89, 0.94)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=900&q=80") center/cover;
}

.legal-verify-card.featured::after {
  display: none;
}

.legal-verify-image-panel {
  position: relative;
  grid-column: span 2;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-verify-image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.legal-verify-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 26, 0.02), rgba(7, 29, 26, 0.68));
}

.legal-verify-image-panel div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(19, 33, 31, 0.56);
  backdrop-filter: blur(12px);
}

.legal-verify-image-panel span,
.legal-verify-image-panel strong {
  display: block;
}

.legal-verify-image-panel span {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-verify-image-panel strong {
  font-size: 1.12rem;
  line-height: 1.35;
}

.legal-verify-image-panel:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.legal-verify-card.compact {
  grid-column: span 2;
  min-height: 210px;
}

.legal-verify-number {
  position: absolute;
  left: 22px;
  top: 20px;
  color: rgba(15, 118, 110, 0.2);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
}

.legal-verify-card.featured .legal-verify-number {
  color: rgba(255, 255, 255, 0.28);
}

.legal-verify-card > i {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--primary);
  background: #eef8f6;
  font-size: 1.25rem;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.legal-verify-card:hover > i {
  transform: translateY(-4px);
  color: #fff;
  background: var(--primary);
}

.legal-verify-card.featured > i {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.legal-verify-card h3,
.legal-verify-card p {
  position: relative;
  z-index: 1;
}

.legal-verify-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
}

.legal-verify-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-verify-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-process-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-process-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.legal-process-image:hover img {
  transform: scale(1.04);
}

.b2b-command p {
  color: var(--muted);
  margin-bottom: 24px;
}

.b2b-definition {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.b2b-definition span {
  color: rgba(255, 255, 255, 0.78);
}

.b2b-partner-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(rgba(7, 46, 42, 0.78), rgba(7, 46, 42, 0.9)), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.b2b-map-center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 210px;
  min-height: 210px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
}

.b2b-map-center i {
  font-size: 2.2rem;
  color: #8ee7d8;
}

.b2b-map-center span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.b2b-map-card {
  position: absolute;
  width: min(245px, 42%);
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.b2b-map-card i {
  color: #8ee7d8;
  font-size: 1.55rem;
}

.b2b-map-card h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
  font-weight: 800;
}

.b2b-map-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.45;
}

.map-one {
  top: 28px;
  left: 28px;
}

.map-two {
  top: 28px;
  right: 28px;
}

.map-three {
  bottom: 28px;
  left: 28px;
}

.map-four {
  right: 28px;
  bottom: 28px;
}

.b2b-stack {
  padding-top: 0;
}

.b2b-glass-card {
  position: relative;
  min-height: 270px;
  padding: 26px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 18px 45px rgba(19, 33, 31, 0.07);
}

.b2b-glass-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -68px;
  bottom: -78px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
}

.b2b-glass-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--primary);
}

.b2b-glass-card i {
  display: block;
  margin: 28px 0 18px;
  color: var(--primary);
  font-size: 2rem;
}

.b2b-glass-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.b2b-glass-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.b2b-process {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: #fff;
}

.b2b-process-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.b2b-process-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.b2b-process-rail article {
  padding: 24px;
  background: #fff;
}

.b2b-process-rail article + article {
  border-left: 1px solid var(--line);
}

.b2b-process-rail strong {
  color: var(--primary);
  font-size: 0.88rem;
}

.b2b-process-rail h3 {
  margin: 12px 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.b2b-process-rail p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.b2b-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(17, 94, 89, 0.95)), url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.b2b-cta p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 991px) {
  .b2b-partner-map {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .b2b-map-center,
  .b2b-map-card {
    position: static;
    width: 100%;
    min-height: auto;
    transform: none;
    border-radius: 8px;
  }

  .b2b-map-center {
    padding: 22px;
  }

  .b2b-process-rail {
    grid-template-columns: 1fr 1fr;
  }

  .b2b-process-rail article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .b2b-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .b2b-process-rail {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: #fbfcfc;
  line-height: 1.7;
}

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

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

.section-padding {
  padding: 90px 0;
}

.section-soft {
  background: var(--soft);
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-title {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-title h2 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.text-muted-custom {
  color: var(--muted);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221, 231, 228, 0.75);
}

.site-header {
  min-height: 64px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(19, 33, 31, 0.08);
}

.site-header .container-fluid {
  gap: 14px;
}

.site-header .navbar-collapse {
  min-width: 0;
}

.site-header .navbar-nav {
  gap: clamp(6px, 0.7vw, 14px) !important;
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.site-logo {
  min-width: 136px;
  font-size: clamp(1.45rem, 1.7vw, 1.9rem);
  color: #3f4543;
}

.site-logo:hover {
  color: var(--primary-dark);
}

.site-logo-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-right: 2px;
  color: var(--primary);
  font-size: 1.7rem;
}

.site-logo span:last-child {
  font-weight: 600;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  margin-right: 8px;
}

.nav-link {
  padding-inline: 0.35rem !important;
  font-size: clamp(0.72rem, 0.64vw, 0.82rem);
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.language-toggle,
.signin-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-toggle {
  padding: 0 12px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fff;
  color: #111827;
}

.language-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.signin-link {
  color: #111827;
}

.signin-link i {
  font-size: 1.2rem;
}

.signin-link:hover,
.language-toggle:hover {
  color: var(--primary);
}

.btn-brand {
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.btn-brand:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-brand {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  color: var(--primary-dark);
  font-weight: 700;
  background: #fff;
}

.btn-outline-brand:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Home hero and search */
.hero {
  min-height: 760px;
  padding: 140px 0 70px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 31, 28, 0.82), rgba(9, 31, 28, 0.35)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 4.6vw, 4.7rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stat {
  min-width: 128px;
  max-width: 180px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-stat span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-stat strong {
  display: block;
  font-size: 1.55rem;
}

.hero-services {
  max-width: 760px;
  margin-top: 34px;
}

.hero-services-title {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-service-item strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 1rem;
}

.hero-service-item span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-service-item-wide {
  grid-column: span 2;
}

.hero-service-item .badge {
  font-style: normal;
  font-weight: 700;
  color: var(--primary-dark) !important;
}

.form-control,
.form-select {
  border-radius: 14px;
  min-height: 52px;
  border: 1px solid var(--line);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.18rem rgba(15, 118, 110, 0.14);
}

/* Category slider */
.category-slider-section {
  padding: 72px 0 18px;
  background: #fff;
}

.category-slider-title {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.category-slider {
  overflow: hidden;
  width: 100%;
}

.category-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: categoryMarquee 28s linear infinite;
  will-change: transform;
}

.category-slider:hover .category-track {
  animation-play-state: paused;
}

.category-slide {
  position: relative;
  flex: 0 0 196px;
  width: 196px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 25px rgba(19, 33, 31, 0.1);
}

.category-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 26, 0.48);
  transition: background 0.25s ease;
}

.category-slide span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.category-slide:hover::before {
  background: rgba(15, 118, 110, 0.62);
}

.category-slide:hover {
  color: #fff;
}

@keyframes categoryMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 12px));
  }
}

.featured-real-estate-section {
  padding: 0 0 90px;
  background: #fff;
}

.featured-estate-card {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background-position: center;
  background-size: cover;
  box-shadow: 0 12px 30px rgba(19, 33, 31, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-estate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 26, 0.08), rgba(7, 29, 26, 0.82));
}

.featured-estate-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.featured-estate-card span,
.featured-estate-card strong {
  display: block;
}

.featured-estate-card span {
  font-size: 1.15rem;
  font-weight: 800;
}

.featured-estate-card strong {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
}

.featured-estate-card:hover {
  color: #fff;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.why-nirman-section {
  padding: 0 0 90px;
  background: #fff;
}

.why-nirman-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.why-nirman-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 29, 26, 0.58));
}

.why-nirman-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.why-nirman-badge {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 29, 26, 0.5);
  backdrop-filter: blur(14px);
}

.why-nirman-badge strong {
  font-size: 2rem;
  line-height: 1;
}

.why-nirman-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.why-nirman-card {
  position: relative;
  min-height: 155px;
  height: 100%;
  display: flex;
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(221, 231, 228, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 247, 0.92)),
    #fff;
  box-shadow: 0 12px 30px rgba(19, 33, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-nirman-card span {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  font-size: 1.4rem;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.18);
}

.why-nirman-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.why-nirman-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.why-nirman-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.trending-section {
  padding: 0 0 90px;
  background: #fff;
}

.trending-title {
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.view-all-link:hover {
  color: var(--primary);
}

.trending-tabs {
  display: flex;
  gap: 16px;
}

.trending-tab {
  min-width: 84px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #5d6967;
  font-weight: 700;
}

.trending-tab.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.trending-card {
  display: grid;
  grid-template-columns: 47% 53%;
  height: 148px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.trending-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(19, 33, 31, 0.1);
}

.trending-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trending-card-body {
  display: flex;
  flex-direction: column;
  padding: 15px 12px 11px;
  min-width: 0;
}

.trending-card-body h3 {
  margin: 0 0 3px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.trending-card-body p,
.trending-card-body span {
  overflow: hidden;
  margin: 0;
  color: #4f5f5b;
  font-size: 0.82rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trending-card-body a {
  display: grid;
  place-items: center;
  min-height: 40px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trending-card-body a:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.news-tv-section {
  padding: 0 0 90px;
  background: #fff;
}

.compact-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.compact-section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.compact-section-head a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 5px;
  background: var(--soft);
  color: var(--primary-dark);
}

.compact-section-head a:hover {
  background: var(--primary);
  color: #fff;
}

.news-list-item,
.video-list-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.news-list-item img,
.video-thumb img {
  width: 120px;
  height: 88px;
  border-radius: 5px;
  object-fit: cover;
}

.news-list-item span,
.video-list-item span {
  display: block;
  margin-bottom: 8px;
  color: #22302d;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-list-item h3,
.video-list-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.42;
}

.video-list {
  display: grid;
  gap: 26px;
}

.news-tv-section .col-lg-4 .video-list {
  margin-top: 68px;
}

.video-list-item {
  grid-template-columns: 120px 1fr;
}

.video-thumb {
  position: relative;
  width: 120px;
  height: 88px;
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: rgba(7, 29, 26, 0.35);
}

.video-thumb span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-size: 1.45rem;
}

/* Cards and listing components */
.property-card,
.soft-card,
.blog-card,
.city-card {
  background: var(--surface);
  border: 1px solid rgba(221, 231, 228, 0.8);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(19, 33, 31, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.property-card:hover,
.soft-card:hover,
.blog-card:hover,
.city-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.property-img {
  position: relative;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.property-img img,
.city-card img,
.blog-card img,
.gallery-main img,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.property-card:hover .property-img img,
.city-card:hover img,
.blog-card:hover img {
  transform: scale(1.05);
}

.badge-featured {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
}

.favorite-btn.active,
.favorite-btn:hover {
  color: #fff;
  background: #ef4444;
}

.property-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.property-body .btn {
  margin-top: auto;
}

.property-price {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.property-title {
  font-weight: 800;
  font-size: 1.12rem;
  margin: 8px 0;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.property-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.city-card {
  position: relative;
  min-height: 230px;
}

.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 29, 26, 0.82));
}

.city-card img {
  position: absolute;
  inset: 0;
}

.city-content {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
}

.icon-box {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary-dark);
  background: #dff7f2;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.step-panel {
  height: 100%;
  padding: 34px;
  border: 1px solid rgba(221, 231, 228, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(19, 33, 31, 0.08);
}

.step-panel h2 {
  margin: 8px 0 28px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.step-list {
  position: relative;
  display: grid;
  gap: 18px;
}

.step-list::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 25px;
  width: 2px;
  background: linear-gradient(var(--primary), rgba(15, 118, 110, 0.08));
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 32px rgba(19, 33, 31, 0.08);
}

.step-number {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.step-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.step-card > i {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary-dark);
  background: #dff7f2;
  font-size: 1.25rem;
}

.testimonial-section {
  padding: 90px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 32%),
    #fff;
}

.testimonial-heading {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.testimonial-lead {
  color: var(--muted);
}

.testimonial-slider {
  overflow: hidden;
  margin-inline: -12px;
  padding: 10px 0 24px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonialMarquee 42s linear infinite;
  will-change: transform;
}

.testimonial-slider:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  position: relative;
  flex: 0 0 420px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(221, 231, 228, 0.85);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 247, 0.9)),
    #fff;
  box-shadow: 0 18px 45px rgba(19, 33, 31, 0.08);
}

.testimonial-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.08);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.testimonial-top > span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--primary);
  font-size: 1.55rem;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  white-space: nowrap;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #22302d;
  font-size: 1.03rem;
  line-height: 1.8;
}

.testimonial-client {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 26px;
}

.testimonial-client img,
.agent-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-client strong,
.testimonial-client small {
  display: block;
}

.testimonial-client strong {
  font-weight: 800;
}

.testimonial-client small {
  color: var(--muted);
}

@keyframes testimonialMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 12px));
  }
}

.blog-card img {
  aspect-ratio: 16 / 9;
}

.cta {
  border-radius: 28px;
  padding: 58px;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.96), rgba(20, 184, 166, 0.88)),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=1500&q=80") center/cover;
  color: #fff;
}

/* Footer and secondary pages */
.footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, #031f1c 0%, #06342e 48%, #09241f 100%),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: rgba(255, 255, 255, 0.78);
  padding: 76px 0 28px;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 86px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 86px),
    radial-gradient(circle at 17% 35%, rgba(20, 184, 166, 0.2), transparent 26%),
    rgba(0, 18, 16, 0.6);
  opacity: 0.9;
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1320px) / 2));
  bottom: 92px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.82), rgba(20, 184, 166, 0.78));
  filter: blur(8px);
  opacity: 0.38;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer .row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(150px, 0.34fr) minmax(150px, 0.34fr) minmax(280px, 0.64fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  min-height: 360px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.footer .row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 39%;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.26), rgba(245, 158, 11, 0.1)),
    rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.footer .row::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 39%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.82), transparent);
  pointer-events: none;
}

.footer .row > [class*="col-"] {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: none;
}

.footer .row > [class*="col-"]:first-child,
.footer .row > [class*="col-"]:last-child {
  position: relative;
  min-height: 0;
  padding: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.footer .row > [class*="col-"]:first-child::before {
  content: "NIRMAN";
  position: absolute;
  left: 38px;
  bottom: 28px;
  max-width: calc(100% - 76px);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(3.5rem, 5vw, 6.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer .row > [class*="col-"]:first-child::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 42px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(245, 158, 11, 0.9) 49% 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(245, 158, 11, 0.9) 49% 51%, transparent 51%);
  opacity: 0.8;
}

.footer .row > [class*="col-"]:nth-child(2),
.footer .row > [class*="col-"]:nth-child(3) {
  padding: 42px 24px;
}

.footer .row > [class*="col-"]:nth-child(2) {
  padding-left: 52px;
}

.footer .row > [class*="col-"]:last-child {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.footer h5,
.footer .navbar-brand {
  color: #fff;
}

.footer h5 {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
}

.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.footer p {
  max-width: 320px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.footer .navbar-brand {
  display: inline-flex;
  width: max-content;
  margin-top: 0;
  margin-bottom: 26px !important;
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  text-decoration: none;
}

.footer .brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #14b8a6);
  box-shadow: 0 20px 46px rgba(20, 184, 166, 0.24);
}

.footer a {
  position: relative;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  margin: 10px 0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer .row > [class*="col-"]:nth-child(2) a::before,
.footer .row > [class*="col-"]:nth-child(3) a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.footer a:hover {
  color: #fff;
  transform: translateX(7px);
}

.footer .row > [class*="col-"]:nth-child(2) a:hover::before,
.footer .row > [class*="col-"]:nth-child(3) a:hover::before {
  width: 18px;
}

.footer .navbar-brand:hover {
  transform: none;
}

.footer .col-lg-4:last-child p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: none;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.footer .col-lg-4:last-child i {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 8px;
  color: #071d1a;
  background: rgba(255, 255, 255, 0.9);
}

.footer hr {
  margin: 26px 0 18px !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  opacity: 1;
}

.footer .d-flex.flex-column.flex-md-row {
  align-items: center;
  min-height: 60px;
  padding: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.footer .d-flex.flex-column.flex-md-row span:last-child {
  display: inline-flex;
  gap: 10px;
}

.footer .d-flex.flex-column.flex-md-row span:last-child i {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer .d-flex.flex-column.flex-md-row span:last-child i:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.16);
}

.page-header {
  padding: 140px 0 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 29, 26, 0.86), rgba(7, 29, 26, 0.45)),
    url("https://images.unsplash.com/photo-1560185008-b033106af5c3?auto=format&fit=crop&w=1700&q=80") center/cover;
}

.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff, #f5f8f7);
}

.about-hero h1 {
  max-width: 720px;
  margin: 10px 0 22px;
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.about-hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.about-hero-media img,
.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-media img {
  min-height: 520px;
}

.about-floating-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 29, 26, 0.58);
  backdrop-filter: blur(14px);
}

.about-floating-card strong {
  font-size: 2.2rem;
  line-height: 1;
}

.about-story {
  background: #fff;
}

.about-story-image {
  height: 480px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-story h2,
.about-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.about-stats-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.about-stats-grid strong,
.about-stats-grid span {
  display: block;
}

.about-stats-grid strong {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 800;
}

.about-stats-grid span {
  color: var(--muted);
}

.about-values {
  background: var(--soft);
}

.about-value-card {
  height: 100%;
  padding: 34px;
  border: 1px solid rgba(221, 231, 228, 0.9);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(19, 33, 31, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-value-card.featured {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.about-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.about-value-card span {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  color: var(--primary-dark);
  background: #dff7f2;
  font-size: 1.45rem;
}

.about-value-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
}

.about-value-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.about-cta {
  padding: 0 0 90px;
  background: var(--soft);
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.98), rgba(17, 94, 89, 0.9)),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.about-main {
  background: #fff;
}

.about-intro {
  background:
    linear-gradient(180deg, #fff, #f5f8f7);
}

.about-intro-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.about-intro-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-intro-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 29, 26, 0.56);
  backdrop-filter: blur(14px);
}

.about-intro-badge strong {
  font-size: 2.1rem;
  line-height: 1;
}

.about-main-title,
.about-method-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about-main-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.about-proof-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(19, 33, 31, 0.06);
}

.about-proof-grid strong,
.about-proof-grid span {
  display: block;
}

.about-proof-grid strong {
  color: var(--primary);
  font-size: 1.85rem;
  font-weight: 800;
}

.about-proof-grid span {
  color: var(--muted);
}

.about-method {
  background:
    linear-gradient(180deg, #fff, rgba(245, 248, 247, 0.72));
}

.about-method .col-lg-4 {
  position: sticky;
  top: 105px;
}

.about-method-grid {
  position: relative;
  display: grid;
  gap: 20px;
}

.about-method-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 36px;
  width: 2px;
  background: linear-gradient(var(--primary), rgba(15, 118, 110, 0.06));
}

.about-method-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(19, 33, 31, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-method-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 4px solid transparent;
  transition: border-color 0.25s ease;
}

.about-method-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.about-method-card:hover::after {
  border-left-color: var(--primary);
}

.about-method-card span {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.2);
}

.about-method-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
}

.about-method-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: normal;
  white-space: normal;
}

.about-method-card > div {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.about-method-card > i {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary-dark);
  background: #dff7f2;
  font-size: 1.25rem;
  opacity: 0.22;
}

.about-values-unique {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 35%),
    var(--soft);
}

.about-unique-card {
  height: 100%;
  padding: 34px;
  border: 1px solid rgba(221, 231, 228, 0.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(19, 33, 31, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-unique-card.featured {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.about-unique-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.about-unique-card span {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  color: var(--primary-dark);
  background: #dff7f2;
  font-size: 1.45rem;
}

.about-unique-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.about-unique-card p {
  margin: 0;
  color: var(--muted);
}

.about-unique-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.filter-sidebar {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.gallery-main {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
}

.gallery-thumb {
  aspect-ratio: 1.4 / 1;
  border-radius: 16px;
  overflow: hidden;
}

.feature-list,
.amenity-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.feature-list li,
.amenity-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--soft);
  color: #33423f;
}

.map-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background:
    linear-gradient(rgba(245, 248, 247, 0.86), rgba(245, 248, 247, 0.86)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80") center/cover;
  border: 1px solid var(--line);
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 0 70px;
  background:
    linear-gradient(90deg, rgba(245, 248, 247, 0.95), rgba(255, 255, 255, 0.8)),
    url("https://images.unsplash.com/photo-1582407947304-fd86f028f716?auto=format&fit=crop&w=1700&q=80") center/cover;
}

.auth-card {
  width: min(100%, 500px);
  padding: 34px;
}

/* Scroll reveal animation */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1399px) {
  .site-header .navbar-collapse {
    margin-top: 12px;
    padding: 14px 0 8px;
    border-top: 1px solid var(--line);
  }

  .site-header .navbar-nav {
    align-items: stretch !important;
    gap: 4px !important;
  }

  .site-header .nav-link {
    display: block;
    padding: 10px 0 !important;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  .language-toggle,
  .signin-link {
    width: 100%;
    justify-content: flex-start;
  }

  .language-toggle {
    border: 1px solid var(--line);
  }
}

@media (max-width: 991px) {
  .footer .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .footer .row::before {
    width: 100%;
    height: 245px;
  }

  .footer .row::after {
    inset: 245px 30px auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.82), transparent);
  }

  .footer .row > [class*="col-"]:first-child {
    grid-column: span 2;
    min-height: 245px;
  }

  .footer .row > [class*="col-"]:last-child {
    grid-column: span 2;
  }

  .footer .row > [class*="col-"]:nth-child(2) {
    padding-left: 42px;
  }

  .hero {
    padding-top: 120px;
  }

  .section-padding {
    padding: 68px 0;
  }

  .marketing-hero {
    min-height: 320px;
    padding: 120px 0 64px;
  }

  .marketing-section-head {
    grid-template-columns: 1fr;
  }

  .marketing-strategy-grid,
  .marketing-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-sales-layout {
    grid-template-columns: 1fr;
  }

  .marketing-sales-media {
    position: relative;
    top: auto;
  }

  .marketing-sales-media img {
    height: 360px;
  }

  .content-hero {
    padding: 125px 0 70px;
  }

  .content-hero-banner {
    min-height: 300px;
    padding: 118px 0 62px;
  }

  .content-hero-media img {
    height: 420px;
  }

  .content-services-head {
    grid-template-columns: 1fr;
  }

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

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

  .legal-matters-media,
  .legal-matters-main-img {
    min-height: 420px;
  }

  .legal-matters-head {
    grid-template-columns: 1fr;
  }

  .legal-verify-head {
    grid-template-columns: 1fr;
  }

  .legal-verify-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-verify-image-panel {
    grid-column: span 2;
  }

  .site-logo {
    min-width: auto;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0 6px;
  }

  .language-toggle,
  .signin-link {
    width: 100%;
    justify-content: flex-start;
  }

  .language-toggle {
    border: 1px solid var(--line);
  }

  .category-slide {
    flex-basis: 190px;
    width: 190px;
  }

  .about-hero {
    padding: 125px 0 70px;
  }

  .about-hero-media,
  .about-hero-media img,
  .about-story-image {
    min-height: 380px;
    height: 380px;
  }

  .about-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-method .col-lg-4 {
    position: static;
  }

  .about-intro-media,
  .about-intro-media img {
    min-height: 380px;
  }
}

@media (max-width: 575px) {
  .hero {
    min-height: auto;
    padding: 110px 0 48px;
  }

  .footer {
    padding: 52px 0 24px;
  }

  .footer::after {
    width: 260px;
    height: 260px;
  }

  .footer .row {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 0;
    border-inline: 0;
  }

  .footer .row::before {
    height: 190px;
  }

  .footer .row::after {
    inset: 190px 22px auto;
  }

  .footer .row > [class*="col-"]:first-child,
  .footer .row > [class*="col-"]:last-child {
    min-height: auto;
    padding: 22px;
  }

  .footer .row > [class*="col-"]:last-child {
    grid-column: auto;
  }

  .footer .row > [class*="col-"]:nth-child(2),
  .footer .row > [class*="col-"]:nth-child(3) {
    padding: 20px 22px;
    border-left: 1px solid rgba(245, 158, 11, 0.28);
    background: rgba(255, 255, 255, 0.04);
  }

  .footer .row > [class*="col-"]:first-child {
    grid-column: auto;
    min-height: 190px;
  }

  .footer .row > [class*="col-"]:nth-child(2) {
    padding-left: 22px;
  }

  .footer .row > [class*="col-"]:first-child::before {
    left: 22px;
    bottom: 22px;
    font-size: 3.35rem;
  }

  .footer .row > [class*="col-"]:first-child::after {
    right: 22px;
    top: 24px;
    width: 58px;
    height: 58px;
  }

  .footer .brand-mark {
    width: 48px;
    height: 48px;
  }

  .footer h5 {
    margin-bottom: 14px;
  }

  .footer p {
    max-width: none;
  }

  .footer .d-flex.flex-column.flex-md-row {
    align-items: flex-start;
    gap: 16px !important;
  }

  .hero-service-grid {
    grid-template-columns: 1fr;
  }

  .hero-service-item-wide {
    grid-column: auto;
  }

  .auth-card {
    padding: 18px;
    border-radius: 18px;
  }

  .cta {
    padding: 34px 22px;
    border-radius: 20px;
  }

  .property-body {
    padding: 18px;
  }

  .property-img {
    height: 220px;
  }

  .marketing-hero {
    min-height: 290px;
    padding: 112px 0 52px;
  }

  .marketing-overview-media img,
  .marketing-lead-image img {
    height: 260px;
  }

  .marketing-sales-media img {
    height: 260px;
  }

  .marketing-strategy-grid,
  .marketing-service-grid,
  .marketing-lead-grid {
    grid-template-columns: 1fr;
  }

  .marketing-lead-grid article {
    min-height: auto;
  }

  .marketing-timeline article {
    grid-template-columns: 52px 1fr;
  }

  .marketing-timeline article > i {
    display: none;
  }

  .content-hero-media img {
    height: 340px;
  }

  .content-hero-banner {
    min-height: 280px;
    padding: 110px 0 50px;
  }

  .content-hero-pills {
    gap: 8px;
  }

  .content-hero-pills span {
    width: 100%;
    justify-content: flex-start;
  }

  .content-about-grid article {
    grid-template-columns: 1fr;
  }

  .content-about-media img {
    height: 260px;
  }

  .content-about-grid i,
  .content-about-grid h3,
  .content-about-grid p {
    grid-column: 1;
  }

  .content-service-grid {
    grid-template-columns: 1fr;
  }

  .content-service-card,
  .content-service-card.featured {
    grid-column: auto;
    min-height: 230px;
  }

  .legal-matters-media,
  .legal-matters-main-img {
    min-height: 360px;
  }

  .legal-matters-main-img {
    height: 360px;
  }

  .legal-matters-stack {
    right: 12px;
    top: 12px;
    width: 112px;
    gap: 8px;
  }

  .legal-matters-stack img {
    height: 76px;
    border-width: 5px;
  }

  .legal-matters-badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 16px;
  }

  .legal-matters-list article {
    grid-template-columns: 1fr;
  }

  .legal-verify-grid {
    grid-template-columns: 1fr;
  }

  .legal-verify-card,
  .legal-verify-card.featured,
  .legal-verify-card.compact,
  .legal-verify-image-panel {
    grid-column: auto;
    min-height: 230px;
  }

  .legal-verify-image-panel img {
    min-height: 230px;
  }

  .category-slider-section {
    padding-top: 54px;
  }

  .category-track {
    gap: 14px;
  }

  .category-slide {
    flex-basis: 154px;
    width: 154px;
    height: 86px;
    font-size: 0.9rem;
  }

  .about-hero {
    padding: 112px 0 56px;
  }

  .about-hero-media,
  .about-hero-media img,
  .about-story-image {
    min-height: 310px;
    height: 310px;
    border-radius: 20px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-inner {
    padding: 28px;
    border-radius: 20px;
  }

  .about-intro-media,
  .about-intro-media img {
    min-height: 310px;
    border-radius: 20px;
  }

  .about-proof-grid {
    grid-template-columns: 1fr;
  }

  .about-method-card {
    grid-template-columns: 56px 1fr;
  }

  .about-method-card > i {
    display: none;
  }

  .trending-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .trending-card img {
    height: 190px;
  }

  .testimonial-section {
    padding: 68px 0;
  }

  .testimonial-card {
    flex-basis: 310px;
    min-height: 300px;
    padding: 24px;
  }

  .news-list-item,
  .video-list-item {
    grid-template-columns: 96px 1fr;
    gap: 14px;
  }

  .news-tv-section .col-lg-4 .video-list {
    margin-top: 0;
  }

  .news-list-item img,
  .video-thumb,
  .video-thumb img {
    width: 96px;
    height: 76px;
  }
}
