/* Garvin's Home Innovations — clean Shore navy/wood, anti-cutoff */
:root {
  --navy: #1a2f4a;
  --navy-dark: #122033;
  --wood: #8b5a2b;
  --wood-soft: #c4a574;
  --cream: #f7f4ef;
  --ink: #1c1c1c;
  --muted: #444;
  --line: #d8d0c4;
  --white: #fff;
  --call: #1e6b3a;
  --call-hover: #15522c;
  --max: 960px;
  --pad: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--navy);
}

a:hover {
  color: var(--wood);
}

/* Anti-cutoff: never clip copy */
p,
li,
blockquote,
.faq dd,
.review blockquote,
.lead,
.footer-towns {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1,
h2,
h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.75rem;
  overflow: visible;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.15rem);
}

.nowrap {
  white-space: nowrap;
  hyphens: none;
  -webkit-hyphens: none;
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin-top: 1.75rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  max-width: 42rem;
}

li {
  margin-bottom: 0.4rem;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--wood);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1.3;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
}

.brand-text {
  display: block;
}

.brand span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--wood-soft);
}

.btn-call {
  display: inline-block;
  background: var(--call);
  color: var(--white) !important;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  border: 2px solid transparent;
  line-height: 1.3;
  white-space: nowrap;
}

.btn-call:hover {
  background: var(--call-hover);
  color: var(--white) !important;
}

.btn-call-lg {
  font-size: 1.2rem;
  padding: 0.95rem 1.4rem;
}

.btn-email {
  display: inline-block;
  background: var(--white);
  color: var(--navy) !important;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.95rem 1.4rem;
  border-radius: 6px;
  border: 2px solid var(--navy);
  line-height: 1.3;
}

.btn-email:hover {
  background: var(--cream);
  color: var(--navy) !important;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--wood-soft);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
}

.nav {
  width: 100%;
  background: var(--navy-dark);
}

.nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0.4rem var(--pad);
  max-width: var(--max);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  display: inline-block;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--wood-soft);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav {
    display: none;
  }
  .nav.is-open {
    display: block;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
  }
  .nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
  }
}

/* Hero / main */
main {
  padding: 1.5rem 0 2.5rem;
}

.hero {
  padding: 1.5rem 0 1rem;
}

.hero-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.photo {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ddd;
}

.photo-caption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Path buttons — big for Shore clients */
.path-grid {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

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

.path-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1.1rem 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white) !important;
  border: 2px solid var(--navy);
  line-height: 1.3;
}

.path-btn:hover {
  background: var(--navy-dark);
  color: var(--white) !important;
}

.path-btn.secondary {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--navy);
}

.path-btn.secondary:hover {
  background: var(--cream);
}

.path-btn.call {
  background: var(--call);
  border-color: var(--call);
  grid-column: 1 / -1;
}

/* Reviews */
.reviews {
  margin: 2rem 0;
}

.review {
  background: var(--white);
  border-left: 4px solid var(--wood);
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  border-radius: 0 6px 6px 0;
}

.review blockquote {
  margin: 0 0 0.5rem;
  font-style: italic;
  max-width: none;
}

.review cite {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  margin: 2rem 0 1rem;
}

.faq dt {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1rem;
}

.faq dd {
  margin: 0.35rem 0 0;
  padding: 0;
  max-width: 42rem;
}

/* Contact card */
.nap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  margin: 1rem 0 1.5rem;
  max-width: 28rem;
}

.nap p {
  margin: 0.25rem 0;
}

.nap a {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 1.5rem var(--pad);
  margin: 2rem 0 0;
  border-radius: 8px;
  text-align: center;
}

.cta-band h2 {
  color: var(--cream);
  margin-top: 0;
}

.cta-band p {
  color: var(--cream);
  margin-left: auto;
  margin-right: auto;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.steps li {
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--line);
  max-width: 42rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2rem;
  height: 2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.town-list {
  columns: 1;
}

@media (min-width: 560px) {
  .town-list {
    columns: 2;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: var(--cream);
  padding: 1.75rem 0 2rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer a {
  color: var(--wood-soft);
}

.site-footer p {
  margin: 0.35rem 0;
  max-width: none;
}

.footer-towns {
  color: var(--wood-soft);
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gallery — large phone-friendly tiles, no crop of captions */
.gallery {
  margin: 2rem 0 2.25rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}
.gallery-grid img {
  width: 100%;
  height: auto;
}
.gallery-grid figcaption {
  padding: 0.6rem 0.75rem 0.75rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
}
@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.photo-coming {
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  background: #e8e2d8;
  color: var(--muted);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
}


/* Footer nav — Priority 1 draft */
.footer-nav {
  margin: 1rem 0 0.75rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  color: var(--wood-soft);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-nav a[aria-current="page"] {
  color: var(--cream);
  text-decoration: underline;
}

/* Footer social — Facebook + Google (proof draft) */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 0.35rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--wood-soft);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
}

.footer-social-link:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-social-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

/* Contact map — local draft. No hours. */
.map-embed {
  margin: 1.25rem 0 0.5rem;
}
.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 8px;
}
