/* Mike Cote Tech LLC — static site design system
   Palette (from Wix theme): dark purple #281a39, blue #0d63d1, light #f6f6f6, accent light-blue #bde9fb
   Font: Avenir LT W01 85 Heavy → Nunito Sans (Google Fonts) */

:root {
  --dark: #281a39;
  --dark-2: #1f1430;
  --blue: #0d63d1;
  --blue-dark: #0a4ea3;
  --light-blue: #bde9fb;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --text: #33323d;
  --muted: #5c5168;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(40, 26, 57, 0.10);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 1.2em 1.3em; }
li { margin-bottom: 0.45em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(40,26,57,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 84px; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: auto; }
.brand-name {
  font-weight: 800; font-size: 1.28rem; color: var(--dark); line-height: 1.15;
}
.brand-tag { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.4px; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--blue);
  border-radius: 8px; padding: 9px 12px; cursor: pointer;
}
.nav-toggle svg { display: block; }

.main-nav > ul { list-style: none; display: flex; gap: 8px; margin: 0; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700; font-size: 0.95rem;
  color: #fff; background: var(--blue);
  border: 1px solid var(--blue);
  transition: background .15s;
}
.main-nav > ul > li > a:hover { background: var(--blue-dark); text-decoration: none; }
.main-nav > ul > li > a.nav-home {
  background: #fff; color: var(--blue);
}
.main-nav > ul > li > a.nav-home:hover { background: var(--bg-alt); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 280px; padding: 10px 0; display: none; z-index: 1100;
}
/* invisible bridge over the visual gap so :hover is never lost while
   the cursor travels from the nav button into the menu */
.dropdown::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.main-nav > ul > li:last-child .dropdown { left: auto; right: 0; }
.main-nav li:hover > .dropdown,
.main-nav li:focus-within > .dropdown { display: block; }
.dropdown a {
  display: block; padding: 9px 22px; color: var(--dark);
  font-weight: 600; font-size: 0.92rem;
}
.dropdown a:hover { background: var(--bg-alt); text-decoration: none; color: var(--blue); }
.dropdown .dd-note { padding: 8px 22px 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(25, 12, 45, .82), rgba(25, 12, 45, .78)),
    var(--hero-img, none) center 35% / cover no-repeat;
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 22px;
  text-align: center;
}
.hero h1, .hero h2 { color: #fff; }
.hero .hero-sub {
  max-width: 780px; margin: 0 auto 1.2rem;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.92);
}
.hero .hero-hours {
  display: inline-block; margin-bottom: 1.6rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 7px 18px;
  font-size: .88rem; font-weight: 700; color: #fff;
}
.hero .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(180deg, #f6f6f6 0%, #fff 100%);
  border-bottom: 1px solid rgba(40,26,57,.06);
  padding: clamp(38px, 6vw, 64px) 22px 26px;
  text-align: center;
}
.page-banner h1 { max-width: 900px; margin: 0 auto .35rem; }
.page-banner .banner-desc { max-width: 760px; margin: 0 auto; color: var(--muted); }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: #e7e3ee; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: var(--light-blue); }
.section-head { max-width: 820px; margin: 0 auto 2.2rem; text-align: center; }
.section-head p { color: var(--muted); }
.section.dark .section-head p { color: #cfc8dc; }

.content-narrow { max-width: 820px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue); color: #fff !important;
  border: 1.5px solid var(--blue); border-radius: 6px;
  padding: 12px 24px; font-weight: 800; font-size: .95rem;
  cursor: pointer; transition: background .15s, transform .05s;
}
.btn:hover { background: var(--blue-dark); text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-outline {
  background: transparent; color: var(--blue) !important;
  border-color: var(--blue);
}
.btn-outline:hover { background: rgba(13, 99, 209, .07); }
.btn-light {
  background: #fff; color: var(--dark) !important; border-color: #fff;
}
.btn-light:hover { background: var(--bg-alt); }
.btn-ghost-light {
  background: rgba(255,255,255,.08); color: #fff !important;
  border-color: rgba(255,255,255,.65);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 0.4rem 0 1.7rem; }
.section .btn-row:last-child, .content-narrow .btn-row:last-child { margin-bottom: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin: 0 0 2rem;
}
.card {
  background: #fff; border: 1px solid rgba(40,26,57,.09);
  border-radius: var(--radius); box-shadow: 0 2px 10px rgba(40,26,57,.05);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.section.alt .card { background: #fff; }
.card .card-icon { width: 58px; height: 58px; object-fit: contain; margin-bottom: 4px; }
.card .card-icon-round { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; align-self: center; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; flex-grow: 1; }
.card .btn { align-self: flex-start; margin-top: 6px; padding: 9px 18px; font-size: .88rem; }
.card-img-top { width: 100%; border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; }

/* Feature rows (why choose us) */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feature { background: #fff; border-left: 4px solid var(--blue); border-radius: 8px; padding: 18px 20px; box-shadow: 0 1px 6px rgba(40,26,57,.06); }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Columns block ---------- */
.cols { display: grid; gap: 28px; margin-bottom: 1.6rem; }
.cols.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cols.cols-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cols.cols-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cols.cols-n1, .cols.cols-n2 { grid-template-columns: 1fr; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid rgba(40,26,57,.1);
  border-radius: 10px; margin-bottom: 12px; overflow: hidden;
}
.section.alt .faq-item { background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 56px 18px 24px;
  font-weight: 800; font-size: 1.02rem; line-height: 1.5;
  color: var(--dark); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue); line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--muted); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review {
  background: #fff; border-radius: var(--radius); padding: 22px;
  border: 1px solid rgba(40,26,57,.08); box-shadow: 0 2px 10px rgba(40,26,57,.04);
}
.review .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.review blockquote { font-size: .95rem; color: var(--muted); font-style: italic; margin: 0 0 10px; }
.review .reviewer { font-weight: 800; color: var(--dark); font-size: .9rem; }

/* ---------- Tables (pricing) ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 1.6rem; }
table.pricing { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.pricing th, table.pricing td { padding: 13px 16px; text-align: left; border-bottom: 1px solid rgba(40,26,57,.08); font-size: .95rem; }
table.pricing th { background: var(--dark); color: #fff; font-weight: 800; }
table.pricing tr:last-child td { border-bottom: none; }
table.pricing td:first-child { font-weight: 700; color: var(--dark); }

/* ---------- Blog ---------- */
.blog-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card {
  background: #fff; border: 1px solid rgba(40,26,57,.09); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow .15s, transform .15s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h3 { margin: 0; }
.post-card .post-meta { font-size: .82rem; color: var(--muted); }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
article.post .post-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
article.post img { border-radius: var(--radius); margin: 0 auto 1.4em; display: block; }
article.post h2 { margin-top: 1.8em; }
article.post h3 { margin-top: 1.5em; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid rgba(40,26,57,.1); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(22px, 4vw, 38px); max-width: 720px; margin: 0 auto;
}
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; color: var(--dark); display: block; margin-bottom: 5px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #d8d3e0; border-radius: 8px;
  font: inherit; color: var(--text); background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,99,209,.12); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { margin-top: 12px; font-weight: 700; display: none; }
.req { color: #b00020; }

.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; }
label.check {
  font-weight: 400; font-size: .92rem; color: var(--text);
  display: flex; gap: 9px; align-items: baseline; margin-bottom: 6px; cursor: pointer;
}
label.check input { width: auto; margin: 0; accent-color: var(--blue); }
.consent { background: var(--bg-alt); border-radius: 8px; padding: 16px 18px; }
.consent label.check { font-size: .88rem; color: var(--muted); }

.intake-form h2 { font-size: 1.15rem; margin: 1.6em 0 .8em; }
.intake-form h2:first-child { margin-top: 0; }

/* Newsletter band */
.newsletter { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: flex-end; }
.newsletter input { max-width: 320px; }

/* ---------- Booking ---------- */
.booking-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-bottom: 2.4rem; }
.book-card {
  background: #fff; border: 1px solid rgba(40,26,57,.1); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 2px 8px rgba(40,26,57,.05);
  display: flex; flex-direction: column; gap: 8px;
}
.book-card h3 { margin: 0; font-size: 1.12rem; }
.book-card .price { font-size: 1.05rem; font-weight: 800; color: var(--blue); }
.book-card .dur { font-size: .84rem; color: var(--muted); }
.book-card p { margin: 0; font-size: .93rem; color: var(--muted); flex-grow: 1; }

.setmore-embed {
  background: #fff; border: 1px solid rgba(40,26,57,.1); border-radius: var(--radius);
  padding: 8px; box-shadow: var(--shadow); min-height: 640px;
}
.setmore-embed iframe { width: 100%; height: 900px; border: 0; display: block; }

/* ---------- Shop ---------- */
.product-card .price { font-weight: 800; color: var(--blue); font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfc8dc; padding: 56px 0 26px; font-size: .92rem; }
.footer-cols { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr 1fr; margin-bottom: 34px; }
.footer-cols h4 { color: #fff; font-size: .95rem; margin-bottom: .8em; letter-spacing: .3px; }
.footer-cols ul { list-style: none; margin: 0; }
.footer-cols li { margin-bottom: .5em; }
.footer-cols a { color: #cfc8dc; }
.footer-cols a:hover { color: #fff; }
.footer-brand p { margin-bottom: .8em; }
.footer-contact li { display: flex; gap: 8px; align-items: baseline; }
.social-row { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.social-row a:hover { background: var(--blue); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem; color: #9b93ab;
}

/* ---------- Misc ---------- */
.badge {
  display: inline-block; background: var(--light-blue); color: var(--dark);
  font-weight: 800; border-radius: 999px; padding: 5px 14px; font-size: .8rem; margin: 0 4px 6px 0;
}
.cert-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cert {
  background: #fff; border: 1.5px solid var(--light-blue); color: var(--dark);
  border-radius: 8px; padding: 14px 20px; font-weight: 800; font-size: .95rem;
  box-shadow: 0 2px 8px rgba(40,26,57,.05);
}
.cta-band {
  text-align: center; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--dark), #34205c);
  color: #fff; padding: clamp(30px, 5vw, 52px);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfc8dc; max-width: 640px; margin: 0 auto 1.4rem; }

.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.town-grid a {
  display: block; background: #fff; border: 1px solid rgba(40,26,57,.1);
  border-radius: 8px; padding: 10px 14px; text-align: center; font-weight: 700; color: var(--dark);
}
.town-grid a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

blockquote.quote {
  border-left: 4px solid var(--blue); background: var(--bg-alt);
  padding: 14px 20px; border-radius: 8px; margin: 0 0 1.2em; font-style: italic; color: var(--muted);
}

.iframe-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); }
.iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.notice {
  background: #fff8e6; border: 1px solid #f0dca8; border-radius: 8px;
  padding: 14px 18px; margin: 0 0 1.4rem; font-size: .92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: 0 12px 28px rgba(40,26,57,.15);
    border-radius: 0 0 14px 14px; padding: 12px 18px 20px; max-height: 78vh; overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav > ul > li > a { display: block; }
  .dropdown {
    position: static; display: block; box-shadow: none; min-width: 0;
    padding: 0 0 6px 14px; border-left: 2px solid var(--light-blue); margin-left: 8px;
  }
  .dropdown::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; padding-bottom: 54px; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row { flex-direction: row; align-items: center; justify-content: center; }
  .btn-row .btn, .hero .btn { text-align: center; }
}
