/* V16.3 phone layout tidy. Desktop is unchanged; everything here applies at phone widths only. */
.pricing-compare-link{display:flex;width:fit-content;margin:22px auto 4px}

@media(max-width:640px){
  /* What we do: websites + brand kit lead, automation and software sit side by side as smaller tiles */
  .services-grid{grid-template-columns:1fr 1fr;gap:10px}
  .services-grid>.service-card{grid-column:1/-1;min-height:0}
  .services-grid>.service-minor{grid-column:auto;padding:18px 16px 16px}
  .service-minor .service-card-top{margin-bottom:14px}
  .service-minor .service-no,.service-minor p,.service-minor .automation-visual,.service-minor .code-visual{display:none}
  .service-minor h3{font-size:17px;line-height:1.25;margin:0 0 12px}
  .service-minor .text-link{font-size:10.5px;gap:6px}
  .services-grid .integration-visual,.service-feature .web-visual{display:none}
  .service-feature .service-copy{max-width:none}

  /* Selected work: drop the tag pills and the repeated "Live at" line (the visit link says the same) */
  .work-section .project-pills,.work-section .project-disclaimer{display:none}

  /* Pricing: compact cards on the homepage; the full feature lists live on /pricing/ */
  .pricing-choice-draft .pricing-quicklinks,
  .pricing-choice-draft .price-card ul,
  .pricing-choice-draft .price-divider{display:none}
  .pricing-choice-draft .price-card{padding:22px 20px}
  .pricing-choice-draft .price-description{margin-bottom:14px}
  .pricing-choice-draft .price-value{margin-bottom:16px}
}

/* Facebook sits directly under the Instagram button in the contact section */
.contact-facebook{margin-top:-11px}

/* Enquiry form helpers */
.contact-panel .choice-group{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.contact-panel .choice-group[hidden],#current-site-field[hidden]{display:none}
.contact-panel .choice-group legend{font-size:12px;font-weight:700;color:#c4d7e8;margin-bottom:9px;padding:0}
.contact-panel .choice{flex:1 1 180px;flex-direction:row;position:relative}
.contact-panel .choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0}
.contact-panel .choice span{display:flex;align-items:center;justify-content:center;width:100%;min-height:47px;padding:10px 12px;border:1px solid #2b4b65;border-radius:var(--r-sm);background:#0b1828;color:#c4d7e8;font-size:13px;font-weight:600;text-align:center;cursor:pointer;transition:border-color var(--t-fast),background var(--t-fast)}
.contact-panel .choice input:checked+span{border-color:var(--teal);background:rgba(45,212,191,.12);color:#fff}
.contact-panel .choice input:focus-visible+span{outline:3px solid #55e4d1;outline-offset:3px}
.contact-panel .optional{font-weight:400;color:#8aa3b8}
.message-help{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:-6px}
.message-help p{font-size:12px;line-height:1.6;color:#9fb6c9;margin:0}
.outline-btn{background:none;border:0;padding:4px 0;color:#7bd4ff;font-size:12px;font-weight:600;text-decoration:underline;cursor:pointer;min-height:32px}
.pricing-bottom{text-align:center}
/* V17.29: free demo page */
.demo-layout{grid-template-columns:minmax(0,1.5fr) minmax(255px,.85fr)}
.demo-panel .choice-group legend{margin-bottom:9px}
.demo-panel .choice span{text-align:center;line-height:1.35}
.field-help{font-weight:400;font-size:12px;color:#8aa3b8}
.demo-steps{margin:0 0 20px;padding-left:20px;display:grid;gap:12px;color:#b4cbdb;font-size:14px;line-height:1.6}
.demo-steps strong{color:#eaf6ff}
@media(max-width:900px){.demo-layout{grid-template-columns:1fr;gap:28px}.demo-layout .service-side{position:static}}
@media(max-width:640px){.demo-panel{padding:22px}}
/* V17.47: service buttons replace the "What do you need?" dropdown. */
.contact-panel .service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.contact-panel .service-grid .choice span{flex-direction:column;gap:2px;min-height:56px;line-height:1.3}
.contact-panel .service-grid .choice small{font-size:11px;font-weight:500;color:var(--muted)}
.contact-panel .service-grid .choice input:checked+span small{color:var(--teal-soft)}
.contact-panel .service-grid .choice span:hover{border-color:var(--blue)}
.contact-panel .service-preview-link{margin:10px 0 0;font-size:var(--fs-label);color:var(--muted)}
.contact-panel .service-preview-link a{color:var(--blue-bright);text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){.contact-panel .service-grid .choice span{min-height:52px;padding:8px;font-size:12px}}
