/* ==========================================================================
   AC Guttering — site stylesheet
   Brand: red #C32B30, blue #1B75BC (from logo)
   ========================================================================== */

:root {
  --red: #c32b30;
  --red-dark: #a31f24;
  --blue: #1b75bc;
  --blue-dark: #145a91;
  --navy: #142a3d;
  --ink: #243341;
  --muted: #5a6b7b;
  --line: #dde5ec;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(20, 42, 61, 0.08);
  --shadow-lg: 0 8px 30px rgba(20, 42, 61, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* anchor sections land below the sticky header */
section[id] { scroll-margin-top: 95px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* --- Top bar ------------------------------------------------------------ */
.topbar {
  background: var(--navy);
  color: #cfdbe6;
  font-size: 0.875rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding-top: 0.4rem; padding-bottom: 0.4rem;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar-contact { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar-hours { white-space: nowrap; }
@media (max-width: 700px) {
  .topbar-hours { display: none; }
}

/* --- Header / nav ------------------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 4px rgba(20,42,61,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 150px; height: 79px; object-fit: contain; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--navy);
  margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav ul {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: 0.55rem 0.85rem;
  color: var(--navy); text-decoration: none; font-weight: 600; border-radius: 6px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); background: var(--bg-alt); }
.site-nav .nav-cta a { background: var(--red); color: #fff; margin-left: 0.5rem; }
.site-nav .nav-cta a:hover { background: var(--red-dark); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1.25rem; gap: 0.25rem; }
  .site-nav .nav-cta a { margin-left: 0; text-align: center; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1d3a54 55%, var(--blue-dark) 100%);
  color: #e8f0f7;
  padding: 4rem 0 4.5rem;
}
.hero .container {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero .lead { font-size: 1.2rem; color: #cfdde9; margin-bottom: 1.75em; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover;
}
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.98rem; }
.hero-points li { padding-left: 1.7rem; position: relative; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #6fd07e; font-weight: 800;
}
@media (max-width: 880px) {
  .hero { padding: 2.75rem 0 3rem; }
  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Sections ------------------------------------------------------------ */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* --- Cards / grids ------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); flex: 1; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .card-link { font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " →"; }

/* --- Trust badges -------------------------------------------------------- */
.badges {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2.5rem; padding: 1.5rem 0;
}
.badges img { height: 56px; width: auto; filter: grayscale(35%); opacity: 0.85; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1rem; font-weight: 600; font-size: 0.95rem; color: var(--navy);
}
.badge-pill svg { flex-shrink: 0; }

/* --- Steps (how it works) ------------------------------------------------ */
.steps { counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--muted); margin: 0; }

/* --- Reviews ------------------------------------------------------------- */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.75rem;
}
.review .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 0.6rem; }
.review blockquote { margin: 0 0 1rem; font-style: italic; color: var(--ink); }
.review cite { font-style: normal; font-weight: 700; color: var(--navy); }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; text-align: center; padding: 3.5rem 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe2e3; font-size: 1.15rem; max-width: 640px; margin: 0 auto 1.75em; }
.cta-band .btn-secondary { background: #fff; color: var(--red); }
.cta-band .btn-secondary:hover { background: #f3f3f3; color: var(--red-dark); }
.cta-band .phone-line { margin-top: 1.25rem; font-size: 1.05rem; }
.cta-band .phone-line a { color: #fff; font-weight: 800; text-decoration: none; }

/* --- Service area -------------------------------------------------------- */
.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.area-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.95rem; font-size: 0.95rem; font-weight: 600; color: var(--navy);
}

/* --- Service page layout -------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: #dce8f2; padding: 3rem 0;
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { font-size: 1.15rem; max-width: 760px; margin: 0; color: #c9d9e7; }
.breadcrumbs { font-size: 0.875rem; margin-bottom: 1.25rem; color: #9db4c8; }
.breadcrumbs a { color: #c9d9e7; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.content-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.content-split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); position: sticky; top: 110px; }
@media (max-width: 880px) {
  .content-split { grid-template-columns: 1fr; }
  .content-split img { position: static; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.checklist li { padding-left: 1.9rem; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 800;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.4rem; margin-bottom: 0.75rem;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq p { color: var(--muted); margin: 0; }

/* --- Forms ----------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid #c4d0da; border-radius: 8px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.2rem; border-radius: 8px; display: none; font-weight: 600; }
.form-status.success { display: block; background: #e7f6ea; color: #1c6b2d; border: 1px solid #b5e0bf; }
.form-status.error { display: block; background: #fdecec; color: #9b1c1c; border: 1px solid #f3c0c0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- Contact info ----------------------------------------------------------- */
.contact-info { display: grid; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.contact-item h3 { margin-bottom: 0.2em; font-size: 1.05rem; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-item a { font-weight: 700; text-decoration: none; }

/* --- Gallery ----------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-grid figcaption { padding: 0.85rem 1.1rem; font-size: 0.95rem; color: var(--muted); }

/* --- Booking embed ------------------------------------------------------------ */
.booking-frame {
  width: 100%; height: 1100px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
}

/* --- Footer --------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #b9c9d8; padding: 3.5rem 0 0; font-size: 0.95rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: #d8e4ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { background: #fff; border-radius: 8px; padding: 0.5rem 0.75rem; display: inline-block; margin-bottom: 1rem; }
.footer-logo img { width: 140px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 0; text-align: center; font-size: 0.85rem; color: #8fa3b5;
}

/* --- Utility -------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
