@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --green-primary: #0f4c28;
  --green-dark: #062412;
  --green-footer: #09331a;
  --green-progress: #0b3c20;
  --green-mid: #145233;
  --green-deep: #0a331a;
  --green-900: #0a3a1f;
  --gold: #ffd700;
  --wa-from: #25D366;
  --wa-to: #128C7E;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-700: #be123c;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --max: 80rem;
  --font: 'Cairo', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font);
  font-weight: 400;
  color: var(--slate-900);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }
.icon-xl { width: 2rem; height: 2rem; }

.dir-ltr { direction: ltr; unicode-bidi: isolate; }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 78, 59, 0.1);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.top-bar {
  background: #0f4c28;
  color: var(--amber-200);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
}
@media (min-width: 640px) {
  .top-bar { font-size: 0.75rem; padding: 0.375rem 1.5rem; }
}

.top-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.top-bar-brand {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
}
.top-bar-brand .tag { color: var(--amber-300); font-weight: 900; flex-shrink: 0; }
.top-bar-brand .sep { color: rgba(110, 231, 183, 0.5); display: none; }
.top-bar-brand .txt { color: rgba(255,255,255,0.9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
@media (min-width: 640px) {
  .top-bar-brand .sep,
  .top-bar-brand .txt { display: inline; }
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.6875rem;
  transition: color 0.15s;
}
.top-bar-phone:hover { color: var(--amber-300); }
.top-bar-phone .icon { color: var(--amber-300); width: 0.75rem; height: 0.75rem; }
@media (min-width: 640px) {
  .top-bar-phone { font-size: 0.75rem; }
  .top-bar-phone .icon { width: 0.875rem; height: 0.875rem; }
}

.header-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0.625rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .header-main { padding: 0 1.5rem; height: 3.5rem; gap: 0.75rem; }
}
@media (min-width: 1024px) {
  .header-main { padding: 0 2rem; height: 4rem; }
}

.brand-text {
  display: none;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--green-primary);
  letter-spacing: -0.02em;
  cursor: pointer;
  text-decoration: none;
}
.brand-text span { display: block; font-size: 0.65rem; font-weight: 600; color: var(--slate-500); }
@media (min-width: 1024px) {
  .brand-text { display: none; }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 1;
  min-width: 0;
  margin: 0;
  margin-inline-end: 0.25rem;
  padding: 0.125rem 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}
.site-logo:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
  border-radius: 0.25rem;
}
.site-logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: min(58vw, 10.5rem);
  object-fit: contain;
  object-position: left center;
}
html[dir="rtl"] .site-logo img {
  object-position: right center;
}
@media (min-width: 640px) {
  .site-logo {
    margin-inline-end: 0.125rem;
    padding: 0.1875rem 0;
  }
  .site-logo img { max-width: min(48vw, 13.25rem); }
}
@media (min-width: 1024px) {
  .site-logo {
    display: inline-flex;
    margin-inline-end: 0;
    padding: 0;
    flex-shrink: 0;
  }
  .site-logo img { max-width: 17rem; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--slate-100);
  padding: 0.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  font-size: 0.75rem;
  font-weight: 700;
}
.lang-switcher .icon {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--slate-400);
  margin: 0 0.25rem;
  display: none;
}
@media (min-width: 1024px) {
  .lang-switcher .icon { display: inline-block; }
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--slate-600);
  padding: 0.25rem 0.375rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 700;
  transition: all 0.15s;
}
@media (min-width: 640px) {
  .lang-btn { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
}
.lang-btn:hover { color: var(--slate-900); }
.lang-btn.active {
  background: #0f4c28;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.btn-wa-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xl);
  background: var(--emerald-700);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(5, 150, 105, 0.3);
  cursor: pointer;
  transition: background 0.15s;
}
.btn-wa-header:hover { background: var(--emerald-800); }
.btn-wa-header .label { display: none; white-space: nowrap; }
.btn-wa-header .icon { width: 1rem; height: 1rem; color: var(--amber-300); }
@media (min-width: 640px) {
  .btn-wa-header { padding: 0.625rem 1rem; font-size: 0.875rem; gap: 0.5rem; }
  .btn-wa-header .label { display: inline; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(to bottom right, #062412, #0f4c28, #0a331a);
  color: #fff;
  padding: 2rem 1rem 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(6, 95, 70, 0.4);
  text-align: center;
}
@media (min-width: 640px) {
  .hero { padding: 2rem 1.5rem 3.5rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 2rem 2rem 3.5rem; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat;
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,36,18,0.8), rgba(15,76,40,0.85), rgba(6,36,18,0.95));
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image: radial-gradient(#ffd700 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(64px);
}
.hero-blob.tl { top: -10rem; left: -10rem; background: rgba(251, 191, 36, 0.1); }
.hero-blob.br { bottom: -10rem; right: -10rem; background: rgba(52, 211, 153, 0.1); }

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(252, 211, 77, 0.3);
  color: var(--amber-300);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.hero-badge .icon { width: 0.875rem; height: 0.875rem; color: var(--amber-300); }

.hero h1 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 56rem;
  color: #fff;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #d1fae5;
  max-width: 42rem;
  font-weight: 500;
  line-height: 1.625;
}
@media (min-width: 640px) { .hero-desc { font-size: 1.125rem; } }

/* ========== MAIN ========== */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0.75rem 4rem;
  width: 100%;
  flex: 1;
}
@media (min-width: 640px) { .page-main { padding: 0 1.5rem 4rem; } }
@media (min-width: 1024px) { .page-main { padding: 0 2rem 4rem; } }

/* ========== FORM CARD ========== */
.inquiry-wrap {
  width: 100%;
  max-width: 64rem;
  margin: 1rem auto;
  padding: 0 0.5rem;
}
@media (min-width: 640px) {
  .inquiry-wrap { margin: 2rem auto; padding: 0 1rem; }
}

.inquiry-card {
  background: #fff;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(6, 78, 59, 0.15);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 100%;
}

.form-head {
  background: linear-gradient(to right, #0f4c28, #145233, #0a3a1f);
  color: #fff;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .form-head { padding: 2rem; } }

.form-head::before,
.form-head::after {
  content: '';
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}
.form-head::before { top: -3rem; left: -3rem; background: rgba(251, 191, 36, 0.15); }
.form-head::after { bottom: -3rem; right: -3rem; background: rgba(52, 211, 153, 0.15); }

.form-head-inner { position: relative; z-index: 10; }
.form-head .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  color: var(--amber-300);
  border: 1px solid rgba(252, 211, 77, 0.3);
  font-size: 0.75rem;
  font-weight: 900;
  width: fit-content;
  margin-bottom: 0.5rem;
}
.form-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
@media (min-width: 640px) { .form-head h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .form-head h2 { font-size: 2.25rem; } }
.form-head p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(209, 250, 229, 0.9);
  font-weight: 500;
  max-width: 42rem;
  line-height: 1.625;
}
@media (min-width: 640px) { .form-head p { font-size: 0.875rem; } }

/* Progress */
.progress-bar-wrap {
  background: #0b3c20;
  color: #fff;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(6, 95, 70, 0.8);
}
@media (min-width: 640px) { .progress-bar-wrap { padding: 0.75rem 2rem; } }

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.progress-meta .left {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--amber-300);
}
.progress-meta .right {
  color: var(--emerald-200);
  font-size: 0.6875rem;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  background: rgba(2, 44, 34, 0.9);
  height: 0.625rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(4, 120, 87, 0.6);
  padding: 0.125rem;
  margin-bottom: 0.5rem;
}
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, #fbbf24, #34d399, #fcd34d);
  transition: width 0.5s ease;
  width: 0%;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.step-badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  padding-top: 0.25rem;
}
.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  border: 1px solid rgba(6, 95, 70, 0.3);
  background: rgba(2, 44, 34, 0.4);
  color: rgba(110, 231, 183, 0.7);
  cursor: pointer;
  transition: all 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 640px) { .step-badge { font-size: 0.75rem; } }
.step-badge:hover { background: rgba(6, 78, 59, 0.6); }
.step-badge.done {
  background: rgba(251, 191, 36, 0.2);
  color: var(--amber-200);
  border-color: rgba(252, 211, 77, 0.4);
  font-weight: 900;
}
.step-badge .icon { width: 0.75rem; height: 0.75rem; color: var(--amber-300); display: none; }
.step-badge-index {
  flex-shrink: 0;
  font-weight: 900;
}
.step-badge-index::after { content: '.'; }
.step-badge-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) {
  .step-badge.done .icon { display: inline-block; }
}
@media (max-width: 639px) {
  .step-badges {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.3rem;
  }
  .step-badge {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: 0.35rem 0.15rem 0.3rem;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.15;
  }
  .step-badge-index {
    font-size: 0.8125rem;
    line-height: 1;
  }
  .step-badge-index::after { content: none; }
  .step-badge-name {
    display: block;
    width: 100%;
    font-size: 0.5625rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    word-break: break-word;
  }
}

/* Form body */
.inquiry-form {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(248, 250, 252, 0.5);
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 640px) {
  .inquiry-form { padding: 2rem; gap: 1.5rem; }
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.03);
  transition: all 0.2s;
}
@media (min-width: 640px) { .step-card { padding: 1.5rem; } }
.step-card.has-error {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.3);
  background: rgba(255, 241, 242, 0.2);
}

.step-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(241, 245, 249, 0.7);
}
.step-card-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.step-icon {
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  background: var(--emerald-50);
  color: #0f4c28;
  border: 1px solid rgba(209, 250, 229, 0.8);
  display: flex;
}
.step-icon .icon { width: 1.25rem; height: 1.25rem; }

/* Wizard — one step visible at a time on homepage */
.inquiry-form.wizard-mode .wizard-panel { display: none; animation: wizard-in 0.25s ease; }
.inquiry-form.wizard-mode .wizard-panel.is-active { display: block; }
.inquiry-form.wizard-mode .wizard-final { display: none; }
.inquiry-form.wizard-mode.wizard-on-final .wizard-final { display: block; }
.inquiry-form.wizard-mode .wizard-nav .btn-submit { display: none; }
.inquiry-form.wizard-mode.wizard-on-final .wizard-nav .btn-submit { display: inline-flex; }
.inquiry-form.wizard-mode.wizard-on-final .btn-wizard-next { display: none !important; }
.wizard-nav .submit-label-short { display: none; }
.inquiry-form.wizard-mode .step-badge {
  cursor: default;
  pointer-events: none;
}
.inquiry-form.wizard-mode .step-badge:hover { background: rgba(2, 44, 34, 0.4); }
.inquiry-form.wizard-mode .step-badge.done:hover { background: rgba(251, 191, 36, 0.2); }

.wizard-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 1rem 0 0.5rem;
  padding: 0.75rem 0.65rem;
  background: rgba(6, 78, 59, 0.06);
  border: 1px solid rgba(15, 76, 40, 0.12);
  border-radius: 1rem;
}
.wizard-step-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  text-align: center;
  justify-self: center;
}
.wizard-nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: stretch;
  min-width: 0;
  max-width: 100%;
}
.btn-wizard-prev, .btn-wizard-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.8125rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-wizard-prev {
  justify-self: stretch;
  background: #fff;
  color: var(--green-primary);
  border: 2px solid rgba(15, 76, 40, 0.22);
}
.btn-wizard-prev svg { color: var(--green-primary); flex-shrink: 0; }
.btn-wizard-prev:hover:not(:disabled) {
  background: var(--emerald-50);
  border-color: var(--green-primary);
}
.btn-wizard-prev:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-wizard-next {
  background: linear-gradient(to right, var(--emerald-700), var(--green-primary), var(--green-deep));
  color: #fff;
  border: 2px solid rgba(167, 243, 208, 0.55);
  box-shadow: 0 4px 16px rgba(15, 76, 40, 0.28);
}
.btn-wizard-next svg { color: var(--amber-300); stroke-width: 2.5; flex-shrink: 0; }
.btn-wizard-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 76, 40, 0.38);
  background: linear-gradient(to right, var(--emerald-600), var(--green-mid), var(--green-primary));
}
.wizard-nav .btn-submit {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  font-size: 0.8125rem;
  border-radius: 0.75rem;
  gap: 0.4rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
}
.wizard-nav .btn-submit .icon-wrap { padding: 0.25rem; flex-shrink: 0; }
.wizard-nav .btn-submit .icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.wizard-nav .btn-submit .icon.send { width: 1rem; height: 1rem; flex-shrink: 0; }
.wizard-nav .btn-submit .submit-state {
  gap: 0.4rem;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
}
.wizard-nav .btn-submit .submit-label {
  min-width: 0;
  line-height: 1.25;
  text-align: center;
}
@media (max-width: 639px) {
  .inquiry-form.wizard-mode.wizard-on-final .wizard-nav {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "label label"
      "prev end";
    gap: 0.45rem 0.5rem;
    padding: 0.65rem 0.55rem;
  }
  .inquiry-form.wizard-mode.wizard-on-final .wizard-step-label {
    grid-area: label;
    justify-self: center;
    font-size: 0.75rem;
  }
  .inquiry-form.wizard-mode.wizard-on-final .btn-wizard-prev {
    grid-area: prev;
    width: auto;
    justify-self: start;
    align-self: stretch;
    white-space: nowrap;
    padding: 0.65rem 0.75rem;
  }
  .inquiry-form.wizard-mode.wizard-on-final .wizard-nav-end {
    grid-area: end;
    min-width: 0;
  }
  .inquiry-form.wizard-mode.wizard-on-final .wizard-nav .btn-submit {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.8125rem;
  }
  .inquiry-form.wizard-mode.wizard-on-final .wizard-nav .submit-label-full { display: none; }
  .inquiry-form.wizard-mode.wizard-on-final .wizard-nav .submit-label-short {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: 2.6em;
  }
  .inquiry-form.wizard-mode.wizard-on-final .wizard-nav .btn-submit .icon.send { display: none; }
}
@media (min-width: 640px) {
  .wizard-nav {
    gap: 1rem;
    padding: 0.85rem 1rem;
  }
  .wizard-step-label { font-size: 0.8rem; }
  .btn-wizard-prev, .btn-wizard-next {
    width: auto;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
    gap: 0.45rem;
  }
  .btn-wizard-prev { justify-self: start; }
  .inquiry-form.wizard-mode.wizard-on-final .wizard-nav {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.6fr);
  }
  .wizard-nav .btn-submit {
    width: 100%;
    padding: 0.7rem 1.35rem;
    font-size: 0.95rem;
  }
  .wizard-nav .submit-label-short { display: none; }
  .wizard-nav .submit-label-full { display: inline; }
}
.step-badge.is-current {
  background: rgba(15, 76, 40, 0.88);
  border-color: rgba(167, 243, 208, 0.45);
  color: #fff;
}
@keyframes wizard-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-card-title h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--slate-900);
}
@media (min-width: 640px) { .step-card-title h3 { font-size: 1.125rem; } }
.step-card-title p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
}
.step-num {
  font-size: 0.6875rem;
  font-weight: 900;
  color: #0f4c28;
  background: rgba(209, 250, 229, 0.8);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.field-error {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--rose-700);
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.field-error[hidden] {
  display: none !important;
}

/* Destinations */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  padding-top: 0.25rem;
}
@media (max-width: 639px) {
  .dest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
@media (min-width: 640px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(5, 1fr); } }

.dest-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.875rem;
  min-height: 50px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(248, 250, 252, 0.9);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-align: start;
  transition: all 0.3s;
}
@media (min-width: 640px) {
  .dest-tile { min-height: 54px; font-size: 0.875rem; }
}
.dest-tile:hover {
  border-color: var(--emerald-600);
  background: rgba(236, 253, 245, 0.5);
  transform: scale(1.03);
}
.dest-tile:active { transform: scale(0.9); }
.dest-tile.selected {
  background: #0f4c28;
  color: #fff;
  border-color: #0f4c28;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  outline: 2px solid rgba(16, 185, 129, 0.4);
  transform: scale(1.02);
}
.dest-tile .dest-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  overflow: hidden;
}
.dest-tile .emoji { font-size: 1rem; flex-shrink: 0; line-height: 1; }
@media (min-width: 640px) { .dest-tile .emoji { font-size: 1.125rem; } }
.dest-tile .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dest-tile .icon { width: 1rem; height: 1rem; color: var(--amber-300); flex-shrink: 0; display: none; }
.dest-tile.selected .icon { display: inline-block; animation: bounce 1s infinite; }
@media (max-width: 639px) {
  .dest-tile {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 0.65rem 0.6rem;
  }
  .dest-tile:hover,
  .dest-tile:active,
  .dest-tile.selected {
    transform: none;
  }
  .dest-tile .dest-left {
    overflow: visible;
    flex: 1;
  }
  .dest-tile .label {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.25;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.grid-dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 0.25rem;
}
@media (min-width: 640px) { .grid-dates { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-700);
}
.field label .req { color: #ef4444; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.625rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--slate-800);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #0f4c28;
}
.field input.has-error,
.field select.has-error {
  border-color: #ef4444;
  background: rgba(254, 242, 242, 0.5);
}
.field textarea {
  font-weight: 500;
  resize: vertical;
  min-height: 4rem;
}
.field .hint-err {
  font-size: 0.6875rem;
  color: #ef4444;
  font-weight: 700;
}
.field .hint-err[hidden] {
  display: none !important;
}

.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: var(--slate-50);
  overflow: hidden;
}
.stepper button {
  border: 0;
  background: transparent;
  padding: 0.5rem 0.75rem;
  color: var(--slate-600);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.stepper button:hover { background: var(--slate-200); }
.stepper .val {
  flex: 1;
  text-align: center;
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--slate-900);
}

.child-ages {
  margin-top: 0.25rem;
  background: rgba(255, 251, 235, 0.8);
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(253, 230, 138, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.child-ages[hidden] {
  display: none !important;
}
.child-ages-title {
  font-size: 0.75rem;
  font-weight: 900;
  color: #78350f;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.child-ages-title .icon { width: 0.875rem; height: 0.875rem; color: #d97706; }
.child-ages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 640px) { .child-ages-grid { grid-template-columns: repeat(3, 1fr); } }
.child-age-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #fde68a;
}
.child-age-item span {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--slate-600);
  white-space: nowrap;
}
.child-age-item select {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--slate-900);
  outline: none;
}

.stars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
}
.star-btn {
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-xl);
  font-size: 0.6875rem;
  font-weight: 900;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.15s;
}
.star-btn:hover { background: var(--slate-100); }
.star-btn.selected {
  background: #0f4c28;
  color: #fff;
  border-color: #0f4c28;
}

.prefs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-top: 0.25rem;
}
@media (min-width: 640px) { .prefs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .prefs-grid { grid-template-columns: 1fr 1fr 1fr; } }

.budget-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--slate-50);
  padding: 0.625rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.budget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.budget-pill {
  font-size: 0.75rem;
  font-weight: 900;
  color: #0f4c28;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
}
.budget-box input[type="range"] {
  width: 100%;
  accent-color: #0f4c28;
  height: 0.5rem;
  cursor: pointer;
}
.budget-exact {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}
.budget-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.budget-exact .lbl {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--slate-500);
  flex-shrink: 0;
}
.budget-exact input {
  width: 100%;
  padding: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-align: center;
  background: #fff;
  border-radius: 0.375rem;
  border: 1px solid var(--slate-200);
}
.budget-exact .dash { color: var(--slate-400); font-weight: 700; font-size: 0.75rem; }
.budget-exact .cur { font-size: 0.75rem; font-weight: 900; color: var(--emerald-800); flex-shrink: 0; }

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  padding-top: 0.25rem;
}
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  background: rgba(248, 250, 252, 0.8);
  cursor: pointer;
  transition: background 0.15s;
}
.check-item:hover { background: rgba(236, 253, 245, 0.5); }
.check-item input {
  width: 1rem;
  height: 1rem;
  accent-color: #0f4c28;
}
.check-item span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-800);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 0.25rem;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* Summary */
.summary-box {
  background: linear-gradient(to bottom right, var(--emerald-50), #fff, rgba(255, 251, 235, 0.4));
  padding: 1rem;
  border-radius: var(--radius-2xl);
  border: 2px solid rgba(5, 150, 105, 0.3);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) { .summary-box { padding: 1.5rem; } }

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(167, 243, 208, 0.8);
  gap: 0.5rem;
}
.summary-head-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.summary-icon {
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  background: #0f4c28;
  color: var(--amber-300);
  flex-shrink: 0;
  display: flex;
}
.summary-icon .icon { width: 1rem; height: 1rem; }
.summary-head h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--slate-900);
}
@media (min-width: 640px) { .summary-head h4 { font-size: 1rem; } }
.summary-head p {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--slate-500);
}
.summary-ready {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #0f4c28;
  color: var(--amber-300);
  font-weight: 800;
  font-size: 0.6875rem;
  flex-shrink: 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-size: 0.75rem;
}
@media (min-width: 640px) { .summary-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .summary-grid { grid-template-columns: repeat(3, 1fr); } }

.summary-item {
  background: #fff;
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(167, 243, 208, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.summary-item.span-all {
  grid-column: 1 / -1;
}
.summary-item .lbl {
  color: var(--slate-500);
  font-weight: 700;
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.summary-item .lbl .icon { width: 0.875rem; height: 0.875rem; color: #0f4c28; }
.summary-item .val {
  font-weight: 900;
  color: var(--slate-900);
  font-size: 0.75rem;
}
.summary-item .val.green { color: #0f4c28; }
.summary-item .val.big { font-size: 0.875rem; color: #0f4c28; }
@media (min-width: 640px) {
  .summary-item .val { font-size: 0.875rem; }
  .summary-item .val.big { font-size: 1rem; }
}

/* Submit */
.submit-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
}

.validation-banner {
  width: 100%;
  max-width: 42rem;
  background: #fff1f2;
  border: 2px solid var(--rose-400);
  padding: 1rem;
  border-radius: var(--radius-2xl);
  color: #881337;
  font-weight: 800;
  font-size: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-xl);
  animation: pulse 2s infinite;
}
.validation-banner.show { display: flex; }
.validation-banner ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  color: var(--rose-700);
  font-size: 0.75rem;
  font-weight: 800;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.dest-hint {
  background: #fef3c7;
  color: #78350f;
  border: 1px solid #fcd34d;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 900;
  display: none;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.dest-hint.show { display: flex; }
.dest-hint:hover { background: #fde68a; }

.btn-submit {
  width: 100%;
  padding: 1.25rem 2.5rem;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: var(--radius-2xl);
  border: 2px solid rgba(167, 243, 208, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  background: linear-gradient(to right, #25D366, #20bd5a, #128C7E);
  box-shadow: var(--shadow-2xl), 0 0 0 8px rgba(37, 211, 102, 0.2);
  transition: all 0.2s;
}
@media (min-width: 640px) {
  .btn-submit { width: auto; padding: 1.5rem 4rem; font-size: 1.5rem; }
}
.btn-submit:hover:not(:disabled) {
  transform: scale(1.03);
  box-shadow: var(--shadow-2xl), 0 0 0 8px rgba(37, 211, 102, 0.35);
}
.btn-submit:active:not(:disabled) { transform: scale(0.98); }
.btn-submit:disabled {
  background: var(--slate-700);
  border-color: var(--slate-500);
  cursor: wait;
  opacity: 0.9;
  box-shadow: none;
}
.btn-submit.no-dest {
  background: linear-gradient(to right, #047857, #065f46, #064e3b);
  border-color: rgba(252, 211, 77, 0.6);
  opacity: 0.9;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.3);
}
.btn-submit .icon-wrap {
  padding: 0.5rem;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  display: flex;
  transition: transform 0.2s;
}
.btn-submit:hover .icon-wrap { transform: rotate(12deg); }
.btn-submit .icon { width: 1.75rem; height: 1.75rem; color: #fff; }
.btn-submit .icon.send { width: 1.5rem; height: 1.5rem; color: var(--amber-200); }
.btn-submit .icon.spin {
  width: 2rem;
  height: 2rem;
  color: var(--amber-300);
  animation: spin 1s linear infinite;
}
.btn-submit .submit-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}
.btn-submit .submit-state[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.submit-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--slate-600);
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.submit-note .icon { width: 1rem; height: 1rem; color: #25D366; flex-shrink: 0; }
@media (min-width: 640px) {
  .submit-note { font-size: 0.875rem; }
  .submit-note .icon { width: 1.25rem; height: 1.25rem; }
}

.wa-note {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--emerald-900);
  font-weight: 800;
  background: rgba(209, 250, 229, 0.7);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--emerald-200);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
@media (min-width: 640px) { .wa-note { font-size: 0.75rem; } }

/* ========== FOOTER ========== */
.site-footer {
  background: #09331a;
  color: #e2e8f0;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(6, 78, 59, 0.6);
  font-size: 0.75rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 640px) { .footer-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .footer-inner { padding: 0 2rem; } }

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

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--amber-300);
}
.footer-brand-name small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(209, 250, 229, 0.7);
  margin-top: 0.25rem;
}
.footer-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amber-300);
}
.footer-col p {
  margin: 0;
  color: rgba(209, 250, 229, 0.8);
  line-height: 1.625;
}
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(6, 78, 59, 0.6);
  color: #d1fae5;
  border: 1px solid rgba(4, 120, 87, 0.8);
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
}
.footer-wa:hover { background: var(--emerald-800); opacity: 1; }
.footer-wa .icon { width: 0.875rem; height: 0.875rem; color: var(--emerald-300); }

.footer-bottom {
  border-top: 1px solid rgba(6, 78, 59, 0.8);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(110, 231, 183, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}
.footer-bottom .currency {
  color: var(--amber-300);
  font-weight: 700;
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
@media (min-width: 640px) { .modal-overlay { padding: 1.5rem; } }

.modal {
  background: #fff;
  border-radius: var(--radius-3xl);
  max-width: 42rem;
  width: 100%;
  border: 1px solid rgba(6, 78, 59, 0.2);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  position: relative;
}

.modal-head {
  background: linear-gradient(to right, #0f4c28, #145233, #0a3a1f);
  color: #fff;
  padding: 1.5rem;
  position: relative;
  flex-shrink: 0;
  text-align: center;
}
@media (min-width: 640px) { .modal-head { padding: 2rem; } }

.modal-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }
.modal-close .icon { width: 1.25rem; height: 1.25rem; }

.modal-check {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-2xl);
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(252, 211, 77, 0.4);
  color: var(--amber-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.modal-check .icon { width: 2rem; height: 2rem; color: var(--amber-300); }

.modal-head h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 900;
}
@media (min-width: 640px) { .modal-head h3 { font-size: 1.5rem; } }

.modal-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  color: var(--amber-300);
  border: 1px solid rgba(252, 211, 77, 0.3);
  font-size: 0.75rem;
  font-weight: 900;
}
.modal-ref .code { font-family: ui-monospace, monospace; letter-spacing: 0.05em; }

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  flex: 1;
  background: rgba(248, 250, 252, 0.5);
}
@media (min-width: 640px) { .modal-body { padding: 2rem; } }

.modal-wa-box {
  background: var(--emerald-50);
  padding: 1rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--emerald-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: start;
}
@media (min-width: 640px) {
  .modal-wa-box { flex-direction: row; }
}
.modal-wa-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-wa-icon {
  padding: 0.625rem;
  border-radius: var(--radius-xl);
  background: var(--emerald-600);
  color: #fff;
  flex-shrink: 0;
  display: flex;
}
.modal-wa-icon .icon { width: 1.25rem; height: 1.25rem; }
.modal-wa-info h4 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 900;
  color: #022c22;
}
.modal-wa-info p {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--emerald-800);
  font-weight: 500;
}
.btn-open-wa {
  padding: 0.5rem 1rem;
  background: var(--emerald-700);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  transition: background 0.15s;
}
.btn-open-wa:hover { background: var(--emerald-800); }
.btn-open-wa .icon { width: 1rem; height: 1rem; }

.voucher-box {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
}
.voucher-box h4 {
  margin: 0;
  font-weight: 900;
  font-size: 0.875rem;
  color: var(--slate-900);
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.voucher-box h4 .time {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--slate-400);
}
.voucher-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .voucher-grid { grid-template-columns: 1fr 1fr; } }
.voucher-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.voucher-row .icon { width: 1rem; height: 1rem; color: #0f4c28; flex-shrink: 0; }
.voucher-row .k { color: var(--slate-500); font-weight: 700; }
.voucher-row .v { font-weight: 800; color: var(--slate-900); }
.voucher-special {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-100);
}
.voucher-special .k { font-weight: 700; color: var(--slate-600); display: block; margin-bottom: 0.25rem; }
.voucher-special p { margin: 0; color: var(--slate-800); font-style: italic; }

.modal-foot {
  padding: 1rem;
  background: #fff;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 640px) { .modal-foot { padding: 1.5rem; } }

.modal-foot-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn-ghost {
  padding: 0.625rem 0.875rem;
  background: var(--slate-100);
  color: var(--slate-800);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-xl);
  border: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-ghost:hover { background: var(--slate-200); }
.btn-ghost .icon { width: 1rem; height: 1rem; color: var(--slate-600); }
.btn-ghost .icon.ok { color: var(--emerald-600); }

.btn-close-modal {
  padding: 0.625rem 1.5rem;
  background: #0f4c28;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: var(--radius-xl);
  border: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-close-modal:hover { background: #145233; }

@media print {
  .site-header, .hero, .inquiry-wrap, .site-footer, .modal-close, .modal-foot { display: none !important; }
  .modal-overlay { position: static; background: #fff; display: block !important; }
  .modal { max-height: none; box-shadow: none; border: 0; }
}

[dir=ltr] .modal-close { right: 1rem; left: auto; }
[dir=rtl] .modal-close { left: 1rem; right: auto; }
