/* North Coast Service Solutions - static rebuild
   Pixel-faithful to the 2026-08 Elementor site with WCAG 2.1 AA fixes baked in.
   Deviations from live site (required for AA): body gray #7A7A7A -> #767676,
   footer copyright #777 -> #A6A6A6. */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/Roboto-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/RobotoSlab-700.woff2') format('woff2');
}

:root {
  --maroon: #5F2F2F;
  --charcoal: #464646;
  --panel-dark: #3A3A3A;
  --footer-bottom: #292929;
  --gold: #FACA3A;
  --text: #767676;
  --heading: #464646;
  --nav-text: #3A3A3A;
  --card-border: #EBEBEB;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
h1, h2, h3 { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; color: var(--heading); margin: 0; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1340px; margin: 0 auto; padding: 0 20px; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }

/* Accessibility helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: var(--maroon); padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #B5651D; outline-offset: 2px;
}
.split-panel a:focus-visible, .topbar a:focus-visible, .floating-tab:focus-visible,
.site-footer a:focus-visible, .footer-search button:focus-visible {
  outline-color: var(--gold);
}

/* Topbar */
.topbar { background: var(--maroon); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; }
.topbar-tagline { margin: 0; font-weight: 700; }
.topbar-contact { display: flex; gap: 28px; }
.topbar-contact a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-contact a:hover { text-decoration: underline; }
.topbar-contact .icon { font-size: 15px; }

/* Header */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 101px; }
.site-logo img { width: 289px; height: auto; }
.nav-menu { display: flex; gap: 34px; }
.nav-menu a {
  color: var(--nav-text); font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 38px 0 34px; position: relative; display: inline-block;
}
.nav-menu a:hover { color: var(--maroon); }
.nav-menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px;
  height: 3px; background: var(--maroon);
}
.nav-toggle { display: none; background: none; border: 0; color: var(--nav-text); font-size: 28px; padding: 8px; cursor: pointer; }

/* Hero */
.hero {
  background: url('../assets/Cleveland-coffee-machine-repair-and-sales.jpg') center / cover no-repeat;
}
.hero-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  padding-top: 355px; padding-bottom: 52px;
}
.feature-card {
  background: #fff; border: 1px solid var(--card-border); padding: 26px 28px;
}
.feature-card h2, .feature-card h3 {
  display: flex; align-items: center; gap: 14px;
  font-size: 18px; line-height: 1.2; color: var(--heading);
}
.card-icon { font-size: 34px; color: var(--maroon); }
.feature-card p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; }

/* Split sections */
.split { display: flex; align-items: center; margin-top: 14px; }
.split-media { flex: 0 0 50%; }
.split-media img { width: 100%; object-fit: cover; }
.split-repair .split-media img { height: 367px; }
.split-panel { display: flex; align-items: center; justify-content: center; }
.split-panel h2 { color: #fff; font-size: 30px; line-height: 39px; margin-bottom: 18px; }
.split-panel p { color: #fff; font-size: 16px; }
.split-panel-maroon { background: var(--maroon); flex: 0 0 50%; min-height: 413px; }
.split-repair .split-panel-inner { padding: 55px 90px; text-align: center; }

.split-equipment { margin-top: 66px; align-items: center; }
.split-equipment .split-panel-charcoal {
  background: var(--panel-dark); flex: 0 0 40%; min-height: 519px; z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.split-equipment .split-panel-inner { padding: 55px 48px; text-align: left; }
.split-equipment .split-media { flex: 0 0 60%; margin-left: -8px; z-index: 1; }
.split-equipment .split-media img { height: 492px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid #fff; border-radius: 50px; color: #fff;
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 12px 32px; text-decoration: none; margin-top: 10px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #fff; color: var(--panel-dark); }
.split-panel-maroon .btn-outline:hover { color: var(--maroon); }

/* Brand band */
.brand-band { background: var(--panel-dark); margin-top: 40px; padding: 48px 0; }
.brand-list { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.brand-list img { width: auto; }

/* Floating tab */
.floating-tab {
  position: fixed; right: 0; top: 80%; z-index: 100;
  background: #232323; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 22px; display: inline-flex; align-items: center; gap: 10px;
}
.floating-tab:hover { background: var(--maroon); }

/* Footer */
.site-footer { background: var(--panel-dark); border-top: 4px solid var(--gold); color: #fff; }
.footer-cols {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.25fr) minmax(0,1.45fr) minmax(0,1.2fr);
  gap: 44px;
  padding-top: 58px; padding-bottom: 64px;
}
.footer-col { min-width: 0; }
.contact-list li { overflow-wrap: anywhere; }
.footer-col h2 { color: #fff; font-size: 18px; margin-bottom: 22px; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { color: #EDEDED; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.footer-nav a:hover { color: var(--gold); }
.footer-nav .arrow { font-size: 13px; color: #BDBDBD; }

.footer-search { display: flex; }
.footer-search input[type="search"] {
  flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-size: 15px;
  font-family: inherit; background: #F5F5F5; color: #333;
}
.footer-search button {
  background: var(--maroon); border: 0; color: #fff; width: 48px; cursor: pointer;
  font-size: 17px; display: flex; align-items: center; justify-content: center;
}
.footer-search button:hover { background: #4a2424; }

.hours-list li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 15px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.hours-emergency {
  color: var(--gold); font-weight: 700; font-size: 14px; text-align: center;
  margin: 18px 0 0;
}

.footer-brand { font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; margin-bottom: 12px; }
.contact-list .icon { margin-top: 4px; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.copyright { background: var(--footer-bottom); }
.copyright p { margin: 0; padding: 24px 0; font-size: 14px; color: #A6A6A6; }

/* Sticky header on scroll (desktop, matches Elementor sticky) */
@media (min-width: 1025px) {
  .site-header { position: sticky; top: -44px; z-index: 90; }
}

/* Mobile sticky call/request bar */
.mobile-cta { display: none; }

/* Disclaimer popup */
.popup-overlay {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.02);
}
.popup-overlay[hidden] { display: none; }
.popup {
  position: relative; background: #fff; max-width: 640px; width: calc(100% - 32px);
  padding: 44px 40px 40px; text-align: center;
  box-shadow: 0 6px 40px rgba(0,0,0,0.3);
}
.popup h2 { font-size: 30px; margin-bottom: 16px; }
.popup p { font-size: 16px; color: #464646; margin: 0 auto 26px; max-width: 480px; }
.popup-close {
  position: absolute; top: 10px; right: 10px; background: none; border: 0;
  color: #464646; padding: 6px; cursor: pointer; font-size: 20px; line-height: 1;
}
.popup-close:hover { color: var(--maroon); }
.btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--maroon); border-radius: 50px; color: #fff;
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 14px 34px; text-decoration: none;
}
.btn-solid:hover { background: #4a2424; }

/* Inner page hero */
.page-hero { position: relative; background: url('../assets/commercial-kitchen-header.jpg') center / cover no-repeat; }
.page-hero-repair { background-image: url('../assets/professional-espresso-machine-repair-1.jpg'); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.55); }
.page-hero h1 {
  position: relative; text-align: center; color: #333;
  font-size: 40px; line-height: 1.3; padding: 76px 20px; margin: 0;
}

/* Angled maroon band (Why Choose Us) */
.angle-band {
  background: var(--maroon);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 63px), 0 100%);
  padding: 55px 0 100px;
}
.angle-band > .container > h2 { color: #fff; font-size: 27px; text-align: center; margin-bottom: 42px; }
.angle-band .hero-cards-flat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.angle-band .feature-card { border: 0; }

/* Brands panel section */
.brands-section { display: flex; align-items: flex-start; margin-top: 90px; }
.brands-panel {
  background: var(--panel-dark); color: #fff; flex: 0 0 40%; z-index: 2;
  padding: 48px 44px; box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.brands-panel h2 { color: #fff; font-size: 30px; line-height: 39px; text-align: center; }
.brand-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 20px;
  align-items: center; justify-items: center; margin: 36px 0;
}
.brand-grid img { width: 115px; height: auto; }
.brands-panel p { font-size: 15px; }
.brands-panel .brands-note { font-weight: 700; font-style: italic; margin-top: 20px; }
.brands-media { flex: 0 0 60%; margin-top: 177px; }
.brands-media img { width: 100%; height: 400px; object-fit: cover; }

/* Issues + benefits section */
.issues-section { display: flex; align-items: flex-start; margin-top: 55px; }
.issues-media { flex: 0 0 60%; margin-top: 198px; }
.issues-media img { width: 100%; height: 400px; object-fit: cover; }
.issues-col { flex: 0 0 40%; z-index: 2; }
.issues-panel {
  background: var(--maroon); color: #fff; padding: 48px 44px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.issues-panel h3 { color: #fff; font-size: 24px; line-height: 31px; text-align: center; margin-bottom: 24px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: #fff; margin-bottom: 14px; }
.checklist .icon { color: #fff; font-size: 19px; margin-top: 3px; }
.issues-panel h2 { color: #fff; font-size: 28px; line-height: 1.35; text-align: center; margin: 34px 0 20px; }
.issues-panel p { font-size: 16px; color: #fff; margin: 0; }

/* Super-automatic panel */
.superauto { display: flex; align-items: center; margin: 24px 0 0; }
.superauto-panel {
  flex: 0 0 40%; background: var(--panel-dark); color: #fff;
  padding: 50px 48px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); z-index: 2;
}
.superauto-media { flex: 0 0 60%; }
.superauto-media img { width: 100%; height: 500px; object-fit: cover; }
.superauto-panel h2 { color: #fff; font-size: 30px; line-height: 39px; text-align: center; margin-bottom: 20px; }
.superauto-panel p { font-size: 15px; margin: 0; }

/* Buy-new panel + accordion */
.buynew { display: flex; align-items: center; margin-top: 71px; }
.buynew-media { flex: 0 0 60%; }
.buynew-media img { width: 100%; height: 547px; object-fit: cover; }
.buynew-panel { background: var(--maroon); color: #fff; flex: 0 0 40%; padding: 48px 44px; }
.buynew-panel h2 { color: #fff; font-size: 26px; line-height: 1.35; text-align: center; margin-bottom: 20px; }
.buynew-panel > p { font-size: 15px; }
.accordion { background: #fff; margin-top: 26px; }
.accordion-item + .accordion-item { border-top: 1px solid #E5E5E5; }
.accordion-item h3 { margin: 0; }
.accordion-item button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 15px; font-weight: 700; color: #333;
  padding: 13px 16px;
}
.accordion-item button:hover { background: #F7F7F7; }
.accordion-item button .icon { font-size: 12px; transition: transform 0.15s; }
.accordion-item button[aria-expanded="true"] .icon { transform: rotate(90deg); }
.accordion-body { padding: 2px 16px 16px; }
.accordion-body p { font-size: 15px; color: var(--text); margin: 0 0 10px; }

/* Cities section */
.cities { padding: 70px 0; }
.cities h2 { font-size: 30px; line-height: 39px; text-align: center; margin-bottom: 26px; }
.cities p { font-size: 15px; font-weight: 700; color: var(--heading); text-align: left; margin: 0; }
.cities a, .cities span { color: var(--heading); text-decoration: none; }
.cities a:hover { color: var(--maroon); text-decoration: underline; }

/* Form placeholder (service-request) */
.form-placeholder { padding: 70px 20px 90px; }
.placeholder-box {
  max-width: 760px; margin: 0 auto; border: 2px dashed #C9C9C9;
  padding: 56px 40px; text-align: center;
}
.placeholder-box h2 { font-size: 24px; margin-bottom: 14px; }
.placeholder-box p { font-size: 15px; max-width: 560px; margin-left: auto; margin-right: auto; }
.placeholder-box a { color: var(--maroon); font-weight: 700; }

/* Tablet */
@media (max-width: 1024px) {
  .split-repair .split-panel-inner { padding: 40px 36px; }
  .split-equipment .split-panel-inner { padding: 40px 30px; }
  .nav-menu { gap: 22px; }
  .hero-cards { gap: 18px; padding-top: 300px; }
  .feature-card { padding: 20px; }
  .footer-cols { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
  .brands-panel, .issues-col, .superauto-panel, .buynew-panel { padding: 36px 28px; }
  .brands-media { margin-top: 120px; }
  .issues-media { margin-top: 120px; }
  .page-hero h1 { font-size: 34px; padding: 80px 20px; }
}

/* Mobile */
@media (max-width: 767px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  .topbar-contact { gap: 18px; flex-wrap: wrap; }

  .header-inner { min-height: 84px; }
  .site-logo img { width: 225px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; gap: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12); z-index: 30;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px 20px; display: block; border-top: 1px solid #EEE; }
  .nav-menu a[aria-current="page"]::after { display: none; }
  .nav-menu a[aria-current="page"] { color: var(--maroon); }

  .hero { min-height: 200px; background-position: center; }
  .hero-cards { grid-template-columns: 1fr; padding-top: 220px; padding-bottom: 30px; gap: 18px; }

  .split { flex-direction: column; margin-top: 0; align-items: stretch; }
  .split-media, .split-panel-maroon, .split-equipment .split-panel-charcoal,
  .split-equipment .split-media { flex: 0 0 auto; }
  .split-repair .split-media img, .split-equipment .split-media img { height: auto; }
  .split-panel-maroon, .split-equipment .split-panel-charcoal { min-height: 0; }
  .split-repair .split-panel-inner, .split-equipment .split-panel-inner { padding: 40px 24px; }
  .split-equipment { margin-top: 0; }
  .split-equipment .split-media { margin-left: 0; order: -1; }
  .split-equipment .split-panel-charcoal { box-shadow: none; }

  .brand-band { margin-top: 0; padding: 40px 0; }
  .brand-list { flex-direction: column; gap: 34px; }
  .brand-list img { height: auto !important; max-width: 78%; }

  .floating-tab { display: none; }

  .footer-cols { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; padding-bottom: 44px; }

  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  }
  .mobile-cta a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #0B0B0B; color: #fff; text-decoration: none;
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    height: 45px;
  }
  .mobile-cta a + a { border-left: 1px solid #333; }
  body { padding-bottom: 45px; }

  .page-hero h1 { font-size: 28px; padding: 64px 16px; }
  .angle-band { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); padding-bottom: 64px; }
  .angle-band .hero-cards-flat { grid-template-columns: 1fr; }
  .brands-section, .issues-section, .buynew, .superauto { display: block; margin-top: 0; }
  .brands-panel, .issues-col, .issues-panel, .superauto-panel, .buynew-panel { width: auto; box-shadow: none; }
  .brands-media, .issues-media { margin-top: 0; }
  .brands-media img, .issues-media img, .superauto-media img, .buynew-media img { height: auto; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .cities { padding: 44px 0; }
  .popup { padding: 36px 22px 32px; }
}

/* In-between widths: keep 3 cards until 768 but let them breathe */
@media (min-width: 768px) and (max-width: 900px) {
  .hero-cards { grid-template-columns: repeat(3, 1fr); }
  .feature-card p { font-size: 14px; }
}

/* Service request form */
.sr-form-section { padding: 60px 20px 90px; }
.sr-form { max-width: 1140px; margin: 0 auto; }
.sr-hp { position: absolute; left: -9999px; top: -9999px; }
.sr-row { display: grid; gap: 20px; }
.sr-thirds { grid-template-columns: repeat(3, 1fr); }
.sr-halves { grid-template-columns: repeat(2, 1fr); }
.sr-field { margin-bottom: 22px; }
.sr-row .sr-field { margin-bottom: 0; }
.sr-row { margin-bottom: 22px; }
.sr-field label, .sr-group-label, .sr-radios legend {
  display: block; font-size: 15px; font-weight: 400; color: #3d4b5a; margin-bottom: 7px;
}
.sr-req { color: #B00020; }
.sr-form input[type="text"], .sr-form input[type="email"], .sr-form input[type="tel"],
.sr-form input[type="date"], .sr-form textarea, .sr-form select {
  width: 100%; padding: 9px 12px; font-size: 15px; font-family: inherit; color: #333;
  border: 1px solid #BFC7CF; border-radius: 2px; background: #fff;
}
.sr-form textarea { resize: vertical; }
.sr-form input:focus-visible, .sr-form textarea:focus-visible, .sr-form select:focus-visible {
  outline: 3px solid #B5651D; outline-offset: 1px;
}
.sr-sub { margin-bottom: 12px; }
.sr-sub .sr-desc { display: block; margin-top: 4px; }
.sr-desc { font-size: 13px; color: #767676; margin: 6px 0 0; }
.sr-section-title {
  font-family: 'Roboto Slab', Georgia, serif; font-size: 18px; color: var(--heading);
  border-top: 1px solid #E5E5E5; padding-top: 26px; margin: 30px 0 18px;
}
.sr-radios { border: 0; padding: 0; margin: 0; }
.sr-radios label { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #3d4b5a; margin-bottom: 10px; font-weight: 400; }
.sr-radios input { accent-color: var(--maroon); width: 16px; height: 16px; }
.sr-disclaimer { text-align: center; font-size: 15px; color: var(--heading); font-weight: 400; margin: 30px auto 26px; max-width: 900px; }
.sr-buttons { display: flex; gap: 14px; margin-top: 8px; }
.sr-btn {
  background: #232323; color: #fff; border: 0; padding: 12px 22px;
  font-size: 15px; font-weight: 500; font-family: inherit; cursor: pointer; border-radius: 3px;
}
.sr-btn:hover { background: var(--maroon); }
.sr-btn:focus-visible { outline: 3px solid #B5651D; outline-offset: 2px; }
.sr-btn-secondary { background: #767676; }
.sr-error { color: #B00020; font-size: 15px; font-weight: 700; margin-top: 18px; }
.success-box h2 { color: var(--heading); }
/* JS enhances into steps; without JS both steps show stacked */
.js .sr-step[data-step] { display: none; }
.js .sr-step.active { display: block; }
@media (max-width: 767px) {
  .sr-thirds, .sr-halves { grid-template-columns: 1fr; }
  .sr-form-section { padding: 40px 16px 60px; }
}

/* City page map embed */
.map-section { padding: 0 20px 60px; }
.map-section iframe { width: 100%; height: 450px; border: 0; display: block; }
@media (max-width: 767px) {
  .map-section { padding: 0 16px 40px; }
  .map-section iframe { height: 320px; }
}
