/* Base reset */
/** { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: #111827;
  background: linear-gradient(to bottom right, #eff6ff, #ffffff, #eef2ff);
}
*/
/* Layout */
.page { min-height: 100vh; padding: 48px 16px; }
/*.container { max-width: 1152px; margin: 0 auto; }*/

/* Header */
.header { text-align: center; margin-bottom: 48px; }
.badge {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 18px;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .title { font-size: 52px; }
  .subtitle { font-size: 20px; }
}

/* Card */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
  padding: 28px;
  margin-bottom: 20px;
}
.section { margin-bottom: 28px; }
.section-title {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Country grid */
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 768px;
  margin: 0 auto;
}
.country-btn {
  border: 2px solid #e5e7eb;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  transition: all .15s ease;
  text-align: center;
}
.country-btn:hover { border-color: #93c5fd; background: #f9fafb; }
.country-btn.selected { border-color: #2563eb; background: #eff6ff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.10); }
.country-flag { font-size: 44px; margin-bottom: 10px; }
.country-name { font-size: 14px; font-weight: 800; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.service-btn {
  border: 2px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all .15s ease;
  text-align: left;
}
.service-btn:hover { border-color: #93c5fd; background: #f9fafb; }
.service-btn.selected { border-color: #2563eb; background: #eff6ff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.10); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-icon { font-size: 28px; margin-bottom: 8px; }
.check {
  width: 24px; height: 24px; border-radius: 999px;
  background: #2563eb; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
}
.service-name { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.service-desc { font-size: 12px; color: #6b7280; }

.selected-count {
  margin-top: 12px;
  font-size: 13px;
  color: #2563eb;
  font-weight: 700;
}

/* Step 3 list */
.selected-services { display: grid; gap: 14px; }
.selected-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}
.selected-item-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.selected-item-head .icon { font-size: 22px; }
.selected-item-head .name { font-weight: 800; }

.form-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.field label { display: block; font-size: 12px; color: #374151; font-weight: 700; margin-bottom: 6px; }
.input-wrap { position: relative; }
.input-prefix {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: #9ca3af;
}
input[type="number"] {
  width: 100%;
  padding: 12px 12px 12px 34px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  font-size: 16px;
}
input[type="number"]:focus { border-color: #2563eb; outline: none; }

/* Buttons */
.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all .15s ease;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

/*.btn-primary {
  width: 100%;
  color: #fff;
  background: linear-gradient(to right, #2563eb, #4f46e5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-primary:hover { filter: brightness(.97); }*/

.btn-solid { background: #2563eb; color: #fff; }
.btn-solid:hover { background: #1d4ed8; }

.btn-outline {
  background: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}
.btn-outline:hover { background: #eff6ff; }

.btn-icon { font-size: 18px; }

/* Results */
.results { margin-top: 18px; }
.results-card {
  background: linear-gradient(to bottom right, #f0fdf4, #ecfdf5);
  border: 2px solid #bbf7d0;
  border-radius: 18px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
  padding: 28px;
  margin-bottom: 18px;
  animation: fadeIn .5s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-head { text-align: center; margin-bottom: 18px; }
.results-title { font-size: 30px; font-weight: 900; margin-bottom: 10px; }

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  color: #374151;
  font-weight: 700;
  font-size: 13px;
}

.two-col {
  display: grid;
  gap: 14px;
  margin: 18px 0 18px;
}
@media (min-width: 768px) { .two-col { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.mini-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.10);
}
.mini-label { font-size: 13px; color: #6b7280; font-weight: 800; margin-bottom: 8px; }
.mini-value { font-size: 30px; font-weight: 900; margin-bottom: 8px; }
.mini-value.accent { color: #2563eb; }
.mini-sub { font-size: 13px; color: #4b5563; }

.metrics-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.metric {
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.10);
}
.metric-icon { font-size: 22px; margin-bottom: 10px; }
.metric-label { font-size: 12px; font-weight: 800; opacity: .92; margin-bottom: 8px; }
.metric-value { font-size: 22px; font-weight: 900; }
.metric-green { background: linear-gradient(to bottom right, #22c55e, #059669); }
.metric-orange { background: linear-gradient(to bottom right, #f97316, #dc2626); }
.metric-purple { background: linear-gradient(to bottom right, #a855f7, #4f46e5); }
.metric-pink { background: linear-gradient(to bottom right, #ec4899, #e11d48); }

/* Breakdown */
.breakdown {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
}
.breakdown-title { font-weight: 900; margin-bottom: 12px; }
.breakdown-list { display: grid; gap: 10px; }

.break-row {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}
.break-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.break-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.break-left .icon { font-size: 18px; }
.break-left .name { font-weight: 900; }
.break-left .fte { color: #6b7280; font-weight: 700; font-size: 13px; }
.break-savings { color: #16a34a; font-weight: 900; }
.break-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: 12px;
  color: #4b5563;
}
.break-grid .label { color: #6b7280; display: block; margin-bottom: 4px; }
.break-grid .val { font-weight: 800; }
.break-grid .val.blue { color: #2563eb; }
.break-grid .val.green { color: #16a34a; }

/* CTA */
.cta-grid {
  display: flex;
  gap: 14px;
}
@media (min-width: 768px) { .cta-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Info card */
.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.10);
}
.info-title { font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.info-grid {
  display: grid;
  gap: 10px;
}
@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.info-item { display: flex; gap: 10px; align-items: flex-start; color: #4b5563; font-weight: 700; font-size: 13px; }
.tick { color: #16a34a; font-weight: 900; }

/* Helpers */
.hidden { display: none !important; }
