/* QUICK ENQUIRY PAGE & MODAL STYLING */
:root {
  --navy: #173f68;
  --navy-2: #24577f;
  --teal: #18a6a0;
  --teal-dark: #12817c;
  --mint: #e9f8f5;
  --coral: #f07a62;
  --coral-soft: #fdf0ed;
  --sun: #f6c85f;
  --cream: #fffaf0;
  --sky: #eaf5fb;
  --ink: #23425e;
  --muted: #718396;
  --line: #e5edf1;
  --white: #ffffff;
  --shadow-lg: 0 20px 50px rgba(23, 63, 104, 0.12);
  --shadow-glow: 0 10px 30px rgba(24, 166, 160, 0.25);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

body.enquiry-page {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #f7fbfc 0%, #fffdf8 50%, #f0f7fb 100%);
  color: var(--ink);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* NAVIGATION */
.enquiry-nav {
  height: 80px;
  padding: 0 max(4vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 63, 104, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.enquiry-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--sky);
  transition: all 0.25s ease;
}

.back-link:hover {
  background: var(--mint);
  color: var(--teal);
  transform: translateX(-3px);
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(23, 63, 104, 0.2);
  transition: all 0.25s ease;
}

.call-pill:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* HERO BANNER */
.enquiry-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4b7c 60%, var(--teal-dark) 100%);
  color: #fff;
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.enquiry-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(246, 200, 95, 0.15);
  pointer-events: none;
}

.enquiry-hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(24, 166, 160, 0.2);
  pointer-events: none;
}

.enquiry-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--sun);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(246, 200, 95, 0.3);
}

.enquiry-hero h1 {
  font-family: 'Baloo 2', cursive, sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  margin: 0 0 12px;
  line-height: 1.1;
  font-weight: 800;
}

.enquiry-hero h1 span {
  color: var(--sun);
}

.enquiry-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
  color: #dceaf5;
  line-height: 1.6;
}

/* ENQUIRY CONTAINER */
.enquiry-container {
  max-width: 760px;
  margin: -40px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.enquiry-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(23, 63, 104, 0.08);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.enquiry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--sun), var(--coral));
}

.enquiry-card-header {
  margin-bottom: 30px;
  text-align: center;
}

.enquiry-card-header h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.enquiry-card-header p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* FORM STYLING */
.enquiry-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-group label .req {
  color: var(--coral);
}

.field-group label .hint {
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}

.input-control,
.select-control,
.textarea-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid #d9e5ec;
  background: #fdfefe;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  transition: all 0.25s ease;
  outline: none;
}

.input-control:focus,
.select-control:focus,
.textarea-control:focus {
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(24, 166, 160, 0.12);
}

.select-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%20173f68' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.branch-badge-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.branch-badge-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  box-shadow: 0 0 8px var(--teal);
}

/* SUBMIT BUTTON */
.btn-submit-enquiry {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 99px;
  font-size: 17px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-submit-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(24, 166, 160, 0.35);
}

.btn-submit-enquiry:active {
  transform: translateY(0);
}

.btn-submit-enquiry:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* SUCCESS SCREEN */
.enquiry-success {
  text-align: center;
  padding: 20px 0;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: var(--mint);
  color: var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 38px;
  box-shadow: inset 0 0 0 2px rgba(24, 166, 160, 0.2);
}

.enquiry-success h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 10px;
}

.enquiry-success p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 24px;
}

.ref-box {
  background: var(--sky);
  border: 1.5px dashed rgba(23, 63, 104, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: inline-block;
  margin-bottom: 30px;
}

.ref-box label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ref-box strong {
  font-size: 22px;
  color: var(--navy);
  font-family: monospace;
  letter-spacing: 1px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--sky);
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: #d4e8f5;
}

/* QUICK ENQUIRY FLOATING MODAL */
.enquiry-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 38, 58, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.enquiry-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.enquiry-modal-card {
  background: #ffffff;
  width: min(650px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.enquiry-modal-backdrop.active .enquiry-modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--sky);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--coral-soft);
  color: var(--coral);
}
