:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --card: #ffffff;
  --border: #e4e4e7;
  --text: #171a20;
  --text-muted: #5c5e62;
  --accent: #1e3a8a;
  --accent-light: #3050a8;
  --accent-tint: #e9eefb;
  --radius: 12px;
  --max-width: 1160px;
  --nav-h: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(23, 26, 32, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.logo span {
  color: var(--accent);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--text);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 200px;
  padding: 6px;
  margin: 14px 0 0;
  list-style: none;
  box-shadow: 0 12px 32px rgba(23, 26, 32, 0.1);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dropdown li a:hover {
  background: var(--accent-tint);
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(23, 26, 32, 0.08);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 16px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.mobile-menu .mobile-locations-list a {
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.mobile-menu .mobile-cta {
  padding: 16px 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background: #000;
}

.btn-outline {
  border-color: var(--text);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(23, 26, 32, 0.05);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 0.88rem;
  font-weight: 500;
  min-width: 220px;
}

/* Full-bleed snap sections */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  text-align: center;
  overflow: hidden;
  scroll-snap-align: start;
}

.bg-hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(30, 58, 138, 0.06), transparent 60%), var(--bg);
}

.bg-tint {
  background: var(--bg-alt);
}

.bg-why {
  background: var(--bg);
}

.bg-locations {
  background: var(--bg-alt);
}

.hero-top {
  max-width: 780px;
  margin: 0 auto;
}

.hero-top .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-top h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.hero-top p.subtitle {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.cta-stack {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-cue {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(23, 26, 32, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  animation: bounce 2.4s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Tint swatch — abstract visual standing in for product photography */
.tint-swatch {
  width: min(560px, 100%);
  height: 240px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #23262c 0%, #4b515c 35%, #9aa1ab 70%, #ececee 100%);
  box-shadow: 0 24px 60px -24px rgba(23, 26, 32, 0.35);
}

.tint-swatch::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 40%;
  height: 140%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 60%);
  transform: rotate(12deg);
}

.tint-swatch-sm {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Locations — light cards over the full-bleed section */
.locations-glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.light-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(23, 26, 32, 0.04);
}

.light-card .badge {
  align-self: flex-start;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.light-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.light-card .meta-row {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.light-card .rating {
  color: var(--accent);
  font-weight: 600;
}

.light-card .btn {
  margin-top: 8px;
  align-self: flex-start;
}

.light-card.coming-soon {
  border-style: dashed;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
}

/* Standard (non-snap) sections below the fold */
.standard-section {
  padding: 100px 0;
  scroll-snap-align: none;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header .eyebrow {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin: 6px 0 14px;
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
}

.alt-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: 0 1px 3px rgba(23, 26, 32, 0.04);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--text);
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-card li {
  margin-bottom: 4px;
}

/* Why ceramic / Hitek benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(23, 26, 32, 0.04);
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--text);
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hitek-callout {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--accent-tint);
  border-radius: var(--radius);
  flex-wrap: wrap;
}

.hitek-callout p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.hitek-callout strong {
  color: var(--accent);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  margin-top: 0;
  color: var(--text);
}

.about-content p {
  color: var(--text-muted);
}

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-row .stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--accent);
}

.stat-row .stat span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Contact */
.form-placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  color: var(--text-muted);
  background: #fff;
  margin-bottom: 40px;
}

.form-placeholder strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.quick-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.quick-contact-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-contact-list .meta-row {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Location detail page */
.location-hero {
  padding: calc(var(--nav-h) + 50px) 0 50px;
  border-bottom: 1px solid var(--border);
}

.location-hero .breadcrumb {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.location-hero .breadcrumb a {
  color: var(--accent);
}

.location-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
}

.detail-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(23, 26, 32, 0.04);
}

.detail-block h3 {
  margin-top: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text);
}

.map-embed {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
}

/* Location picker popup */
.location-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(23, 26, 32, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.location-popup-overlay[hidden] {
  display: none;
}

.location-popup {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 64px rgba(23, 26, 32, 0.25);
  text-align: center;
  animation: popup-in 0.25s ease;
}

@keyframes popup-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.location-popup h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--text);
}

.location-popup p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
}

.popup-close:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.popup-locations {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.popup-location-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s;
}

.popup-location-btn:hover {
  border-color: var(--text);
}

.popup-distance {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

#use-my-location {
  width: 100%;
}

/* Nav location chip */
.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.location-chip:hover {
  border-color: var(--text);
  color: var(--text);
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  scroll-snap-align: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a,
.footer-grid p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 860px) {
  .main-nav ul,
  .nav-right .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .about-content,
  .location-detail-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-stack {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .btn-lg {
    min-width: 0;
  }
}
