/* New UI */
:root {
  --navy: #0f1923;
  --navy-mid: #162840;
  --navy-card: #1c3352;
  --gold: #d69e47;
  --gold-deep: #b07d28;
  --gold-light: #e8c070;
  --gold-pale: #f7edd8;
  --gold-tint: #f2e4c4;
  --cream: #faf6ee;
  --warm-bg: #f0e9da;
  --sand: #e8dfc8;
  --text-dark: #0f1923;
  --text-mid: #2c4258;
  --text-soft: #5c7a94;
  --text-muted: #8aabb8;
  --border: #d8c9a8;
  --border-card: #c8b890;
  --shadow-sm: 0 2px 10px rgba(15, 25, 35, 0.1);
  --shadow-md: 0 8px 30px rgba(15, 25, 35, 0.14);
  --shadow-lg: 0 24px 64px rgba(15, 25, 35, 0.18);
  --r: 16px;
  --r-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--warm-bg);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
}

.form-modal {
  background: var(--cream);
  border-radius: var(--r) !important;
  border: 1px solid var(--border-card) !important;
  box-shadow: var(--shadow-lg) !important;
  overflow: hidden;
}

.form-modal::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--gold) 40%,
    var(--gold-light) 60%,
    var(--navy) 100%
  );
}

.modal-header-service {
  padding: 15px 20px 15px !important;
  border-bottom: 1px solid var(--border) !important;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.modal-header-service::after {
  content: "";
  position: absolute;
  top: -32px;
  right: -32px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(214, 158, 71, 0.08);
  pointer-events: none;
}

.modal-icon {
  width: 52px;
  height: 52px;
  background: rgba(214, 158, 71, 0.15);
  border: 1px solid rgba(214, 158, 71, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.modal-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.8;
}

.modal-title-service {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 3px;
  z-index: 1;
}

.modal-subtitle {
  font-size: 0.76rem;
  color: var(--gold-light);
  font-weight: 400;
  letter-spacing: 0.03em;
  z-index: 1;
}

.modal-header-text {
  z-index: 1;
}

/* ── CARD BODY ── */
.modal-body .modal-body-service {
  padding: 15px 32px 32px;
  background: var(--cream);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── SECTION LABEL inside body ── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.field-label {
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: #ffffff;
  color: var(--text-dark);
  font-family: "Outfit", sans-serif;
  font-size: 0.87rem;
  outline: none;
  transition: all 0.2s;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 4px rgba(15, 25, 35, 0.06);
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--text-muted);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--gold);
  background: #fffdf7;
  box-shadow:
    0 0 0 3px rgba(214, 158, 71, 0.15),
    0 1px 4px rgba(15, 25, 35, 0.06);
}

.field-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%232C4258' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  background-color: #ffffff;
}

.field-select option {
  color: var(--text-dark);
  background: white;
}

.field-textarea {
  resize: vertical;
  min-height: 68px;
  line-height: 1.5;
}

/* ── TOGGLE PILLS ── */
.toggle-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: #ffffff;
  color: var(--text-mid);
  font-family: "Outfit", sans-serif;
  font-size: 0.81rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
  box-shadow: 0 1px 4px rgba(15, 25, 35, 0.07);
}

.toggle-pill input {
  display: none;
}

.toggle-pill:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--gold-pale);
}

.toggle-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(15, 25, 35, 0.22);
}

/* ── DIVIDER ── */
.form-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 16px 0;
}

/* ── PHONE ── */
.phone-wrap {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 25, 35, 0.06);
  transition: all 0.2s;
}

.phone-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 158, 71, 0.15);
}

.phone-code {
  padding: 8px 14px;
  background: var(--gold-tint);
  border-right: 1.5px solid var(--border);
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-num {
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border: none;
  background: #ffffff;
  color: var(--text-dark);
  font-family: "Outfit", sans-serif;
  font-size: 0.87rem;
  outline: none;
}

.phone-num::placeholder {
  color: var(--text-muted);
}

/* ── SUBMIT ── */
.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.submit-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.5;
  flex: 1;
  min-width: 180px;
}

.submit-note strong {
  color: var(--navy);
}

.btn-submit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  /* padding: 12px 25px; */
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: none;
  border-radius: 100px;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: 0 6px 24px rgba(15, 25, 35, 0.3);
  white-space: nowrap;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(214, 158, 71, 0.4);
}

.btn-submit svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── CALL STRIP ── */
.call-strip {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gold-tint);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.call-strip svg {
  flex-shrink: 0;
  color: var(--gold-deep);
}

.call-strip p {
  font-size: 0.78rem;
  color: var(--text-mid);
}

.call-strip a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.call-strip a:hover {
  color: var(--gold-deep);
}

/* ── COUNTER ── */
.counter-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 25, 35, 0.06);
}

.counter-btn {
  width: 37px;
  height: 37px;
  border: none;
  background: var(--gold-tint);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
  /* transition: background 0.15s; */
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.counter-btn:last-child {
  border-right: none;
  border-left: 1px solid var(--border);
}

.counter-btn:hover {
  background: var(--gold-pale);
  color: var(--gold-deep);
}

.counter-val {
  width: 0%;
  flex: 1;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  border: none;
  outline: none;
  background: transparent;
  font-family: "Outfit", sans-serif;
}

/* ── INFO STRIP ── */
.info-strip {
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.info-strip strong {
  color: var(--navy);
}

@media (min-width: 668px) {
  .modal-service-lg {
    width: 730px !important;
  }
  .modal-auth-lg {
        width: 714px;
    }
}
@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .header-tagline {
    display: none;
  }

  .modal-body .modal-body-service {
    padding: 20px;
  }

  .modal-header-service {
    padding: 20px !important;
    /* flex-wrap: wrap; */
  }
  .toggle-row {
    gap: 4px;
  }
  .modal-title-service {
    font-size: 24px;
  }

  .submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .modal-header-service {
    padding: 12px !important;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .modal-icon {
    width: 35px;
    height: 35px;
  }
}
