/* ==========================================================================
   Theme tokens
   Bootstrap 5.3.8 is loaded before this file; these variables tune the brand.
   ========================================================================== */
:root {
  --brand: #d22630;
  --brand-dark: #a91822;
  --ink: #1f1f24;
  --muted: #6f7178;
  --line: #d9d9df;
  --paper: #ffffff;
  --panel: #f5f5f7;
  --soft-red: #fff1f2;
  --blue: #0b73e8;
  --green: #147d64;
  --bs-primary: #d22630;
  --bs-body-color: #1f1f24;
  --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 58%, #ffffff 100%);
  min-height: 100vh;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Desktop top bar */
.top-bar {
  background: #f1f1f3;
  color: #3f4046;
  border-bottom: 1px solid rgba(31,31,36,.08);
}

.top-bar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.top-bar-note,
.top-bar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.top-bar-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #55565c;
}

.top-bar-note span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.top-bar-links a {
  color: #3f4046;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-bar-links a:hover {
  color: var(--brand-dark);
}

.top-bar-links svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.top-branch {
  color: #2f3035;
  font-weight: 500;
}

/* Page header */
.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img.logo {
  width: clamp(180px, 28vw, 300px);
  max-width: 72vw;
  height: auto;
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31,31,36,.10);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 28px rgba(31,31,36,.08);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.anchor-point {
  display: block;
  position: relative;
  top: -18px;
}

/* Hero */
.hero {
  text-align: center;
  margin: 16px auto 28px;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: 0;
}

.subtitle {
  margin: 16px auto 0;
  color: #37383d;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.45;
  max-width: 720px;
}

/* Price selector */
.shell {
  background: var(--panel);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 54px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}

.chooser {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 14px;
  align-items: end;
  max-width: 840px;
  margin: 0 auto 34px;
}

.field label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 6px 14px;
}

select, input[type="search"] {
  width: 100%;
  height: 56px;
  border: 1px solid #9fa0a7;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-size: 16px;
  padding: 0 44px 0 16px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6b6c72 50%), linear-gradient(135deg, #6b6c72 50%, transparent 50%);
  background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input[type="search"] { padding-right: 16px; }
select:focus, input[type="search"]:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(210, 38, 48, .12);
}


.result {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.visual {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-card {
  width: min(230px, 100%);
  aspect-ratio: 1;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.72));
  border: 1px solid rgba(31,31,36,.07);
  box-shadow: 0 24px 54px rgba(31,31,36,.10);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.device-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(31,31,36,.18));
}

.content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.eyebrow {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
  letter-spacing: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.meta span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  color: #404147;
  background: rgba(255,255,255,.72);
}

.price-list {
  background: rgba(255,255,255,.55);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child { border-bottom: 0; }
.service-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
}

.service-name span {
  min-width: 0;
}

.service-info-button {
  width: 21px;
  height: 21px;
  border: 1px solid rgba(210,38,48,.24);
  border-radius: 50%;
  background: var(--soft-red);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.service-info-button:hover,
.service-info-button:focus {
  background: #fff;
  border-color: rgba(210,38,48,.42);
}

.service-popover {
  --bs-popover-max-width: 340px;
  --bs-popover-border-color: rgba(31,31,36,.10);
  --bs-popover-border-radius: 14px;
  --bs-popover-box-shadow: 0 18px 42px rgba(31,31,36,.14);
  --bs-popover-body-color: #64666d;
  --bs-popover-body-padding-x: 14px;
  --bs-popover-body-padding-y: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.service-price { font-size: 16px; font-weight: 700; text-align: right; white-space: nowrap; }

.empty {
  border: 1px dashed #c8c8cf;
  border-radius: 16px;
  padding: 24px;
  color: var(--muted);
  background: rgba(255,255,255,.65);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(230px + clamp(22px, 5vw, 58px));
}

.service-note {
  width: min(100%, 620px);
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(210,38,48,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.72);
  color: #55565c;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 14px 34px rgba(31,31,36,.05);
}

.button {
  appearance: none;
  border: 0;
  border-radius: 15px;
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button.primary { color: #fff; background: var(--brand); box-shadow: 0 14px 26px rgba(210,38,48,.24); }
.button.secondary { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.button:hover { transform: translateY(-1px); }
.actions .button { min-width: 180px; }

/* 404 page */
.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(210,38,48,.11), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f7f9 100%);
}

.not-found-card {
  width: min(760px, 100%);
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(31,31,36,.08);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(31,31,36,.09);
  text-align: center;
}

.not-found-card img {
  width: min(260px, 72vw);
  height: auto;
  margin-bottom: 28px;
}

.not-found-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft-red);
  color: var(--brand-dark);
  font-weight: 850;
  margin-bottom: 18px;
}

.not-found-card h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 64px);
  letter-spacing: 0;
}

.not-found-card p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.6;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* Category accordion */
.accordion {
  max-width: 900px;
  margin: 34px auto 0;
  display: grid;
  gap: 12px;
}

details {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(31,31,36,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(31,31,36,.05);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

details:hover,
details[open] {
  background: #fff;
  border-color: rgba(210,38,48,.18);
  box-shadow: 0 16px 40px rgba(31,31,36,.08);
}

summary {
  cursor: pointer;
  list-style: none;
  min-height: 58px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  outline: none;
}

summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(210,38,48,.16);
}

.summary-title {
  font-weight: 800;
  color: var(--ink);
}

.summary-separator {
  width: 1px;
  height: 18px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, transparent, rgba(31,31,36,.28), transparent);
}

.summary-count {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}

summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 50%;
  color: var(--brand);
  background: var(--soft-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}

details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.category-grid {
  padding: 0 18px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(31,31,36,.07);
}

.model-chip {
  border: 1px solid rgba(31,31,36,.09);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #36373d;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.model-chip:hover {
  border-color: rgba(210,38,48,.28);
  color: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(31,31,36,.07);
  transform: translateY(-1px);
}

/* Service information sections */
.support-section,
.why-section,
.contact-section {
  max-width: 900px;
  margin: 42px auto 0;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px;
}

.section-heading .eyebrow {
  margin-bottom: 7px;
  color: var(--brand-dark);
  font-weight: 800;
}

.section-heading p:not(.eyebrow) {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.section-heading .contact-email {
  margin-top: 10px;
  font-weight: 650;
}

.section-heading .contact-email a {
  color: var(--brand);
  font-weight: 850;
  text-decoration: none;
}

.section-heading .contact-email a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card,
.why-grid article,
.branch-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(31,31,36,.08);
  box-shadow: 0 18px 44px rgba(31,31,36,.06);
}

.info-card {
  min-height: 238px;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.95), rgba(255,255,255,0) 42%),
    linear-gradient(135deg, #fff, var(--soft-red));
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(210,38,48,.14), 0 14px 30px rgba(210,38,48,.12);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3,
.why-grid h3,
.branch-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

.info-card p,
.why-grid p,
.branch-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.branch-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.map-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 15px;
  border: 1px solid rgba(31,31,36,.16);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(31,31,36,.04);
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.map-button:hover {
  border-color: rgba(210,38,48,.28);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 24px rgba(210,38,48,.18);
  transform: translateY(-1px);
}

.map-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(210,38,48,.14);
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(210,38,48,.18);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.branch-socials a:hover {
  border-color: rgba(210,38,48,.28);
  background: #fff;
  color: var(--brand);
  transform: translateY(-1px);
}

.branch-socials svg {
  width: 23px;
  height: 23px;
}

.card-action {
  margin-top: auto;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(210,38,48,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.card-action:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 28px rgba(210,38,48,.24);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.why-section {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fff4f5 100%);
  border: 1px solid rgba(210,38,48,.10);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.why-grid article {
  border-radius: 16px;
  padding: 18px;
}

.why-grid h3 {
  margin-bottom: 8px;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.branch-card {
  min-height: 360px;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.branch-card-accent {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 58%, #fff1f2 100%);
}

.branch-label {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--soft-red);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.branch-card h3 {
  margin-bottom: 8px;
}

.branch-card dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.branch-card dl div {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(31,31,36,.08);
}

.branch-card dt {
  color: var(--muted);
  font-size: 13px;
}

.branch-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.branch-card dd a {
  color: var(--ink);
  text-decoration: none;
}

.branch-card dd a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fine-print {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* Floating WhatsApp contact */
.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1039;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(210,38,48,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--brand-dark);
  box-shadow: 0 20px 38px rgba(210,38,48,.36);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-widget .scroll-top {
  position: static;
  z-index: auto;
  flex: 0 0 auto;
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(284px, calc(100vw - 36px));
  padding: 13px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 20px;
  background: linear-gradient(145deg, #25d366 0%, #1fb85a 100%);
  box-shadow: 0 22px 56px rgba(18,140,74,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.98);
  transform-origin: right bottom;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.whatsapp-widget:has(.scroll-top.is-visible) .whatsapp-panel {
  bottom: 136px;
}

.whatsapp-widget.is-open .whatsapp-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-panel p {
  margin: 0 0 11px;
  padding: 0 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.whatsapp-panel a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 15px;
  color: #fff;
  background: #128c4a;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 12px 24px rgba(0,0,0,.12);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.whatsapp-panel a + a {
  margin-top: 8px;
}

.whatsapp-panel a:hover {
  background: #0f7f42;
  color: #fff;
  transform: translateX(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 28px rgba(0,0,0,.16);
}

.whatsapp-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  color: #128c4a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-option-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.whatsapp-option-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.whatsapp-option-text span {
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

.whatsapp-option-text strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.whatsapp-float {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(37,211,102,.34);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.whatsapp-float:hover,
.whatsapp-widget.is-open .whatsapp-float {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(37,211,102,.42);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(31,31,36,.08);
  background: #fff;
  padding: 30px 0;
}

.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.footer-brand-block {
  display: grid;
  gap: 10px;
  align-items: start;
}

.footer-brand-block span {
  color: var(--muted);
  font-size: 14px;
}

.footer-brand-block a:not(.footer-brand) {
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.footer-brand-block a:not(.footer-brand):hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-brand img {
  width: 194px;
  max-width: 54vw;
  height: auto;
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  padding-bottom: 1px;
}

.footer-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(31,31,36,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(210,38,48,.08), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f7f9 54%, #fff 100%);
}

.legal-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.legal-logo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 34px;
}

.legal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(31,31,36,.08);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,241,242,.72)),
    #fff;
  box-shadow: 0 22px 60px rgba(31,31,36,.07);
}

.legal-header h1 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(34px, 5.2vw, 62px);
  letter-spacing: 0;
  line-height: 1;
}

.legal-header p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.legal-summary article {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(31,31,36,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(31,31,36,.055);
}

.legal-summary span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
}

.legal-summary strong {
  color: var(--ink);
  line-height: 1.35;
}

.legal-summary a {
  color: var(--brand);
  text-decoration: none;
}

.legal-content {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(31,31,36,.08);
  border-radius: 24px;
  background: #fff;
  color: #303139;
  box-shadow: 0 18px 48px rgba(31,31,36,.055);
}

.legal-block {
  padding: 18px;
  border: 1px solid rgba(31,31,36,.07);
  border-radius: 16px;
  background: #fbfbfd;
}

.legal-block-intro {
  background: var(--soft-red);
  border-color: rgba(210,38,48,.11);
}

.legal-block h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
}

.legal-block p {
  margin: 0;
  color: #4f5159;
  line-height: 1.75;
}

.design-credit {
  margin-left: 8px;
}

.design-credit a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.design-credit a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Service repair form page */
.form-page {
  background: linear-gradient(180deg, #f7f7f9 0%, #ffffff 48%, #f7f7f9 100%);
}

.form-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.form-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
}

.form-header-actions {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-logo img {
  width: clamp(180px, 28vw, 300px);
  height: auto;
  display: block;
}

.form-back {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(31,31,36,.10);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(31,31,36,.06);
}

.form-back svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-back:hover {
  color: var(--brand-dark);
}

.form-hero {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.form-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.form-hero p:not(.eyebrow) {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
}

.service-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.service-form,
.summary-card {
  border: 1px solid rgba(31,31,36,.08);
  background: rgba(255,255,255,.86);
  box-shadow: 0 20px 60px rgba(31,31,36,.08);
}

.service-form {
  border-radius: 24px;
  padding: clamp(18px, 3vw, 34px);
  display: grid;
  gap: 24px;
}

.form-section {
  display: grid;
  gap: 18px;
}

.form-section + .form-section {
  padding-top: 24px;
  border-top: 1px solid rgba(31,31,36,.08);
}

.form-section-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.form-section-head > span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--soft-red);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.form-section-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 5px;
}

.form-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field small {
  color: var(--muted);
  font-size: 12px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: #42434a;
  font-size: 13px;
  font-weight: 700;
}

.form-field label strong {
  color: var(--brand);
}

.label-with-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-button {
  width: 21px;
  height: 21px;
  border: 1px solid rgba(210,38,48,.24);
  border-radius: 50%;
  background: var(--soft-red);
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.popover {
  z-index: 1090;
}

.imei-popover {
  --bs-popover-max-width: 320px;
  --bs-popover-border-color: rgba(31,31,36,.10);
  --bs-popover-border-radius: 14px;
  --bs-popover-box-shadow: 0 18px 42px rgba(31,31,36,.14);
  --bs-popover-body-color: #64666d;
  --bs-popover-body-padding-x: 14px;
  --bs-popover-body-padding-y: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.service-form .form-control,
.service-form .form-select {
  min-height: 52px;
  border-color: rgba(31,31,36,.14);
  border-radius: 14px;
  background-color: #f8f9fb;
  color: var(--ink);
  box-shadow: none;
}

.service-form textarea.form-control {
  min-height: 120px;
}

.service-form select[multiple] {
  min-height: 142px;
  padding: 8px;
}

.service-form select[multiple] option {
  border-radius: 9px;
  padding: 8px 10px;
}

.service-form .form-control:focus,
.service-form .form-select:focus {
  border-color: rgba(210,38,48,.45);
  box-shadow: 0 0 0 4px rgba(210,38,48,.12);
}

.service-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid rgba(210,38,48,.12);
  border-radius: 16px;
  padding: 14px;
  background: #fff8f8;
  color: #4e5057;
  font-size: 14px;
}

.service-consent .form-check-input {
  width: 20px;
  height: 20px;
  margin: 0;
  border-color: rgba(31,31,36,.24);
  flex: 0 0 auto;
}

.service-consent .form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.summary-card {
  border-radius: 22px;
  padding: 22px;
}

.form-summary {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
}

.summary-card h2 {
  margin: 0 0 18px;
  font-size: 23px;
}

.summary-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.summary-card dl div {
  padding-top: 12px;
  border-top: 1px solid rgba(31,31,36,.08);
}

.summary-card dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.summary-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.summary-card dd span {
  display: block;
}

.summary-card dd span + span {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(31,31,36,.08);
}

.contact-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff4f5 100%);
}

.contact-card a {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid rgba(31,31,36,.08);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.contact-card a:hover {
  color: var(--brand-dark);
}

.contact-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive rules */
@media (max-width: 1100px) {
  .chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-form-layout { grid-template-columns: 1fr; }
  .form-summary { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-header,
  .legal-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .top-bar { display: none; }
  header {
    min-height: 58px;
    margin-bottom: 22px;
    justify-content: flex-start;
    padding-right: 58px;
  }
  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
  }
  .mobile-drawer {
    --bs-offcanvas-width: min(88vw, 360px);
    padding: 18px;
    background: #fff;
    border-left: 1px solid rgba(31,31,36,.08);
    box-shadow: none;
  }
  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(31,31,36,.08);
  }
  .drawer-head img {
    width: 174px;
    height: auto;
    display: block;
  }
  .drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(31,31,36,.10);
    border-radius: 14px;
    background: #f6f6f8;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .drawer-close svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }
  .drawer-nav {
    display: grid;
    gap: 7px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(31,31,36,.08);
  }
  .drawer-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 13px;
    color: var(--ink);
    background: #f7f7f9;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
  }
  .drawer-nav a:hover {
    color: var(--brand-dark);
    background: var(--soft-red);
  }
  .drawer-message {
    margin: 18px 0 0;
    padding: 18px;
    border: 1px solid rgba(210,38,48,.10);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #fff4f5 100%);
    box-shadow: 0 14px 34px rgba(31,31,36,.06);
  }
  .drawer-message span {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 800;
  }
  .drawer-message h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.22;
  }
  .drawer-message p {
    margin: 9px 0 0;
    color: #5f6168;
    font-size: 14px;
    line-height: 1.5;
  }
  .drawer-contact {
    display: grid;
    gap: 10px;
    padding: 18px 0;
  }
  .drawer-title {
    margin: 0 0 2px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
  }
  .drawer-contact a,
  .drawer-hours {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid rgba(31,31,36,.08);
    border-radius: 15px;
    background: #f7f7f9;
    text-decoration: none;
  }
  .drawer-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #fff;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(210,38,48,.12);
  }
  .drawer-contact-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .drawer-contact-text {
    display: grid;
    gap: 3px;
    min-width: 0;
  }
  .drawer-contact-text span {
    color: var(--muted);
    font-size: 12px;
  }
  .drawer-contact-text strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
  }
  .drawer-primary {
    min-height: 48px;
    margin-top: auto;
    border-radius: 15px;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 16px 30px rgba(210,38,48,.22);
  }
  .top-bar-inner {
    min-height: 0;
    padding: 8px 0;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
  }
  .top-bar-note {
    width: 100%;
    justify-content: center;
    gap: 8px 12px;
    text-align: center;
  }
  .top-bar-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .top-bar-links a {
    min-height: 30px;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  header { align-items: center; }
  .result { grid-template-columns: 1fr; }
  .visual { min-height: 150px; justify-content: flex-start; }
  .device-card { width: 148px; }
  .content-head { align-items: flex-start; flex-direction: column; }
  .actions { padding-left: 0; }
  .service-paths { grid-template-columns: 1fr; }
  .info-card { min-height: 0; }
  .branch-grid { grid-template-columns: 1fr; }
  .branch-card { min-height: 0; }
  .footer-inner,
  .footer-bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .footer-nav { justify-content: center; }
  .form-header {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 58px;
    padding-right: 116px;
  }
  .form-header-actions {
    right: 0;
    gap: 8px;
  }
  .form-header .menu-toggle {
    position: static;
    transform: none;
    display: inline-flex;
    flex: 0 0 auto;
  }
  .form-summary { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .top-bar-inner { width: min(100% - 20px, 1180px); }
  .top-bar-note {
    justify-content: center;
    gap: 8px;
  }
  .top-bar-note span {
    font-size: 11px;
  }
  .top-bar-note span + span::before {
    width: 5px;
    height: 5px;
  }
  .top-bar-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .top-bar-links a {
    min-height: 28px;
    justify-content: center;
    font-size: 11px;
  }
  .top-branch {
    display: none;
  }
  .page { width: min(100% - 20px, 1180px); padding-top: 18px; }
  .shell { border-radius: 22px; padding: 20px 14px 28px; }
    .brand img.logo { width: min(220px, 72vw); }
    .hero { text-align: left; }
    .subtitle { margin-left: 0; }
    .chooser { grid-template-columns: 1fr; }
    summary { gap: 9px; padding: 14px; }
    .summary-title { font-size: 15px; }
    .summary-count { font-size: 13px; }
    .summary-separator { height: 16px; }
    summary::after { width: 28px; height: 28px; font-size: 18px; }
    select, input[type="search"] { height: 52px; font-size: 15px; }
  .section-heading { text-align: left; }
  .support-section,
  .why-section,
  .contact-section { margin-top: 34px; }
  .why-section { padding: 22px 14px; border-radius: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .info-card,
  .why-grid article,
  .branch-card { border-radius: 16px; padding: 16px; }
  .branch-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner,
  .footer-bottom { width: min(100% - 20px, 1180px); }
  .price-row { grid-template-columns: 1fr; gap: 5px; min-height: 0; }
  .service-price { text-align: left; color: var(--brand-dark); }
  .actions { justify-content: stretch; align-items: stretch; }
  .service-note { font-size: 13px; padding: 13px 14px; }
  .legal-shell { width: min(100% - 20px, 1180px); padding-top: 18px; }
  .legal-logo-header {
    justify-content: flex-start;
    min-height: 58px;
    margin-bottom: 22px;
    padding-right: 58px;
  }
  .legal-header,
  .legal-content {
    border-radius: 20px;
    padding: 18px 14px;
  }
  .legal-header .not-found-actions {
    justify-content: stretch;
  }
  .legal-summary article,
  .legal-block {
    border-radius: 16px;
    padding: 16px;
  }
  .button { width: 100%; }
  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-panel {
    bottom: 68px;
  }
  .whatsapp-widget:has(.scroll-top.is-visible) .whatsapp-panel {
    bottom: 126px;
  }
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    box-shadow: none;
  }
  .scroll-top:hover {
    box-shadow: none;
  }
  .scroll-top svg {
    width: 23px;
    height: 23px;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    box-shadow: none;
  }
  .whatsapp-float:hover,
  .whatsapp-widget.is-open .whatsapp-float {
    box-shadow: none;
  }
  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }
  .form-shell {
    width: min(100% - 20px, 1180px);
    padding: 18px 0 44px;
  }
  .form-logo img {
    width: min(220px, 72vw);
  }
  .form-header-actions {
    margin-left: auto;
    gap: 6px;
  }
  .form-back {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 12px;
  }
  .form-back svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }
  .form-header .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .form-hero {
    text-align: left;
    margin-bottom: 22px;
  }
  .service-form {
    border-radius: 20px;
    padding: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-section-head {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }
  .form-section-head > span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .form-actions .button {
    width: 100%;
  }
  .summary-card {
    border-radius: 18px;
    padding: 18px;
  }
}
