/* ============================================================
   THE PIPE GUY — Shared Stylesheet
   Plumber | Kildare, Dublin & Portlaoise
   Built with: irish-visual-system + tradesman-web-design skills
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — Design Tokens
   ============================================================ */
:root {
  /* Brand Colours — Navy & Orange (matches The Pipe Guy logo) */
  --color-primary:       #1B2E4A;
  --color-primary-light: #263D5F;
  --color-primary-dark:  #0F1C2E;
  --color-accent:        #E8611A;
  --color-accent-dark:   #C94F0E;
  --color-accent-light:  #F4845A;

  /* Surfaces */
  --color-surface:       #FFFFFF;
  --color-surface-alt:   #F7F3EE;  /* warm cream — mirrors logo bg */
  --color-surface-dark:  #0F1C2E;
  --color-border:        #E2E8F0;
  --color-border-light:  #F1F5F9;

  /* Text */
  --color-text-primary:   #1B2E4A;
  --color-text-secondary: #566779;
  --color-text-light:     #FFFFFF;
  --color-text-muted:     #8899AA;

  /* Status */
  --color-success:  #16A34A;
  --color-urgent:   #DC2626;

  /* Typography */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:     1200px;
  --container-padding: 1.5rem;
  --header-height:     72px;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-accent: 0 4px 20px rgba(232,97,26,0.35);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow { max-width: 800px; }

.section        { padding: var(--space-16) 0; }
.section--alt   { background: var(--color-surface-alt); }
.section--dark  { background: var(--color-primary-dark); color: white; }
.section--navy  { background: var(--color-primary); color: white; }

/* Section headers */
.section-header { text-align: center; margin-bottom: var(--space-12); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.section--dark .section-title,
.section--navy .section-title { color: white; }

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.section--dark .section-subtitle,
.section--navy .section-subtitle { color: rgba(255,255,255,0.75); }

.divider {
  width: 56px;
  height: 4px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin: var(--space-4) auto 0;
}
.divider--left { margin-left: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232,97,26,0.45);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.55);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: white; }

.btn-dark {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn-dark:hover { background: var(--color-primary-light); transform: translateY(-2px); }

.btn-urgent {
  background: var(--color-urgent);
  color: white;
  border-color: var(--color-urgent);
}
.btn-urgent:hover { background: #b91c1c; transform: translateY(-2px); }

.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-xl); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: var(--text-base); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-height);
  background: var(--color-primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-5);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Desktop Nav */
.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.main-nav a:hover,
.main-nav a.active { color: white; background: rgba(255,255,255,0.08); }
.main-nav a.active { color: var(--color-accent); }

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  color: white;
  background: var(--color-accent);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}
.header-phone:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.header-phone svg { width: 16px; height: 16px; }

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-4) var(--space-6) var(--space-6);
  z-index: 199;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.82);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--color-accent); }
.mobile-menu-phone {
  display: flex !important;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-accent) !important;
  color: white !important;
  border-radius: var(--radius-md);
  padding: var(--space-4) !important;
  margin-top: var(--space-4);
  border-bottom: none !important;
  justify-content: center;
  font-size: var(--text-xl) !important;
}
.mobile-menu-phone svg { width: 20px; height: 20px; }

/* Mobile sticky CTA bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 198;
  padding: var(--space-3) var(--space-4);
  background: var(--color-primary-dark);
  border-top: 2px solid var(--color-accent);
}
.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-accent);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  letter-spacing: 0.03em;
}
.mobile-sticky-cta svg { width: 22px; height: 22px; }

/* ============================================================
   HERO SECTION — Photo + Overlay (Pattern B)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,22,36,0.92) 0%,
    rgba(27,46,74,0.78) 55%,
    rgba(15,28,46,0.65) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  width: 100%;
}

.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(232,97,26,0.15);
  border: 1px solid rgba(232,97,26,0.4);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F4A57A;
  margin-bottom: var(--space-5);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  color: white;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
}
.hero-title .accent { color: var(--color-accent); }

.hero-subtitle {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-xl));
  color: rgba(255,255,255,0.84);
  margin-bottom: var(--space-8);
  max-width: 540px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.trust-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
}
.trust-anchor-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
}
.trust-anchor-item svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; }

.section-divider {
  height: 3px;
  background: var(--color-accent);
}

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(232,97,26,0.18); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 54px; height: 54px;
  background: rgba(232,97,26,0.1);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 28px; height: 28px; color: var(--color-accent); }

.service-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  line-height: 1.15;
}
.service-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.65;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-accent);
  margin-top: auto;
  transition: gap var(--transition-fast);
}
.service-link:hover { gap: var(--space-3); }
.service-link svg { width: 16px; height: 16px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
.about-content .section-eyebrow,
.about-content .section-title { text-align: left; }

.about-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.about-list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); }
.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
}
.about-list-item svg { width: 20px; height: 20px; color: var(--color-success); flex-shrink: 0; margin-top: 2px; }

.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background: var(--color-surface-alt);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface-alt);
  display: block;
}
.gallery-item picture {
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}
.gallery-item.tall img  { height: 260px; }
.gallery-item.wide      { grid-column: span 2; }
.gallery-item.wide img  { height: 260px; }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15,28,46,0);
  transition: background var(--transition-base);
  pointer-events: none;
}
.gallery-item:hover::after { background: rgba(15,28,46,0.42); }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  background: linear-gradient(to top, rgba(15,28,46,0.9) 0%, transparent 100%);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* Expand icon */
.gallery-zoom {
  position: absolute;
  top: var(--space-3); right: var(--space-3);
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
  backdrop-filter: blur(4px);
}
.gallery-zoom svg { width: 16px; height: 16px; color: white; }
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute;
  top: var(--space-5); right: var(--space-5);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xl);
  transition: background var(--transition-fast);
  line-height: 1;
}
.lightbox-close:hover { background: var(--color-accent); }

/* ============================================================
   TESTIMONIALS / REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  position: relative;
  transition: box-shadow var(--transition-base);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-3); right: var(--space-6);
  font-size: 5rem;
  color: rgba(232,97,26,0.08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.review-stars { color: #F59E0B; font-size: var(--text-xl); letter-spacing: 2px; margin-bottom: var(--space-3); }

.review-text {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-5);
}
.review-author { display: flex; align-items: center; gap: var(--space-3); }
.review-avatar {
  width: 44px; height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-lg);
  color: white;
  flex-shrink: 0;
}
.review-name { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); color: var(--color-primary); line-height: 1.2; }
.review-location { font-size: var(--text-sm); color: var(--color-text-muted); }
.review-source { margin-left: auto; flex-shrink: 0; }

.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-8);
  margin-bottom: var(--space-10);
  box-shadow: var(--shadow-sm);
}
.g-logo { font-size: var(--text-3xl); font-family: var(--font-heading); font-weight: 900; }
.g-blue{color:#4285F4} .g-red{color:#EA4335} .g-yellow{color:#FBBC05} .g-green{color:#34A853}
.google-score { font-family: var(--font-heading); font-weight: 900; font-size: var(--text-4xl); color: var(--color-primary); line-height: 1; }
.google-stars { color: #F59E0B; font-size: var(--text-2xl); display: block; line-height: 1; }
.google-count { font-size: var(--text-sm); color: var(--color-text-secondary); }

/* ============================================================
   TRUST / CERT ELEMENTS
   ============================================================ */
.trust-item-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--color-surface-alt);
}
.trust-icon svg { width: 26px; height: 26px; color: var(--color-primary); }
.trust-title { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-xl); color: var(--color-primary); margin-bottom: 2px; }
.trust-desc { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.5; }

/* Guarantee block */
.guarantee-block {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(22,163,74,0.2);
}
.guarantee-icon {
  width: 64px; height: 64px;
  background: rgba(22,163,74,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.guarantee-icon svg { width: 32px; height: 32px; color: var(--color-success); }

/* ============================================================
   AREAS / COVERAGE
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.area-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-border-light);
  text-align: center;
  transition: box-shadow var(--transition-base);
}
.area-card:hover { box-shadow: var(--shadow-md); }
.area-name { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-xl); color: var(--color-primary); margin-bottom: var(--space-2); }
.area-towns { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: 1.6; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary);
  transition: background var(--transition-fast);
  user-select: none;
  line-height: 1.2;
}
.faq-question:hover { background: var(--color-surface-alt); }
.faq-question:focus,
.faq-question:focus-visible { outline: none; }
.faq-toggle {
  width: 28px; height: 28px;
  background: rgba(232,97,26,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base), background var(--transition-base);
}
.faq-toggle svg { width: 16px; height: 16px; color: var(--color-accent); transition: transform var(--transition-base); }
.faq-item.open .faq-toggle { background: var(--color-accent); transform: rotate(180deg); }
.faq-item.open .faq-toggle svg { color: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-body {
  padding: var(--space-4) var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-border-light);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.75;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    linear-gradient(rgba(15, 25, 45, 0.85), rgba(15, 25, 45, 0.85)),
    url('images/bg-pipes.jpg') center center / cover no-repeat;
  padding: var(--space-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  line-height: 1.05;
}
.cta-subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}
.cta-buttons { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.72);
  padding: var(--space-16) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-wrap { margin-bottom: var(--space-4); }
.footer-desc { font-size: var(--text-sm); line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 300px; margin-bottom: var(--space-5); }
.footer-trust-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.trust-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  color: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.62);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  line-height: 1.6;
}
.footer-links a:hover { color: var(--color-accent); padding-left: var(--space-2); }
.footer-contact-list { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm); color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}
.footer-contact-item:hover { color: rgba(255,255,255,0.9); }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.footer-legal { font-size: var(--text-xs); color: rgba(255,255,255,0.38); line-height: 1.6; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background:
    linear-gradient(rgba(15, 25, 45, 0.78), rgba(15, 25, 45, 0.78)),
    url('images/bg-pipes.jpg') center center / cover no-repeat;
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}
.page-hero-title .accent { color: var(--color-accent); }
.page-hero-subtitle { font-size: var(--text-xl); color: rgba(255,255,255,0.85); line-height: 1.6; max-width: 560px; }
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  line-height: 1.05;
}
.page-subtitle { font-size: var(--text-xl); color: rgba(255,255,255,0.8); max-width: 560px; line-height: 1.6; }

.breadcrumb {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
.contact-methods { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-method {
  display: flex; align-items: flex-start; gap: var(--space-4);
  padding: var(--space-5);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}
.contact-method:hover { box-shadow: var(--shadow-md); }
.contact-method-icon {
  width: 48px; height: 48px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon svg { width: 22px; height: 22px; color: white; }
.contact-method-label { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-xl); color: var(--color-primary); margin-bottom: 2px; }
.contact-method-value { font-size: var(--text-base); color: var(--color-text-secondary); }
.contact-method-value a { color: var(--color-accent); font-weight: 600; }
.contact-method-value a:hover { text-decoration: underline; }

.quote-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}
.form-title { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 800; color: var(--color-primary); margin-bottom: var(--space-6); }

/* Multi-step progress */
.form-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: var(--space-8);
}
.form-step-dot {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  flex-shrink: 0;
  z-index: 1;
}
.form-step-dot.active { background: var(--color-accent); color: white; }
.form-step-dot.done { background: var(--color-success); color: white; }
.form-step-line { flex: 1; height: 2px; background: var(--color-border); margin: 0 var(--space-2); transition: background var(--transition-base); }
.form-step-line.done { background: var(--color-success); }

.form-panel { display: none; }
.form-panel.active { display: block; animation: fadeSlide 0.3s ease; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: white;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,97,26,0.12);
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
.form-nav { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.form-success {
  display: none; text-align: center; padding: var(--space-10);
}
.form-success.visible { display: block; animation: fadeSlide 0.4s ease; }
.form-success-icon {
  width: 72px; height: 72px;
  background: rgba(22,163,74,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-5);
}
.form-success-icon svg { width: 36px; height: 36px; color: var(--color-success); }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; tabindex: -1; }

/* Service selector cards */
.service-selector { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.service-option { display: none; }
.service-option + label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-base);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.service-option + label svg { width: 28px; height: 28px; color: var(--color-text-secondary); transition: color var(--transition-fast); }
.service-option:checked + label {
  border-color: var(--color-accent);
  background: rgba(232,97,26,0.06);
  color: var(--color-primary);
}
.service-option:checked + label svg { color: var(--color-accent); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-category {
  display: inline-flex;
  align-items: center;
  background: rgba(232,97,26,0.1);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  width: fit-content;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.blog-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  line-height: 1.2;
  transition: color var(--transition-fast);
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card:hover .blog-card-title { color: var(--color-accent); }
.blog-card-excerpt {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  flex: 1;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  margin-top: auto;
}
.blog-read-more:hover { color: var(--color-primary); }
.blog-card-thumb { height: 220px; overflow: hidden; background: var(--color-surface-alt); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(232,97,26,0.1);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.blog-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  line-height: 1.2;
  transition: color var(--transition-fast);
}
.blog-card:hover .blog-title { color: var(--color-accent); }
.blog-excerpt { color: var(--color-text-secondary); font-size: var(--text-base); line-height: 1.65; margin-bottom: var(--space-5); flex: 1; }
.blog-meta {
  display: flex; align-items: center; gap: var(--space-4);
  font-size: var(--text-sm); color: var(--color-text-muted);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

/* Article layout */
.article-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-12); padding: var(--space-12) 0; }
.article-body { font-size: var(--text-lg); line-height: 1.8; color: var(--color-text-secondary); }
.article-body h2 { font-family: var(--font-heading); font-size: var(--text-3xl); font-weight: 900; color: var(--color-primary); margin: var(--space-10) 0 var(--space-4); }
.article-body h3 { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 800; color: var(--color-primary); margin: var(--space-8) 0 var(--space-3); }
.article-body p { margin-bottom: var(--space-5); }
.article-body ul { margin: var(--space-4) 0 var(--space-5) var(--space-6); list-style: disc; }
.article-body ul li { margin-bottom: var(--space-2); }
.article-body strong { color: var(--color-primary); font-weight: 600; }
.article-body a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body table { width: 100%; border-collapse: collapse; margin: var(--space-6) 0; font-size: var(--text-sm); }
.article-body th { background: var(--color-primary); color: white; padding: var(--space-3) var(--space-4); text-align: left; font-family: var(--font-heading); }
.article-body td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border-light); }
.article-body tr:nth-child(even) td { background: var(--color-surface-alt); }

.article-sidebar { display: flex; flex-direction: column; gap: var(--space-5); }
.sidebar-box { background: white; border-radius: var(--radius-lg); padding: var(--space-6); border: 1px solid var(--color-border-light); box-shadow: var(--shadow-sm); }
.sidebar-box-title { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-xl); color: var(--color-primary); margin-bottom: var(--space-4); }
.toc-list { display: flex; flex-direction: column; gap: var(--space-1); }
.toc-link { font-size: var(--text-sm); color: var(--color-text-secondary); padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border-light); transition: color var(--transition-fast), padding-left var(--transition-fast); }
.toc-link:hover { color: var(--color-accent); padding-left: var(--space-2); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   (tradesman-web-design:animation-micro-interactions skill)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — TABLET 768px+
   (tradesman-web-design:responsive-mobile-first skill)
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: var(--space-20) 0; }

  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-sticky-cta { display: none !important; }

  .hero-title { font-size: clamp(3rem, 7vw, 5.5rem); }

  .proof-grid { grid-template-columns: repeat(4, 1fr); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item img { height: 230px; }
  .gallery-item.tall img { height: 290px; }
  .gallery-item.wide img { height: 290px; }

  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  .areas-grid { grid-template-columns: repeat(3, 1fr); }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr 1.5fr; }

  .about-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — DESKTOP 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 1fr 300px; }
  .article-sidebar { position: sticky; top: calc(var(--header-height) + var(--space-6)); align-self: start; }
}

@media (min-width: 1200px) {
  :root { --container-padding: 2rem; }
}


/* ============================================================
   ACCESSIBILITY
   (tradesman-web-design:accessibility-essentials skill)
   ============================================================ */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PROOF STRIP
   ============================================================ */
.proof-strip {
  background: var(--color-primary-dark);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0.25rem 1.5rem;
}
.proof-strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.proof-strip-item:last-child { border-right: none; }
.proof-strip-item svg { width: 20px; height: 20px; stroke: var(--color-accent); fill: none; flex-shrink: 0; }
@media (max-width: 640px) {
  .proof-strip-item { border-right: none; padding: 0.6rem 1.25rem; font-size: var(--text-lg); }
}

/* ============================================================
   FIRST REVIEWER BLOCK
   ============================================================ */
.first-reviewer-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.first-reviewer-text {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin: 1.5rem auto 2rem;
  max-width: 520px;
}

/* ============================================================
   INLINE QUOTE FORM
   ============================================================ */
.quote-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .quote-form-row { grid-template-columns: 1fr; } }
.quote-form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.quote-form-field label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}
.quote-form-field input,
.quote-form-field select,
.quote-form-field textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
}
.quote-form-field input:focus,
.quote-form-field select:focus,
.quote-form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,97,26,0.12);
}
.quote-form-field textarea { resize: vertical; min-height: 80px; }
.quote-form .btn { align-self: flex-start; }

/* WHATSAPP WIDGET */
.wa-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9000; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.wa-btn { width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.35); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0; }
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-chat { width: 300px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.2); animation: waSlideIn 0.3s ease; font-family: -apple-system,'Segoe UI',Arial,sans-serif; }
.wa-chat[hidden] { display: none; }
.wa-chat-header { background: #075E54; padding: 0.75rem 0.9rem; display: flex; align-items: center; gap: 0.65rem; }
.wa-chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; color: #fff; font-weight: 700; }
.wa-chat-info { flex: 1; }
.wa-chat-name { color: #fff; font-size: 0.95rem; font-weight: 600; line-height: 1.2; }
.wa-chat-status { color: rgba(255,255,255,0.75); font-size: 0.75rem; }
.wa-chat-close { background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; font-size: 1.1rem; padding: 0; line-height: 1; }
.wa-chat-close:hover { color: #fff; }
.wa-chat-body { background: #ece5dd; padding: 1rem 0.9rem; }
.wa-chat-msg { background: #fff; border-radius: 8px 8px 8px 0; padding: 0.5rem 0.65rem; max-width: 85%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.wa-chat-msg-text { color: #111; font-size: 0.875rem; line-height: 1.45; }
.wa-chat-msg-time { font-size: 0.7rem; color: #8a8a8a; text-align: right; margin-top: 0.2rem; }
.wa-chat-footer { background: #f0f0f0; padding: 0.6rem 0.9rem; }
.wa-chat-reply { display: block; width: 100%; background: #25D366; color: #fff; border: none; border-radius: 20px; padding: 0.55rem 1rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; transition: background 0.2s; }
.wa-chat-reply:hover { background: #128C7E; color: #fff; }
@keyframes waSlideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) { .wa-widget { bottom: 5rem; right: 1rem; } .wa-chat { width: min(270px, calc(100vw - 2rem)); } }
