/* ==========================================================================
   HIRE PAGE HERO
   ========================================================================== */

.hire-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0px 0px 1px #a7a7a7;
}

/* Full-width background image — positioned to right half only */
.hire-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* White gradient overlay — fades from white into the image */
.hire-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #fff 42%,
    hsl(0 0% 100% / 0.85) 50%,
    hsl(0 0% 100% / 0.4) 65%,
    transparent 80%
  );
}

.hire-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 4rem;
}

.hire-hero__content {
  max-width: 50%;
}

.hire-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: hsl(350 87% 96%);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.hire-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hire-hero__accent {
  color: var(--primary);
}

.hire-hero__desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hire-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hire-hero__content {
    max-width: 100%;
  }

  .hire-hero__overlay {
    background: linear-gradient(
      to right,
      #fff 0%,
      hsl(0 0% 100% / 0.95) 60%,
      hsl(0 0% 100% / 0.85) 100%
    );
  }
}

/* ==========================================================================
   SECTION 1: WHY HIRE & HOW IT WORKS LAYOUT
   ========================================================================== */

.why-hiw-section {
  background: var(--muted);
  padding-block: 5rem;
}

.why-hiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .why-hiw-grid {
    grid-template-columns: 38% 62%;
    gap: 0;
  }
}

/* Why Hire Side */
.why-hire-col {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .why-hire-col {
    padding-right: 3.5rem;
  }
}

.why-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  background-color: hsl(350 87% 96%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.why-hire-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}

.why-hire-desc {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-hire-desc p {
  margin: 0;
}

/* How It Works Side */
.hiw-steps-col {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .hiw-steps-col {
    padding-left: 3.5rem;
  }
}

.hiw-title-main {
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 2rem;
  margin-top: 0;
}

.hiw-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .hiw-cards-container {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
}

.hiw-step-card {
  flex: 1;
  background: #fff;
  border: 1px solid hsl(210 20% 93%);
  border-radius: 1rem;
  padding: 2.25rem 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
}

.hiw-card-badge {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: hsl(350 87% 96%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.hiw-card-badge i {
  font-size: 0.95rem;
}

.hiw-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hiw-card-desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.5;
  margin-top: 0;
}

.hiw-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hiw-card-list li {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hiw-card-list .chk-icon {
  color: #10b981;
  font-weight: 700;
}

.hiw-card-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}

@media (max-width: 767px) {
  .hiw-card-connector {
    display: none;
  }
}

.hiw-connector-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: hsl(350 87% 96%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

/* ==========================================================================
   REQUEST A DEDICATED ESTIMATOR FORM SECTION STYLING
   ========================================================================== */

.req-estimator-section {
  padding: 5rem 0;
  background: var(--background);
}

/* Global Section Header Description Width Override */
.section-head--center .section-desc {
  max-width: 1000px;
}

.req-estimator__header {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.req-estimator__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.req-estimator__desc {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  max-width: 60ch;
  line-height: 1.6;
}

.req-estimator__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .req-estimator__grid {
    grid-template-columns: 1.8fr 1.2fr;
  }
}

/* --- Left Column: Form Styling --- */
.req-estimator__form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

@media (max-width: 640px) {
  .req-estimator__form {
    padding: 1.5rem;
  }
}

.form-group-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.form-group-section--last {
  margin-bottom: 1.5rem;
  border-bottom: none;
}

.form-group-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
}

/* Grids for inputs */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .form-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Field items */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-field__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-field__label .required {
  color: var(--primary);
  font-weight: 700;
}

.form-field__input,
.form-field__select,
.form-field__textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-poppins);
  color: var(--foreground);
  background: var(--background);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-field__input:focus,
.form-field__select:focus,
.form-field__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(350 87% 42% / 0.15);
}

.form-field__input::placeholder,
.form-field__textarea::placeholder {
  color: #a0aec0;
  opacity: 0.85;
}

.form-field__textarea {
  min-height: 120px;
  resize: vertical;
}

/* Custom dropdown chevron */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #718096;
  pointer-events: none;
}

.form-field__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Date picker wrapper */
.date-input-wrapper {
  position: relative;
  width: 100%;
}

/* Custom Play Icon Radios */
.radio-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--foreground);
  position: relative;
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  transition: all 0.2s ease;
}

.radio-custom i {
  font-size: 8px;
  color: transparent;
  transform: translateX(0.5px);
  transition: color 0.2s;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.radio-label input[type="radio"]:checked + .radio-custom i {
  color: #fff;
}

/* Custom Checkbox */
.form-field--checkbox {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.2rem;
}

.checkbox-group-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--foreground);
  position: relative;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -0.5px);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  display: block;
}

/* Contact Form 7 Radio Button Styling Overrides */
.wpcf7-radio {
  display: flex !important;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.wpcf7-radio .wpcf7-list-item {
  margin: 0 !important;
  display: inline-flex;
}

.wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--foreground);
  position: relative;
}

.wpcf7-radio .wpcf7-list-item label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wpcf7-radio .wpcf7-list-item label .wpcf7-list-item-label {
  position: relative;
  padding-left: 28px;
  display: inline-flex;
  align-items: center;
}

.wpcf7-radio .wpcf7-list-item label .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--background);
  transition: all 0.2s ease;
}

.wpcf7-radio .wpcf7-list-item label .wpcf7-list-item-label::after {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 6.5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  color: transparent;
  transition: color 0.2s;
}

.wpcf7-radio .wpcf7-list-item label input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background: var(--primary);
  border-color: var(--primary);
}

.wpcf7-radio .wpcf7-list-item label input[type="radio"]:checked + .wpcf7-list-item-label::after {
  color: #fff;
}

/* Contact Form 7 Checkbox Styling Overrides */
.wpcf7-checkbox {
  display: flex !important;
  margin-top: 0.25rem;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0 !important;
  display: inline-flex;
}

.wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--foreground);
  position: relative;
  user-select: none;
}

.wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label {
  position: relative;
  padding-left: 28px;
  display: inline-flex;
  align-items: center;
}

.wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  transition: all 0.2s;
}

.wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 50%;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translateY(-60%) rotate(45deg);
}

.wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background: var(--primary);
  border-color: var(--primary);
}

.wpcf7-checkbox .wpcf7-list-item label input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  display: block;
}

/* Drag and Drop Zone */
.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  background: hsl(210 40% 98%);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.upload-dropzone:hover {
  border-color: var(--primary);
  background: hsl(350 87% 42% / 0.02);
}

.upload-dropzone--dragover {
  border-color: var(--primary);
  background: hsl(350 87% 42% / 0.06);
}

.upload-dropzone__input {
  display: none;
}

.upload-dropzone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.upload-dropzone__icon {
  font-size: 2rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.upload-dropzone:hover .upload-dropzone__icon {
  transform: translateY(-2px);
}

.upload-dropzone__text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Submit button */
.form-submit-wrapper {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.btn--submit {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.8rem 2.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 16px hsl(350 87% 42% / 0.25);
}

.btn--submit:hover {
  background: hsl(350 87% 35%);
  box-shadow: 0 6px 20px hsl(350 87% 42% / 0.35);
  transform: translateY(-1px);
}

.btn--submit .btn-arrow {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.btn--submit:hover .btn-arrow {
  transform: translateX(2px);
}


/* --- Right Column: Sidebar Styling --- */
.req-estimator__sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 6rem;
}

.sidebar-choose-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 2rem;
  line-height: 1.35;
}

.side-bar-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
      gap: 0.5rem;
    align-items: baseline;
}

.sidebar-choose-heading .highlight-red {
  color: #c80e2d;
}

.sidebar-choose-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-choose-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.choose-icon-box {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: hsl(350 87% 96%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.choose-text {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  font-weight: 600;
  line-height: 1.45;
}

.sidebar-question-card {
  background-color: hsl(350 87% 98%);
  padding: 2.25rem 2rem;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.q-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 0;
}

.q-card-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
}



.sidebar-phone-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.phone-icon-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: hsl(350 87% 96%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.phone-link {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   SECTION 2: ESTIMATOR CAPABILITIES & SCOPE
   ========================================================================== */

.estimator-scope-new-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .estimator-scope-new-layout {
    grid-template-columns: 1fr 1.35fr;
    gap: 3rem;
  }
}

/* Left Panel - Project Based */
.scope-project-panel {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 10px 30px hsla(217, 46%, 15%, 0.05);
}

.scope-panel-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scope-panel-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scope-project-panel .scope-panel-tag {
  color: hsl(350 87% 60%);
}

.scope-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 0;
}

.scope-project-panel .scope-panel-title {
  color: #fff;
}

.scope-panel-desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

.scope-project-panel .scope-panel-desc {
  color: rgba(255, 255, 255, 0.7);
}

.scope-project-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-scope-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-scope-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-scope-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.25s;
}

.project-scope-item:hover .project-scope-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.project-scope-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.project-scope-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.project-scope-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.4;
}

/* Right Panel - Trades Grid */
.scope-trades-panel {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.trades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 540px) {
  .trades-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trade-card-new {
  background: var(--card);
  border: 1.2px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
  cursor: default;
}

.trade-card-new:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(199, 16, 46, 0.05);
}

.trade-card-icon {
  width: 48px;
  height: 48px;
  background: hsl(350 87% 42% / 0.05);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.25s;
}

.trade-card-new:hover .trade-card-icon {
  background: var(--primary);
  color: #fff;
}

.trade-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

/* Software Proficiency badges */
.software-proficiency-footer {
  padding-top: 3rem;
  margin-top: 2rem;
  text-align: center;
}

.software-footer__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 100%;
  display: block;
  width: 100%;
}

.software-badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.sw-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--foreground);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.sw-badge:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.sw-badge-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}


/* ==========================================================================
   SECTION 3: HOW IT WORKS & TRANSPARENT PRICING
   ========================================================================== */

.pricing-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin-block: 5rem;
  max-width: 100%;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 960px) {
  .pricing-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pricing-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.pricing-card--popular {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(199, 16, 46, 0.05);
}

.pricing-card--popular:hover {
  box-shadow: 0 12px 35px rgba(199, 16, 46, 0.08);
}

.pricing-card__ribbon {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(199, 16, 46, 0.2);
}

.pricing-card__left {
  flex-shrink: 0;
}

.pricing-card__circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: hsl(350 87% 42% / 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.3s ease;
}

.pricing-card:hover .pricing-card__circle {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.pricing-card__right {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pricing-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 0;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-manrope);
  line-height: 1.1;
}

.price-unit {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

.pricing-card__desc {
  font-size: 0.82rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.4;
}

.pricing-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
}

.pricing-footer-note i {
  color: var(--primary);
  font-size: 1rem;
}


/* ==========================================================================
   SECTION 4: HOW IT WORKS & SCHEDULE
   ========================================================================== */
/* --- How It Works: Circular Icon Timeline --- */
.hiw-steps-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .hiw-steps-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin-inline: auto;
  }
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 280px;
  position: relative;
}

@media (min-width: 768px) {
  .hiw-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    left: calc(50% + 50px + 15px);
    width: calc(100% - 100px - 30px);
    height: 2px;
    border-top: 2px dashed var(--border);
    z-index: 1;
  }
}

.hiw-step__circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  z-index: 2; /* keep circles above dashed line */
}

.hiw-step:hover .hiw-step__circle {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(199, 16, 46, 0.08);
  transform: scale(1.05);
}

.hiw-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-manrope);
  margin-bottom: 0.75rem;
  z-index: 2;
}

.hiw-step__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.hiw-step__desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin: 0;
}

/* Schedule box */
.schedule-details-box {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.015);
}

@media (min-width: 960px) {
  .schedule-details-box {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.sched-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sched-heading i {
  color: var(--primary);
}

.sched-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sched-list li {
  font-size: 0.9rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sched-list li i {
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sched-right {
  background: hsl(210 40% 98%);
  padding: 2rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.sched-note {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}

.sched-note-sub {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.4;
}


/* ==========================================================================
   GOOGLE CALENDAR SCHEDULING BUTTON CUSTOM STYLING
   ========================================================================== */

div[style*="calendar.google.com"] button,
button[style*="calendar.google.com"],
.sidebar-cta button {
  font-family: var(--font-poppins) !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  transition: transform 0.2s, box-shadow 0.25s !important;
}

div[style*="calendar.google.com"] button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(199, 16, 46, 0.3) !important;
}

/* ==========================================================================
   WHAT YOUR ESTIMATOR CAN DO & SOFTWARE EXPERIENCE STYLING
   ========================================================================== */

.estimator-dark-card {
  background: #09122c;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.estimator-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .estimator-card-grid {
    grid-template-columns: 1.15fr 1px 0.85fr;
    gap: 3rem;
    align-items: stretch;
  }
}

.estimator-divider {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991px) {
  .estimator-divider {
    display: none;
  }
}

.estimator-dark-card-title {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  margin-top: 0;
  margin-bottom: 2rem;
  line-height: 1.35;
}

.estimator-dark-card-title .highlight-red {
  color: #c80e2d;
}

/* Left side columns */
.estimator-todo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .estimator-todo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.estimator-todo-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.estimator-todo-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.todo-icon-box {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  background: rgba(200, 14, 45, 0.2);
  color: #ff3b59;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.todo-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  line-height: 1.3;
}

/* Right side grid */
.estimator-sw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .estimator-sw-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .estimator-sw-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.estimator-sw-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.estimator-sw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.estimator-sw-img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.estimator-sw-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

/* ==========================================================================
   SCOPE WORKING HOURS
   ========================================================================== */
.scope-working-hours {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.swh-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.swh-title i {
  color: hsl(350, 87%, 60%);
  font-size: 1rem;
}

.swh-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.85rem;
}

.swh-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.swh-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.swh-info-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.swh-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
  margin: 0;
}

.swh-note strong {
  color: #fff;
}

/* ==========================================================================
   CALENDAR MODAL
   ========================================================================== */
.calendar-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.calendar-modal-overlay.active {
  display: flex;
}

.calendar-modal-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 85%;
  max-height: 800px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  animation: calendarModalFadeIn 0.3s ease-out;
}

.calendar-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: 0;
  background: transparent;
  font-size: 28px;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 100000;
  line-height: 1;
}

.calendar-modal-close:hover {
  color: var(--primary);
}

.calendar-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  flex-grow: 1;
}

@keyframes calendarModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Scrollable Checkbox List for Multiselect Fields */
.checkbox-list-container {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem;
  background: var(--card);
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.checkbox-list-container::-webkit-scrollbar {
  width: 6px;
}
.checkbox-list-container::-webkit-scrollbar-track {
  background: transparent;
}
.checkbox-list-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}
.checkbox-list-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* Selected Badges Styling */
.selected-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  min-height: 28px;
}
.selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  user-select: none;
}
.selected-badge:hover {
  background: rgba(179, 25, 47, 0.05);
  border-color: var(--primary, #b3192f);
  color: var(--primary, #b3192f);
}
.selected-badge__remove {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #9ca3af;
  transition: color 0.2s ease;
}
.selected-badge:hover .selected-badge__remove {
  color: var(--primary, #b3192f);
}

/* Checkbox Multiselect Dropdown */
.multiselect-wrapper {
  position: relative;
}

/* Force the trigger to be a single flex row — CF7 auto-wraps children in <p> tags,
   so we kill those and keep the trigger as a flat flex container */
.multiselect-trigger {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 0.5rem;
}

/* Kill ALL CF7 auto-generated <p> and <br> wrappers inside the form.
   CF7's wpautop converts newlines into <p> and <br>, breaking flex layouts
   and adding unwanted vertical space around hidden elements. */
.req-estimator__form p {
  display: contents;
  margin: 0;
  padding: 0;
}

.req-estimator__form br {
  display: none;
}

/* Restore paragraph display for elements that actually need block layout */
.req-estimator__form .form-group-section__title,
.req-estimator__form .form-field__label,
.req-estimator__form .checkbox-group-label {
  display: block;
}

.multiselect-placeholder {
  flex: 1;
  color: #a0aec0;
  font-size: 0.9rem;
}

.multiselect-arrow {
  font-size: 0.7rem;
  color: #9ca3af;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.multiselect-trigger.open .multiselect-arrow {
  transform: rotate(180deg);
}

/* Open state: round only the top corners of trigger */
.multiselect-trigger.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.multiselect-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border, #e5e7eb);
  border-top: none;
  border-radius: 0 0 var(--radius, 10px) var(--radius, 10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 50;
  max-height: 220px;
  overflow-y: auto;
  padding: 0.375rem;
}

.multiselect-dropdown.open {
  display: block;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  margin: 0;
}

.multiselect-option:hover {
  background: #f3f4f6;
}

.multiselect-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary, #b3192f);
  cursor: pointer;
  flex-shrink: 0;
}
