/* =========================================================
   BEXFORD — MAINLAND COMPANY FORMATION HERO
   Same design system as Index Hero
   ========================================================= */

.bexford-mainland-hero {
  position: relative;

  width: 100%;
  min-height: 100vh;

  overflow: hidden;

  display: flex;
  align-items: center;

  background: #002d1b;

  color: #ffffff;
}


/* =========================================================
   BACKGROUND IMAGE
   Image is added in HTML
   ========================================================= */

.bexford-mainland-hero .bexford-hero__bg {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center center;

  z-index: 0;
}


/* =========================================================
   DARK GREEN OVERLAY
   ========================================================= */

.bexford-mainland-hero .bexford-hero__overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(90deg,
      rgba(0, 35, 20, 0.96) 0%,
      rgba(0, 45, 27, 0.91) 32%,
      rgba(0, 45, 27, 0.78) 62%,
      rgba(0, 35, 20, 0.80) 100%);
}


/* =========================================================
   HERO CONTAINER
   ========================================================= */

.bexford-mainland-hero .bexford-hero__container {
  position: relative;

  z-index: 2;

  width: min(1500px, calc(100% - 100px));

  min-height: 100vh;

  margin: 0 auto;

  display: flex;

  align-items: center;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.bexford-mainland-hero .bexford-hero__content {
  width: 1200px;

  max-width: 100%;

  padding-top: 70px;
}


/* =========================================================
   H1
   ========================================================= */

.bexford-mainland-hero h1 {
  max-width: 700px;
  width: 900px;

  margin: 0 0 30px;

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  font-size: 40px !important;

  line-height: 0.96;

  letter-spacing: -1px;

  font-weight: 700;

  font-style: normal;

  color: #ffffff;
}


/* Gold highlighted word */

.bexford-mainland-hero h1 span {
  color: #d4af37;

  font-weight: 700;

  font-style: normal;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.bexford-mainland-hero .bexford-hero__text {
  max-width: 900px;

  margin: 0 0 24px;
}


.bexford-mainland-hero .bexford-hero__text p {
  margin: 0;

  color: rgba(255, 255, 255, 0.92);

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  font-size: 17px;

  line-height: 1.58;

  font-weight: 400;

  font-style: normal;
}


/* Small gap between paragraphs */

.bexford-mainland-hero .bexford-hero__text p+p {
  margin-top: 7px;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.bexford-mainland-hero .bexford-hero__benefits {
  display: grid;

  grid-template-columns: repeat(2, max-content);

  column-gap: 42px;

  row-gap: 11px;

  margin: 22px 0 28px;
}


.bexford-mainland-hero .bexford-hero__benefit {
  display: flex;

  align-items: center;

  gap: 10px;

  min-height: 25px;
}


/* Check icon */

.bexford-mainland-hero .bexford-hero__benefit span {
  width: 23px;
  height: 23px;

  flex: 0 0 23px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(212, 175, 55, 0.16);

  color: #d4af37;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 13px;

  line-height: 1;

  font-weight: 700;

  font-style: normal;
}


.bexford-mainland-hero .bexford-hero__benefit p {
  margin: 0;

  color: #ffffff;

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  font-size: 15px;

  line-height: 1.4;

  font-weight: 500;

  font-style: normal;
}


/* =========================================================
   BUTTON WRAPPER
   ========================================================= */

.bexford-mainland-hero .bexford-hero__buttons {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-top: 5px;
}


/* =========================================================
   COMMON BUTTON
   ========================================================= */

.bexford-mainland-hero .bexford-btn {
  min-height: 58px;

  padding: 0 31px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  border-radius: 999px;

  text-decoration: none;

  font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

  font-size: 16px;

  line-height: 1;

  font-weight: 600;

  font-style: normal;

  white-space: nowrap;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.bexford-mainland-hero .bexford-btn--primary {
  background: #d4af37;

  border: 2px solid #d4af37;

  color: #00351f;

  box-shadow: none;
}


.bexford-mainland-hero .bexford-btn--primary:hover {
  background: #ffffff;

  border-color: #ffffff;

  color: #00351f;

  transform: translateY(-3px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.bexford-mainland-hero .bexford-btn--secondary {
  background: transparent;

  border: 2px solid rgba(255, 255, 255, 0.95);

  color: #ffffff;
}


.bexford-mainland-hero .bexford-btn--secondary:hover {
  background: #ffffff;

  border-color: #ffffff;

  color: #00351f;

  transform: translateY(-3px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   BUTTON ARROW
   ========================================================= */

.bexford-mainland-hero .bexford-btn span {
  display: inline-block;

  font-size: 21px;

  line-height: 1;

  transition: transform 0.3s ease;
}


.bexford-mainland-hero .bexford-btn:hover span {
  transform: translateX(5px);
}


/* =========================================================
   LARGE DESKTOP
   1440px+
   ========================================================= */

@media (min-width: 1440px) {

  .bexford-mainland-hero .bexford-hero__container {
    width: min(1600px, calc(100% - 120px));
  }

  .bexford-mainland-hero .bexford-hero__content {
    padding-top: 80px;
  }

  .bexford-mainland-hero h1 {
    font-size: clamp(85px, 7vw, 125px);

    max-width: 1300px;
  }

  .bexford-mainland-hero .bexford-hero__text {
    max-width: 950px;
  }

}


/* =========================================================
   27" / LARGE MONITOR
   ========================================================= */

@media (min-width: 1800px) {

  .bexford-mainland-hero .bexford-hero__container {
    width: min(1700px, calc(100% - 140px));
  }

  .bexford-mainland-hero h1 {
    font-size: 120px;

    max-width: 1400px;
  }

  .bexford-mainland-hero .bexford-hero__text p {
    font-size: 18px;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .bexford-mainland-hero .bexford-hero__container {
    width: calc(100% - 60px);
  }

  .bexford-mainland-hero .bexford-hero__content {
    width: 850px;

    padding-top: 60px;
  }

  .bexford-mainland-hero h1 {
    font-size: clamp(58px, 7vw, 82px);

    line-height: 0.99;

    letter-spacing: -3px;

    max-width: 900px;
  }

  .bexford-mainland-hero .bexford-hero__text {
    max-width: 760px;
  }

  .bexford-mainland-hero .bexford-hero__text p {
    font-size: 16px;
  }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

  .bexford-mainland-hero {
    min-height: 850px;
  }

  .bexford-mainland-hero .bexford-hero__container {
    min-height: 850px;
  }

  .bexford-mainland-hero .bexford-hero__benefits {
    column-gap: 25px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .bexford-mainland-hero {
    min-height: 100svh;

    align-items: center;
  }

  .bexford-mainland-hero .bexford-hero__bg {
    object-position: 60% center;
  }

  .bexford-mainland-hero .bexford-hero__overlay {
    background:
      linear-gradient(90deg,
        rgba(0, 35, 20, 0.94) 0%,
        rgba(0, 45, 27, 0.88) 100%);
  }

  .bexford-mainland-hero .bexford-hero__container {
    width: calc(100% - 36px);

    min-height: 100svh;
  }

  .bexford-mainland-hero .bexford-hero__content {
    width: 100%;

    padding-top: 75px;
    padding-bottom: 45px;
  }

  .bexford-mainland-hero h1 {
    max-width: 100%;

    margin-bottom: 22px;

    font-size: clamp(42px, 11vw, 58px);

    line-height: 1.03;

    letter-spacing: -1.5px;
  }

  .bexford-mainland-hero .bexford-hero__text {
    max-width: 100%;

    margin-bottom: 20px;
  }

  .bexford-mainland-hero .bexford-hero__text p {
    font-size: 15px;

    line-height: 1.58;
  }

  .bexford-mainland-hero .bexford-hero__text p+p {
    margin-top: 8px;
  }

  .bexford-mainland-hero .bexford-hero__benefits {
    grid-template-columns: 1fr;

    column-gap: 0;

    row-gap: 9px;

    margin: 20px 0 25px;
  }

  .bexford-mainland-hero .bexford-hero__benefit {
    gap: 9px;
  }

  .bexford-mainland-hero .bexford-hero__benefit p {
    font-size: 14px;
  }

  .bexford-mainland-hero .bexford-hero__buttons {
    flex-direction: column;

    align-items: stretch;

    gap: 12px;

    margin-top: 5px;
  }

  .bexford-mainland-hero .bexford-btn {
    width: 100%;

    min-height: 55px;

    padding: 0 22px;

    font-size: 15px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .bexford-mainland-hero .bexford-hero__container {
    width: calc(100% - 28px);
  }

  .bexford-mainland-hero .bexford-hero__content {
    padding-top: 70px;
    padding-bottom: 35px;
  }

  .bexford-mainland-hero h1 {
    font-size: 40px;

    line-height: 1.04;

    letter-spacing: -1px;
  }

  .bexford-mainland-hero .bexford-hero__text p {
    font-size: 14px;

    line-height: 1.55;
  }

  .bexford-mainland-hero .bexford-hero__benefit p {
    font-size: 13.5px;
  }

  .bexford-mainland-hero .bexford-btn {
    min-height: 53px;

    font-size: 14px;
  }

}

/* =====================================================
   LEGAL TIMELINE
   PREMIUM BEXFORD DESIGN
===================================================== */

.legal-timeline-section {

  --racing-green: #004225;
  --ivory: #FFFFF0;
  --luxury-gold: #D4AF37;

  position: relative;

  overflow: hidden;

  background:
    var(--racing-green);

  color:
    var(--ivory);

  padding:
    110px 5vw 130px;

}


/* =====================================================
   BACKGROUND ATMOSPHERE
===================================================== */

.legal-timeline-section::before {

  content: "";

  position: absolute;

  width: 650px;

  height: 650px;

  top: -300px;

  left: 50%;

  transform:
    translateX(-50%);

  border-radius: 50%;

  background:

    radial-gradient(circle,

      rgba(212,
        175,
        55,
        0.08),

      transparent 65%);

  pointer-events: none;

}


.legal-timeline-section::after {

  content: "";

  position: absolute;

  inset: 0;

  opacity: .025;

  background-image:

    linear-gradient(rgba(255,
        255,
        240,
        .5) 1px,
      transparent 1px),

    linear-gradient(90deg,
      rgba(255,
        255,
        240,
        .5) 1px,
      transparent 1px);

  background-size:
    90px 90px;

  pointer-events: none;

}



/* =====================================================
   CONTAINER
===================================================== */

.legal-timeline-container {

  position: relative;

  z-index: 2;

  max-width:
    1400px;

  margin:
    0 auto;

}



/* =====================================================
   HEADER
===================================================== */

.legal-timeline-header {

  text-align:
    center;

  margin-bottom:
    110px;

}


.legal-timeline-header h2 {

  margin:
    0 0 18px;

  font-family:

    "Cormorant Garamond",
    Georgia,
    serif;

  font-size:

    clamp(48px,
      5vw,
      75px);

  font-weight:
    500;

  line-height:
    1;

  letter-spacing:
    -1px;

  color:
    var(--ivory);

}


.legal-timeline-header p {

  margin:
    0;

  font-family:

    "Inter",
    Arial,
    sans-serif;

  font-size:
    17px;

  color:

    rgba(255,
      255,
      240,
      .65);

}



/* =====================================================
   TIMELINE
===================================================== */

.legal-timeline {

  position:
    relative;

}



/* =====================================================
   CENTER TIMELINE LINE
===================================================== */

.legal-timeline::before {

  content: "";

  position: absolute;

  top:
    0;

  bottom:
    0;

  left:
    50%;

  width:
    1px;

  transform:
    translateX(-50%);

  background:

    linear-gradient(to bottom,

      transparent,

      var(--luxury-gold) 8%,

      var(--luxury-gold) 92%,

      transparent);

  opacity:
    .75;

}



/* =====================================================
   TIMELINE ITEM
===================================================== */

.legal-timeline-item {

  position:
    relative;

  display:
    grid;

  grid-template-columns:
    1fr 100px 1fr;

  align-items:
    center;

  min-height:
    300px;

}



/* =====================================================
   CENTER NODE
===================================================== */

.legal-timeline-node {

  position:
    relative;

  z-index:
    5;

  width:
    58px;

  height:
    58px;

  margin:
    0 auto;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    2px solid var(--luxury-gold);

  border-radius:
    50%;

  background:
    var(--racing-green);

  box-shadow:

    0 0 0 8px rgba(0,
      66,
      37,
      .9),

    0 0 25px rgba(212,
      175,
      55,
      .35);

  transition:

    transform .5s cubic-bezier(.22,
      1,
      .36,
      1),

    box-shadow .5s ease;

}


.legal-node-icon {

  color:
    var(--luxury-gold);

  font-size:
    21px;

  line-height:
    1;

  transition:
    transform .5s ease;

}


.legal-timeline-item:hover .legal-timeline-node {

  transform:
    scale(1.15);

  box-shadow:

    0 0 0 8px rgba(0,
      66,
      37,
      .9),

    0 0 45px rgba(212,
      175,
      55,
      .65);

}


.legal-timeline-item:hover .legal-node-icon {

  transform:
    rotate(15deg) scale(1.15);

}



/* =====================================================
   LEFT / RIGHT CONTENT
===================================================== */

.legal-timeline-content {

  padding:
    35px 60px;

}


.left-item .legal-timeline-content {

  text-align:
    right;

}


.right-item .legal-timeline-content {

  text-align:
    left;

}


.legal-timeline-content h3 {

  margin:
    0 0 20px;

  font-family:

    "Cormorant Garamond",
    Georgia,
    serif;

  font-size:
    28px;

  font-weight:
    600;

  color:
    var(--luxury-gold);

}


.legal-timeline-content p {

  margin:
    0;

  font-family:

    "Inter",
    Arial,
    sans-serif;

  font-size:
    16px;

  line-height:
    1.7;

  color:

    rgba(255,
      255,
      240,
      .72);

}



/* =====================================================
   PHASE CARDS
===================================================== */

.legal-timeline-card {

  position:
    relative;

  padding:
    38px 42px;

  min-height:
    165px;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  border:
    1px solid rgba(212,
      175,
      55,
      .65);

  border-radius:
    30px;

  background:

    rgba(255,
      255,
      240,
      .035);

  transition:

    transform .5s cubic-bezier(.22,
      1,
      .36,
      1),

    background .5s ease,

    box-shadow .5s ease;

  overflow:
    hidden;

}



/* =====================================================
   CARD GOLD LIGHT
===================================================== */

.legal-timeline-card::before {

  content: "";

  position:
    absolute;

  top:
    0;

  left:
    -100%;

  width:
    100%;

  height:
    2px;

  background:
    var(--luxury-gold);

  transition:
    left .7s ease;

}


.legal-timeline-card:hover::before {

  left:
    100%;

}


.legal-timeline-card:hover {

  transform:
    translateY(-8px);

  background:

    rgba(212,
      175,
      55,
      .055);

  box-shadow:

    0 20px 50px rgba(0,
      0,
      0,
      .12);

}



/* =====================================================
   PHASE TEXT
===================================================== */

.legal-timeline-card span {

  margin-bottom:
    18px;

  font-family:

    "Inter",
    Arial,
    sans-serif;

  font-size:
    14px;

  font-weight:
    600;

  color:
    var(--luxury-gold);

}


.legal-timeline-card p {

  margin:
    0;

  font-family:

    "Cormorant Garamond",
    Georgia,
    serif;

  font-size:
    21px;

  font-style: normal;

  line-height:
    1.5;

  color:
    var(--ivory);

}



/* =====================================================
   SCROLL REVEAL
===================================================== */

.legal-timeline-item {
  opacity: 0;
  transition: all 0.9s cubic-bezier(.22, 1, .36, 1);
}

.legal-timeline-item.left-item {
  transform: translateX(-150px);
}

.legal-timeline-item.right-item {
  transform: translateX(150px);
}

.legal-timeline-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

  .legal-timeline-section {

    padding:
      80px 24px 100px;

  }


  .legal-timeline-header {

    margin-bottom:
      70px;

  }


  .legal-timeline::before {

    left:
      24px;

    transform:
      none;

  }


  .legal-timeline-item {
    display: flex;
    flex-direction: column;
    min-height: auto;
    margin-bottom: 55px;
    padding-left: 70px;
    position: relative;
  }

  .legal-timeline-node {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .legal-timeline-content {
    padding: 0 0 25px 0;
  }

  .legal-timeline-card {
    margin: 0;
    padding: 28px;
    min-height: auto;
  }

  .left-item .legal-timeline-content,
  .right-item .legal-timeline-content {
    text-align: left;
  }

  .left-item .legal-timeline-card,
  .right-item .legal-timeline-card {
    margin-left: 0;
  }
}

/* =====================================================
   WILL PREPARATION — WHY IT MATTERS
   PREMIUM BEXFORD DESIGN
===================================================== */

.will-matters-section {

  --racing-green: #004225;
  --ivory: #FFFFF0;
  --luxury-gold: #D4AF37;

  position: relative;

  overflow: hidden;

  background:
    var(--racing-green);

  color:
    var(--ivory);

  padding:
    120px 6vw;

  isolation: isolate;

}



/* =====================================================
   BACKGROUND ATMOSPHERE
===================================================== */

.will-matters-section::before {

  content: "";

  position: absolute;

  width: 700px;

  height: 700px;

  left: -350px;

  top: 50%;

  transform:
    translateY(-50%);

  border-radius: 50%;

  background:

    radial-gradient(circle,

      rgba(212,
        175,
        55,
        .08),

      transparent 68%);

  filter:
    blur(20px);

  pointer-events:
    none;

}


.will-matters-section::after {

  content: "";

  position: absolute;

  inset: 0;

  z-index: -1;

  opacity: .025;

  background-image:

    linear-gradient(rgba(255,
        255,
        240,
        .5) 1px,
      transparent 1px),

    linear-gradient(90deg,
      rgba(255,
        255,
        240,
        .5) 1px,
      transparent 1px);

  background-size:
    90px 90px;

  pointer-events:
    none;

}



/* =====================================================
   MAIN CONTAINER
===================================================== */

.will-matters-container {

  position:
    relative;

  z-index:
    2;

  max-width:
    1350px;

  margin:
    0 auto;

  display:
    grid;

  grid-template-columns:
    .85fr 1.15fr;

  align-items:
    center;

  gap:
    100px;

}



/* =====================================================
   LEFT CONTENT
===================================================== */

.will-matters-intro {

  max-width:
    520px;

  opacity:
    0;

  transform:
    translateX(-50px);

  animation:

    willIntroReveal 1s cubic-bezier(.22,
      1,
      .36,
      1) forwards;

}



/* =====================================================
   HEADING
===================================================== */

.will-matters-intro h2 {

  margin:
    0 0 35px;

  font-family:

    "Cormorant Garamond",
    Georgia,
    serif;

  font-size:

    clamp(48px,
      5vw,
      75px);

  font-weight:
    500;

  line-height:
    1.05;

  letter-spacing:
    -2px;

  color:
    var(--ivory);

}



/* =====================================================
   PARAGRAPH
===================================================== */

.will-matters-intro p {

  margin:
    0;

  max-width:
    520px;

  font-family:

    "Inter",
    Arial,
    sans-serif;

  font-size:
    17px;

  line-height:
    1.85;

  color:

    rgba(255,
      255,
      240,
      .72);

}



/* =====================================================
   GOLD LINE
===================================================== */

.will-gold-line {

  display:
    block;

  width:
    120px;

  height:
    3px;

  margin-top:
    45px;

  background:
    var(--luxury-gold);

  transform-origin:
    left;

  animation:

    goldLineReveal 1.2s .5s cubic-bezier(.22,
      1,
      .36,
      1) forwards;

  transform:
    scaleX(0);

}



/* =====================================================
   RIGHT CARDS
===================================================== */

.will-matters-cards {

  display:
    flex;

  flex-direction:
    column;

  gap:
    28px;

}



/* =====================================================
   CARD
===================================================== */

.will-matters-card {

  position:
    relative;

  display:
    flex;

  align-items:
    center;

  gap:
    35px;

  min-height:
    145px;

  padding:
    30px 40px;

  border:
    1px solid rgba(212,
      175,
      55,
      .38);

  border-radius:
    28px;

  background:

    linear-gradient(120deg,

      rgba(255,
        255,
        240,
        .055),

      rgba(255,
        255,
        240,
        .015));

  opacity:
    0;

  transform:
    translateX(60px);

  animation:

    willCardReveal .9s cubic-bezier(.22,
      1,
      .36,
      1) forwards;

  transition:

    transform .5s cubic-bezier(.22,
      1,
      .36,
      1),

    border-color .4s ease,

    background .4s ease,

    box-shadow .4s ease;

  overflow:
    hidden;

}



/* =====================================================
   CARD ANIMATION DELAYS
===================================================== */

.will-matters-card:nth-child(1) {

  animation-delay:
    .2s;

}


.will-matters-card:nth-child(2) {

  animation-delay:
    .4s;

}


.will-matters-card:nth-child(3) {

  animation-delay:
    .6s;

}



/* =====================================================
   GOLD CARD EDGE
===================================================== */

.will-matters-card::before {

  content: "";

  position:
    absolute;

  left:
    0;

  top:
    0;

  width:
    3px;

  height:
    100%;

  background:
    var(--luxury-gold);

  transform:
    scaleY(0);

  transform-origin:
    bottom;

  transition:

    transform .6s cubic-bezier(.22,
      1,
      .36,
      1);

}


.will-matters-card:hover {

  transform:
    translateX(-8px);

  border-color:

    rgba(212,
      175,
      55,
      .8);

  background:

    rgba(212,
      175,
      55,
      .055);

  box-shadow:

    0 20px 50px rgba(0,
      0,
      0,
      .12);

}


.will-matters-card:hover::before {

  transform:
    scaleY(1);

  transform-origin:
    top;

}



/* =====================================================
   ICON
===================================================== */

.will-card-icon {

  flex:
    0 0 52px;

  width:
    52px;

  height:
    52px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  color:
    var(--luxury-gold);

  border:
    1px solid rgba(212,
      175,
      55,
      .45);

  border-radius:
    50%;

  transition:

    transform .5s ease,

    background .4s ease;

}


.will-card-icon svg {

  width:
    25px;

  height:
    25px;

  stroke:
    currentColor;

  stroke-width:
    1.5;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;

}


.will-matters-card:hover .will-card-icon {

  transform:
    rotate(8deg) scale(1.1);

  background:

    rgba(212,
      175,
      55,
      .08);

}



/* =====================================================
   CARD CONTENT
===================================================== */

.will-card-content h3 {

  margin:
    0 10px;

  font-family:

    "Cormorant Garamond",
    Georgia,
    serif;

  font-size:
    27px;

  font-weight:
    600;

  color:
    var(--ivory);

}


.will-card-content p {

  margin:
    0;

  font-family:

    "Inter",
    Arial,
    sans-serif;

  font-size:
    15px;

  line-height:
    1.65;

  color:

    rgba(255,
      255,
      240,
      .62);

}



/* =====================================================
   KEYFRAME ANIMATIONS
===================================================== */

@keyframes willIntroReveal {

  from {

    opacity:
      0;

    transform:
      translateX(-50px);

  }

  to {

    opacity:
      1;

    transform:
      translateX(0);

  }

}


@keyframes willCardReveal {

  from {

    opacity:
      0;

    transform:
      translateX(60px);

  }

  to {

    opacity:
      1;

    transform:
      translateX(0);

  }

}


@keyframes goldLineReveal {

  to {

    transform:
      scaleX(1);

  }

}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

  .will-matters-section {

    padding:
      100px 6vw;

  }


  .will-matters-container {

    grid-template-columns:
      1fr;

    gap:
      70px;

  }


  .will-matters-intro {

    max-width:
      700px;

  }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  .will-matters-section {

    padding:
      80px 24px;

  }


  .will-matters-intro h2 {

    font-size:
      50px;

  }


  .will-matters-intro p {

    font-size:
      15px;

  }


  .will-matters-card {

    align-items:
      flex-start;

    gap:
      22px;

    padding:
      28px 22px;

    border-radius:
      22px;

  }


  .will-card-icon {

    flex:
      0 0 45px;

    width:
      45px;

    height:
      45px;

  }


  .will-card-icon svg {

    width:
      21px;

    height:
      21px;

  }


  .will-card-content h3 {

    font-size:
      23px;

  }


  .will-card-content p {

    font-size:
      14px;

  }

}

/* =========================================
   JURISDICTION SECTION
========================================= */

.jurisdiction-section {
  position: relative;
  width: 100%;
  padding: 120px 6%;
  background: #004225;
  color: #FFFFF0;
  overflow: hidden;
}


/* =========================================
   BACKGROUND DECORATION
========================================= */

.jurisdiction-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);

  background: radial-gradient(circle,
      rgba(212, 175, 55, 0.08) 0%,
      rgba(212, 175, 55, 0.03) 35%,
      transparent 70%);

  pointer-events: none;
}


.jurisdiction-section::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255, 255, 240, 0.025) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 240, 0.025) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image: linear-gradient(to bottom,
      transparent,
      black 20%,
      black 80%,
      transparent);

  pointer-events: none;
}


/* =========================================
   CONTAINER
========================================= */

.jurisdiction-container {
  position: relative;
  z-index: 2;

  max-width: 1250px;
  margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.jurisdiction-header {
  max-width: 760px;
  margin: 0 auto 75px;

  text-align: center;

  animation: headerReveal 1s ease forwards;
}


.jurisdiction-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin-bottom: 22px;

  color: #D4AF37;

  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;

  letter-spacing: 4px;
  text-transform: uppercase;
}


.eyebrow-line {
  width: 45px;
  height: 1px;

  background: #D4AF37;

  opacity: 0.7;
}


.jurisdiction-header h2 {
  margin: 0;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 500;

  line-height: 1.05;

  color: #FFFFF0;

  letter-spacing: -1px;
}


.jurisdiction-header h2 span {
  display: block;

  color: #D4AF37;

  font-style: normal;

  text-shadow:
    0 0 20px rgba(212, 175, 55, 0.15);
}


.jurisdiction-header p {
  max-width: 650px;

  margin: 25px auto 0;

  color: rgba(255, 255, 240, 0.72);

  font-family: "Inter", sans-serif;

  font-size: 16px;
  line-height: 1.8;
}


/* =========================================
   CARD GRID
========================================= */

.jurisdiction-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 55px;
}


/* =========================================
   CARD
========================================= */

.jurisdiction-card {
  position: relative;

  min-height: 480px;

  padding: 1px;

  border-radius: 28px;

  background:
    linear-gradient(135deg,
      rgba(212, 175, 55, 0.35),
      rgba(255, 255, 240, 0.04) 35%,
      rgba(212, 175, 55, 0.08) 70%,
      rgba(212, 175, 55, 0.25));

  overflow: hidden;

  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s ease;
}


/* INNER CARD */

.jurisdiction-card::before {
  content: "";

  position: absolute;
  inset: 1px;

  border-radius: 27px;

  background:
    linear-gradient(145deg,
      #0b4935,
      #073b2c);

  z-index: 0;
}


/* GOLD SHIMMER */

.jurisdiction-card::after {
  content: "";

  position: absolute;

  top: -150%;
  left: -100%;

  width: 70%;
  height: 300%;

  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 240, 0.08),
      transparent);

  transform: rotate(25deg);

  transition: left 0.9s ease;

  pointer-events: none;

  z-index: 3;
}


.jurisdiction-card:hover::after {
  left: 140%;
}


/* =========================================
   CARD HOVER
========================================= */

.jurisdiction-card:hover {
  transform: translateY(-12px);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.25),
    0 0 35px rgba(212, 175, 55, 0.12),
    inset 0 0 25px rgba(212, 175, 55, 0.04);
}


/* =========================================
   GOLD GLOW
========================================= */

.card-glow {
  position: absolute;

  width: 200px;
  height: 200px;

  top: -100px;
  right: -100px;

  background: radial-gradient(circle,
      rgba(212, 175, 55, 0.15),
      transparent 70%);

  opacity: 0;

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;

  pointer-events: none;
}


.jurisdiction-card:hover .card-glow {
  opacity: 1;

  transform: scale(1.5);
}


/* =========================================
   CARD CONTENT
========================================= */

.card-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  height: 100%;

  min-height: 478px;

  padding: 48px 55px;
}


/* =========================================
   CARD TOP
========================================= */

.card-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 45px;
}


.card-label {
  font-family: "Inter", sans-serif;

  font-size: 28px;
  font-weight: 600;

  color: #FFFFF0;
}


.card-number {
  font-family: "Inter", sans-serif;

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 2px;

  color: #D4AF37;

  opacity: 0.8;
}


/* =========================================
   CARD TITLE
========================================= */

.jurisdiction-card h3 {
  margin: 0 0 38px;

  font-family: "Inter", sans-serif;

  font-size: 20px;
  font-weight: 600;

  line-height: 1.5;

  color: #D4AF37;
}


.jurisdiction-card h3 span {
  display: block;

  color: #D4AF37;
}


/* =========================================
   LIST
========================================= */

.jurisdiction-list {
  display: flex;

  flex-direction: column;

  gap: 22px;

  margin: 0;
  padding: 0;

  list-style: none;
}


.jurisdiction-list li {
  display: flex;

  align-items: center;

  gap: 15px;

  color: rgba(255, 255, 240, 0.82);

  font-family: "Inter", sans-serif;

  font-size: 15px;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}


.jurisdiction-list li:hover {
  color: #FFFFF0;

  transform: translateX(6px);
}


.check-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  flex-shrink: 0;

  border: 1px solid rgba(212, 175, 55, 0.5);

  border-radius: 50%;

  color: #D4AF37;

  font-size: 9px;

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}


.jurisdiction-list li:hover .check-icon {
  background: rgba(212, 175, 55, 0.1);

  box-shadow:
    0 0 15px rgba(212, 175, 55, 0.3);
}


/* =========================================
   BUTTON
========================================= */

.jurisdiction-btn {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 14px;

  width: 100%;

  margin-top: auto;

  padding: 17px 25px;

  border: 1px solid rgba(212, 175, 55, 0.5);

  border-radius: 50px;

  color: #D4AF37;

  text-decoration: none;

  font-family: "Inter", sans-serif;

  font-size: 14px;
  font-weight: 600;

  overflow: hidden;

  transition:
    color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}


.jurisdiction-btn::before {
  content: "";

  position: absolute;

  inset: 0;

  background: #D4AF37;

  transform: translateY(100%);

  transition: transform 0.4s ease;

  z-index: -1;
}


.jurisdiction-btn:hover {
  color: #004225;

  border-color: #D4AF37;

  box-shadow:
    0 0 25px rgba(212, 175, 55, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.15);

  transform: translateY(-3px);
}


.jurisdiction-btn:hover::before {
  transform: translateY(0);
}


.btn-arrow {
  font-size: 18px;

  transition:
    transform 0.3s ease;
}


.jurisdiction-btn:hover .btn-arrow {
  transform: translateX(5px);
}


/* =========================================
   ANIMATION
========================================= */

@keyframes headerReveal {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


.jurisdiction-card {
  opacity: 0;

  animation:
    cardReveal 0.9s ease forwards;
}


.jurisdiction-card:nth-child(1) {
  animation-delay: 0.2s;
}


.jurisdiction-card:nth-child(2) {
  animation-delay: 0.4s;
}


@keyframes cardReveal {

  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

  .jurisdiction-section {
    padding: 90px 5%;
  }

  .jurisdiction-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .jurisdiction-card {
    min-height: 430px;
  }

  .card-content {
    min-height: 428px;

    padding: 40px;
  }

}


@media (max-width: 600px) {

  .jurisdiction-section {
    padding: 75px 20px;
  }

  .jurisdiction-header {
    margin-bottom: 50px;
  }

  .jurisdiction-eyebrow {
    font-size: 9px;

    letter-spacing: 3px;
  }

  .eyebrow-line {
    width: 25px;
  }

  .jurisdiction-header h2 {
    font-size: 44px;
  }

  .jurisdiction-header p {
    font-size: 14px;
  }

  .card-content {
    min-height: 420px;

    padding: 35px 28px;
  }

  .card-top {
    margin-bottom: 35px;
  }

  .jurisdiction-card h3 {
    font-size: 18px;
  }

}

/* ==========================================
   LEGAL SERVICES
   CONSULTATION CTA
========================================== */

.legal-consultation-section {
  position: relative;

  width: 100%;

  padding: 120px 6%;

  background: #004225;

  overflow: hidden;

  isolation: isolate;
}


/* ==========================================
   BACKGROUND DECORATION
========================================== */

.legal-consultation-section::before {
  content: "";

  position: absolute;

  width: 700px;
  height: 700px;

  top: -450px;
  right: -300px;

  border-radius: 50%;

  border: 1px solid rgba(212, 175, 55, 0.11);

  z-index: -1;
}


.legal-consultation-section::after {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  bottom: -350px;
  left: -250px;

  border-radius: 50%;

  background: rgba(212, 175, 55, 0.035);

  filter: blur(25px);

  z-index: -1;
}


/* ==========================================
   ORBITS
========================================== */

.legal-bg-orbit {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;

  z-index: -1;
}


.legal-orbit-one {
  width: 300px;
  height: 300px;

  left: -210px;
  top: 35%;

  border: 1px solid rgba(255, 255, 240, 0.05);

  animation:
    legalOrbitRotate 18s linear infinite;
}


.legal-orbit-two {
  width: 190px;
  height: 190px;

  left: -155px;
  top: 42%;

  border: 1px solid rgba(212, 175, 55, 0.08);

  animation:
    legalOrbitReverse 14s linear infinite;
}


@keyframes legalOrbitRotate {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


@keyframes legalOrbitReverse {

  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }

}


/* ==========================================
   CONTAINER
========================================== */

.legal-consultation-container {
  max-width: 1280px;

  margin: 0 auto;
}


/* ==========================================
   HEADER
========================================== */

.legal-consultation-header {
  max-width: 800px;

  margin: 0 auto 70px;

  text-align: center;
}


.legal-eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 22px;

  color: #D4AF37;

  font-family: "Inter", Arial, sans-serif;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 3px;
}


.legal-eyebrow::before,
.legal-eyebrow::after {
  content: "";

  width: 30px;

  height: 1px;

  background: #D4AF37;
}


.legal-consultation-header h2 {
  margin: 0 0 22px;

  color: #FFFFF0;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: clamp(46px, 5vw, 70px);

  font-weight: 500;

  line-height: 1.04;

  letter-spacing: -1px;
}


.legal-consultation-header h2 span {
  color: #D4AF37;

  font-style: normal;
}


.legal-consultation-header p {
  max-width: 680px;

  margin: 0 auto;

  color: rgba(255, 255, 240, 0.7);

  font-family: "Inter", Arial, sans-serif;

  font-size: 15px;

  line-height: 1.8;
}


/* ==========================================
   CONSULTATION GRID
========================================== */

.legal-consultation-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 22px;

  max-width: 1050px;

  margin: 0 auto;
}


/* ==========================================
   CONSULTATION CARD
========================================== */

.legal-consultation-card {
  position: relative;

  display: flex;

  flex-direction: column;

  padding: 42px 40px;

  min-height: 570px;

  background:
    linear-gradient(145deg,
      rgba(255, 255, 240, 0.075),
      rgba(255, 255, 240, 0.025));

  border: 1px solid rgba(255, 255, 240, 0.14);

  border-radius: 25px;

  overflow: hidden;

  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
}


.legal-consultation-card:hover {
  transform: translateY(-10px);

  border-color: rgba(212, 175, 55, 0.55);

  background:
    linear-gradient(145deg,
      rgba(255, 255, 240, 0.10),
      rgba(255, 255, 240, 0.035));

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 0 35px rgba(212, 175, 55, 0.07);
}


/* ==========================================
   PRIMARY CARD
========================================== */

.legal-card-primary {
  border-color: rgba(212, 175, 55, 0.42);
}


/* ==========================================
   WILLS CARD
========================================== */

.legal-card-wills {
  background:
    linear-gradient(145deg,
      rgba(212, 175, 55, 0.065),
      rgba(255, 255, 240, 0.025));
}


/* ==========================================
   CARD TOP
========================================== */

.legal-card-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 35px;
}


.legal-card-icon {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 56px;
  height: 56px;

  border: 1px solid rgba(212, 175, 55, 0.5);

  border-radius: 50%;

  color: #D4AF37;

  transition:
    transform 0.4s ease,
    background 0.4s ease,
    color 0.4s ease;
}


.legal-consultation-card:hover .legal-card-icon {
  transform: rotate(8deg);

  background: #D4AF37;

  color: #004225;
}


.legal-card-icon svg {
  width: 25px;
  height: 25px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.3;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.legal-card-number {
  color: rgba(212, 175, 55, 0.55);

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 20px;

  font-weight: 600;
}


/* ==========================================
   CARD LABEL
========================================== */

.legal-card-label {
  display: block;

  margin-bottom: 12px;

  color: #D4AF37;

  font-family: "Inter", Arial, sans-serif;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 2px;
}


/* ==========================================
   CARD HEADING
========================================== */

.legal-consultation-card h3 {
  margin: 0;

  color: #FFFFF0;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 40px;

  font-weight: 500;

  line-height: 1.1;
}


/* ==========================================
   CARD DESCRIPTION
========================================== */

.legal-consultation-card>p {
  margin: 24px 0 0;

  color: rgba(255, 255, 240, 0.65);

  font-family: "Inter", Arial, sans-serif;

  font-size: 13px;

  line-height: 1.8;
}


/* ==========================================
   DIVIDER
========================================== */

.legal-card-divider {
  width: 100%;

  height: 1px;

  margin: 28px 0;

  background:
    linear-gradient(90deg,
      rgba(212, 175, 55, 0.45),
      rgba(255, 255, 240, 0.05));
}


/* ==========================================
   CARD LIST
========================================== */

.legal-card-list {
  display: flex;

  flex-direction: column;

  gap: 15px;

  margin: 0;

  padding: 0;

  list-style: none;
}


.legal-card-list li {
  display: flex;

  align-items: center;

  gap: 12px;

  color: rgba(255, 255, 240, 0.75);

  font-family: "Inter", Arial, sans-serif;

  font-size: 12px;
}


.legal-card-list li span {
  color: #D4AF37;

  font-size: 14px;

  font-weight: 700;
}


/* ==========================================
   CARD BUTTON
========================================== */

.legal-card-button {
  display: flex;

  align-items: center;

  justify-content: space-between;

  width: 100%;

  margin-top: auto;

  padding-top: 30px;

  padding-bottom: 13px;

  border-bottom: 1px solid rgba(255, 255, 240, 0.2);

  color: #FFFFF0;

  text-decoration: none;

  font-family: "Inter", Arial, sans-serif;

  font-size: 12px;

  font-weight: 700;

  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}


.legal-button-arrow {
  color: #D4AF37;

  font-size: 20px;

  transition:
    transform 0.3s ease;
}


.legal-card-button:hover {
  color: #D4AF37;

  border-color: #D4AF37;
}


.legal-card-button:hover .legal-button-arrow {
  transform: translate(5px, -3px);
}


/* ==========================================
   WILLS BUTTON
========================================== */

.legal-wills-button {
  color: #D4AF37;

  border-color: rgba(212, 175, 55, 0.35);
}


/* ==========================================
   BOTTOM NOTE
========================================== */

.legal-bottom-note {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 22px;

  margin-top: 55px;
}


.legal-bottom-note p {
  margin: 0;

  color: rgba(255, 255, 240, 0.55);

  font-family: "Inter", Arial, sans-serif;

  font-size: 12px;

  text-align: center;
}


.legal-bottom-note a {
  color: #D4AF37;

  text-decoration: none;

  border-bottom: 1px solid rgba(212, 175, 55, 0.4);

  transition:
    border-color 0.3s ease;
}


.legal-bottom-note a:hover {
  border-color: #D4AF37;
}


.legal-note-line {
  width: 50px;

  height: 1px;

  background: rgba(212, 175, 55, 0.3);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 850px) {

  .legal-consultation-section {
    padding: 90px 5%;
  }


  .legal-consultation-grid {
    grid-template-columns: 1fr;

    max-width: 650px;
  }


  .legal-consultation-card {
    min-height: auto;
  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .legal-consultation-section {
    padding: 75px 20px;
  }


  .legal-consultation-header {
    margin-bottom: 45px;
  }


  .legal-consultation-header h2 {
    font-size: 44px;

    letter-spacing: -0.5px;
  }


  .legal-consultation-header p {
    font-size: 14px;
  }


  .legal-consultation-card {
    padding: 32px 26px;
  }


  .legal-consultation-card h3 {
    font-size: 35px;
  }


  .legal-bottom-note {
    flex-direction: column;

    gap: 15px;
  }


  .legal-note-line {
    display: none;
  }

}