:root {
  --ink: #1d1d1f;
  --muted: #545458;
  --line: #dedee3;
  --paper: #f5f5f7;
  --yellow: #ffc70a;
  --yellow-soft: #f5f5f7;
  --action: #0066cc;
  --font: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body { background: white; }
h1, h2, h3 { letter-spacing: -.042em; }
.section h2 { font-size: clamp(2.1rem, 4vw, 3.45rem); line-height: 1.06; }
.eyebrow { letter-spacing: .12em; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid #2997ff;
  outline-offset: 3px;
}

.announcement { background: #f5f5f7; color: var(--ink); }
.announcement a { color: var(--action); }
.site-header { background: #fffffff5; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); }
.site-header .logo-link img { width: clamp(108px, 12vw, 148px); height: auto; }
.button { border-radius: 999px; }

.hero { background: white; }
.hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
  width: min(94%, 1350px);
  max-width: none;
  min-height: 0;
  gap: clamp(24px, 4vw, 68px);
  padding: clamp(28px, 5vw, 72px) 0;
  align-items: center;
}
.hero .hero-copy {
  max-width: none;
  color: var(--ink);
  padding-inline: clamp(0px, 2vw, 30px);
  text-align: center;
}
.hero .eyebrow, .hero .hero-buttons, .hero .hero-proof { justify-content: center; }
.hero .eyebrow { color: var(--muted); margin: 0 0 16px; }
.hero .eyebrow::before { display: none; }
.hero #hero-title {
  color: var(--ink);
  font-size: clamp(3rem, 6.5vw, 6.25rem);
  font-weight: 650;
  letter-spacing: -.062em;
  line-height: .96;
  margin: 0 0 24px;
}
.hero .hero-description {
  max-width: 39ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.65vw, 1.32rem);
  line-height: 1.48;
  margin: 0 auto 26px;
}
.hero .hero-buttons { align-items: center; flex-wrap: wrap; }
.hero .hero-buttons .button { min-height: 46px; padding: 11px 20px; font-size: .94rem; box-shadow: none; }
.hero .hero-whatsapp { background: #087c48; color: white; border: 1px solid #087c48; }
.hero .hero-whatsapp:hover, .hero .hero-whatsapp:focus-visible { background: #06653b; border-color: #06653b; }
.hero .hero-proof { gap: 7px 14px; margin-top: 21px; flex-wrap: wrap; }
.hero .hero-proof > :is(span, a),
.hero .hero-proof > .hero-location {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.hero .hero-visual {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 1.22;
  border-radius: 22px;
}
.hero .hero-visual::after { content: none; }
.hero .hero-workshop-photo { height: 100%; object-fit: cover; object-position: center; }

.brands { background: var(--paper); }
#devices { background: #171719; text-align: center; }
#devices h2 { max-width: none; margin-inline: auto; }
#devices p { color: #d3d3d7; }
#devices p a { color: #76baff; }
#devices .device-choice {
  background: #272729;
  border: 1px solid #38383d;
  border-radius: 16px;
  box-shadow: none;
  backdrop-filter: none;
}
#devices .device-choice:hover { background: #353538; }

#find-repair, .reviews-section, .process-section, .accessories-section { background: var(--paper); }
.specialist-section, .about-section, .final-cta { background: #171719; }
.repair-card, .visit-card, .google-review-card, .quote-dialog, .privacy-dialog,
.journal-slides article {
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
}
.repair-card .service-icon { background: var(--paper); color: var(--ink); }
.catalog-card-actions a, .catalog-card-actions button, .text-button { color: var(--action); }
.filter-tab.active { background: var(--ink); border-color: var(--ink); color: white; }
.final-cta a { color: #76baff; }
.mobile-contact { background: #fffffff5; border-color: var(--line); box-shadow: none; }

@media (max-width: 799px) {
  .site-header .nav-row nav { top: 100%; }
  .hero .hero-grid { grid-template-columns: 1fr; width: min(92%, 620px); gap: 26px; }
  .hero #hero-title { font-size: clamp(2.9rem, 11vw, 5rem); margin-bottom: 17px; }
  .hero .hero-visual { aspect-ratio: 1.55; border-radius: 16px; }
  .visit-section .visit-grid { grid-template-columns: minmax(0, 1fr); }
}

.visit-section { background: white; }
.repair-directory-links a { background: white; color: var(--action); border-color: var(--line); }
.repair-directory-links a:hover { background: #eaf3ff; border-color: var(--action); }
.journal-controls button { background: #272729; color: white; border-color: #555559; }

#repairs {
  background: white;
  padding-block: clamp(36px, 5vw, 64px);
}

#repairs > .wrap { max-width: 1032px; }
#repairs .section-heading { margin-bottom: 18px; }
#repairs-title { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
#repairs .filter-tabs { margin-bottom: 0; }
#repairs .filter-tab { min-height: 36px; padding: 6px 13px; font-size: .82rem; }
#repairs .filter-tab.active { background: #eaf3ff; border-color: #b7d8fb; color: #0056ad; }
#repairs .catalog-toolbar { margin: 14px 0 10px; gap: 8px 16px; }
#repairs .brand-filter-label { width: auto; gap: 8px; }
#repairs .brand-filter-label select { min-width: 0; width: auto; padding-block: 7px; }

#repairs .repair-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

#repairs .service-catalog-card:not([hidden]) {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(9.5rem, auto) auto;
  align-items: center;
  gap: 8px 14px;
  min-height: 0;
  padding: 12px 0;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

#repairs .service-icon { width: 36px; height: 36px; border-radius: 9px; }
#repairs .service-icon .icon { width: 20px; height: 20px; }
.catalog-row-copy h3 { margin: 0 0 3px; font-size: 1rem; }
.catalog-row-copy p { margin: 0; font-size: .85rem; line-height: 1.4; }
#repairs .catalog-card-meta { margin: 0; color: var(--muted); }
#repairs .catalog-card-meta span { padding: 0; background: none; }
#repairs .catalog-card-actions { justify-content: flex-end; border: 0; margin: 0; padding: 0; }
#repairs .catalog-card-actions button {
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid #b7d8fb;
  border-radius: 999px;
  background: white;
  color: #0056ad;
}
#repairs .catalog-card-actions button:hover { background: #eaf3ff; }
#repairs .catalog-help { background: var(--paper); padding: 16px; gap: 12px; }
#repairs .catalog-help h3 { font-size: 1rem; margin-bottom: 4px; }
#repairs .catalog-help p { font-size: .88rem; }

@media (max-width: 650px) {
  #repairs .catalog-toolbar { flex-direction: row; align-items: center; flex-wrap: wrap; }
  #repairs .service-catalog-card:not([hidden]) { grid-template-columns: 36px minmax(0, 1fr) auto; }
  #repairs .catalog-row-copy { grid-column: 2 / -1; }
  #repairs .catalog-card-meta { grid-column: 2; }
}

.site-header .button-dark,
.hero .hero-start,
.service-page-hero .button-dark {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.site-header .button-dark:hover,
.hero .hero-start:hover,
.service-page-hero .button-dark:hover {
  background: #ffda51;
  border-color: #ffda51;
}

.rating-stars {
  display: block;
  color: var(--yellow);
  font-size: 1.5rem;
  letter-spacing: .13em;
  line-height: 1.1;
}

.hero .hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
}

.hero .hero-rating:hover { text-decoration: underline; }
.hero .hero-rating .rating-stars { font-size: 1.875rem; }
.review-stars { margin-bottom: 12px; }
.google-review-card [aria-label="5 out of 5 stars"] { color: var(--yellow); }
#devices p a { color: var(--yellow); }

#visit .visit-details {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 14px;
}

#visit .visit-card {
  display: block;
  aspect-ratio: auto;
  padding: clamp(14px, 2vw, 22px);
  background: var(--paper);
  border: 0;
}

#visit .visit-card-top {
  margin: 0;
  padding-bottom: 12px;
  font-size: 1rem;
  letter-spacing: normal;
}

#visit .visit-card-top .icon { width: 18px; height: 18px; }
#visit .hours { margin: 12px 0 0; }
#visit .hours > div {
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: .84rem;
}

#visit .opening-status {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

#visit .opening-status:empty { display: none; }
#visit .visit-map { aspect-ratio: 1.3; }
.site-footer .footer-logo { background: transparent; padding: 0; border-radius: 0; }

@media (max-width: 520px) {
  #visit .visit-details { grid-template-columns: minmax(0, 1fr); }
}

.hero .hero-proof > a { text-decoration: underline; text-underline-offset: .2em; }
.hero .hero-proof > a:hover { color: var(--action); }

/* The supplied sheet has two wordmarks. Frame the lower, black-letter version. */
.site-wordmark {
  display: block;
  position: relative;
  width: clamp(108px, 12vw, 148px);
  aspect-ratio: 1870 / 550;
  overflow: hidden;
}

.site-wordmark img {
  position: absolute;
  width: 106.952%;
  max-width: none;
  top: -183.636%;
  left: -3.476%;
}
