:root {
  --ink: #1e2528;
  --muted: #667074;
  --line: #e7e2d8;
  --paper: #fffaf1;
  --surface: #ffffff;
  --sand: #c69b62;
  --sand-dark: #9a6c3a;
  --sage: #5f7d6b;
  --blue: #2f6f88;
  --whatsapp: #25d366;
  --danger: #b64034;
  --shadow: 0 16px 42px rgba(45, 39, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #efe9dd;
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.phone-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(0,0,0,.12);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,250,241,.92);
  border-bottom: 1px solid rgba(154,108,58,.16);
  backdrop-filter: blur(14px);
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}
.brand-title { font-weight: 800; font-size: 14px; line-height: 1.2; }
.brand-sub { color: var(--muted); font-size: 11px; margin-top: 2px; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn, .text-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 40px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-align: center;
}
.text-btn { width: 48px; }
.admin-nav-btn {
  width: 52px;
  font-size: 12px;
  font-weight: 800;
}
.share-site-btn {
  border: 0;
  background: var(--whatsapp);
  color: #fff;
  width: 82px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(37,211,102,.18);
}
.icon-btn { width: 38px; }

.hero {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,.42) 72%, rgba(0,0,0,.72) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero-inner { padding: 72px 0 12px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 6px rgba(0,0,0,.34);
}
h1 {
  margin: 16px 0 12px;
  font-size: 34px;
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.34), 0 1px 2px rgba(0,0,0,.28);
}
html[lang="en"] h1 {
  font-size: 26px;
  line-height: 1.12;
}
.hero p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  text-shadow: 0 1px 7px rgba(0,0,0,.34);
}
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.primary-btn, .secondary-btn, .danger-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 0;
  padding: 0 15px;
  font-weight: 800;
  text-align: center;
}
.primary-btn { background: var(--sand); color: #fff; }
.hero .primary-btn {
  background: var(--whatsapp);
  text-shadow: 0 1px 3px rgba(0,0,0,.24);
}
.secondary-btn { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.danger-btn { background: var(--danger); color: #fff; }
.compact-btn {
  min-height: 36px;
  border-radius: 9px;
  padding: 0 12px;
  font-size: 13px;
}

.section { padding: 24px 18px; }
.section.alt { background: #fff; }
.section-title { margin: 0 0 8px; font-size: 24px; line-height: 1.15; }
.section-lead { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.product-highlights {
  padding-bottom: 18px;
}
.product-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product-highlight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(45,39,31,.08);
}
.product-highlight-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-highlight-card span,
.product-highlight-card strong,
.product-highlight-card p {
  display: block;
  margin-left: 10px;
  margin-right: 10px;
}
.product-highlight-card span {
  margin-top: 10px;
  color: var(--sand-dark);
  font-size: 11px;
  font-weight: 900;
}
.product-highlight-card strong {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.25;
}
.product-highlight-card p {
  margin-top: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 10px 34px;
  margin-top: 18px;
}
.metric {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  width: 136px;
  text-align: left;
}
.metric svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #d3a060;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.metric span {
  min-width: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,.36);
}

.trust-list, .sales-list, .faq-list { display: grid; gap: 10px; }
.trust-item, .sales-item, .faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.trust-item strong, .sales-item strong { display: block; margin-bottom: 4px; }
.trust-item p, .sales-item p, .faq-item p { margin: 0; color: var(--muted); font-size: 13px; }

.qa-shell {
  padding-bottom: 28px;
}
.qa-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.qa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.72));
}
.qa-hero-content {
  position: relative;
  z-index: 1;
}
.qa-hero-content span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 1px 6px rgba(0,0,0,.34);
}
.qa-hero-content h1 {
  margin: 14px 0 10px;
}
.qa-hero-content p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  text-shadow: 0 1px 7px rgba(0,0,0,.34);
}
.qa-summary {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
}
.qa-summary strong {
  font-size: 17px;
}
.qa-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.qa-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.qa-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}
.qa-item h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.28;
}
.qa-item p {
  margin: 0;
  color: #465156;
  font-size: 14px;
}
.qa-back {
  padding: 0 18px;
}
.qa-back .secondary-btn {
  width: 100%;
}

.route-filter-panel {
  position: relative;
  margin: 2px 0 16px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(198,155,98,.24);
  border-radius: 16px;
  background: rgba(255,255,255,.32);
  box-shadow: 0 8px 18px rgba(40,35,28,.035);
}
.filter-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--sand-dark);
  font-size: 13px;
  font-weight: 900;
}
.filter-panel-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 4px rgba(198,155,98,.16);
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.chip {
  white-space: nowrap;
  border: 1px solid rgba(226,184,57,.72);
  background: #ffd84d;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.route-subfilters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}
.route-subfilters select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}
.route-subfilters select:focus {
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(198,155,98,.16);
}

.route-list { display: grid; gap: 14px; }
.route-more-btn {
  width: 100%;
  margin-top: 2px;
}
.route-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(40,35,28,.08);
  display: flex;
  flex-direction: column;
}
.route-gallery-wrap {
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.route-gallery {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.route-gallery::-webkit-scrollbar { height: 0; }
.route-gallery.card-gallery {
  height: 210px;
}
.route-gallery.detail-gallery {
  height: 190px;
  border-radius: 14px;
}
.detail-gallery-wrap {
  border-radius: 14px;
}
.route-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ddd;
  scroll-snap-align: start;
}
.route-img-placeholder {
  min-height: 190px;
  background: linear-gradient(135deg, #e8e1d6, #c8d4d0);
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.62);
  -webkit-tap-highlight-color: transparent;
}
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(18,29,34,.34);
  backdrop-filter: blur(4px);
}
.gallery-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
}
.gallery-dots span.active {
  width: 18px;
  border-radius: 999px;
  background: #fff;
}
.route-body {
  padding: 15px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.pill {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
  background: #eff4f1;
  color: var(--sage);
}
.hot-pill {
  background: #fff1f1;
  color: #c43d3d;
}
.region-pill {
  background: #ffd84d;
  color: var(--ink);
}
.detail-tags {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.detail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.detail-tag-row .pill {
  font-size: 12px;
}
.tag-audience .pill {
  background: #eff4f1;
  color: var(--sage);
}
.tag-region .pill {
  background: #eef0f0;
  color: #3f474a;
}
.tag-transport .pill {
  background: #fff3df;
  color: var(--sand-dark);
}
.route-title { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.route-desc { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.route-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
}
.price { font-weight: 900; color: var(--sand-dark); }
.transport-list {
  flex: 1;
  min-width: 0;
  color: var(--sand-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}
.mini-link {
  justify-self: end;
  align-self: center;
  color: var(--blue);
  border: 1px solid rgba(47,111,136,.28);
  border-radius: 999px;
  background: rgba(47,111,136,.08);
  font-weight: 900;
  min-height: 34px;
  min-width: 68px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(47,111,136,.08);
}
.mini-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.route-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(231,226,216,.78);
}
.route-share span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-right: 2px;
}
.share-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  min-height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.share-whatsapp {
  border-color: rgba(37,211,102,.36);
  background: rgba(37,211,102,.12);
  color: #128c47;
}
.share-facebook {
  border-color: rgba(24,119,242,.28);
  background: rgba(24,119,242,.1);
  color: #1877f2;
}

.detail-panel {
  position: fixed;
  z-index: 60;
  inset: auto 0 0 0;
  max-height: 88vh;
  width: min(100%, 480px);
  margin: 0 auto;
  overflow: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow);
  transform: translateY(110%);
  transition: transform .22s ease;
}
.detail-panel.open { transform: translateY(0); }
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,.45);
  display: none;
}
.backdrop.open { display: block; }
.detail-head {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.detail-content { padding: 16px; }
.lead-success {
  text-align: center;
  padding: 28px 20px 22px;
}
.lead-success .success-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}
.lead-success h3 {
  margin: 0 0 8px;
}
.lead-success p {
  margin: 0 0 18px;
  color: var(--muted);
}
.lead-success .primary-btn {
  width: 100%;
  background: var(--whatsapp);
}
.clean-list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.clean-list li { margin-bottom: 8px; }
.itinerary-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 12px 0 18px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: -26px;
  width: 2px;
  background: #e7e2d8;
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid #e7e2d8;
  background: #fff;
}
.timeline-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--sand);
}
.timeline-card {
  border-radius: 8px;
  background: #f7f7f7;
  padding: 14px 16px;
}
.timeline-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.timeline-head span {
  flex: 0 0 auto;
  border-radius: 5px;
  background: #d1aa73;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}
.timeline-head strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}
.timeline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.detail-consult-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.detail-share-row {
  margin-top: 12px;
}
.detail-share-row .route-share {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.consult-btn {
  border: 0;
  min-height: 46px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 10px 20px rgba(37,211,102,.18);
}
.consult-btn:active {
  transform: translateY(1px);
}

.lead-form {
  display: grid;
  gap: 10px;
}
.field {
  display: grid;
  gap: 6px;
}
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}
.field textarea { min-height: 96px; resize: vertical; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}
.option-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
  font-weight: 800;
}
.option-check input { width: auto; min-height: 0; margin-top: 3px; }
.option-check span {
  display: grid;
  gap: 2px;
}
.option-check small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.image-preview {
  display: none;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ddd;
}
.image-preview.show { display: block; }
.qr-preview {
  max-width: 220px;
  height: 220px;
  object-fit: contain;
  background: #fff;
}
.field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.route-image-preview-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 8px;
}
.route-image-preview-item {
  position: relative;
  flex: 0 0 108px;
  width: 108px;
  height: 76px;
}
.route-image-preview-item img {
  flex: 0 0 108px;
  width: 108px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ddd;
}
.route-image-delete {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(30,37,40,.78);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  width: min(92%, 440px);
  transform: translateX(-50%) translateY(120px);
  transition: transform .22s ease;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.toast.show { transform: translateX(-50%) translateY(0); }

.wechat-panel {
  text-align: center;
}
.wechat-qr-image {
  width: min(74vw, 260px);
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  margin: 8px auto 12px;
  display: block;
}
.wechat-id-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf1;
  padding: 8px 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}
.wechat-id-line strong {
  color: var(--ink);
}
.wechat-message-box {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  line-height: 1.45;
  margin: 0 0 12px;
}

.footer {
  padding: 24px 18px 88px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.footer-brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-cert-btn {
  min-height: 30px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}
.footer p { color: rgba(255,255,255,.7); margin: 8px 0 0; font-size: 13px; }
.cert-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f1e8;
}
.footer-service {
  margin: 26px -18px -88px;
  padding: 20px 18px 28px;
  background: var(--ink);
  color: #fff;
}
.service-badge {
  display: flex;
  justify-content: center;
  color: #f2a000;
}
.service-badge svg {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-badge .badge-ring { stroke-width: 2.2; }
.service-badge .badge-arc { stroke-width: 1.8; }
.service-badge .badge-tick { stroke-width: 1.2; opacity: .82; }
.service-badge .badge-line { stroke-width: 2.2; }
.service-badge text {
  fill: currentColor;
  stroke: none;
  font-size: 17px;
  font-weight: 900;
}
.service-title {
  display: block;
  margin: 4px 0 18px;
  color: #ff9d00;
  font-size: 22px;
  line-height: 1.2;
}
.footer-company-info {
  display: grid;
  gap: 8px;
  max-width: 430px;
  margin: 0 auto 24px;
  text-align: left;
}
.footer-info-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-info-row:last-child {
  border-bottom: 0;
}
.footer-info-row strong {
  color: #ff9d00;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}
.footer-info-row span,
.footer-info-row a {
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.footer-info-row a {
  text-decoration: none;
}
.footer-info-row a:hover {
  text-decoration: underline;
}
.contact-icon {
  width: 24px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff9d00;
}
.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-wa {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  border-top: 1px solid rgba(255,255,255,.32);
  margin: 4px -18px 0;
  padding-top: 28px;
}
.social-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #2f2f2f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.social-x {
  font-size: 18px;
}
.social-tk {
  font-size: 12px;
  letter-spacing: 0;
}
.social-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-layout { min-height: 100vh; background: #f5f1e8; }
.admin-main { padding: 16px; }
.admin-tabs {
  position: sticky;
  top: 61px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 8px 16px;
  background: rgba(245,241,232,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.admin-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 9px 4px;
  font-size: 12px;
  font-weight: 900;
}
.admin-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel { display: none; }
.panel.active { display: block; }
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.admin-card h3 { margin: 0 0 10px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.stats-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(18,29,34,.98), rgba(49,67,70,.94));
  box-shadow: 0 16px 30px rgba(18,29,34,.16);
}
.stats-hero span {
  color: #ffd84d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.stats-hero h2 {
  margin: 4px 0 6px;
  font-size: 24px;
  line-height: 1.12;
}
.stats-hero p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.55;
}
.stats-embed-empty {
  border: 1px dashed rgba(198,155,98,.52);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  background: #fffaf0;
}
.stats-embed-empty strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 6px;
}
.stats-embed-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.stats-iframe {
  width: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}
.route-filter-bar {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.status {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7df;
  border: 1px solid #eed79a;
  color: #795d16;
  font-size: 13px;
  margin-bottom: 12px;
}
.route-admin-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.route-admin-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.route-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}
.route-list-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.route-list-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.route-list-main span {
  color: var(--muted);
  font-size: 13px;
}
.route-list-actions,
.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.route-list-actions { flex: 0 0 auto; }
.editor-head h3 { margin: 0; }
.editor-head .section-lead { margin-bottom: 0; }
.route-ai-tool {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(95,125,107,.24);
  border-radius: 14px;
  background: #f8fbf7;
}
.route-ai-title {
  display: grid;
  gap: 3px;
}
.route-ai-title strong {
  color: var(--ink);
  font-size: 15px;
}
.route-ai-title span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.route-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.route-ai-grid textarea {
  min-height: 150px;
}
.route-ai-grid .compact-btn {
  justify-self: start;
}
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.route-save-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.route-save-actions .primary-btn,
.route-save-actions .secondary-btn {
  width: 100%;
}
.faq-admin-list {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
}
.faq-admin-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf1;
}
.faq-admin-item .editor-head {
  grid-column: 1 / -1;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(180deg, #1e2528, #6c5131);
}
.login-box {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hidden { display: none !important; }

@media (min-width: 900px) {
  .admin-layout.phone-shell {
    width: min(100%, 1180px);
  }
  .admin-main {
    padding: 24px;
  }
  .route-filter-bar {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: end;
  }
  .route-admin-row,
  .faq-admin-item,
  #settingsForm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .route-admin-row .editor-head,
  .faq-admin-item .editor-head,
  .route-admin-row .row-actions,
  #settingsForm h3,
  #settingsForm p,
  #settingsForm button,
  #settingsForm .image-preview {
    grid-column: 1 / -1;
  }
  .faq-admin-item button {
    grid-column: auto;
  }
}
