/* =========================================
   DELIVERY PAGE
========================================= */

.delivery-hero {
  padding: 110px 0 95px;
  background:
    radial-gradient(
      circle at top right,
      rgba(163, 126, 84, 0.15),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #f7f3ed 0%,
      #fff 55%,
      #f2ece5 100%
    );

  border-bottom: 1px solid var(--border);
}

.delivery-hero .container {
  max-width: 850px;
  text-align: center;
}

.delivery-hero .section-label {
  display: block;
  margin-bottom: 14px;

  color: var(--brown);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.6px;
}

.delivery-hero h1 {
  margin-bottom: 18px;

  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6vw, 70px);
  font-weight: 600;
  line-height: 1.02;

  color: var(--dark);
}

.delivery-hero p {
  max-width: 600px;
  margin: 0 auto;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.8;
}


/* =========================================
   FREE DELIVERY CARD
========================================= */

.free-delivery {
  padding: 70px 0 35px;
  background: #fff;
}

.free-delivery-card {
  position: relative;

  min-height: 145px;

  display: grid;
  grid-template-columns: 65px 1fr auto;
  align-items: center;

  gap: 24px;

  padding: 30px 34px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #fff 0%,
      #fbf8f4 100%
    );

  border: 1px solid rgba(77, 61, 45, 0.10);

  box-shadow:
    0 10px 30px rgba(27, 21, 16, 0.06),
    0 30px 80px rgba(27, 21, 16, 0.05);

  transform-style: preserve-3d;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.free-delivery-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(255, 255, 255, 0.55) 45%,
      transparent 70%
    );

  transform: translateX(-120%);

  transition: transform 0.8s ease;

  pointer-events: none;
}

.free-delivery-card:hover {
  transform:
    perspective(1000px)
    rotateX(2deg)
    rotateY(-2deg)
    translateY(-8px);

  border-color:
    rgba(154, 108, 62, 0.30);

  box-shadow:
    0 18px 45px rgba(27, 21, 16, 0.10),
    0 38px 100px rgba(27, 21, 16, 0.08);
}

.free-delivery-card:hover::before {
  transform: translateX(120%);
}

.free-delivery-icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #2a241f,
      #15120f
    );

  color: #fff;

  font-size: 20px;

  box-shadow:
    0 10px 25px rgba(25, 20, 15, 0.18);
}

.free-delivery-card > div:nth-child(2) > span {
  display: block;

  margin-bottom: 6px;

  color: var(--brown);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.free-delivery-card h2 {
  margin-bottom: 6px;

  font-family: "Playfair Display", serif;
  font-size: 29px;
  font-weight: 600;

  color: var(--dark);
}

.free-delivery-card p {
  max-width: 650px;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.7;
}

.free-delivery-card > strong {
  padding-left: 25px;

  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;

  color: var(--brown);
}


/* =========================================
   FITTING SECTION
========================================= */

.fitting-section {
  padding: 95px 0;

  background: #f8f5f0;
}

.fitting-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(480px, 1.2fr);

  gap: 70px;

  align-items: center;
}

.fitting-content {
  max-width: 500px;
}

.fitting-content .section-label {
  display: block;

  margin-bottom: 12px;

  color: var(--brown);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2.4px;
}

.fitting-content h2 {
  margin-bottom: 18px;

  font-family: "Playfair Display", serif;

  font-size:
    clamp(36px, 4vw, 50px);

  line-height: 1.1;

  color: var(--dark);
}

.fitting-content > p {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.85;
}


/* NOTE */

.fitting-note {
  margin-top: 28px;

  padding: 20px 22px;

  position: relative;

  background: #fff;

  border-left:
    3px solid var(--brown);

  box-shadow:
    0 10px 28px rgba(30, 24, 18, 0.05);
}

.fitting-note strong {
  display: block;

  margin-bottom: 6px;

  color: var(--dark);

  font-size: 12px;
}

.fitting-note p {
  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}


/* =========================================
   PREMIUM PRICE CARD
========================================= */

.fitting-price-card {
  position: relative;

  padding: 32px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f8f4ef 100%
    );

  border:
    1px solid rgba(72, 54, 40, 0.10);

  box-shadow:
    0 14px 40px rgba(28, 22, 17, 0.08),
    0 40px 90px rgba(28, 22, 17, 0.07);

  transform:
    perspective(1200px)
    rotateY(-2deg);

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.fitting-price-card::before {
  content: "";

  position: absolute;

  top: -80px;
  right: -80px;

  width: 210px;
  height: 210px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(170, 125, 78, 0.14),
      transparent 68%
    );

  pointer-events: none;
}

.fitting-price-card:hover {
  transform:
    perspective(1200px)
    rotateY(0deg)
    translateY(-7px);

  box-shadow:
    0 20px 50px rgba(28, 22, 17, 0.11),
    0 50px 110px rgba(28, 22, 17, 0.09);
}


/* PRICE HEADER */

.fitting-price-heading {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 22px;

  border-bottom:
    1px solid rgba(62, 48, 36, 0.10);
}

.fitting-price-heading span {
  display: block;

  margin-bottom: 5px;

  color: var(--brown);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 2px;
}

.fitting-price-heading h3 {
  font-family: "Playfair Display", serif;

  font-size: 28px;

  color: var(--dark);
}

.fitting-price-heading small {
  padding: 7px 11px;

  background: #eee6dc;

  border-radius: 30px;

  color: var(--brown);

  font-size: 9px;

  white-space: nowrap;
}


/* =========================================
   PRICE GRID
========================================= */

.fitting-table {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;

  margin-top: 22px;
}


/* hide old table heading */

.fitting-table-head {
  display: none !important;
}


/* EACH PRICE */

.fitting-row {
  min-height: 88px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 18px;

  position: relative;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.76);

  border:
    1px solid rgba(62, 48, 36, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.fitting-row::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 3px;

  background: var(--brown);

  transform: scaleY(0);

  transition:
    transform 0.3s ease;
}

.fitting-row:hover {
  transform:
    translateY(-5px)
    scale(1.015);

  background: #fff;

  border-color:
    rgba(151, 106, 65, 0.25);

  box-shadow:
    0 13px 28px rgba(30, 23, 18, 0.08);
}

.fitting-row:hover::before {
  transform: scaleY(1);
}

.fitting-row span {
  color: var(--muted);

  font-size: 11px;
  font-weight: 500;
}

.fitting-row strong {
  font-family:
    "Playfair Display",
    serif;

  font-size: 25px;

  color: var(--dark);
}


/* =========================================
   FLOOR CARDS
========================================= */

.floor-section {
  padding: 80px 0;

  background: #fff;
}

.floor-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;
}

.floor-card {
  position: relative;

  min-height: 180px;

  display: grid;

  grid-template-columns: 105px 1fr;

  align-items: center;

  gap: 25px;

  padding: 30px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #fff,
      #f8f5f1
    );

  border:
    1px solid rgba(70, 53, 40, 0.10);

  box-shadow:
    0 10px 35px rgba(30, 24, 18, 0.06);

  transform-style: preserve-3d;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.floor-card:hover {
  transform:
    perspective(900px)
    rotateX(3deg)
    rotateY(-3deg)
    translateY(-8px);

  border-color:
    rgba(150, 105, 60, 0.25);

  box-shadow:
    0 22px 55px rgba(30, 24, 18, 0.11);
}

.floor-number {
  width: 92px;
  height: 92px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #2b251f,
      #17130f
    );

  color: #fff;

  font-family:
    "Playfair Display",
    serif;

  font-size: 24px;

  box-shadow:
    0 12px 28px rgba(25, 20, 15, 0.20);

  transition:
    transform 0.4s ease;
}

.floor-card:hover .floor-number {
  transform:
    translateZ(30px)
    scale(1.06);
}

.floor-card h3 {
  margin-bottom: 8px;

  font-family:
    "Playfair Display",
    serif;

  font-size: 23px;

  color: var(--dark);
}

.floor-card p {
  color: var(--muted);

  font-size: 11px;

  line-height: 1.75;
}


/* =========================================
   DELIVERY PROCESS
========================================= */

.delivery-process {
  padding: 95px 0;

  background: #f6f2ec;
}

.delivery-section-heading {
  max-width: 650px;

  margin:
    0 auto 45px;

  text-align: center;
}

.delivery-section-heading .section-label {
  display: block;

  margin-bottom: 10px;

  color: var(--brown);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2.4px;
}

.delivery-section-heading h2 {
  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(36px, 5vw, 49px);

  color: var(--dark);
}


/* STEPS */

.delivery-steps {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;
}

.delivery-step {
  position: relative;

  min-height: 235px;

  padding: 28px 24px;

  overflow: hidden;

  background: #fff;

  border:
    1px solid rgba(74, 57, 43, 0.08);

  box-shadow:
    0 8px 28px rgba(30, 24, 18, 0.045);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.delivery-step::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 3px;

  background: var(--brown);

  transform: scaleX(0);

  transform-origin: left;

  transition:
    transform 0.4s ease;
}

.delivery-step:hover {
  transform:
    perspective(800px)
    rotateX(2deg)
    translateY(-10px);

  box-shadow:
    0 20px 50px rgba(30, 24, 18, 0.09);
}

.delivery-step:hover::after {
  transform: scaleX(1);
}

.delivery-step > span {
  display: block;

  margin-bottom: 30px;

  color:
    rgba(147, 103, 63, 0.30);

  font-family:
    "Playfair Display",
    serif;

  font-size: 45px;

  line-height: 1;
}

.delivery-step h3 {
  margin-bottom: 10px;

  font-family:
    "Playfair Display",
    serif;

  font-size: 20px;

  color: var(--dark);
}

.delivery-step p {
  color: var(--muted);

  font-size: 11px;

  line-height: 1.75;
}


/* =========================================
   BEFORE DELIVERY
========================================= */

.before-delivery {
  padding: 95px 0;

  background: #fff;
}

.before-delivery-grid {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 75px;

  align-items: start;
}

.before-delivery .section-label {
  display: block;

  margin-bottom: 10px;

  color: var(--brown);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2.2px;
}

.before-delivery h2 {
  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(36px, 4vw, 48px);

  line-height: 1.12;

  color: var(--dark);
}


/* CHECKLIST */

.delivery-checklist {
  display: grid;

  gap: 12px;
}

.delivery-checklist p {
  min-height: 62px;

  display: flex;
  align-items: center;

  gap: 15px;

  padding: 16px 18px;

  background: #faf8f5;

  border:
    1px solid rgba(70, 53, 40, 0.07);

  color: var(--muted);

  font-size: 11px;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.delivery-checklist p:hover {
  transform: translateX(7px);

  background: #fff;

  box-shadow:
    0 10px 25px rgba(30, 24, 18, 0.06);
}

.delivery-checklist p span {
  width: 30px;
  height: 30px;

  flex: 0 0 30px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--dark);

  color: #fff;

  font-size: 10px;
}


/* =========================================
   CTA
========================================= */

.delivery-cta {
  padding: 90px 0;

  background:
    linear-gradient(
      135deg,
      #211c17,
      #14110e
    );

  color: #fff;
}

.delivery-cta-inner {
  max-width: 720px;

  text-align: center;
}

.delivery-cta-inner > span {
  display: block;

  margin-bottom: 11px;

  color: #c9a37d;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 2.4px;
}

.delivery-cta h2 {
  margin-bottom: 13px;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(34px, 5vw, 48px);

  line-height: 1.12;
}

.delivery-cta p {
  max-width: 540px;

  margin:
    0 auto 25px;

  color:
    rgba(255, 255, 255, 0.67);

  font-size: 12px;

  line-height: 1.8;
}

.delivery-cta a {
  min-height: 49px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 28px;

  background: #fff;

  color: var(--dark);

  font-size: 11px;
  font-weight: 600;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.delivery-cta a:hover {
  transform: translateY(-4px);

  background: #e8d7c5;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

  .fitting-layout {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .fitting-content {
    max-width: 650px;
  }

  .fitting-price-card {
    transform: none;
  }

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

  .before-delivery-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .delivery-hero {
    padding: 75px 0 65px;
  }

  .delivery-hero h1 {
    font-size: 44px;
  }


  /* FREE CARD */

  .free-delivery {
    padding: 45px 0 20px;
  }

  .free-delivery-card {
    grid-template-columns:
      52px 1fr;

    gap: 16px;

    padding: 23px 20px;

    transform: none !important;
  }

  .free-delivery-icon {
    width: 50px;
    height: 50px;
  }

  .free-delivery-card h2 {
    font-size: 23px;
  }

  .free-delivery-card > strong {
    grid-column: 1 / -1;

    padding:
      15px 0 0;

    border-top:
      1px solid rgba(60, 45, 35, 0.08);

    font-size: 28px;
  }


  /* FITTING */

  .fitting-section {
    padding: 65px 0;
  }

  .fitting-layout {
    gap: 35px;
  }

  .fitting-price-card {
    padding: 22px 16px;
  }

  .fitting-price-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .fitting-table {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 8px;
  }

  .fitting-row {
    min-height: 80px;

    padding: 14px 12px;

    flex-direction: column;

    align-items: flex-start;
  }

  .fitting-row strong {
    font-size: 22px;
  }


  /* FLOOR */

  .floor-section {
    padding: 60px 0;
  }

  .floor-grid {
    grid-template-columns: 1fr;
  }

  .floor-card {
    grid-template-columns:
      80px 1fr;

    min-height: 150px;

    padding: 22px 18px;

    transform: none !important;
  }

  .floor-number {
    width: 72px;
    height: 72px;

    font-size: 19px;
  }


  /* PROCESS */

  .delivery-process {
    padding: 65px 0;
  }

  .delivery-steps {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .delivery-step {
    min-height: 0;

    padding: 22px 20px;
  }

  .delivery-step > span {
    margin-bottom: 17px;

    font-size: 36px;
  }


  /* BEFORE DELIVERY */

  .before-delivery {
    padding: 65px 0;
  }


  /* CTA */

  .delivery-cta {
    padding: 70px 0;
  }

}
/* =========================================
   DELIVERY STEP CLICK LIFT
========================================= */

.delivery-step {
  cursor: pointer;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.delivery-step.is-active {
  transform:
    translateY(-14px)
    scale(1.02);

  border-color:
    rgba(160, 112, 68, 0.30);

  box-shadow:
    0 24px 55px rgba(30, 24, 18, 0.12);
}

/* active bottom line */
.delivery-step.is-active::after {
  transform: scaleX(1);
}