﻿/*
Theme Name: HOUSE DOCTOR A2
Theme URI: https://housedoctora2.aibizshop.com/
Author: AIBIZSHOP
Description: Custom operations website theme for HOUSE DOCTOR OF ANN ARBOR.
Version: 1.0.0
Text Domain: house-docot-a2
*/
:root {
  --black: #0b0b09;
  --black-2: #181711;
  --yellow: #ffd21f;
  --yellow-2: #f7b900;
  --cream: #f7f1df;
  --paper: #fffaf0;
  --steel: #5f625c;
  --line: rgba(15, 15, 12, 0.14);
  --green: #23a455;
  --red: #d84232;
  --blue: #3476db;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius: 8px;
  --font-display: Impact, "Arial Black", sans-serif;
  --font-body: "Trebuchet MS", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.12), transparent 32%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.025) 0 1px, transparent 1px 64px),
    var(--cream);
  color: var(--black);
  font-family: var(--font-body);
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn,
.nav-link,
.menu-link {
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

button:hover,
.btn:hover,
.nav-link:hover,
.menu-link:hover,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.menu-link:focus-visible {
  outline: 3px solid rgba(255, 210, 31, 0.52);
  outline-offset: 3px;
  transform: translateY(-1px);
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: auto;
  margin: 14px auto 0;
  max-width: 1280px;
  padding: 12px 16px 12px 22px;
  position: sticky;
  top: 14px;
  transform: none;
  width: calc(100% - 32px);
  z-index: 50;
}

.brand {
  display: grid;
  line-height: 0.88;
  min-width: 195px;
  text-decoration: none;
}

.brand strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
}

.brand span {
  color: #9d7900;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
}

.nav-link {
  border-radius: 999px;
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 9px 8px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link[aria-current="page"] {
  background: var(--yellow);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.phone-pill,
.btn {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 950;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.phone-pill {
  background: var(--black);
  color: var(--yellow);
}

.btn {
  background: var(--yellow);
  box-shadow: 0 12px 20px rgba(247, 185, 0, 0.24);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  box-shadow: none;
  color: var(--yellow);
}

.btn-ghost {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--black);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.page {
  margin: 0 auto;
  max-width: 1280px;
  padding: 42px 16px 72px;
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 640px;
}

.hero-copy,
.panel {
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 54px);
}

.angle-card {
  position: relative;
}

.kicker {
  color: #a77c00;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.4rem);
  max-width: 640px;
}

h2 {
  font-size: clamp(2.6rem, 5.6vw, 5.5rem);
}

h3 {
  font-size: clamp(1.55rem, 2vw, 2.35rem);
}

p {
  color: rgba(11, 11, 9, 0.74);
  line-height: 1.65;
}

.lead {
  font-size: 1.04rem;
  max-width: 620px;
}

.hero-stage {
  background: #0b0b09 url("assets/page-images/landing-page.png") center top / cover no-repeat;
  border: 12px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero-badge {
  background: var(--yellow);
  border: 6px solid var(--black);
  bottom: 34px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
  font-family: var(--font-display);
  font-size: 2rem;
  left: 28px;
  line-height: 0.9;
  padding: 18px 22px;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.action-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.check-list li::before {
  color: var(--yellow-2);
  content: ">";
  font-weight: 950;
  margin-right: 10px;
}

.stat-band {
  background: var(--black);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 36px 0;
  padding: 28px;
}

.stat strong {
  color: var(--yellow);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  text-transform: uppercase;
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.grid-two {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 28px;
}

.grid-three {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.service-card,
.mini-card,
.record-card {
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.service-card strong,
.mini-card strong,
.record-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.dark-panel {
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.1), transparent),
    var(--black);
  color: #fff;
}

.dark-panel p,
.dark-panel li {
  color: rgba(255, 255, 255, 0.76);
}

.dark-panel .kicker,
.dark-panel h2,
.dark-panel h3 {
  color: var(--yellow);
}

.image-card {
  background-color: var(--black);
  background-image: var(--bg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  border: 8px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.image-services { --bg: url("assets/page-images/services-page.png"); }
.image-request { --bg: url("assets/page-images/request-service-page.png"); }
.image-about { --bg: url("assets/page-images/about-page.png"); }
.image-contact { --bg: url("assets/page-images/contact-page.png"); }
.image-projects { --bg: url("assets/page-images/projects-page.png"); }

.category-list,
.article-archive {
  display: grid;
  gap: 18px;
}

.category-list article,
.article-card {
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.dark-panel .category-list article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 210, 31, 0.22);
}

.category-list strong {
  color: var(--yellow);
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.article-archive {
  margin-top: 28px;
}

.article-card {
  border-left: 12px solid var(--yellow);
  box-shadow: var(--shadow);
}

.article-card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 920px;
}

.article-meta {
  color: rgba(11, 11, 9, 0.68);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 950;
  gap: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-meta span {
  background: rgba(255, 210, 31, 0.32);
  border: 1px solid rgba(11, 11, 9, 0.1);
  border-radius: 999px;
  padding: 7px 10px;
}

.form-grid,
.app-form {
  display: grid;
  gap: 14px;
}

.form-two {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  color: rgba(11, 11, 9, 0.72);
  display: grid;
  font-size: 0.78rem;
  font-weight: 950;
  gap: 8px;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--black);
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow-2);
  box-shadow: 0 0 0 4px rgba(255, 210, 31, 0.26);
  outline: none;
}

.footer {
  background: var(--black);
  color: #fff;
  margin-top: 54px;
  padding: 42px 18px;
}

.footer-inner {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  margin: 0 auto;
  max-width: 1280px;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.75);
}

.footer strong {
  color: var(--yellow);
}

.floating-cta-stack {
  bottom: 18px;
  display: grid;
  gap: 10px;
  position: fixed;
  right: 18px;
  width: min(235px, calc(100vw - 36px));
  z-index: 220;
}

.floating-cta {
  border: 2px solid rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  color: #000;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  filter: saturate(1.2) brightness(1.06);
  outline: 3px solid #fff;
  outline-offset: 3px;
  transform: translateY(-1px);
}

.floating-employee {
  background: #ff9f1c;
  box-shadow: 0 0 16px rgba(255, 159, 28, 0.9), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.floating-client {
  background: #ff3131;
  box-shadow: 0 0 16px rgba(255, 49, 49, 0.9), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.floating-back {
  background: #4dff73;
  box-shadow: 0 0 16px rgba(77, 255, 115, 0.9), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.app-shell {
  margin: 0 auto;
  max-width: 1220px;
  padding: 132px 16px 72px;
}

.app-header {
  align-items: center;
  background: var(--black);
  border-bottom: 6px solid var(--yellow);
  color: #fff;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  left: 50%;
  margin: 0;
  max-width: 1220px;
  padding: 18px 24px;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: 120;
}

.app-header h1 {
  color: var(--yellow);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu {
  background: rgba(11, 11, 9, 0.94);
  border: 3px solid var(--yellow);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
  display: none;
  gap: 8px;
  left: max(16px, calc((100vw - 1220px) / 2 + 16px));
  margin: 0;
  max-width: calc(100vw - 32px);
  padding: 12px;
  position: fixed;
  right: max(16px, calc((100vw - 1220px) / 2 + 16px));
  top: 118px;
  z-index: 110;
}

.menu.is-open {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-link {
  background: var(--yellow);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--black);
  flex: 0 1 auto;
  font-weight: 950;
  min-width: 96px;
  padding: 10px 14px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-link:hover,
.menu-link:focus-visible {
  background: #fff;
  color: var(--black);
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.app-shell.menu-open .app-page-title,
.app-shell.menu-open > .app-grid {
  margin-top: 86px;
}

.app-page-title {
  background: var(--paper);
  border-left: 12px solid var(--yellow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 22px;
}

.app-grid {
  display: grid;
  gap: 20px;
}

.app-grid.two {
  grid-template-columns: 1fr;
}

.app-grid.three {
  grid-template-columns: 1fr;
}

.app-panel {
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  min-width: 0;
  padding: 22px;
  overflow-wrap: anywhere;
}

.app-shell .form-two {
  grid-template-columns: 1fr;
}

.table-wrap {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

table {
  border-collapse: collapse;
  max-width: 100%;
  width: 100%;
}

.schedule-wrap {
  overflow: hidden;
}

.schedule-table {
  table-layout: fixed;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
}

.schedule-table th,
.schedule-table td {
  font-size: 0.68rem;
  padding: 8px 3px;
  text-align: center;
  word-break: normal;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  text-align: left;
  width: 118px;
}

th {
  color: rgba(11, 11, 9, 0.62);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.id-link {
  color: #8c6500;
  font-weight: 950;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-content: center;
  min-width: 76px;
  padding: 8px 10px;
  text-transform: uppercase;
}

.status-off { background: var(--red); color: #fff; }
.status-on { background: var(--green); color: #fff; }
.status-call { background: var(--blue); color: #fff; }
.status-draft { background: var(--yellow); color: var(--black); }

.schedule-button {
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 950;
  min-height: 38px;
  min-width: 86px;
  padding: 8px;
  text-transform: uppercase;
}

.schedule-table .schedule-button {
  border-radius: 10px;
  font-size: clamp(0.48rem, 0.78vw, 0.68rem);
  min-width: 0;
  padding: 7px 2px;
  width: 100%;
}

.schedule-table .status {
  font-size: clamp(0.48rem, 0.78vw, 0.66rem);
  min-width: 0;
  padding: 7px 2px;
  width: 100%;
}

.schedule-table .exact-note {
  font-size: 0.64rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.schedule-button.off { background: var(--red); }
.schedule-button.on { background: var(--green); }
.schedule-button.call { background: var(--blue); }

.exact-note {
  color: rgba(11, 11, 9, 0.72);
  display: block;
  font-size: 0.78rem;
  margin-top: 8px;
}

.flash {
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  display: none;
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 14px 0;
  padding: 16px;
  text-transform: uppercase;
}

.flash.show {
  display: block;
}

.timer {
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
}

.map-board {
  background: #e8e2cf;
  border: 8px solid var(--black);
  border-radius: var(--radius);
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.map-frame {
  border: 0;
  height: 100%;
  inset: 0;
  min-height: 540px;
  position: absolute;
  width: 100%;
}

.map-label {
  background: rgba(11, 11, 9, 0.88);
  border: 2px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 950;
  left: 18px;
  padding: 8px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 18px;
  z-index: 2;
}

.pin {
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.print-page {
  background: #fff;
}

.print-sheet {
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
  margin: 0 auto;
  max-width: 850px;
  min-height: 100vh;
  padding: 46px;
}

.print-sheet h1 {
  font-size: 3rem;
}

.confirmation {
  background: rgba(35, 164, 85, 0.12);
  border: 1px solid rgba(35, 164, 85, 0.28);
  border-radius: var(--radius);
  color: #126234;
  display: none;
  font-weight: 950;
  margin-top: 14px;
  padding: 14px;
}

.confirmation.show {
  display: block;
}

.panel.dark-panel,
.app-panel.dark-panel {
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.1), transparent),
    var(--black);
  color: #fff;
}

.panel.dark-panel p,
.panel.dark-panel li,
.app-panel.dark-panel p,
.app-panel.dark-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.panel.dark-panel .kicker,
.panel.dark-panel h2,
.panel.dark-panel h3,
.app-panel.dark-panel .kicker,
.app-panel.dark-panel h2,
.app-panel.dark-panel h3 {
  color: var(--yellow);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    border-radius: 22px;
    flex-direction: column;
    position: relative;
    top: 0;
  }

  .hero,
  .grid-two,
  .app-grid.two,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stat-band,
  .grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .angle-card {
    clip-path: none;
  }
}

@media (max-width: 680px) {
  .page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .form-two,
  .stat-band,
  .grid-three {
    grid-template-columns: 1fr;
  }

  .floating-cta-stack {
    bottom: 10px;
    right: 10px;
    width: min(205px, calc(100vw - 20px));
  }

  .floating-cta {
    font-size: 0.68rem;
    padding: 10px 11px;
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 6rem);
  }

  .hero-stage {
    min-height: 480px;
  }

  .app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-shell {
    padding-top: 186px;
  }

  .menu {
    border-radius: 24px;
    top: 172px;
  }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tr {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 10px;
  }

  td {
    border-bottom: 1px solid var(--line);
  }

  td::before {
    color: rgba(11, 11, 9, 0.58);
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 950;
    margin-bottom: 4px;
    text-transform: uppercase;
  }
}

@media print {
  .site-header,
  .app-header,
  .menu,
  .no-print {
    display: none !important;
  }

  body,
  .print-page,
  .print-sheet {
    background: #fff !important;
    box-shadow: none !important;
  }

  .print-sheet {
    border: 0;
    max-width: none;
    padding: 0;
  }
}

