/* ============================================================
   Seacoast Plumbing Services — styles.css
   Mobile-first, modern design
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue-900: #0a2e5a;
  --blue-800: #0a3f7a;
  --blue-700: #0a4f8f;
  --blue-600: #1565c0;
  --blue-500: #1976d2;
  --blue-400: #42a5f5;
  --blue-100: #e3f2fd;
  --blue-50:  #f0f8ff;

  --orange:   #f57c00;
  --orange-light: #ff9800;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f8fafc;
  --white:    #ffffff;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.10);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;

  --container: 1180px;
  --header-h: 68px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Utility ---------- */
.bg-light { background: var(--gray-50); }
.bg-dark  { background: var(--blue-900); color: var(--white); }
.section  { padding: 72px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  margin: 8px 0 14px;
  line-height: 1.2;
}
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.section-tag.light {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(245,124,0,.35);
}
.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 20px rgba(245,124,0,.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-header {
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.btn-header:hover { background: var(--orange-light); transform: none; }

.btn-large { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-full  { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.main-nav ul {
  display: none; /* mobile: hidden until toggle */
}

/* Nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.main-nav.open ul {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 20px;
  gap: 4px;
  box-shadow: var(--shadow);
  z-index: 99;
}
.main-nav.open ul a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--gray-800);
  transition: background var(--transition), color var(--transition);
}
.main-nav.open ul a:hover {
  background: var(--blue-100);
  color: var(--blue-700);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--blue-900);
  color: var(--white);
  padding: 60px 0 80px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/hero-bg.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  /* Dark overlay so white text remains legible */
  mask-image: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.30) 55%,
    rgba(0, 0, 0, 0.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}
.hero h1 .accent { color: var(--orange-light); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: .9;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  opacity: 1;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}
.hero-wave svg { width: 100%; height: 100%; }

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}
.trust-label {
  font-size: .85rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}
.service-card p { color: var(--gray-600); font-size: .95rem; }

/* ---------- ABOUT ---------- */
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.about-img-placeholder {
  background-image: url("assets/images/hero-bg.png");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
  overflow: hidden;
  position: relative;
}
.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
}
.about-img-placeholder > * { position: relative; z-index: 1; }
.about-img-placeholder .big-icon { font-size: 4rem; }

.about-text .section-tag { margin-bottom: 12px; }
.about-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.25;
}
.about-text p { color: var(--gray-600); margin-bottom: 16px; font-size: 1rem; }

.about-list {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li { font-weight: 500; color: var(--gray-700); font-size: .95rem; }

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); }
.why-icon { font-size: 1.8rem; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.why-card p { color: var(--gray-600); font-size: .9rem; }

/* ---------- TESTIMONIALS ---------- */
.stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f59e0b;
  font-size: 1.2rem;
  margin-top: 8px;
}
.stars-row span { color: var(--gray-600); font-size: .9rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card p {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card footer strong { font-size: .95rem; color: var(--gray-900); }
.testimonial-card footer span  { font-size: .85rem; color: var(--gray-500); }

/* ---------- SERVICE AREA ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.area-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.area-group h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--blue-100);
  padding-bottom: 8px;
}
.area-group ul { display: flex; flex-direction: column; gap: 8px; }
.area-group ul li {
  color: var(--gray-700);
  font-size: .95rem;
  padding-left: 14px;
  position: relative;
}
.area-group ul li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-size: .6rem;
  top: 5px;
}
/* On mobile, all area columns stack */
@media (max-width: 639px) {
  .area-grid, .area-grid-3 { grid-template-columns: 1fr; }
}

.area-cta {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px;
  background: var(--blue-50);
  border-radius: var(--radius);
  border: 1px solid var(--blue-100);
}
.area-cta p { margin-bottom: 16px; font-weight: 600; color: var(--gray-700); }

/* ---------- CONTACT ---------- */
.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 12px 0 16px;
  color: var(--white);
}
.contact-info > p { opacity: .85; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail div { display: flex; flex-direction: column; gap: 2px; }
.contact-detail strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.contact-detail a { color: var(--white); font-weight: 600; font-size: 1rem; }
.contact-detail a:hover { text-decoration: underline; }
.contact-detail span { color: rgba(255,255,255,.85); font-size: .95rem; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(25,118,210,.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}
.form-error {
  font-size: .8rem;
  color: #ef4444;
  min-height: 1em;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .8rem; color: var(--gray-500); text-align: center; margin-top: -4px; }

/* ---------- File Upload ---------- */
.file-upload-area {
  position: relative;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: border-color var(--transition), background var(--transition);
  overflow: hidden;
}
.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--blue-500);
  background: var(--blue-50);
}
.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  pointer-events: none;
}
.file-upload-label .upload-icon { font-size: 2rem; line-height: 1; }
.file-upload-label .upload-main {
  font-size: .95rem;
  font-weight: 600;
  color: var(--blue-700);
}
.file-upload-label .upload-sub {
  font-size: .78rem;
  color: var(--gray-500);
}
.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}
.file-preview:empty { display: none; }
.preview-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-200);
  flex-shrink: 0;
}
.preview-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}
.preview-item .preview-video-thumb {
  width: 72px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--gray-800);
  color: var(--white);
  font-size: .65rem;
  font-weight: 600;
  text-align: center;
  padding: 4px;
}
.preview-item .preview-video-thumb span { font-size: 1.4rem; }
.preview-item .remove-file {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(0,0,0,.65);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  cursor: pointer;
  border: none;
  line-height: 1;
  z-index: 3;
}
.file-count-badge {
  display: inline-block;
  font-size: .78rem;
  color: var(--blue-700);
  font-weight: 600;
  padding: 2px 8px 10px 12px;
}
.form-success {
  background: #dcfce7;
  color: #166534;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 600;
  text-align: center;
  font-size: .95rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
}
.footer-brand p { font-size: .9rem; line-height: 1.6; max-width: 280px; }
.site-footer h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links ul a:hover,
.footer-services ul li { font-size: .9rem; }
.footer-links ul a:hover { color: var(--blue-400); text-decoration: underline; }
.footer-contact a { color: var(--gray-400); }
.footer-contact a:hover { color: var(--blue-400); text-decoration: underline; }
.footer-contact p { font-size: .9rem; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 18px 0;
  font-size: .82rem;
  text-align: center;
  color: var(--gray-600);
}

/* ---------- FLOATING CTA (mobile only) ---------- */
.float-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
}
.btn-float {
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  font-size: 1rem;
  padding: 14px 32px;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--blue-700);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  z-index: 90;
  box-shadow: var(--shadow);
  transition: opacity var(--transition), transform var(--transition);
}
.back-to-top:hover { background: var(--blue-600); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE — Tablet (≥ 640px)
   ============================================================ */
@media (min-width: 640px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-grid     { grid-template-columns: repeat(4, 1fr); }
  .form-row           { grid-template-columns: repeat(2, 1fr); }
  .float-cta          { display: flex; }
  .area-grid-3        { grid-template-columns: 1fr 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — Desktop (≥ 900px)
   ============================================================ */
@media (min-width: 900px) {

  /* Header */
  .nav-toggle { display: none; }
  .main-nav ul {
    display: flex;
    gap: 4px;
  }
  .main-nav ul a {
    display: block;
    padding: 8px 14px;
    font-size: .93rem;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
  }
  .main-nav ul a:hover {
    background: var(--blue-50);
    color: var(--blue-700);
  }

  /* Services */
  .services-grid { grid-template-columns: repeat(4, 1fr); }

  /* About */
  .about-inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .about-image { flex: 0 0 42%; }
  .about-img-placeholder { min-height: 420px; }

  /* Why us */
  .why-grid { grid-template-columns: repeat(3, 1fr); }

  /* Contact */
  .contact-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }
  .contact-info { flex: 1; }
  .contact-form { flex: 0 0 520px; }

  /* Footer */
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; }

  /* Hide float CTA on desktop */
  .float-cta { display: none; }
  .back-to-top { bottom: 30px; }
}

/* ============================================================
   RESPONSIVE — Large (≥ 1100px)
   ============================================================ */
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeInUp .7s ease both; }
.hero-badge   { animation: fadeInUp .5s ease both; }

/* Scroll-triggered reveal (applied via JS) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .hero-wave, .float-cta, .back-to-top, .nav-toggle { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 32px 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  background: var(--gray-100);
  padding: 12px 0;
  font-size: .85rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
}
.breadcrumb li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--gray-400);
}
.breadcrumb a { color: var(--blue-600); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--gray-600); font-weight: 600; }

/* Service page hero (shorter than homepage) */
.service-hero {
  position: relative;
  background: var(--blue-900);
  color: var(--white);
  padding: 72px 0 64px;
  overflow: hidden;
  min-height: 46vh;
  display: flex;
  align-items: center;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.service-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.20) 100%);
}
.service-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.service-hero-icon { font-size: 3rem; margin-bottom: 12px; display: block; }
.service-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.service-hero h1 .accent { color: var(--orange-light); }
.service-hero p {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  opacity: .92;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.service-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* What's Included grid */
.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.included-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow var(--transition);
}
.included-item:hover { box-shadow: var(--shadow); }
.included-item-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.included-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.included-item p  { font-size: .9rem; color: var(--gray-600); }

@media (min-width: 640px) {
  .included-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .included-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Two-col content layout */
.service-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .service-content-grid { grid-template-columns: 1fr 340px; }
}

/* Signs/checklist */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .97rem;
  color: var(--gray-700);
}
.checklist li::before {
  content: '✔';
  color: var(--blue-600);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Quick-info sidebar card */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-100);
}
.sidebar-card ul { display: flex; flex-direction: column; gap: 8px; }
.sidebar-card ul li {
  font-size: .9rem;
  color: var(--gray-700);
  padding-left: 14px;
  position: relative;
}
.sidebar-card ul li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: .6rem;
  top: 5px;
}
.sidebar-cta {
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; border: none; padding: 0; }
.sidebar-cta p  { font-size: .9rem; opacity: .85; margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; justify-content: center; }
.sidebar-cta .phone-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange-light);
  margin-top: 10px;
  text-decoration: none;
}
.sidebar-cta .phone-link:hover { text-decoration: underline; }

/* Service areas compact (service pages) */
.service-areas-compact {
  background: var(--blue-900);
  color: var(--white);
  padding: 56px 0;
}
.service-areas-compact .section-header h2 { color: var(--white); }
.service-areas-compact .section-header p  { color: rgba(255,255,255,.8); }
.service-areas-compact .section-tag { background: rgba(255,255,255,.15); color: var(--white); }
.areas-compact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .areas-compact-grid { grid-template-columns: repeat(3, 1fr); }
}
.areas-compact-group h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange-light);
  margin-bottom: 12px;
}
.areas-compact-group ul { display: flex; flex-wrap: wrap; gap: 6px; }
.areas-compact-group ul li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-banner p  { font-size: 1.05rem; opacity: .92; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-white {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.cta-banner .btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.cta-banner-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Related services */
.related-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .related-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .related-services-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}
.related-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-400);
  transform: translateY(-2px);
}
.related-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.related-card-text strong { display: block; font-size: .97rem; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.related-card-text span  { font-size: .82rem; color: var(--gray-500); }
