/* =========================================
   SERVICES PRICING - PREMIUM CLEAN VERSION
========================================= */

.pricing-master-section {
  background: #f6f7fb;
}

.pricing-master-section .container {
  width: min(96%, 1580px);
}

.pricing-master-head {
  max-width: 1080px;
}

.pricing-master-head .kicker {
  margin-bottom: 10px;
}

.pricing-master-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #17181c;
}

.pricing-master-head .section-text {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.72;
  color: #69707d;
}

.pricing-master-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}

.pricing-master-grid-ai {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-master-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #e1e4ea;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.03),
    0 10px 24px rgba(16, 24, 40, 0.04);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.pricing-master-card:hover {
  transform: translateY(-3px);
  border-color: #d2d7e0;
  box-shadow:
    0 12px 30px rgba(16, 24, 40, 0.08),
    0 2px 8px rgba(16, 24, 40, 0.05);
}

.pricing-master-card-featured {
  border-color: #d8d6f4;
  box-shadow:
    0 14px 32px rgba(74, 92, 214, 0.11),
    0 2px 8px rgba(16, 24, 40, 0.05);
}

.pricing-master-card-featured::before {
  content: "Limited time offer!";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3e6c8;
  color: #5a4b22;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
}

.pricing-master-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 14px;
  background: #ffffff;
}

.pricing-master-card-featured .pricing-master-top {
  padding-top: 42px;
}

.pricing-master-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pricing-master-label {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 600;
  color: #848a97;
  letter-spacing: 0;
  text-transform: none;
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f4d46e;
  color: #5c4a13;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-master-card h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: #17181c;
}

.pricing-master-top .pricing-master-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #6f7582;
}

/* PRICE FIX */
.pricing-master-price-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.pricing-master-top .pricing-master-price,
.pricing-master-price {
  margin: 0;
  font-size: clamp(2rem, 2vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #17181c;
}

.old-price {
  font-size: 1.05rem;
  line-height: 1;
  color: #a1a6b2;
  text-decoration: line-through;
  font-weight: 500;
}

.billing-note {
  margin: -2px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #7b8190;
}

.pricing-master-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 20px 20px;
  height: 100%;
}

.pricing-master-subgroup {
  padding-top: 14px;
  border-top: 1px solid #eceef3;
}

.pricing-master-subgroup-soft {
  background: #f7f8fc;
  border: 1px solid #ebeef4;
  border-radius: 16px;
  padding: 14px;
}

.pricing-master-subgroup-soft.pricing-master-subgroup {
  border-top: 1px solid #ebeef4;
}

.pricing-master-subtitle {
  margin: 0 0 10px;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: #6f7685;
}

.pricing-master-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.pricing-master-mini-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #eeeff4;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #5f6674;
}

.pricing-master-subgroup-soft .pricing-master-mini-list li:last-child,
.pricing-master-mini-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing-master-mini-list strong {
  color: #17181c;
  font-weight: 650;
  flex: 0 0 auto;
}

.pricing-master-mini-list span {
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 80%;
  flex: 1 1 auto;
}



.pricing-master-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.pricing-master-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.pricing-master-btn:hover {
  transform: translateY(-1px);
}

.pricing-master-btn-main {
  background: #17181c;
  color: #ffffff;
}

.pricing-master-btn-main:hover {
  background: #101115;
  box-shadow: 0 10px 22px rgba(23, 24, 28, 0.16);
}

.pricing-master-card-featured .pricing-master-btn-main {
  background: linear-gradient(90deg, #3d63f2 0%, #5865d9 100%);
  color: #ffffff;
}

.pricing-master-card-featured .pricing-master-btn-main:hover {
  background: linear-gradient(90deg, #3559e7 0%, #4d59cb 100%);
  box-shadow: 0 12px 24px rgba(61, 99, 242, 0.22);
}

.pricing-master-btn-sub {
  background: #f5f6fa;
  color: #49505d;
  border-color: #e3e6ed;
}

.pricing-master-btn-sub:hover {
  background: #eef1f6;
  border-color: #d8dde7;
  color: #2e3441;
}

.pricing-master-footnote {
  margin-top: 28px;
  text-align: center;
}

.pricing-master-footnote p {
  margin: 0 auto;
  max-width: 1200px;
  font-size: 0.83rem;
  line-height: 1.7;
  color: #7b8291;
}

.pricing-master-footnote a {
  color: #456af7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1380px) {
  .pricing-master-section .container {
    width: min(97%, 1360px);
  }

  .pricing-master-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pricing-master-section .container {
    width: calc(100% - 20px);
  }

  .pricing-master-grid,
  .pricing-master-grid-ai {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pricing-master-top {
    padding: 18px 16px 12px;
  }

  .pricing-master-card-featured .pricing-master-top {
    padding-top: 38px;
  }

  .pricing-master-body {
    padding: 0 16px 16px;
  }

  .pricing-master-card {
    border-radius: 18px;
  }

  .pricing-master-card h3 {
    font-size: 1.3rem;
  }

  .pricing-master-top .pricing-master-price,
  .pricing-master-price {
    font-size: 1.85rem;
  }

  .pricing-master-mini-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .pricing-master-mini-list span {
    text-align: left;
    white-space: normal;
  }

  .pricing-master-btn {
    min-height: 42px;
    border-radius: 12px;
  }
}

/* ===============================
   QUOTE FORM — LEFT SIDE
================================ */

.contact-form-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===============================
   FORM ROWS
================================ */

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* ===============================
   LABELS
================================ */

.form-group label {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: #17324a;
}

/* ===============================
   INPUTS / SELECTS / TEXTAREAS
================================ */

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #d6dfeb;
  border-radius: 14px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.45;
  color: #17324a;
  box-shadow: 0 6px 16px rgba(20, 33, 48, 0.04);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
  outline: none;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #5e7388 50%),
    linear-gradient(135deg, #5e7388 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form textarea {
  min-height: 124px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #8bb8dc;
  box-shadow:
    0 0 0 4px rgba(101, 153, 210, 0.12),
    0 10px 24px rgba(20, 33, 48, 0.06);
}

/* ===============================
   READONLY FIELDS
================================ */

.contact-form input[readonly],
.contact-form textarea[readonly] {
  background: #f5f8fc;
  color: #5c6f82;
  border-color: #dbe4ef;
  cursor: default;
}

/* ===============================
   PLACEHOLDERS
================================ */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7b8da0;
  opacity: 1;
}

/* ===============================
   ACTIONS
================================ */

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.form-actions .btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
}

/* ===============================
   OPTIONAL LEFT PANEL SHELL
   Use if this form sits inside a quote grid
================================ */

.quote-form-panel {
  padding: 26px 24px;
  border: 1px solid #dce5ef;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow:
    0 16px 36px rgba(20, 33, 48, 0.05),
    0 6px 14px rgba(20, 33, 48, 0.03);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
    border-radius: 12px;
  }

  .form-group label {
    font-size: 13.5px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }
}