/* =================================================================
   Langley Pressure Washing — landing page styles
   Brand palette extracted from langleypressurewashing.com CSS:
   Primary brand color is #33CCFF (used 72 times in site stylesheet).
   Mobile-first.
   ================================================================= */

:root {
  /* Brand colors */
  --color-accent: #33CCFF;          /* PRIMARY BRAND — bright cyan/aqua */
  --color-accent-hover: #1AB3EB;    /* Slightly darker for button hover */
  --color-accent-on-light: #006E99; /* Darker cyan for link text on white (WCAG AA) */
  --color-accent-on-dark: #7FE0FF;  /* Light aqua highlights on dark bg */

  /* Surfaces */
  --color-primary: #14212F;         /* Headings, body text */
  --color-bg: #FFFFFF;
  --color-bg-soft: #F6F7F9;
  --color-bg-dark: #0B2A3D;         /* Dark teal-navy for hero/footer/CTA band */
  --color-bg-dark-2: #14384D;       /* Slightly lighter for gradient end-point */

  /* Text */
  --color-text: #14212F;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-accent: #14212F;  /* Dark text on aqua buttons (high contrast) */
  --color-text-muted: #5A6573;
  --color-border: #E5E8EC;

  /* Status */
  --color-success: #22A87B;
  --color-star: #F6B100;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15,30,46,0.06);
  --shadow-md: 0 4px 14px rgba(11,42,61,0.10);
  --shadow-lg: 0 12px 32px rgba(11,42,61,0.18);

  --container-max: 1160px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;

  --font-headline: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 {
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-family: var(--font-headline);
}
h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--space-2); }
a { color: var(--color-accent-on-light); }
a:hover, a:focus { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-3); }

.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--color-primary);
  color: var(--color-text-on-dark); padding: 0.5rem 1rem; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0 1.25rem;
  font-weight: 700; font-size: 1rem;
  border-radius: var(--radius-md); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  font-family: var(--font-headline);
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--color-accent); color: var(--color-text-on-accent); }
.btn-primary:hover, .btn-primary:focus { background: var(--color-accent-hover); color: var(--color-text-on-accent); }

.btn-secondary {
  background: rgba(255,255,255,0.10); color: #fff;
  border-color: rgba(255,255,255,0.55); backdrop-filter: blur(4px);
}
.btn-secondary:hover, .btn-secondary:focus { background: rgba(255,255,255,0.18); color: #fff; }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.logo img { height: 36px; width: auto; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--color-accent); color: var(--color-text-on-accent);
  padding: 0.7rem 1rem; border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; min-height: 44px;
}
.header-phone:hover, .header-phone:focus {
  background: var(--color-accent-hover); color: var(--color-text-on-accent); text-decoration: none;
}
.header-phone-num { letter-spacing: 0.01em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--color-text-on-dark);
  isolation: isolate;
  padding: var(--space-5) 0 var(--space-5);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(135deg, rgba(11,42,61,0.85) 0%, rgba(20,56,77,0.65) 100%),
    /* REPLACE WITH REAL HERO IMAGE if going full-bleed instead of split layout */
    radial-gradient(circle at 30% 20%, rgba(127,224,255,0.18), transparent 50%),
    linear-gradient(180deg, #14384D 0%, #0B2A3D 100%);
  background-size: cover;
  background-position: center;
}
.hero-inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-accent-on-dark); margin-bottom: var(--space-2);
}
.hero-h1 { color: #fff; margin-bottom: var(--space-2); }
.hero-subhead {
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
  color: rgba(255,255,255,0.95);
  margin-bottom: var(--space-3);
}
.trust-strip {
  list-style: none; padding: 0; margin: 0 0 var(--space-3);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
}
.trust-strip li { display: flex; align-items: center; gap: 0.45rem; }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: var(--space-2);
}
.hero-ctas .btn { flex: 1 1 240px; }
.hero-microcopy { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin: 0; }

/* ---------- Hero media (image placeholder) ---------- */
.hero-media {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 260px;
}
.hero-media picture {
  display: block; width: 100%; max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-media img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 35%;
}
.hero-media-placeholder {
  width: 100%; max-width: 460px; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.5rem; padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg,
      rgba(51,204,255,0.10), rgba(51,204,255,0.10) 14px,
      rgba(127,224,255,0.20) 14px, rgba(127,224,255,0.20) 28px);
  border: 2px dashed rgba(127,224,255,0.55);
  color: rgba(255,255,255,0.92);
}
.hero-media-icon { font-size: 2.5rem; line-height: 1; }
.hero-media-title { font-weight: 700; margin: 0; font-size: 1.05rem; font-family: var(--font-headline); }
.hero-media-instruction { font-size: 0.85rem; opacity: 0.88; margin: 0; }
.hero-media-instruction code {
  background: rgba(255,255,255,0.12);
  padding: 2px 6px; border-radius: 4px;
  font-size: 0.85em;
}
.hero-media-tip { font-size: 0.78rem; opacity: 0.7; margin: 0.25rem 0 0; }

/* ---------- Sections ---------- */
section { padding: var(--space-5) 0; }
.section-head { text-align: center; margin-bottom: var(--space-4); }
.section-head h2 { margin-top: 0.25rem; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent-on-light); margin: 0;
}

/* ---------- Form section ---------- */
.form-section {
  background: var(--color-bg-soft);
  padding-top: var(--space-5); padding-bottom: var(--space-5);
}
.form-grid {
  display: grid; gap: var(--space-4);
}
.form-copy h2 { margin-bottom: var(--space-2); }
.form-copy p { color: var(--color-text-muted); margin-bottom: var(--space-2); }
.form-bullets { list-style: none; padding: 0; margin: 0; }
.form-bullets li { padding: 0.35rem 0; color: var(--color-text); font-weight: 600; }

.form-card {
  background: #fff; padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.quote-form label {
  display: block; font-size: 0.9rem; font-weight: 700;
  color: var(--color-primary); margin: 0 0 var(--space-2);
}
.quote-form input,
.quote-form select {
  display: block; width: 100%; margin-top: 0.35rem;
  min-height: 50px; padding: 0 0.85rem;
  font-family: inherit; font-size: 1rem;
  background: #fff; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  -webkit-appearance: none; appearance: none;
}
.quote-form input:focus,
.quote-form select:focus {
  outline: 3px solid var(--color-accent); outline-offset: 0;
  border-color: var(--color-accent);
}
.quote-form .btn-primary { margin-top: var(--space-2); }
.form-label-note { font-size: 0.8rem; color: var(--color-text-muted); margin: 0 0 var(--space-2); }
.form-fineprint { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.75rem; }

/* ---------- Why us ---------- */
.why-us { background: #fff; }
.why-grid { display: grid; gap: var(--space-3); }
.why-card {
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.why-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.why-card h3 { margin-bottom: 0.5rem; }
.why-card p { color: var(--color-text-muted); margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--color-bg-soft); }
.services-grid { display: grid; gap: var(--space-3); }
.service-tile {
  display: block; padding: 0;
  background: #fff; color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.service-tile:hover, .service-tile:focus {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  text-decoration: none; color: var(--color-text);
}
.service-img {
  aspect-ratio: 1 / 1;
  background: var(--color-bg-soft);
  position: relative; overflow: hidden;
  display: block;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  display: block;
}
/* Aqua-toned gradient placeholders for tiles without real photos yet */
.service-img-driveway { background: linear-gradient(135deg,#14384D,#33CCFF); }
.service-img-gutter   { background: linear-gradient(135deg,#0B2A3D,#5BA6C2); }
.service-img-deck     { background: linear-gradient(135deg,#0B2A3D,#1AB3EB); }
.service-img-window   { background: linear-gradient(135deg,#7FE0FF,#FFFFFF); }

.service-tile h3 { padding: 1rem 1rem 0.25rem; margin: 0; }
.service-tile p {
  padding: 0 1rem; color: var(--color-text-muted); margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.service-cta {
  display: block; padding: 0.75rem 1rem 1rem;
  font-weight: 700; color: var(--color-accent-on-light); font-size: 0.95rem;
}

/* ---------- Process ---------- */
.process { background: #fff; }
.process-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: var(--space-3);
}
.process-step {
  position: relative; padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 56px);
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
}
.step-num {
  position: absolute; left: var(--space-3); top: var(--space-3);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-text-on-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem;
  font-family: var(--font-headline);
}
.process-step h3 { margin-bottom: 0.4rem; }
.process-step p { color: var(--color-text-muted); margin: 0; }

/* ---------- Reviews ---------- */
.reviews { background: var(--color-bg-soft); }
.reviews-stat {
  text-align: center; margin-bottom: var(--space-4);
  font-size: 1.05rem;
}
.reviews-stars { color: var(--color-star); font-size: 1.4rem; letter-spacing: 2px; display: block; margin-bottom: 0.25rem; }
.reviews-grid {
  display: grid; gap: var(--space-3);
}
.review-card {
  background: #fff; padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--color-star); font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
.review-card blockquote { margin: 0 0 0.75rem; font-size: 1rem; line-height: 1.55; color: var(--color-text); }
.review-card footer { color: var(--color-text-muted); font-size: 0.9rem; }
.reviews-link { text-align: center; margin-top: var(--space-3); }

/* ---------- Gallery ---------- */
.gallery { background: #fff; }
.gallery-grid { display: grid; gap: var(--space-3); }
.gallery-item { margin: 0; }
.gallery-img {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-soft);
}
.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
}
.gallery-item figcaption {
  margin-top: 0.5rem; font-weight: 600; color: var(--color-text-muted); font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq { background: var(--color-bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 1rem 1.25rem;
  font-weight: 700; color: var(--color-primary);
  font-size: 1.02rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-headline);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400;
  color: var(--color-accent-on-light);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--color-bg-soft); }
.faq-answer { padding: 0 1.25rem 1rem; color: var(--color-text); }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--color-accent-on-light); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(circle at 80% 30%, rgba(51,204,255,0.2), transparent 60%),
    linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-2) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); margin-bottom: var(--space-3); }
.cta-band-buttons {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
}
.cta-band-buttons .btn { flex: 0 1 280px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark); color: rgba(255,255,255,0.85);
  padding: var(--space-5) 0 0;
}
.footer-grid {
  display: grid; gap: var(--space-4); padding-bottom: var(--space-4);
}
.footer-logo { height: 36px; width: auto; margin-bottom: 0.75rem; }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-nap {
  font-style: normal;
  font-size: 1rem; line-height: 1.6; margin: 0 0 1rem;
  color: rgba(255,255,255,0.92);
}
.footer-nap a { color: var(--color-accent-on-dark); font-weight: 700; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  display: inline-flex; align-items: center; padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-md);
  color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 600;
}
.footer-socials a:hover { background: rgba(255,255,255,0.08); }
.site-footer h4 {
  color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 0.2rem 0; font-size: 0.95rem; }
.footer-list a { color: rgba(255,255,255,0.8); }
.footer-list a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: var(--space-2) 0;
  text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer-legal p { margin: 0; }

/* ---------- Sticky mobile bar ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 0.5rem;
  background: var(--color-bg-dark);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -4px 14px rgba(0,0,0,0.2);
  transform: translateY(100%); transition: transform 0.25s ease;
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
.mobile-cta-bar a {
  flex: 1; min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border-radius: var(--radius-md);
  font-family: var(--font-headline);
}
.mobile-cta-call { background: var(--color-accent); color: var(--color-text-on-accent); }
.mobile-cta-quote {
  background: rgba(255,255,255,0.10); color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

/* avoid mobile bar covering footer content */
@media (max-width: 768px) {
  body { padding-bottom: 70px; }
}

/* ---------- Desktop overrides (mobile-first) ---------- */
@media (min-width: 769px) {
  .container { padding: 0 var(--space-4); }
  section { padding: var(--space-6) 0; }
  .header-inner { min-height: 72px; }
  .logo img { height: 40px; }
  .hero { padding: var(--space-6) 0; }

  .hero-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-5);
  }
  .hero-text { max-width: none; }
  .hero-media { min-height: 480px; }

  .trust-strip { grid-template-columns: repeat(2, auto); gap: 0.6rem 1.25rem; justify-content: start; }
  .hero-ctas .btn { flex: 0 1 auto; min-width: 240px; }

  .form-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--space-5); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(4, auto); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
