/* Tablet-only layout; desktop and phone retain their existing styles. */
@media (min-width: 801px) and (max-width: 1100px) {
  .header-main.wrap { display:grid !important; grid-template-columns:140px minmax(0,1fr) auto !important; gap:18px !important; min-height:100px; align-items:center !important; }
  .header-main .brand { transform:none !important; }
  .header-main .brand img { width:140px; height:85px; object-fit:contain; }
  .header-quote { display:block; transform:none !important; white-space:normal !important; font-size:14px !important; line-height:1.3; }
  .desktop-nav, .header-call { display:none !important; }
  .header-actions { display:flex; align-items:center; gap:14px; }
  .phone-icon { display:grid; place-items:center; width:44px; height:44px; background:var(--red); color:white; border-radius:6px; }
  .menu-toggle { display:flex; width:44px; height:44px; padding:7px; border:0; background:transparent; flex-direction:column; justify-content:center; gap:6px; }
  .menu-toggle span { display:block; width:100%; height:4px; border-radius:4px; background:var(--navy); }
  .mobile-menu { position:absolute; top:100%; left:0; right:0; background:var(--cream); border-top:1px solid var(--line); box-shadow:var(--shadow); padding:8px 28px 16px; }
  .mobile-menu.open { display:grid; }
  .mobile-menu a { padding:12px; text-decoration:none; font-weight:800; border-bottom:1px solid var(--line); }
  .hero { grid-template-columns:minmax(0,1fr) minmax(0,.85fr) !important; min-height:0; }
  .hero-copy { min-width:0; min-height:0; margin-right:-30px !important; padding:38px 52px 38px 32px !important; clip-path:polygon(0 0,calc(100% - 30px) 0,100% 100%,0 100%) !important; }
  .hero-copy h1 { font-size:clamp(43px,5.5vw,58px) !important; }
  .hero-copy .hero-buttons { flex-wrap:wrap; gap:14px; margin-top:28px !important; }
  .hero-photo { margin-left:-30px !important; width:calc(100% + 30px) !important; height:100%; min-height:480px; }
  .hero-callback { grid-column:1 / -1; height:auto; padding:24px 32px; border-left:0; }
  .hero-callback .callback-heading, .hero-callback form { max-width:680px; margin-inline:auto; }
  .hero-callback input, .hero-callback select, .hero-callback textarea { min-height:42px; }
  .page-grid { grid-template-columns:minmax(0,1fr) minmax(250px,310px); gap:28px; }
  .about-layout { grid-template-columns:minmax(0,1fr) minmax(250px,300px); gap:26px; }
  .about-intro { grid-template-columns:140px minmax(0,1fr); gap:18px; }
  .service-grid a { padding-inline:14px; }
  .service-map-frame { grid-template-columns:minmax(0,1.4fr) minmax(245px,.75fr); }
  .service-map-copy { padding:20px; }
  .process li { padding:18px; gap:12px; }
  .section-heading h2 { font-size:clamp(35px,4.5vw,52px); }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .hero-photo img { width:100%; height:100%; min-height:480px; object-fit:cover; }
}

/* Service area and header refinements for tablets only. */
@media (min-width: 801px) and (max-width: 1100px) {
  .service-map-frame {
    grid-template-columns: 1fr;
  }
  .service-map-art {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1000 / 560;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-map-copy {
    padding: 20px 24px 22px;
  }
  .service-map-copy h3 {
    font-size: 27px;
    line-height: 1.12;
    margin: 6px 0 9px;
  }
  .service-map-copy p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .service-map-copy .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 17px;
    line-height: 1.2;
    min-height: 44px;
    padding: 10px 18px;
  }
  .service-map-copy small { margin-top: 12px; }
  .header-actions .phone-icon .call-icon {
    display: block;
    width: 22px;
    height: 22px;
    transform: none;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24c1.08.36 2.25.55 3.47.55a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.55 21 3 13.45 3 4.13a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.22.19 2.39.55 3.48a1 1 0 0 1-.25 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24c1.08.36 2.25.55 3.47.55a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.55 21 3 13.45 3 4.13a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.22.19 2.39.55 3.48a1 1 0 0 1-.25 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .header-actions .phone-icon .call-icon::before,
  .header-actions .phone-icon .call-icon::after { content: none; }
}

/* Narrow tablets: keep the guarantee readable and the brands title on one line. */
@media (min-width: 650px) and (max-width: 800px) {
  #main > .guarantee-panel {
    display: block !important;
    padding: 22px 24px !important;
  }
  #main > .guarantee-panel > div:not(.guarantee-seal) {
    width: 100%;
    max-width: none;
  }
  #main > .guarantee-panel .guarantee-seal { display: none !important; }
  #brands-title {
    font-size: clamp(25px, 4vw, 30px) !important;
    line-height: 1.15;
    white-space: nowrap;
  }
  .trust-section .section-heading > span { min-width: 0; }
}
