@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Playfair+Display:wght@600;700&display=swap");

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 8px;
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  color: #eef5f8;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../pexels-charlier-17008969.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.6);
  transform: scale(1.05);
}

.pricing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13, 22, 30, 0.65), rgba(13, 22, 30, 0.3));
}

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

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 22px;
}

.pricing-showcase {
  background: linear-gradient(180deg, #bfd4e2 0%, #adc8da 100%);
  position: relative;
  overflow: hidden;
}

.plans-deco {
  position: absolute;
  right: 32px;
  top: 6px;
  opacity: 0.28;
  pointer-events: none;
}

.plans-deco-lottie {
  display: block;
  width: 180px !important;
  height: 180px !important;
}

.plans-title {
  font-family: "Manrope", "SF Pro Display", "Segoe UI", sans-serif;
  text-align: center;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0 0 28px;
  color: #11202e;
}

.plans-title span {
  position: relative;
  display: inline-block;
}

.plans-ring-word {
  position: relative;
  display: inline-block;
  padding: 0 0.07em;
}

.plans-ring-word svg {
  position: absolute;
  left: -12%;
  top: 55%;
  width: 124%;
  height: 1.1em;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: visible;
}

.plans-ring-word path {
  fill: none;
  stroke: #2d5162;
  stroke-width: 9px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200.24 1500;
  stroke-dashoffset: 1200.24;
  animation: plans-ring-draw 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes plans-ring-draw {
  0% {
    stroke-dashoffset: 1200.24;
    opacity: 0.3;
  }
  18% {
    opacity: 1;
  }
  58% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1200.24;
    opacity: 0.35;
  }
}

.plan-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  max-width: none;
  margin: 0;
  height: 100%;
  border-color: #2d5162;
  box-shadow: 0 18px 34px rgba(45, 81, 98, 0.18);
}

.plan-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.plan-content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  height: 100%;
}

.plan-head {
  padding: 16px 22px 8px;
  text-align: center;
}

.plan-head h3 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
}

.plan-head p {
  margin: 0;
  color: #3f5666;
  font-family: "Manrope", "SF Pro Display", "Segoe UI", sans-serif;
  font-weight: 700;
}

.plan-fee-block {
  position: relative;
  background: #eef3f7;
  border-top: 1px solid #dde7ed;
  border-bottom: 1px solid #dde7ed;
  padding: 10px 18px 8px;
  text-align: center;
}

.plan-fee-media {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-top: 1px solid #dde7ed;
  border-bottom: 1px solid #dde7ed;
  background: #eef3f7;
}

.plan-fee-media .plan-fee-block {
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
}

.plan-photo-stack {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
}

.plan-photo-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 37, 52, 0.9), rgba(16, 37, 52, 0.55));
  filter: blur(1.4px);
}

.plan-photo-card {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(183, 207, 220, 0.6);
  box-shadow: 0 8px 20px rgba(19, 43, 59, 0.28);
}

.plan-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.fee-tax {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: #1d394a;
  vertical-align: middle;
}

.fee {
  display: inline-block;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  color: #2d5162;
  line-height: 1;
  margin: 0;
}

.fee-small {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.1;
}

.plan-card ul {
  list-style: none;
  margin: 0;
  padding: 10px 24px 2px;
  display: grid;
  gap: 6px;
  text-align: left;
  font-family: "Manrope", "SF Pro Display", "Segoe UI", sans-serif;
}

.plan-card ul li {
  color: #223647;
  position: relative;
  padding-left: 16px;
}

.plan-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d5162;
}

.extras-title {
  margin: 12px 24px 8px;
  font-family: "Manrope", "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #25465a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.plan-extras-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px;
}

.extra-visual-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 160px;
  border: 1px solid rgba(189, 212, 223, 0.42);
  box-shadow: 0 12px 28px rgba(17, 38, 53, 0.2);
}

.extra-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1.8px) brightness(0.55);
  transform: scale(1.06);
}

.extra-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(8, 20, 30, 0.55), rgba(8, 20, 30, 0.28));
}

.extra-visual-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 14px;
  color: #f6fbff;
}

.extra-visual-content svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.extra-visual-content h4 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.15;
}

.extra-visual-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(245, 251, 255, 0.92);
}

.extras-note {
  margin: 10px 24px 0;
  font-size: 0.9rem;
  color: #3a5162;
  font-weight: 700;
}

.plan-card .btn {
  display: flex;
  justify-content: center;
  width: calc(100% - 48px);
  margin: 18px 24px 24px;
  min-width: 160px;
}

.featured {
  border-color: #2d5162;
  box-shadow: 0 18px 34px rgba(45, 81, 98, 0.18);
}

.recommended-ribbon {
  position: absolute;
  top: 14px;
  right: -42px;
  background: #2d5162;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 46px;
  transform: rotate(38deg);
  z-index: 2;
}

.faq-showcase {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-top: 86px;
  padding-bottom: 86px;
}

.faq-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0.6px) brightness(0.56);
  transform: scale(1.03);
}

.faq-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 28, 0.36), rgba(6, 17, 28, 0.52));
}

.faq-content {
  position: relative;
  z-index: 1;
}

.faq-head {
  text-align: center;
  margin-bottom: 28px;
}

.faq-head h2 {
  margin: 0 0 8px;
  font-size: clamp(2.45rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.faq-head p {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.46rem);
  font-weight: 400;
  color: #ffffff;
}

.faq-box {
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid #d7e0e6;
  border-radius: 18px;
  color: #132535;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 21px;
  box-shadow: 0 20px 48px rgba(11, 19, 31, 0.26);
}

.faq-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dde5ea;
  background: transparent;
  padding: 13px 0;
  margin: 0;
  font: inherit;
  font-weight: 900;
  font-size: clamp(0.92rem, 1.35vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  color: #031a2f;
}

.faq-box .faq-item:first-of-type {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.faq-box .faq-item:last-of-type {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.faq-item span {
  display: block;
  flex: 1 1 auto;
  text-align: left;
}

.faq-item strong {
  color: #1e4760;
  transition: transform 0.24s ease, color 0.24s ease;
  font-size: 12px;
  margin-left: auto;
  flex: 0 0 auto;
}

.faq-item.open {
  color: #031a2f;
}

.faq-item.open strong {
  transform: rotate(90deg);
  color: #2d5162;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  padding: 0 2px;
}

.faq-panel p {
  margin: 0;
  padding: 0 0 10px;
  color: #1f3748;
  line-height: 1.72;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.faq-item.open + .faq-panel {
  max-height: 220px;
}

.form-area {
  position: relative;
  overflow: hidden;
  background: #e7eaee;
  border-radius: 18px;
  box-shadow: none;
  border-color: #d8dfe5;
  padding: 26px 34px 28px;
}

.form-title-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.form-title-row h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.7vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  color: #112437;
}

.form-lottie-wrap {
  width: 96px;
  height: 96px;
  opacity: 1;
  pointer-events: none;
}

.form-lottie {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.form-area .form-grid {
  gap: 14px 14px;
}

.form-area .field label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f2436;
  font-family: inherit;
}

.form-area .field input:not([type="checkbox"]),
.form-area .field select,
.form-area .field textarea {
  border-radius: 12px;
  border: 1px solid #d6dde4;
  background: #ffffff;
  box-shadow: none;
  padding: 11px 12px;
  font-size: 0.97rem;
  font-family: inherit;
}

.form-area .field textarea {
  min-height: 104px;
}

.form-area .btn {
  border-radius: 999px;
  min-width: 190px;
  justify-content: center;
  display: inline-flex;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-layout {
    grid-template-columns: 1fr;
  }
  .plans-title {
    margin-bottom: 20px;
  }
  .plans-deco {
    right: 12px;
    top: 4px;
  }
  .plans-deco-lottie {
    width: 118px !important;
    height: 118px !important;
  }
  .plans-ring-word svg {
    left: -10%;
    width: 120%;
  }
  .plans-ring-word path {
    stroke-width: 7px;
  }
  .faq-box {
    max-width: 92%;
    padding: 12px 18px;
  }
  .faq-item {
    font-size: 1rem;
    padding: 17px 0;
  }
  .faq-panel p {
    font-size: 0.95rem;
  }
  .form-area {
    padding: 20px 16px 22px;
  }
  .form-title-row {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 12px;
  }
  .form-title-row h2 {
    text-align: center;
    font-size: clamp(1.65rem, 6.4vw, 2.2rem);
  }
  .form-lottie-wrap {
    width: 88px;
    height: 88px;
    margin: 0 auto;
  }
  .form-area .field label {
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .pricing-hero {
    overflow: hidden;
  }

  .plan-card {
    border-radius: 14px;
  }

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

  .plan-head {
    padding: 18px 14px 14px;
  }

  .plan-head h3 {
    font-size: 1.72rem;
  }

  .plan-fee-block {
    padding: 14px 12px 10px;
  }

  .fee {
    font-size: clamp(2.1rem, 12vw, 2.9rem);
  }

  .plan-card ul {
    padding: 14px 16px 8px;
    gap: 8px;
  }

  .plan-icons {
    grid-template-columns: 1fr;
    padding: 6px 16px 2px;
  }

  .plan-fee-media {
    grid-template-columns: 1fr;
  }

  .plan-photo-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .plan-photo-card img {
    min-height: 110px;
  }

  .plan-extras-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 10px;
  }

  .extra-visual-card {
    min-height: 138px;
  }

  .extras-note {
    margin: 10px 16px 0;
  }

  .plan-card .btn {
    min-width: 150px;
    margin-bottom: 16px;
  }

  .recommended-ribbon {
    top: 10px;
    right: -48px;
    font-size: 10px;
    padding: 7px 44px;
  }

  .faq-showcase {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .faq-head {
    margin-bottom: 16px;
  }

  .faq-box {
    max-width: 100%;
    border-radius: 14px;
    padding: 8px 12px;
  }

  .faq-item {
    font-size: 0.95rem;
    padding: 14px 0;
  }

  .faq-panel p {
    font-size: 0.9rem;
    padding-bottom: 8px;
  }

  .form-area {
    padding: 16px 12px 16px;
    border-radius: 14px;
  }

  .form-area .form-grid {
    gap: 10px;
  }

  .form-area .field input:not([type="checkbox"]),
  .form-area .field select,
  .form-area .field textarea {
    padding: 10px 11px;
  }

  .form-area .btn {
    width: 100%;
    min-width: 0;
  }
}
