/* ============================================
   95Dispatch - Shared Styles
   ============================================ */

:root {
  --bg: #2f3238;
  --panel: rgba(255, 255, 255, .06);
  --panel2: rgba(255, 255, 255, .10);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .74);
  --muted2: rgba(255, 255, 255, .56);

  --brand: #e3a25c;
  --brand2: #9b533c;
  --olive: #5b633c;

  --ok: #22c55e;
  --err: #ef4444;

  --shadow: 0 18px 52px rgba(0, 0, 0, .40);
  --radius: 18px;
  --radius2: 22px;

  --max: 720px;

  color-scheme: dark;
}

/* ============================================
   Reset & Base
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
  -ms-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

html {
  font-size: 16px !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  touch-action: manipulation;
  min-height: 100%;
  min-height: 100svh;
  width: 100%;
  overflow-x: hidden;
}

@media (max-width: 520px) {
  html {
    font-size: 18px !important;
  }
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 460px at 10% 12%, rgba(227, 162, 92, .22), transparent 60%),
    radial-gradient(900px 460px at 88% 20%, rgba(155, 83, 60, .22), transparent 60%),
    radial-gradient(760px 420px at 50% 110%, rgba(91, 99, 60, .14), transparent 65%),
    var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100svh;
  overflow-x: hidden;
  width: 100%;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

input,
select,
textarea,
button {
  font-size: 16px !important;
  font-family: inherit;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  touch-action: manipulation;
}

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   Header
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(31, 35, 41, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .34);
  flex: 0 0 auto;
}

.brandText {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brandText strong {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brandText span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 46px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
  user-select: none;
  cursor: pointer;
  touch-action: manipulation;
}

.btn:active {
  transform: scale(.99);
}

.btn:hover {
  background: rgba(255, 255, 255, .08);
}

.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #151515;
  box-shadow: 0 18px 46px rgba(227, 162, 92, .18);
}

.btn.small {
  min-height: 44px;
  padding: 11px 13px;
  font-size: 14.5px;
  border-radius: 14px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 26px 0 18px;
}

.hero.lang-selector {
  padding: 34px 0 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--muted);
  font-weight: 850;
  font-size: 13.5px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 6px rgba(227, 162, 92, .14);
  flex: 0 0 auto;
}

h1 {
  margin: 14px 0 10px;
  font-size: 40px;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.sub {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.52;
  max-width: 48ch;
}

.heroCtas {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.heroCtas .btn {
  width: 100%;
}

/* ============================================
   Points / Highlights
   ============================================ */

.points {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: rgba(34, 197, 94, .14);
  border: 1px solid rgba(34, 197, 94, .25);
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  margin-top: 1px;
}

.check svg {
  width: 15px;
  height: 15px;
  fill: var(--ok);
}

.point strong {
  font-size: 15.5px;
}

.point div:last-child {
  color: var(--muted);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.28;
  margin-top: 2px;
}

/* ============================================
   Cards
   ============================================ */

.card {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cardHead {
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
}

.cardHead h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.cardHead p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

/* ============================================
   Language Selector (index.html)
   ============================================ */

.langGrid {
  padding: 16px 18px 18px;
  display: grid;
  gap: 12px;
}

.langBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  transition: transform .12s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
  user-select: none;
}

.langBtn:active {
  transform: scale(.99);
}

.langBtn:hover {
  background: rgba(255, 255, 255, .07);
}

.langLeft {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.flag {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  flex: 0 0 auto;
  overflow: hidden;
  font-size: 24px;
}

.flag svg {
  width: 28px;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  shape-rendering: geometricPrecision;
}

.langText {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.langText strong {
  font-size: 16px;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.langText span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.go {
  font-weight: 950;
  color: rgba(255, 255, 255, .86);
  flex: 0 0 auto;
}

.hint {
  padding: 0 18px 18px;
  color: var(--muted2);
  font-size: 12.5px;
  line-height: 1.45;
}

/* ============================================
   Form
   ============================================ */

form {
  padding: 16px 18px 18px;
  display: grid;
  gap: 12px;
}

label {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 900;
  display: block;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--text);
  outline: none;
  min-height: 54px;
}

textarea {
  min-height: 130px;
  resize: vertical;
  padding-top: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(227, 162, 92, .55);
  background: rgba(255, 255, 255, .08);
}

select option {
  background: #2f3238 !important;
  color: rgba(255, 255, 255, .92) !important;
}

.grid2 {
  display: grid;
  gap: 10px;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.status {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  min-height: 18px;
}

.status.ok {
  color: rgba(34, 197, 94, .95);
}

.status.err {
  color: rgba(239, 68, 68, .95);
}

.form-hint {
  font-size: 12.5px;
  color: var(--muted2);
  line-height: 1.4;
}

.mono {
  font-family: ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ============================================
   Sections
   ============================================ */

section {
  padding: 34px 0;
}

.sectionTitle h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.sectionTitle p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.45;
}

.cards {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

/* ============================================
   Mini Cards (Services)
   ============================================ */

.mini {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

.mini .icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: rgba(227, 162, 92, .14);
  border: 1px solid rgba(227, 162, 92, .20);
  font-weight: 950;
}

.mini h3 {
  margin: 0 0 7px;
  font-size: 16.5px;
}

.mini p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

/* ============================================
   FAQ (Accordion)
   ============================================ */

details {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  border-radius: 18px;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 950;
  touch-action: manipulation;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
}

/* ============================================
   Testimonials Section (NEW)
   ============================================ */

.testimonials {
  padding: 34px 0;
}

.testimonial-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.testimonial {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--brand);
}

.testimonial-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-text::before {
  content: '"';
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
  margin-right: 4px;
}

.testimonial-text::after {
  content: '"';
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
  margin-left: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  color: #151515;
  flex: 0 0 auto;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-weight: 900;
  font-size: 15px;
  color: var(--text);
}

.testimonial-role {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */

footer {
  padding: 26px 0 86px;
  color: var(--muted2);
  font-size: 13px;
  font-weight: 650;
}

footer.no-sticky {
  padding-bottom: 60px;
}

.foot {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 16px;
  display: grid;
  gap: 12px;
}

.social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .12s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.social a:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(227, 162, 92, .26);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .30);
  transform: translateY(-1px);
}

.social a:active {
  transform: translateY(0px) scale(.99);
}

.social svg {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, .88);
}

/* ============================================
   Sticky CTA
   ============================================ */

.stickyCta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(31, 35, 41, .72);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .10);
  z-index: 60;
}

.stickyCta .wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(20, 40, 70, .25), rgba(20, 40, 70, .12));
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.stats .sectionTitle {
  text-align: center;
  margin-bottom: 28px;
}

.stats .sectionTitle h2 {
  font-size: 28px;
}

.stats .sectionTitle p {
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  text-align: center;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(227, 162, 92, .18), rgba(227, 162, 92, .08));
  border: 1px solid rgba(227, 162, 92, .22);
  font-size: 26px;
  margin-bottom: 14px;
}

.stat-value {
  font-size: 36px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.4;
}

@media (min-width: 520px) {
  .stats-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .stat-card {
    flex: 1 1 140px;
    max-width: 180px;
    padding: 24px 18px;
  }

  .stat-value {
    font-size: 36px;
  }
}

/* ============================================
   Mobile Responsive
   ============================================ */

@media (max-width: 520px) {

  header,
  .stickyCta {
    backdrop-filter: none;
  }

  .container {
    padding: 0 14px;
  }

  h1 {
    font-size: 48px;
    line-height: 1.01;
  }

  .sub {
    font-size: 19px;
    line-height: 1.55;
    max-width: 52ch;
  }

  .badge {
    font-size: 14.5px;
    padding: 10px 14px;
  }

  .btn {
    min-height: 56px;
    font-size: 16.5px;
    border-radius: 18px;
  }

  .btn.small {
    min-height: 48px;
    font-size: 15.5px;
  }

  .point {
    padding: 14px 15px;
  }

  .point strong {
    font-size: 16.5px;
  }

  .point div:last-child {
    font-size: 15.5px;
  }

  input,
  select,
  textarea {
    min-height: 60px;
    font-size: 16px !important;
  }

  .cardHead h2 {
    font-size: 20px;
  }

  .cardHead p {
    font-size: 16px;
  }

  .langBtn {
    padding: 15px 14px;
  }

  .flag {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .social {
    justify-content: center;
  }

  .testimonial {
    padding: 18px;
  }

  .testimonial-text {
    font-size: 16px;
  }
}