/* A complete company introduction and two independently filled work columns. */
.home-hero h1 { color: var(--text); }
.home-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; gap: 20px; align-items: start; }
.home-work-grid > .home-work-item { grid-column: auto; grid-row: auto; height: max-content; }
.home-work-grid--packed { grid-auto-rows: 1px; row-gap: 0; }
.home-work-item--onsite .home-work-image { height: auto; background: transparent; }
.home-work-item--onsite .home-work-image img { display: block; position: static; width: 100%; height: auto; max-width: 100%; object-fit: initial; }
.repair-ipad-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 48px); width: min(100%, 1100px); margin: 0 auto 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); scroll-margin-top: 105px; }
.repair-ipad-image { display: block; min-width: 0; cursor: zoom-in; }
.repair-ipad-image img { display: block; width: 100%; height: auto; }
.repair-ipad-copy { padding: 28px 30px 28px 0; }
.repair-ipad-copy h3 { margin: 15px 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.25; }
.repair-ipad-copy p { margin: 0 0 23px; color: var(--muted); }
.header-tiktok { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #20242b; border-radius: 12px; background: #111318; color: #fff; transition: border-color .2s ease, background .2s ease; }
.header-tiktok:hover { background: #292d35; border-color: var(--primary); }
.header-tiktok:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.header-tiktok svg { display: block; width: 21px; height: 21px; }
@media (max-width: 720px) {
  .home-work-grid, .home-work-grid--packed { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; row-gap: 20px; }
  .header-tiktok { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
  .repair-ipad-feature { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .repair-ipad-copy { padding: 22px; }
}
@media (max-width: 420px) {
  .site-header .nav-wrap { width: calc(100% - 24px); gap: 6px; }
  .site-header .header-logo { width: 90px; height: 34px; }
  .site-header .nav-actions { gap: 3px; }
  .site-header .header-whatsapp, .site-header .header-instagram, .site-header .header-tiktok, .site-header .header-phone, .site-header .icon-button, .site-header .menu-button { width: 32px; min-height: 32px; height: 32px; flex-basis: 32px; border-radius: 9px; }
  .site-header .header-tiktok svg, .site-header .header-phone svg { width: 18px; height: 18px; }
}
@media (max-width: 350px) {
  .site-header .header-logo { width: 78px; height: 31px; }
  .site-header .header-whatsapp, .site-header .header-instagram, .site-header .header-tiktok, .site-header .header-phone, .site-header .icon-button, .site-header .menu-button { width: 30px; min-height: 30px; height: 30px; flex-basis: 30px; }
}

/* Four matching social buttons in two rows, including narrow screens. */
.footer .footer-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 320px);
  margin-top: 5px;
}
.footer .footer-social .social-button {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  box-shadow: none;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.footer .footer-social .social-button::before {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
}
.footer .footer-social .social-button svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}
.footer .footer-social .social-button.youtube svg { color: #ff0033; }
.footer .footer-social .social-button:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}
.footer .footer-social .social-button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Give the contact column room before the four-column footer gets tight. */
@media (max-width: 1250px) {
  .footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
