/* Hopkins Painting LLC — real brand palette pulled from hopkinspaintingllc.com
   (deep navy + slate-blue accent + cream, sourced from their live Squarespace
   theme's --black-hsl / --accent-hsl / --darkAccent-hsl / --white-hsl vars).
   Variable names kept as-is so the rest of this file still works. */

:root {
  --navy-950: #182241;
  --navy-900: #1d2f48;
  --navy-800: #213c4e;
  --navy-700: #3a5465;
  --coral-300: #7b949c;
  --coral-400: #7b949c;
  --coral-500: #536c7c;
  --coral-600: #213c4e;
  --coral-100: #fff5d9;
  --white: #ffffff;
  --off-white: #faf6ec;
  --ink: #182241;
  --ink-soft: #4d586e;
  --border: #e3e6ef;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 16px;
  --shadow-soft: 0 16px 34px -16px rgba(14, 24, 48, 0.35);
  --shadow-card: 0 8px 22px -12px rgba(14, 24, 48, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-950);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-950);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-600);
  margin-bottom: 0.9em;
}

.section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 0 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 14px 26px;
  min-height: 44px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--coral-500); color: var(--white); }
.btn-primary:hover { background: var(--coral-600); box-shadow: var(--shadow-soft); }

.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-coral { background: var(--coral-500); color: var(--white); }
.btn-coral:hover { background: var(--coral-600); }

.btn-block { width: 100%; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo {
  display: block;
  width: 42px;
  height: 42px;
  max-height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); color: var(--navy-950); font-size: 1.08rem; }
.brand-text span { font-size: 0.78rem; color: var(--ink-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; order: 2; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-950);
  text-decoration: none;
  min-height: 44px;
  padding: 0 6px;
}
.header-phone svg { width: 18px; height: 18px; color: var(--coral-600); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-950); border-radius: 2px; }

.main-nav {
  width: 100%;
  order: 3;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.main-nav.is-open { max-height: 500px; }
.main-nav ul {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
}
.main-nav a:hover { background: var(--off-white); }
.nav-cta { justify-content: center; margin-top: 6px; }

@media (min-width: 900px) {
  .header-actions { order: 0; }
  .nav-toggle { display: none; }
  .main-nav { width: auto; order: 0; max-height: none; overflow: visible; }
  .main-nav ul { flex-direction: row; align-items: center; gap: 6px; margin: 0; }
  .main-nav a { padding: 0 12px; }
  .nav-cta { margin-top: 0; margin-left: 6px; }
}

/* HERO */
.hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 36px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,143,112,0.14);
  border: 1px solid rgba(255,143,112,0.4);
  color: var(--coral-300);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2em;
}
.hero-badge .stars { color: var(--coral-400); letter-spacing: 1px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  margin-bottom: 0.5em;
}
.hero h1 em { color: var(--coral-400); font-style: normal; }
.hero-sub { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 54ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.hero-points { display: flex; flex-direction: column; gap: 10px; margin-top: 0.6em; }
.hero-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.hero-point svg { width: 18px; height: 18px; color: var(--coral-400); flex-shrink: 0; }

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px;
}
.hero-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.swatch { display: block; height: 52px; border-radius: 10px; }
.swatch-1 { background: var(--coral-500); }
.swatch-2 { background: var(--coral-300); }
.swatch-3 { background: #dfe6f5; }
.swatch-4 { background: var(--white); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--coral-400); }
.hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.75); }

@media (min-width: 900px) {
  .hero { padding: 78px 0 68px; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}

/* TRUST BAR */
.trust-bar { background: var(--coral-100); border-bottom: 1px solid var(--border); }
.trust-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}
.trust-bar-inner span { display: flex; align-items: center; gap: 8px; }
.trust-bar-inner svg { width: 18px; height: 18px; color: var(--coral-600); flex-shrink: 0; }

/* SERVICES */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  border-top: 3px solid var(--coral-500);
}
.service-card.is-commercial { border-top-color: var(--navy-800); }
.service-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-950);
  border-radius: 10px;
  margin-bottom: 14px;
  color: var(--coral-400);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 0.4em; }
.service-card p { font-size: 0.95rem; margin: 0; }

@media (min-width: 620px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* PROCESS */
.process { background: var(--navy-950); color: var(--white); }
.process .eyebrow { color: var(--coral-400); }
.process .section-head h2 { color: var(--white); }
.process .section-head p { color: rgba(255,255,255,0.75); }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.process-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.process-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--coral-500);
  margin-bottom: 0.3em;
}
.process-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.4em; }
.process-card p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin: 0; }

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ABOUT */
.about { background: var(--off-white); }
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.about-stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-950); }
.about-stat span { font-size: 0.82rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.2fr 0.8fr; }
}

/* GALLERY */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gallery-tile {
  position: relative;
  height: 200px;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}
.gallery-tile span {
  position: relative;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  background: rgba(14,24,48,0.55);
  padding: 6px 12px;
  border-radius: 8px;
}
.gallery-1 { background: linear-gradient(135deg, var(--coral-500), var(--coral-300)); }
.gallery-2 { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.gallery-3 { background: linear-gradient(135deg, #dfe6f5, var(--coral-300)); }
.gallery-4 { background: linear-gradient(135deg, var(--navy-800), var(--coral-500)); }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* TESTIMONIALS (React island) */
.testimonials { background: var(--coral-100); }
.tc-wrap { max-width: 720px; margin: 0 auto; }
.tc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.tc-stars { color: var(--coral-500); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 0.6em; }
.tc-quote { font-size: 1.12rem; color: var(--ink); font-style: italic; margin-bottom: 1em; }
.tc-meta { display: flex; flex-direction: column; gap: 2px; }
.tc-name { font-family: var(--font-head); font-weight: 600; color: var(--navy-950); }
.tc-detail { font-size: 0.85rem; color: var(--ink-soft); }

.tc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.tc-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-950);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-btn:hover { background: var(--coral-500); color: var(--white); border-color: var(--coral-500); }
.tc-dots { display: flex; gap: 8px; }
.tc-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}
.tc-dot.is-active { background: var(--coral-500); width: 22px; border-radius: 999px; }

/* SERVICE AREA */
.area { background: var(--white); }
.area-grid { display: grid; gap: 30px; align-items: start; }
.area-list {
  list-style: none;
  margin: 1.2em 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
.area-list li { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.area-list svg { width: 16px; height: 16px; color: var(--coral-600); flex-shrink: 0; }

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 900px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
  .map-frame { aspect-ratio: auto; height: 100%; min-height: 380px; }
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}
.cta-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.cta-band-inner h2 { color: var(--white); margin-bottom: 0.2em; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.cta-band-inner p { color: rgba(255,255,255,0.78); margin: 0; }

@media (min-width: 760px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* CONTACT */
.contact { background: var(--off-white); }
.contact-grid { display: grid; gap: 22px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.contact-item:first-of-type { border-top: none; }
.contact-item svg { width: 20px; height: 20px; color: var(--coral-600); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-family: var(--font-head); font-size: 0.9rem; margin-bottom: 2px; }
.contact-item a { text-decoration: none; color: var(--navy-900); font-weight: 600; }
.contact-item a:hover { color: var(--coral-600); }

.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--navy-950); }
.form-row input,
.form-row select,
.form-row textarea {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--off-white);
  color: var(--ink);
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: 2px solid var(--coral-500); outline-offset: 1px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* FOOTER */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.85); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 24px;
  display: grid;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand strong { font-family: var(--font-head); color: var(--white); font-size: 1.05rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.8em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--coral-400); }
.footer-col li { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 20px 28px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
}
