/* ═══════════════════════════════════════════════════
   TripGozy — Get Free Quote Page CSS v3
   /get-free-quote/ — Loaded conditionally via functions.php
═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   GET FREE QUOTE v3
   - Compact hero (not full-screen)
   - Form centered on page
   - CF7 ready
   - Fully responsive
═══════════════════════════════════════ */

/* ── HERO (compact) ── */
.gfq-hero {
  position: relative;
  background: var(--c-primary-900);
  overflow: hidden;
  padding: 72px 0 80px;
}
.gfq-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gfq-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: none;
  border-radius: 0;
}
.gfq-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(7,24,41,.92) 0%, rgba(7,24,41,.80) 55%, rgba(7,24,41,.60) 100%);
}
.gfq-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: left;
}
.gfq-bc {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.42);
  margin-bottom: 22px;
}
.gfq-bc a { color: rgba(255,255,255,.55); text-decoration: none; }
.gfq-bc a:hover { color: #fff; }
.gfq-bc .cur { color: rgba(255,255,255,.72); }
.gfq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--c-accent-gold);
  margin-bottom: 16px;
}
.gfq-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  animation: gfqPulse 2s ease-in-out infinite;
}
@keyframes gfqPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50%      { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}
.gfq-h1 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: 16px;
}
.gfq-h1 em { font-style: italic; font-weight: 400; color: var(--c-accent-gold); }
.gfq-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 52ch;
}
.gfq-trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}
.gfq-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(255,255,255,.75);
}
.gfq-trust-pill::before {
  content: '✓';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-secondary-700);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── FORM SECTION (centered, full width) ── */
.gfq-form-section {
  background: #F5F5F3;
  padding: 64px 24px;
}
.gfq-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(7,24,41,.08), 0 1px 4px rgba(7,24,41,.06);
  overflow: hidden;
}
.gfq-form-head {
  background: var(--c-primary-800);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gfq-form-head-left {}
.gfq-form-title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.gfq-form-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,.60);
}
.gfq-form-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.80);
  white-space: nowrap;
  flex-shrink: 0;
}
.gfq-form-body {
  padding: 36px 36px 0;
}
.gfq-form-footer {
  padding: 24px 36px 36px;
}

/* CF7 / form field styles */
.gfq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.gfq-row.cols-1 {
  grid-template-columns: 1fr;
}
/* CF7 wraps fields in <p> tags — fix grid break */
.gfq-row .wpcf7-form-control-wrap,
.gfq-row p {
  width: 100%;
}
.gfq-row.cols-1 .gfq-field,
.gfq-row.cols-1 p {
  grid-column: 1 / -1;
  width: 100%;
}
/* Textarea full width */
.gfq-form-body .gfq-row.cols-1 textarea,
.gfq-form-body .gfq-row.cols-1 .gfq-textarea,
.wpcf7-form textarea,
.wpcf7-form textarea.gfq-textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
/* CF7 span wrap inside cols-1 also full width */
.gfq-row.cols-1 .wpcf7-form-control-wrap {
  display: block;
  width: 100% !important;
}
.gfq-field { display: flex; flex-direction: column; gap: 5px; }
.gfq-field label,
.gfq-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #374151;
}
.gfq-field label span,
.gfq-label span { color: #EF4444; margin-left: 2px; }

/* These styles target CF7 inputs */
.gfq-form-body input[type="text"],
.gfq-form-body input[type="email"],
.gfq-form-body input[type="tel"],
.gfq-form-body select,
.gfq-form-body textarea,
.gfq-input, .gfq-select, .gfq-textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-family: var(--f-body);
  font-size: 14px;
  color: #111;
  background: #F9F9F8;
  border: 1.5px solid #E8E6E1;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.gfq-form-body select,
.gfq-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
}
.gfq-form-body textarea,
.gfq-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.gfq-form-body input:focus,
.gfq-form-body select:focus,
.gfq-form-body textarea:focus,
.gfq-input:focus, .gfq-select:focus, .gfq-textarea:focus {
  border-color: var(--c-primary-700);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14,42,71,.08);
}
.gfq-form-body input::placeholder,
.gfq-form-body textarea::placeholder { color: #B0AEAA; }

/* Divider */
.gfq-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #C4C4C4;
  font-size: 12px;
  margin: 16px 0;
}
.gfq-divider::before,
.gfq-divider::after { content: ''; flex: 1; height: 1px; background: #EDE9E3; }

/* Submit button */
.gfq-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 24px;
  background: var(--c-accent-600);
  color: #fff;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201,123,16,.30);
  transition: background .18s, transform .18s, box-shadow .18s;
  margin-bottom: 14px;
  letter-spacing: .01em;
}
.gfq-submit:hover {
  background: var(--c-accent-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(201,123,16,.38);
}
/* CF7 submit button */
.wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 24px;
  background: var(--c-accent-600);
  color: #fff;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201,123,16,.30);
  transition: background .18s, transform .18s;
  margin-bottom: 14px;
  letter-spacing: .01em;
}
.wpcf7-submit:hover { background: var(--c-accent-700); transform: translateY(-1px); }

.gfq-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  background: #25D366;
  color: #fff;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s;
}
.gfq-wa-btn:hover { background: #1DAA57; }
.gfq-wa-btn svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
.gfq-consent {
  font-size: 12px;
  color: #B0AEAA;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* HOW IT WORKS */
.gfq-how {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid #EBEBEA;
}
.gfq-sec-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-secondary-700);
  margin-bottom: 8px;
  text-align: left;
}
.gfq-sec-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: #111;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 48px;
  text-align: left;
}
.gfq-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.gfq-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary-700), var(--c-secondary-700));
  opacity: .2;
  z-index: 0;
}
.gfq-step { text-align: center; position: relative; z-index: 1; }
.gfq-step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--c-primary-800);
  color: #fff;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid #fff;
  box-shadow: 0 2px 14px rgba(14,42,71,.18);
}
.gfq-step-title { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 8px; }
.gfq-step-desc { font-size: 13px; color: var(--c-stone); line-height: 1.65; }

/* BOTTOM CTA */
.gfq-cta {
  background: var(--c-primary-800);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.gfq-cta::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(201,123,16,.08);
  pointer-events: none;
}
.gfq-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.gfq-cta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--c-accent-gold);
  margin-bottom: 8px;
}
.gfq-cta-title {
  font-family: var(--f-display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.gfq-cta-btns { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.gfq-btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--c-accent-600);
  color: #fff;
  font-family: var(--f-body);
  font-size: 15px; font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 3px 12px rgba(201,123,16,.28);
  white-space: nowrap;
}
.gfq-btn-gold:hover { background: var(--c-accent-700); transform: translateY(-1px); }
.gfq-btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  background: #25D366;
  color: #fff;
  font-family: var(--f-body);
  font-size: 14px; font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s;
  white-space: nowrap;
}
.gfq-btn-wa:hover { background: #1DAA57; }
.gfq-btn-wa svg { width: 17px; height: 17px; fill: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .gfq-hero { padding: 52px 0 60px; }
  .gfq-form-head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 24px; }
  .gfq-form-body { padding: 28px 24px 0; }
  .gfq-form-footer { padding: 20px 24px 28px; }
  .gfq-steps { grid-template-columns: repeat(2, 1fr); }
  .gfq-steps::before { display: none; }
  .gfq-cta-inner { flex-direction: column; align-items: flex-start; }
  .gfq-cta-btns { width: 100%; }
  .gfq-btn-gold, .gfq-btn-wa { justify-content: center; flex: 1; }
}
@media (max-width: 640px) {
  .gfq-h1 { font-size: 28px; }
  .gfq-row { grid-template-columns: 1fr; gap: 14px; }
  .gfq-form-section { padding: 40px 16px; }
  .gfq-how { padding: 52px 0; }
  .gfq-cta { padding: 52px 0; }
  .gfq-steps { grid-template-columns: 1fr; }
  .gfq-cta-btns { flex-direction: column; }
  .gfq-btn-gold, .gfq-btn-wa { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .gfq-hero { padding: 40px 0 48px; }
  .gfq-trust-pills { gap: 6px; }
  .gfq-trust-pill { font-size: 12px; padding: 5px 11px; }
  .gfq-form-head { padding: 20px 18px; }
  .gfq-form-body { padding: 22px 18px 0; }
  .gfq-form-footer { padding: 16px 18px 24px; }
}


/* ── CF7 INTEGRATION STYLES ──
   Contact Form 7 mein form fields ko
   same styling dete hain
─────────────────────────────── */

/* CF7 field wrappers */
.wpcf7-form .gfq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.wpcf7-form .gfq-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* CF7 inputs match our design */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-family: var(--f-body);
  font-size: 14px;
  color: #111;
  background: #F9F9F8;
  border: 1.5px solid #E8E6E1;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7-form select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
}
.wpcf7-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--c-primary-700);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14,42,71,.08);
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder { color: #B0AEAA; }

/* CF7 submit button */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 24px;
  background: var(--c-accent-600);
  color: #fff;
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201,123,16,.30);
  transition: background .18s, transform .18s;
  margin-bottom: 14px;
  letter-spacing: .01em;
  -webkit-appearance: none;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: var(--c-accent-700);
  transform: translateY(-1px);
}

/* CF7 validation errors */
.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #EF4444;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}
.wpcf7-not-valid {
  border-color: #EF4444 !important;
}
.wpcf7-response-output {
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  border: none !important;
  font-family: var(--f-body) !important;
}
.wpcf7-mail-sent-ok {
  background: #DCFCE7 !important;
  color: #166534 !important;
}
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background: #FEE2E2 !important;
  color: #991B1B !important;
}

/* CF7 spinner */
.wpcf7-spinner {
  display: none !important;
}

/* ── ACCEPTANCE CHECKBOX ── */
.gfq-acceptance,
.wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--c-stone);
  line-height: 1.5;
  margin-bottom: 16px;
  cursor: pointer;
}
.wpcf7-acceptance input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid #E8E6E1 !important;
  border-radius: 4px !important;
  padding: 0 !important;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--c-primary-700);
}
.wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
}
.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 13px;
  color: var(--c-stone);
  line-height: 1.5;
}

/* ── HONEYPOT (hidden) ── */
.wpcf7-form .honeypot-field,
.wpcf7-form p:has(.honeypot-field) {
  display: none !important;
  visibility: hidden !important;
}