/**
 * @file
 * RM Construction Landing Page - Complete CSS Implementation
 * Based on Figma Design Specifications
 * Created: 2025-11-18
 *
 * NUCLEAR OVERRIDE MODE: This CSS aggressively overrides ALL theme styling
 * using maximum specificity selectors and !important declarations.
 *
 * This file contains all styling for the landing page template including:
 * - AGGRESSIVE theme overrides
 * - CSS Custom Properties
 * - Typography (Montserrat font family)
 * - Section layouts and positioning
 * - Component styling
 * - Drupal field wrapper overrides
 * - Webform styling
 * - Responsive breakpoints
 * - Accessibility features
 */

/* ========================================
   PRIORITY OVERRIDE: LOAD FIRST
   ======================================== */

/* Ensure landing page wrapper gets priority over ALL theme styles */
html body .lp-page-wrapper {
  font-family: 'Montserrat', sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Force all text to use Montserrat */
html body .lp-page-wrapper,
html body .lp-page-wrapper * {
  font-family: 'Montserrat', sans-serif !important;
}

/* ========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ======================================== */

:root {
  /* Color Palette */
  --lp-orange: #E76F2C;
  --lp-beige: #EDE6DA;
  --lp-light-grey: #FBFBFB;
  --lp-dark-grey: #EEEEEE;
  --lp-black: #231F20;
  --lp-white: #FFFFFF;

  /* Container Dimensions */
  --lp-container-max-width: 1440px;
  --lp-hero-height: 603px;
  --lp-hero-split-point: 759px;

  /* Spacing */
  --lp-section-padding-x: 120px;
  --lp-section-padding-y: 60px;

  /* Typography - Font Sizes */
  --lp-font-h1: 45px;
  --lp-font-h2: 28px;
  --lp-font-h3: 24px;
  --lp-font-h3-alt: 23px;
  --lp-font-subheading: 24px;
  --lp-font-body: 18px;
  --lp-font-testimonial: 18px;
  --lp-font-author: 20px;
  --lp-font-label: 18px;
  --lp-font-button: 18px;

  /* Typography - Line Heights */
  --lp-line-h1: 55px;
  --lp-line-h2: 34px;
  --lp-line-h3: 29px;
  --lp-line-h3-alt: 28px;
  --lp-line-subheading: 29px;
  --lp-line-body: 22px;
  --lp-line-testimonial: 30px;
  --lp-line-author: 24px;
  --lp-line-label: 28px;
  --lp-line-button: 22px;

  /* Component Sizes */
  --lp-icon-size: 50px;
  --lp-checkmark-size: 25px;
  --lp-star-size: 30px;
  --lp-button-height: 71px;
  --lp-input-height: 50px;
}

/* ========================================
   SURGICAL THEME OVERRIDE
   ======================================== */

/* STRATEGIC RESET: Override specific theme properties without wiping everything */
html body .lp-page-wrapper,
html body .lp-page-wrapper * {
  /* Reset problematic theme defaults only */
  /* margin: 0 !important; */
  padding: 0;
  border: 0;
  box-sizing: border-box;
  /* DO NOT use all: unset - it breaks our CSS too! */
}

/* Re-establish basic structure */
html body .lp-page-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  background: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif !important;
  color: #231F20 !important;
  line-height: 1.5 !important;
  position: relative !important;
}

/* Block elements */
html body .lp-page-wrapper div,
html body .lp-page-wrapper section,
html body .lp-page-wrapper article,
html body .lp-page-wrapper header,
html body .lp-page-wrapper footer,
html body .lp-page-wrapper nav,
html body .lp-page-wrapper main,
html body .lp-page-wrapper aside,
html body .lp-page-wrapper blockquote,
html body .lp-page-wrapper form,
html body .lp-page-wrapper fieldset {
  display: block;
  font-family: 'Montserrat', sans-serif !important;
  color: #231F20 !important;
}

/* Headings and paragraphs */
html body .lp-page-wrapper h1,
html body .lp-page-wrapper h2,
html body .lp-page-wrapper h3,
html body .lp-page-wrapper h4,
html body .lp-page-wrapper h5,
html body .lp-page-wrapper h6,
html body .lp-page-wrapper p {
  display: block !important;
  font-family: 'Montserrat', sans-serif !important;
  color: #231F20 !important;
}

/* Inline elements */
html body .lp-page-wrapper span,
html body .lp-page-wrapper a,
html body .lp-page-wrapper strong,
html body .lp-page-wrapper em,
html body .lp-page-wrapper cite {
  display: inline;
  font-family: 'Montserrat', sans-serif !important;
  text-decoration: none !important;
}

/* Images */
html body .lp-page-wrapper img,
html body .lp-page-wrapper picture img {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}

/* Lists */
html body .lp-page-wrapper ul,
html body .lp-page-wrapper ol {
  display: block !important;
  list-style: none !important;
}

html body .lp-page-wrapper li {
  display: list-item !important;
  list-style: none !important;
}

/* ========================================
   GLOBAL RESETS & BASE STYLES
   ======================================== */

.lp-page-wrapper {
  font-family: 'Montserrat', sans-serif;
  color: var(--lp-black);
  background-color: var(--lp-white);
}

.lp-page-wrapper * {
  box-sizing: border-box;
}

/* Remove default Drupal field margins */
.lp-page-wrapper .field {
  margin: 0;
  padding: 0;
}

.lp-page-wrapper .field__item,
.lp-page-wrapper .field__items {
  margin: 0;
  padding: 0;
}

.lp-page-wrapper .field__label {
  display: none;
}

/* Remove default paragraph margins */
.lp-page-wrapper .paragraph {
  margin: 0;
}

/* ========================================
   NUCLEAR IMAGE & MEDIA OVERRIDES
   ======================================== */

/* MAXIMUM SPECIFICITY: Override ALL theme image styling */
html body .lp-page-wrapper img,
html body .lp-page-wrapper .field--type-image img,
html body .lp-page-wrapper .field--name-field-media-image-2 img,
html body .lp-page-wrapper .field--name-field-media-image img,
html body .lp-page-wrapper .media img,
html body .lp-page-wrapper .image-style-mt-large,
html body .lp-page-wrapper .image-style-large,
html body .lp-page-wrapper .image-style-medium,
html body .lp-page-wrapper picture img,
html body .lp-page-wrapper .media--type-mt-mdt-post-image img,
html body .lp-page-wrapper article.media img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Remove ALL overlay containers and wrappers */
html body .lp-page-wrapper .overlay-container,
html body .lp-page-wrapper .field__item,
html body .lp-page-wrapper .field__items,
html body .lp-page-wrapper .field,
html body .lp-page-wrapper .clearfix {
  position: static !important;
  /* width: 100%; */
  height: auto;
  margin: 0;
  /* padding: 0; */
  overflow: visible !important;
  background: none;
  border: none !important;
  box-shadow: none !important;
}

/* Override ALL media entity styling */
html body .lp-page-wrapper .media,
html body .lp-page-wrapper .media--type-mt-mdt-post-image,
html body .lp-page-wrapper article.media,
html body .lp-page-wrapper .media--view-mode-default {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  display: block !important;
}

/* KILL ALL field labels */
html body .lp-page-wrapper .field__label,
html body .lp-page-wrapper .field-label {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* DESTROY clearfix */
html body .lp-page-wrapper .clearfix::before,
html body .lp-page-wrapper .clearfix::after {
  display: none !important;
  content: none !important;
}

/* Override lazy loading images */
html body .lp-page-wrapper img[loading="lazy"],
html body .lp-page-wrapper img[loading] {
  padding: 0 !important;
  margin: 0 !important;
}

/* ========================================
   TYPOGRAPHY STYLES
   ======================================== */

/* H1 Headings */
.lp-hero-heading,
.lp-main-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--lp-font-h1);
  line-height: var(--lp-line-h1);
  color: var(--lp-black);
  margin: 0;
}

/* H2 Headings */
.lp-section-heading,
.lp-feature-card-title,
.lp-checklist-item-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--lp-font-h2);
  line-height: var(--lp-line-h2);
  color: var(--lp-black);
  margin: 0;
}

/* H3 Headings */
.lp-process-step-title,
.lp-city-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--lp-font-h3);
  line-height: var(--lp-line-h3);
  color: var(--lp-black);
  margin: 0;
}

/* H3 Alternative (Preconstruction step) */
.lp-process-step:nth-child(2) .lp-process-step-title {
  font-size: var(--lp-font-h3-alt);
  line-height: var(--lp-line-h3-alt);
}

/* Subheadings */
.lp-hero-subheading,
.lp-section-subheading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: var(--lp-font-subheading);
  line-height: var(--lp-line-subheading);
  color: var(--lp-black);
  margin: 0;
}

/* Body Text */
.lp-feature-card-description,
.lp-process-step-description,
.lp-body-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: var(--lp-font-body);
  line-height: var(--lp-line-body);
  color: var(--lp-black);
  margin: 0;
}

/* Testimonial Text */
.lp-testimonial-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: var(--lp-font-testimonial);
  line-height: var(--lp-line-testimonial);
  color: var(--lp-black);
  margin: 0;
}

/* Author Name */
.lp-testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--lp-font-author);
  line-height: var(--lp-line-author);
  color: var(--lp-black);
  margin: 0;
}

/* Form Labels */
.lp-contact-form label,
.lp-form-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: var(--lp-font-label);
  line-height: var(--lp-line-label);
  color: var(--lp-black);
  margin: 0 0 9px 0;
  display: block;
}

/* CTA Buttons */
.lp-cta-button,
.lp-submit-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--lp-font-button);
  line-height: var(--lp-line-button);
  color: var(--lp-white);
  text-align: center;
}

/* ========================================
   PAGE WRAPPER
   ======================================== */
.lp-page-wrapper {
  margin: 0 auto !important;
  max-width: 1440px;
}

.lp-hero-section,
.lp-one-team-section,
.lp-what-we-handle-section,
.lp-our-process-section,
.lp-home-project-images-section,
.lp-serving-valley-section,
.lp-testimonials-section,
.lp-contact-form-section {
  margin: 0 !important;
  display: block !important;
  overflow: hidden;
}

/* ========================================
   SECTION 1: HERO SECTION
   ======================================== */

.lp-hero-section {
  position: relative;
  height: var(--lp-hero-height);
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
  overflow: hidden;
}

.lp-hero-container {
  display: flex;
  height: 100%;
  position: relative;
}

/* Left column - Beige background with content */
.lp-hero-content {
  position: relative;
  width: var(--lp-hero-split-point);
  background-color: var(--lp-beige);
  padding: 88px 80px 0 var(--lp-section-padding-x) !important;
  flex-shrink: 0;
  min-height: 603px;
}

.lp-hero-logo {
  width: 164.12px;
  height: 100px;
  margin-bottom: 10px;
  position: relative;
}

.lp-hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-hero-title {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 55px;
  color: #231F20;
}

.lp-hero-subtitle {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  color: #231F20;
}

.lp-hero-cta {
  align-items: center;
  justify-content: center;
  width: 421px;
  max-width: 100%;
  gap: 15px;
  margin-top: 33px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: var(--lp-button-height);
  padding: 0 30px;
  background-color: var(--lp-orange);
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.lp-hero-cta:hover {
  background-color: #d06325;
  transform: translateY(-2px);
}

.lp-hero-cta:focus {
  outline: 3px solid var(--lp-black);
  outline-offset: 2px;
}

.lp-hero-cta:active {
  transform: translateY(0);
}

.lp-hero-cta .field,
.lp-hero-cta .field__items,
.lp-hero-cta .field__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lp-hero-cta a {
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Right column - Hero image */
.lp-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 700px;
  height: var(--lp-hero-height);
  overflow: hidden;
}

.lp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   SECTION 2: ONE TEAM SECTION
   ======================================== */

header.lp-section-header {
    width: 671px;
    margin: 0 auto;
}

header.lp-section-header h2.lp-section-title {
    font-size: 45px;
    text-align: center;
    margin: 0 auto 10px;
    max-width: 495px;
    line-height: 100%;
}

header.lp-section-header .lp-section-subtitle {
    font-size: 18px;
    text-align: center;
    max-width: 586px;
    margin: 0 auto;
    line-height: 100%;
}

.lp-one-team-section {
  position: relative;
  background-color: var(--lp-light-grey);
  padding: 60px var(--lp-section-padding-x) 60px !important;
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
}

.lp-one-team-section header.lp-section-header {
    margin-bottom: 40px;
}

/* Feature Cards Grid */
/* Handle ALL nested Drupal wrappers */
.lp-feature-cards-grid .field,
.lp-feature-cards-grid .field__items,
.lp-feature-cards-grid .field__item > .paragraph,
.lp-feature-card-icon .field,
.lp-feature-card-icon .field__items,
.lp-feature-card-icon .field__item,
.lp-feature-card-icon .media,
.lp-feature-card-icon .overlay-container,
.lp-feature-card-title .field,
.lp-feature-card-title .field__items,
.lp-feature-card-title .field__item,
.lp-feature-card-description .field,
.lp-feature-card-description .field__items,
.lp-feature-card-description .field__item {
  display: contents !important;
}

/* Force the actual paragraph div to be flex */
.lp-feature-cards-grid .paragraph.paragraph--type--lp-feature-card {
  flex-direction: column !important;
}

/* Feature Cards Grid Container */
.lp-feature-cards-grid {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(4, 275px);
  gap: 33px;
  justify-content: space-between;
}

/* Reset Drupal field wrappers to not interfere with grid */
.lp-feature-cards-grid > .field,
.lp-feature-cards-grid > .field > .field__items {
  display: contents; /* Makes wrapper invisible to grid */
}

/* Each feature card field item becomes a grid item */
.lp-feature-cards-grid .field__item {
  width: 275px !important;
  height: 240px !important;
  background-color: #FFFFFF !important;
  padding: 25px 15px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* The paragraph wrapper */
.lp-feature-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Icon sizing */
.lp-feature-card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.lp-feature-card-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Title */
.lp-feature-card-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* Description */
.lp-feature-card-description {
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;
  flex-grow: 1;
}

/* Hide all field labels */
.lp-feature-card .field__label {
  display: none !important;
}

/* ========================================
   SECTION 3: WHAT WE HANDLE SECTION
   ======================================== */

.lp-what-we-handle-section {
  position: relative;
  padding: 80px var(--lp-section-padding-x) 60px !important;
  padding-bottom: 80px !important;
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
}

/* Override global field__items flex for this section */
/* Don't use display: contents here - we need field__items to be the grid container */

/* What We Handle Section Layout - Header left, columns right */
.lp-what-we-handle-section .lp-section-container {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 80px;
    align-items: flex-start;
    row-gap: 60px;
}

/* Left side - Header */
.lp-what-we-handle-section .lp-section-header {
  flex-shrink: 0;
  width: 400px !important;
  margin: 0 !important;
  text-align: left !important;
}

.lp-what-we-handle-section .lp-section-title {
    font-size: 40px !important;
    font-weight: 600;
    line-height: 1.4;
    text-align: left !important;
    margin-bottom: 20px;
    max-width: 265px;
    margin-top: 0;
}

.field--name-field-lp-what-we-handle-icon {
    max-height: 50px;
    max-width: 38px;
}

.field.field--name-field-lp-what-we-handle-icon.field--type-entity-reference.field--label-above.field--entity-reference-target-type-media.clearfix {
    margin-bottom: 10px;
}

.lp-what-we-handle-heading {
  margin-bottom: 20px;
}

.lp-we-handle-icon {
  width: var(--lp-icon-size);
  height: var(--lp-icon-size);
  margin-bottom: 30px;
  color: var(--lp-orange);
  fill: var(--lp-orange);
}

.lp-we-handle-icon img,
.lp-we-handle-icon svg {
  width: 100%;
  height: 100%;
}

/* Right side - Content with columns */
.lp-what-we-handle-content {
  flex-grow: 1;
  min-width: 0; /* Allow flex item to shrink below content size */
  flex-basis: calc(100% - 480px); /* 100% - (400px header + 80px gap) */
}

/* Two-column checklist layout */
.lp-checklist-columns {
  position: static !important;
  left: auto !important;
}

/* The actual grid needs to be on field__items */
.lp-checklist-columns .field__items {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
  grid-auto-flow: dense; /* Fill gaps automatically */
}

/* All left column items go to column 1 */
.lp-checklist-columns .field__item:has([data-column="left"]) {
  grid-column: 1;
}

/* All right column items go to column 2 */
.lp-checklist-columns .field__item:has([data-column="right"]) {
  grid-column: 2;
}

.lp-checklist-left,
.lp-checklist-right {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

html body .lp-page-wrapper .lp-checklist-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 15px !important;
}

.paragraph--type--lp-checklist-item {
  margin: 0;
  padding: 0;
}

html body .lp-page-wrapper .lp-checklist-checkmark {
  flex-shrink: 0 !important;
  width: var(--lp-checkmark-size) !important;
  height: var(--lp-checkmark-size) !important;
  min-width: var(--lp-checkmark-size) !important;
  min-height: var(--lp-checkmark-size) !important;
  border-radius: 50% !important;
  background-color: var(--lp-orange) !important;
  background: var(--lp-orange) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  border: none !important;
  top: 5px;
  left: 5px;
}

/* Checkmark icon using CSS */
.lp-checklist-checkmark::after {
  content: '';
  width: 6px;
  height: 12px;
  border: solid var(--lp-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: absolute;
  top: 5px;
  left: 9px;
}

.lp-checklist-checkmark img,
.lp-checklist-checkmark svg {
  width: 15px;
  height: 15px;
  color: var(--lp-white);
  fill: var(--lp-white);
}

html body .lp-page-wrapper .lp-checklist-item-text {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 34px !important;
  color: var(--lp-black) !important;
  display: inline-block !important;
  flex: 1 !important;
}

/* Hide field labels in checklist */
.lp-checklist-columns .field__label {
  display: none !important;
}

/* Make field wrappers transparent */
.lp-checklist-item-text .field,
.lp-checklist-item-text .field__item {
  display: contents;
}

/* ========================================
   PROJECT IMAGES SLIDER
   ======================================== */

.lp-project-images-slider {
  position: relative;
  width: 100%;
  max-width: 1227px; /* 3 × 375px + 2 × 36px gap */
  margin: 50px auto 0;
}

/* When slider is inside What We Handle section, make it span full width */
.lp-what-we-handle-section .lp-project-images-slider {
  flex-basis: 100% !important;
  margin-top: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Slider arrows */
html body .lp-page-wrapper .lp-slider-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 57px !important;
  height: 105px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
}

html body .lp-page-wrapper .lp-slider-arrow:hover {
  opacity: 0.7 !important;
}

html body .lp-page-wrapper .lp-slider-arrow:hover svg path {
  stroke: var(--lp-black) !important;
}

html body .lp-page-wrapper .lp-slider-arrow-left {
  left: -90px !important;
}

html body .lp-page-wrapper .lp-slider-arrow-right {
  right: -90px !important;
}

html body .lp-page-wrapper .lp-slider-arrow svg {
  width: 57px !important;
  height: 105px !important;
  color: var(--lp-black) !important;
}

html body .lp-page-wrapper .lp-slider-arrow svg path {
  stroke: var(--lp-black) !important;
  stroke-width: 4 !important;
}

/* Project images grid - horizontal scroll */
.lp-project-images-grid {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

.lp-project-images-grid::-webkit-scrollbar {
  display: none !important; /* Chrome/Safari */
}

/* Grid layout */
html body .lp-page-wrapper .lp-project-images-grid .field__items {
  display: flex !important;
  gap: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body .lp-page-wrapper .lp-project-images-grid .field__item {
  flex-shrink: 0 !important;
  width: 375px !important;
  height: 260px !important;
  min-width: 375px !important;
  min-height: 260px !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Image styling */
html body .lp-page-wrapper .lp-project-images-grid img {
  width: 375px !important;
  height: 260px !important;
  max-width: 375px !important;
  max-height: 260px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Hide Drupal field wrappers */
.lp-project-images-grid .field__label {
  display: none !important;
}

html body .lp-page-wrapper .lp-project-images-grid .field,
html body .lp-page-wrapper .lp-project-images-grid .media,
html body .lp-page-wrapper .lp-project-images-grid .overlay-container {
  display: contents !important;
}

.lp-project-image {
  width: 375px;
  height: 260px;
  overflow: hidden;
}

.lp-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-process-slider {
  display: block;
}

/* ========================================
   HOME PROJECT IMAGES SLIDER
   ======================================== */
/* Home Project Images Section - Stack header and content */
html body .lp-page-wrapper .lp-home-project-images-section .lp-section-container {
  flex-direction: column !important;
  gap: 40px !important;
  overflow: visible !important;
}

html body .lp-page-wrapper .lp-home-project-images-section .lp-section-header {
  width: 100% !important;
  text-align: center !important;
}

html body .lp-page-wrapper .lp-home-project-images-section .lp-section-title {
  text-align: center !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body .lp-page-wrapper .lp-home-project-images-content {
  flex-basis: 100% !important;
  width: 100%;
}

.lp-home-project-images-section {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  overflow: visible !important;
}

section.lp-home-project-images-section h2 .field {
  display: inline-block;
  margin-bottom: 0px !important;
  vertical-align: bottom;
}

  /* Home Project Images Section Layout - Header left, columns right */
.lp-home-project-images-section .lp-section-container {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 80px;
    align-items: flex-start;
    row-gap: 60px;
}

/* Section Header */
.lp-home-project-images-section .lp-section-header {
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.lp-home-project-images-section .lp-section-title {
    font-size: 45px !important;
    font-weight: 600;
    line-height: 100%;
    text-align: center !important;
    margin: 40px auto 10px !important;
    max-width: 495px;
}

.field--name-field-lp-home-project-images-icon {
    max-height: 50px;
    max-width: 38px;
}

.field.field--name-field-lp-home-project-images-icon.field--type-entity-reference.field--label-above.field--entity-reference-target-type-media.clearfix {
    margin-bottom: 10px;
}

.lp-home-project-images-heading {
  margin-bottom: 20px;
}

.lp-we-handle-icon {
  width: var(--lp-icon-size);
  height: var(--lp-icon-size);
  margin-bottom: 30px;
  color: var(--lp-orange);
  fill: var(--lp-orange);
}

.lp-we-handle-icon img,
.lp-we-handle-icon svg {
  width: 100%;
  height: 100%;
}

/* Content area wrapping the slider */
.lp-home-project-images-content {
  flex-grow: 1;
  min-width: 0; /* Allow flex item to shrink below content size */
  flex-basis: 100%;
  overflow: visible !important;
}

.lp-home-project-images-slider {
  position: relative;
  width: 100%;
  max-width: 1227px; /* 3 × 375px + 2 × 36px gap */
  margin: 50px auto 0;
}

/* When slider is inside What We Handle section, make it span full width */
.lp-home-project-images-section .lp-home-project-images-slider {
  flex-basis: 100% !important;
  margin-top: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Slider arrows */
html body .lp-page-wrapper .lp-slider-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 57px !important;
  height: 105px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
}

html body .lp-page-wrapper .lp-slider-arrow:hover {
  opacity: 0.7 !important;
}

html body .lp-page-wrapper .lp-slider-arrow:hover svg path {
  stroke: var(--lp-black) !important;
}

html body .lp-page-wrapper .lp-slider-arrow-left {
  left: -90px !important;
}

html body .lp-page-wrapper .lp-slider-arrow-right {
  right: -90px !important;
}

html body .lp-page-wrapper .lp-slider-arrow svg {
  width: 57px !important;
  height: 105px !important;
  color: var(--lp-black) !important;
}

html body .lp-page-wrapper .lp-slider-arrow svg path {
  stroke: var(--lp-black) !important;
  stroke-width: 4 !important;
}

/* Home Project images grid - horizontal scroll */
.lp-home-project-images-grid {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
  max-width: 100% !important;
  width: 100% !important;
}

.lp-home-project-images-grid::-webkit-scrollbar {
  display: none !important; /* Chrome/Safari */
}

/* Grid layout */
html body .lp-page-wrapper .lp-home-project-images-grid .field__items {
  display: flex !important;
  gap: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body .lp-page-wrapper .lp-home-project-images-grid .field__item {
  flex-shrink: 0 !important;
  width: 375px !important;
  height: 260px !important;
  min-width: 375px !important;
  min-height: 260px !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Image styling */
html body .lp-page-wrapper .lp-home-project-images-grid img {
  width: 375px !important;
  height: 260px !important;
  max-width: 375px !important;
  max-height: 260px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Hide Drupal field wrappers */
.lp-home-project-images-grid .field__label {
  display: none !important;
}

html body .lp-page-wrapper .lp-home-project-images-grid .field,
html body .lp-page-wrapper .lp-home-project-images-grid .media,
html body .lp-page-wrapper .lp-home-project-images-grid .overlay-container {
  display: contents !important;
}

.lp-project-image {
  width: 375px;
  height: 260px;
  overflow: hidden;
}

.lp-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   SECTION 4: OUR PROCESS SECTION
   ======================================== */

.lp-our-process-section {
  position: relative;
  background-color: var(--lp-light-grey);
  padding: 90px var(--lp-section-padding-x) !important;
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
  min-height: 734px;
}

html body .lp-page-wrapper .lp-process-split {
  display: flex !important;
  gap: 90px !important;
  align-items: flex-start !important;
}

/* When process slider is present, stack content vertically */
html body .lp-page-wrapper .lp-process-split:has(.lp-process-slider) {
  flex-direction: column !important;
  align-items: stretch !important;
}

html body .lp-page-wrapper .lp-process-split:has(.lp-process-slider) .lp-process-content {
  width: 100%;
}

/* Left side - Process images */
.lp-process-images {
  position: relative;
  flex-shrink: 0;
  width: 556px;
  height: 530px;
}

/* Left side - Process images (single) */
.lp-process-images-single {
  position: relative;
  flex-shrink: 0;
  width: 556px;
  height: 530px;
}

/* Make Drupal field wrappers transparent for process images */
html body .lp-page-wrapper .lp-process-image .field,
html body .lp-page-wrapper .lp-process-image .field__items,
html body .lp-page-wrapper .lp-process-image .field__item,
html body .lp-page-wrapper .lp-process-image .media,
html body .lp-page-wrapper .lp-process-image .overlay-container {
  display: contents !important;
}

.lp-process-image--1,
.lp-process-image-1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 441px;
  height: 305px;
  overflow: hidden;
  z-index: 1;
  border: #fff solid 3px !important;
}

.lp-process-images-single .lp-process-image--1,
.lp-process-images-single .lp-process-image-1 {
  position: absolute;
  left: 0;
  top: 0;
  width: unset;
  height: 305px;
  overflow: hidden;
  z-index: 1;
  border: #fff solid 3px !important;
}

.lp-process-image--1 img,
.lp-process-image-1 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.lp-process-image--2,
.lp-process-image-2 {
  position: absolute;
  left: 123px;
  top: 230px;
  width: 432px;
  height: 299px;
  overflow: hidden;
  border: 3px solid var(--lp-white);
  border-radius: 3px;
  z-index: 2;
  border: #fff solid 3px !important;
}

.lp-process-image--2 img,
.lp-process-image-2 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Right side - Process steps */
.lp-process-content {
  flex-grow: 1;
  padding-top: 0;
}

.lp-process-content .lp-section-title {
  font-size: 45px;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 40px;
  margin-top: 0;
}

.lp-process-heading {
  text-align: center;
  margin-bottom: 68px;
}

/* Make Drupal field wrappers transparent for process steps */
html body .lp-page-wrapper .lp-process-steps-list .field,
html body .lp-page-wrapper .lp-process-steps-list .field__items {
  display: contents !important;
}

html body .lp-page-wrapper .lp-process-steps-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.lp-process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Individual process step items */
html body .lp-page-wrapper .lp-process-step {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin-bottom: 25px !important;
  list-style: none !important;
}

html body .lp-page-wrapper .field__item:last-child .lp-process-step {
  margin-bottom: 0 !important;
}

.paragraph--type--lp-process-step {
  margin: 0;
  padding: 0;
}

/* Step container with icon and content (number moves inside content) */
html body .lp-page-wrapper .lp-process-step-container {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  width: 100% !important;
}

/* Step icon */
html body .lp-page-wrapper .lp-process-step-icon {
  flex-shrink: 0 !important;
  width: var(--lp-icon-size) !important;
  height: var(--lp-icon-size) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  order: 1 !important;
}

/* Step number styling - black, after icon, before text */
html body .lp-page-wrapper .lp-process-step-number {
  flex-shrink: 0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 29px !important;
  line-height: 100% !important;
  color: var(--lp-black) !important;
  display: inline-block !important;
  margin-right: 12px !important;
}

html body .lp-page-wrapper .lp-process-step-icon img,
html body .lp-page-wrapper .lp-process-step-icon svg {
  width: 100% !important;
  height: 100% !important;
  color: var(--lp-orange) !important;
  fill: var(--lp-orange) !important;
}

/* Make icon field wrappers transparent */
html body .lp-page-wrapper .lp-process-step-icon .field,
html body .lp-page-wrapper .lp-process-step-icon .field__items,
html body .lp-page-wrapper .lp-process-step-icon .field__item,
html body .lp-page-wrapper .lp-process-step-icon .media,
html body .lp-page-wrapper .lp-process-step-icon .overlay-container {
  display: contents !important;
}

/* Step content area */
html body .lp-page-wrapper .lp-process-step-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  order: 2 !important;
}

/* Step title - now displays inline with number */
html body .lp-page-wrapper .lp-process-step-title {
  font-size: 29px !important;
  font-weight: 600 !important;
  line-height: 100% !important;
  color: var(--lp-black) !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: baseline !important;
}

/* Make title field wrappers inline to preserve number placement */
html body .lp-page-wrapper .lp-process-step-title .field,
html body .lp-page-wrapper .lp-process-step-title .field__items,
html body .lp-page-wrapper .lp-process-step-title .field__item {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Step description */
html body .lp-page-wrapper .lp-process-step-description {
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 100% !important;
  color: var(--lp-black) !important;
  max-width: 478px !important;
}

/* Make description field wrappers transparent */
html body .lp-page-wrapper .lp-process-step-description .field,
html body .lp-page-wrapper .lp-process-step-description .field__items,
html body .lp-page-wrapper .lp-process-step-description .field__item {
  display: contents !important;
}

/* Hide field labels */
html body .lp-page-wrapper .lp-process-step .field__label {
  display: none !important;
}

/* ========================================
   SECTION 5: SERVING THE VALLEY SECTION
   ======================================== */

.lp-serving-valley-section {
  position: relative;
  background-color: var(--lp-dark-grey);
  padding: 60px var(--lp-section-padding-x) !important;
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
}

html body .lp-page-wrapper .lp-valley-split {
  display: flex !important;
  gap: 80px !important;
  align-items: center !important;
}

/* Left side - Content */
html body .lp-page-wrapper .lp-valley-content {
  flex-shrink: 0 !important;
  width: 454px !important;
  display: flex !important;
  flex-direction: column !important;
}

html body .lp-page-wrapper .lp-valley-content .lp-section-title {
  font-size: 45px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 30px !important;
  margin-top: 0 !important;
  color: var(--lp-black) !important;
}

.lp-valley-heading {
  margin-bottom: 30px;
}

/* Service areas list styling */
html body .lp-page-wrapper .lp-service-areas-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Make Drupal field wrappers transparent */
html body .lp-page-wrapper .lp-service-areas-list .field,
html body .lp-page-wrapper .lp-service-areas-list .field__items {
  display: contents !important;
}

html body .lp-page-wrapper .lp-service-areas-list .field__item {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.lp-city-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 398px;
}

.lp-city-item {
  margin-bottom: 12px;
}

/* City names styling */
html body .lp-page-wrapper .lp-service-areas-list .field__item,
.lp-city-name {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 100% !important;
  color: var(--lp-black) !important;
}

/* Right side - Map */
html body .lp-page-wrapper .lp-map-container {
  flex-grow: 1 !important;
  max-width: 655px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Make map field wrappers transparent */
html body .lp-page-wrapper .lp-map-container .field,
html body .lp-page-wrapper .lp-map-container .field__items,
html body .lp-page-wrapper .lp-map-container .field__item,
html body .lp-page-wrapper .lp-map-container .media,
html body .lp-page-wrapper .lp-map-container .overlay-container {
  display: contents !important;
}

html body .lp-page-wrapper .lp-map-container img {
  width: 100% !important;
  height: auto !important;
  max-width: 655px !important;
  object-fit: contain !important;
  display: block !important;
}

.lp-valley-map {
  flex-grow: 1;
  width: 655.54px;
  height: 563.54px;
  position: relative;
}

.lp-valley-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Hide field labels */
html body .lp-page-wrapper .lp-service-areas-list .field__label,
html body .lp-page-wrapper .lp-map-container .field__label {
  display: none !important;
}

/* Map pins styling (if using overlays) */
.lp-map-pin {
  position: absolute;
  width: 30px;
  height: 40px;
  color: var(--lp-orange);
  fill: var(--lp-orange);
}

.lp-map-label {
  position: absolute;
  background-color: var(--lp-white);
  border: 1px solid var(--lp-black);
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* ========================================
   SECTION 6: TESTIMONIALS SECTION
   ======================================== */

.lp-testimonials-section {
  position: relative;
  padding: 60px 80px !important;
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
}

/* Section header */
html body .lp-page-wrapper .lp-testimonials-section .lp-section-header {
  width: 645px !important;
  text-align: center !important;
  margin: 0 0 60px 70px !important;
}

html body .lp-page-wrapper .lp-testimonials-section .lp-section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 45px !important;
  font-weight: 600 !important;
  line-height: 100% !important;
  color: var(--lp-black) !important;
  text-align: left !important;
  max-width: unset;
}

/* Testimonials content - Horizontal layout with vertically centered header container */
html body .lp-page-wrapper .lp-testimonials-content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  position: relative !important;
  gap: 80px;
}

/* Horizontal wrapper for carousel and images */
html body .lp-page-wrapper .lp-testimonials-horizontal-wrapper {
  display: flex !important;
  gap: 80px !important;
  align-items: flex-start !important;
  position: relative !important;
  width: 100% !important;
}

/* Left Side - Testimonials Carousel */
html body .lp-page-wrapper .lp-testimonials-slider {
  position: relative !important;
  flex-shrink: 0 !important;
  padding: 0 70px !important; /* Space for arrows */
  overflow: hidden !important;
}

/* Make Drupal field wrappers transparent for testimonials */
html body .lp-page-wrapper .lp-testimonial-cards-grid .field,
html body .lp-page-wrapper .lp-testimonial-cards-grid .field__items {
  display: flex !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

html body .lp-page-wrapper .lp-testimonial-cards-grid .field__item {
  flex: 0 0 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

/* Testimonial cards grid - horizontal scroll container */
html body .lp-page-wrapper .lp-testimonial-cards-grid {
  display: flex !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  gap: 0 !important;
  width: 575px !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

/* Hide scrollbar for Chrome/Safari */
html body .lp-page-wrapper .lp-testimonial-cards-grid::-webkit-scrollbar {
  display: none !important;
}

/* Individual testimonial card */
html body .lp-page-wrapper .lp-testimonial-card {
  flex: 0 0 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  scroll-snap-align: start !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: none !important;
  box-sizing: border-box !important;
}

html body .lp-page-wrapper .paragraph--type--lp-testimonial {
  flex: 0 0 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* Star rating */
html body .lp-page-wrapper .lp-testimonial-stars {
  display: flex !important;
  gap: 5px !important;
  margin-bottom: 5px !important;
  width: 150px;
}

html body .lp-page-wrapper .lp-star {
  font-size: 30px !important;
  color: var(--lp-orange) !important;
  line-height: 1 !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: none !important;
}

html body .lp-page-wrapper .lp-star--filled {
  color: var(--lp-orange) !important;
}

html body .lp-page-wrapper .lp-star--empty {
  color: #CCCCCC !important;
}

/* Testimonial quote */
html body .lp-page-wrapper .lp-testimonial-quote {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 30px !important;
  color: var(--lp-black) !important;
  margin: 0 0 15px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* Remove Drupal's default blockquote styling */
html body .lp-page-wrapper .lp-testimonial-quote p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

/* Remove quote marks from blockquote pseudo-elements */
html body .lp-page-wrapper .lp-testimonial-quote::before,
html body .lp-page-wrapper .lp-testimonial-quote::after {
  content: none !important;
  display: none !important;
}

/* Testimonial author */
html body .lp-page-wrapper .lp-testimonial-author {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 100% !important;
  color: var(--lp-black) !important;
  font-style: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
}

/* Make author field wrappers inline to preserve dash placement */
html body .lp-page-wrapper .lp-testimonial-author .field,
html body .lp-page-wrapper .lp-testimonial-author .field__items,
html body .lp-page-wrapper .lp-testimonial-author .field__item {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide the field label in testimonial author */
html body .lp-page-wrapper .lp-testimonial-author .field__label {
  display: none !important;
}

/* Testimonial navigation arrows - matching What We Handle slider exactly */
html body .lp-page-wrapper .lp-testimonial-arrow-left,
html body .lp-page-wrapper .lp-testimonial-arrow-right {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 57px !important;
  height: 105px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-left:hover {
  opacity: 0.7 !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-right:hover {
  opacity: 0.7 !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-left:hover svg path {
  stroke: var(--lp-black) !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-right:hover svg path {
  stroke: var(--lp-black) !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-left {
  left: 0 !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-right {
  right: 0 !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-left svg,
html body .lp-page-wrapper .lp-testimonial-arrow-right svg {
  width: 57px !important;
  height: 105px !important;
  color: var(--lp-black) !important;
}

html body .lp-page-wrapper .lp-testimonial-arrow-left svg path,
html body .lp-page-wrapper .lp-testimonial-arrow-right svg path {
  stroke: var(--lp-black) !important;
  stroke-width: 4 !important;
}

/* Right Side - Testimonial Images (overlapping layout) */
html body .lp-page-wrapper .lp-testimonial-images {
  position: relative !important;
  flex-grow: 1 !important;
  min-height: 483px !important;
  width: 100% !important;
  max-width: 500px !important;
}

/* Make field wrappers transparent */
html body .lp-page-wrapper .lp-testimonial-images .field,
html body .lp-page-wrapper .lp-testimonial-images .field__items,
html body .lp-page-wrapper .lp-testimonial-images .field__item {
  display: contents !important;
}

html body .lp-page-wrapper .lp-testimonial-image {
  overflow: hidden !important;
  border: 3px solid var(--lp-white) !important;
  background: var(--lp-white) !important;
}

html body .lp-page-wrapper .lp-testimonial-image--1 {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 406px !important;
  height: 292px !important;
  z-index: 2 !important;
}

html body .lp-page-wrapper .lp-testimonial-image--2 {
  position: absolute !important;
  left: 50px !important;
  top: 191px !important;
  width: 397px !important;
  height: 266px !important;
  z-index: 1 !important;
}

html body .lp-page-wrapper .lp-testimonial-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Hide field labels */
html body .lp-page-wrapper .lp-testimonials-section .field__label {
  display: none !important;
}

/* ========================================
   SECTION 7: CONTACT FORM SECTION
   ======================================== */

.lp-contact-form-section {
  position: relative;
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
  min-height: 830px;
}

/* Split container */
html body .lp-page-wrapper .lp-contact-split {
  display: flex !important;
  min-height: 830px !important;
}

/* Left side - Contact image */
html body .lp-page-wrapper .lp-contact-image {
  width: 50% !important;
  min-height: 830px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

/* Make field wrappers transparent for contact image */
html body .lp-page-wrapper .lp-contact-image .field,
html body .lp-page-wrapper .lp-contact-image .field__items,
html body .lp-page-wrapper .lp-contact-image .field__item,
html body .lp-page-wrapper .lp-contact-image .media,
html body .lp-page-wrapper .lp-contact-image .overlay-container {
  display: contents !important;
}

html body .lp-page-wrapper .lp-contact-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Right side - Form container */
html body .lp-page-wrapper .lp-contact-form-container {
  flex-grow: 1 !important;
  background-color: var(--lp-beige) !important;
  padding: 60px 120px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Form title */
html body .lp-page-wrapper .lp-form-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 45px !important;
  font-weight: 600 !important;
  line-height: 100% !important;
  color: var(--lp-black) !important;
  text-align: center !important;
  margin: 0 0 40px 0 !important;
  max-width: 673px !important;
}

/* Form styling */
html body .lp-page-wrapper .lp-contact-form {
  width: 100% !important;
  max-width: 673px !important;
}

/* Form field labels */
html body .lp-page-wrapper .lp-contact-form label {
  display: block !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--lp-black) !important;
  margin-bottom: 8px !important;
  flex-shrink: 0 !important;
  height: auto !important;
}

/* Hide Drupal field label wrappers but keep form labels */
html body .lp-page-wrapper .lp-contact-form .field__label {
  display: none !important;
}

/* Make Drupal field wrappers transparent */
html body .lp-page-wrapper .lp-contact-form .field,
html body .lp-page-wrapper .lp-contact-form .field__items,
html body .lp-page-wrapper .lp-contact-form .field__item {
  display: contents !important;
}

/* Webform wrapper - use flexbox with wrapping for 2-column layout */
html body .lp-page-wrapper .lp-contact-form .webform-submission-form {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 23px !important;
  width: 100% !important;
}

/* Remove all wrapper interference - make them transparent EXCEPT address fieldset */
html body .lp-page-wrapper .lp-contact-form .webform-component,
html body .lp-page-wrapper .lp-contact-form .form-wrapper,
html body .lp-page-wrapper .lp-contact-form .webform-flexbox,
html body .lp-page-wrapper .lp-contact-form .js-form-wrapper {
  display: contents !important;
}

/* Fieldsets NOT in address wrapper use display: contents */
html body .lp-page-wrapper .lp-contact-form fieldset:not(.webform-address--wrapper),
html body .lp-page-wrapper .lp-contact-form .fieldset-wrapper:not(.webform-address--wrapper .fieldset-wrapper) {
  display: contents !important;
}

/* Address fieldset wrapper needs special handling */
html body .lp-page-wrapper .lp-contact-form .webform-address--wrapper .fieldset-wrapper {
  display: contents !important;
}

/* Hide spam/honeypot fields completely - must come AFTER general .form-item rules */
html body .lp-page-wrapper .lp-contact-form .form-item.form-item-spammaster-page,
html body .lp-page-wrapper .lp-contact-form .spammaster-honey,
html body .lp-page-wrapper .lp-contact-form .form-item-spammaster-page {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 0 !important;
  order: -1 !important;
}

/* Individual form items - flex column with explicit widths */
html body .lp-page-wrapper .lp-contact-form .form-item {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 calc(50% - 11.5px) !important; /* Default: half width minus half gap */
  align-items: stretch !important;
}

/* Full-width fields (textarea) */
html body .lp-page-wrapper .lp-contact-form .form-item-notes-additional-info,
html body .lp-page-wrapper .lp-contact-form .form-type-textarea {
  flex: 0 0 100% !important;
}

/* Address fieldset (if present) - full width with internal flex layout */
html body .lp-page-wrapper .lp-contact-form .webform-address--wrapper {
  flex: 0 0 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 23px !important;
}

/* Address sub-fields inside fieldset */
html body .lp-page-wrapper .lp-contact-form .form-item-address-address,
html body .lp-page-wrapper .lp-contact-form .form-item-address-address-2 {
  flex: 0 0 100% !important;
}

html body .lp-page-wrapper .lp-contact-form .form-item-address-city,
html body .lp-page-wrapper .lp-contact-form .form-item-address-state-province,
html body .lp-page-wrapper .lp-contact-form .form-item-address-postal-code {
  flex: 0 0 calc(33.333% - 15.33px) !important;
}

/* Submit button container - full width */
html body .lp-page-wrapper .lp-contact-form .form-actions {
  flex: 0 0 100% !important;
  display: flex !important;
}

/* Input fields */
html body .lp-page-wrapper .lp-contact-form input[type="text"],
html body .lp-page-wrapper .lp-contact-form input[type="email"],
html body .lp-page-wrapper .lp-contact-form input[type="tel"],
html body .lp-page-wrapper .lp-contact-form input[type="date"],
html body .lp-page-wrapper .lp-contact-form select,
html body .lp-page-wrapper .lp-contact-form textarea {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  background-color: var(--lp-white) !important;
  border: 1px solid var(--lp-black) !important;
  padding: 0 15px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  color: var(--lp-black) !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  line-height: normal !important;
}

html body .lp-page-wrapper .lp-contact-form textarea {
  height: 120px !important;
  min-height: 120px !important;
  max-height: none !important;
  padding: 15px !important;
  resize: vertical !important;
}

/* Select dropdown styling */
html body .lp-page-wrapper .lp-contact-form select {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23231F20' stroke-width='2'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  padding-right: 40px !important;
}

/* Focus states */
html body .lp-page-wrapper .lp-contact-form input[type="text"]:focus,
html body .lp-page-wrapper .lp-contact-form input[type="email"]:focus,
html body .lp-page-wrapper .lp-contact-form input[type="tel"]:focus,
html body .lp-page-wrapper .lp-contact-form input[type="date"]:focus,
html body .lp-page-wrapper .lp-contact-form select:focus,
html body .lp-page-wrapper .lp-contact-form textarea:focus {
  outline: 3px solid var(--lp-orange) !important;
  outline-offset: 2px !important;
}

/* Submit button */
html body .lp-page-wrapper .lp-contact-form .form-actions {
  text-align: center !important;
  margin-top: 10px !important;
}

html body .lp-page-wrapper .lp-contact-form .webform-button--submit,
html body .lp-page-wrapper .lp-contact-form input[type="submit"],
html body .lp-page-wrapper .lp-contact-form button[type="submit"] {
  width: 300px !important;
  height: 71px !important;
  background-color: var(--lp-orange) !important;
  border: none !important;
  cursor: pointer !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--lp-white) !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  display: inline-block !important;
  margin: 0 auto !important;
}

html body .lp-page-wrapper .lp-contact-form .webform-button--submit:hover,
html body .lp-page-wrapper .lp-contact-form input[type="submit"]:hover,
html body .lp-page-wrapper .lp-contact-form button[type="submit"]:hover {
  background-color: #d06325 !important;
  transform: translateY(-2px) !important;
}

html body .lp-page-wrapper .lp-contact-form .webform-button--submit:focus,
html body .lp-page-wrapper .lp-contact-form input[type="submit"]:focus,
html body .lp-page-wrapper .lp-contact-form button[type="submit"]:focus {
  outline: 3px solid var(--lp-black) !important;
  outline-offset: 2px !important;
}

html body .lp-page-wrapper .lp-contact-form .webform-button--submit:active,
html body .lp-page-wrapper .lp-contact-form input[type="submit"]:active,
html body .lp-page-wrapper .lp-contact-form button[type="submit"]:active {
  transform: translateY(0) !important;
}

/* ========================================
   DRUPAL FIELD WRAPPER OVERRIDES
   ======================================== */

/* Remove all default Drupal field spacing */
.lp-page-wrapper .field--name-field-lp-hero-logo,
.lp-page-wrapper .field--name-field-lp-hero-heading,
.lp-page-wrapper .field--name-field-lp-hero-subheading,
.lp-page-wrapper .field--name-field-lp-hero-image,
.lp-page-wrapper .field--name-field-lp-cta-buttons,
.lp-page-wrapper .field--name-field-lp-section-heading,
.lp-page-wrapper .field--name-field-lp-section-subheading,
.lp-page-wrapper .field--name-field-lp-feature-cards,
.lp-page-wrapper .field--name-field-lp-checklist-items,
.lp-page-wrapper .field--name-field-lp-project-images,
.lp-page-wrapper .field--name-field-lp-home-project-images,
.lp-page-wrapper .field--name-field-lp-process-steps,
.lp-page-wrapper .field--name-field-lp-testimonial,
.lp-page-wrapper .field--name-field-lp-webform {
  margin: 0;
  padding: 0;
}

/* Ensure field items don't add spacing */
.lp-one-team-section .field__items {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  gap: 33px;
}

.lp-page-wrapper .field--name-field-lp-feature-cards .field__items,
.lp-page-wrapper .field--name-field-lp-process-steps .field__items,
.lp-page-wrapper .field--name-field-lp-checklist-items .field__items {
  display: contents;
}

/* Remove paragraph type wrappers interference */
.lp-page-wrapper .paragraph--type--lp-feature-card,
.lp-page-wrapper .paragraph--type--lp-checklist-item,
.lp-page-wrapper .paragraph--type--lp-process-step,
.lp-page-wrapper .paragraph--type--lp-testimonial {
  background: none;
  border: none;
  box-shadow: none;
}

/* ========================================
   DRUPAL WEBFORM OVERRIDES
   ======================================== */

/* Override default Webform wrapper */
.lp-contact-form .webform-submission-form {
  margin: 0;
  padding: 0;
}

/* Form item overrides */
.lp-contact-form .form-item {
  margin: 0;
  padding: 0;
}

.lp-contact-form .form-type-textfield,
.lp-contact-form .form-type-email,
.lp-contact-form .form-type-tel,
.lp-contact-form .form-type-select,
.lp-contact-form .form-type-textarea {
  margin-bottom: 0;
}

/* Label overrides */
.lp-contact-form .form-item label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: var(--lp-font-label);
  line-height: var(--lp-line-label);
  color: var(--lp-black);
  margin: 0 0 9px 0;
  display: block;
}

/* Required indicator */
.lp-contact-form .form-required {
  color: var(--lp-orange);
}

/* Form actions */
.lp-contact-form .form-actions {
  margin: 28px 0 0 0;
  padding: 0;
  text-align: center;
}

/* Submit button override */
.lp-contact-form .webform-button--submit,
.lp-contact-form input[type="submit"] {
  width: 241px;
  height: var(--lp-button-height);
  background-color: var(--lp-orange);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: var(--lp-font-button);
  line-height: var(--lp-line-button);
  color: var(--lp-white);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.lp-contact-form .webform-button--submit:hover,
.lp-contact-form input[type="submit"]:hover {
  background-color: #d06325;
  transform: translateY(-2px);
}

.lp-contact-form .webform-button--submit:focus,
.lp-contact-form input[type="submit"]:focus {
  outline: 3px solid var(--lp-black);
  outline-offset: 2px;
}

/* Error messages */
.lp-contact-form .form-item--error-message {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 5px;
}

/* ========================================
   ICONS & DECORATIVE ELEMENTS
   ======================================== */

/* All icons should be SVG or image-based */
.lp-icon {
  width: var(--lp-icon-size);
  height: var(--lp-icon-size);
  display: inline-block;
}

.lp-icon svg,
.lp-icon img {
  width: 100%;
  height: 100%;
  color: var(--lp-orange);
  fill: var(--lp-orange);
}

/* Orange background for certain icons */
.lp-icon--background {
  background-color: var(--lp-orange);
  padding: 10px;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
  :root {
    --lp-section-padding-x: 40px;
  }

  /* Hero Section - Stack layout */
  html body .lp-page-wrapper .lp-hero-section {
    height: auto !important;
  }

  html body .lp-page-wrapper .lp-hero-container {
    flex-direction: column !important;
  }

  html body .lp-page-wrapper .lp-hero-content {
    width: 100% !important;
    padding: 50px var(--lp-section-padding-x) !important;
    min-height: unset !important;
  }

  html body .lp-page-wrapper .lp-hero-image {
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    left: 0 !important;
    top: 0 !important;
  }

  html body .lp-page-wrapper .lp-hero-cta {
    width: 100% !important;
    max-width: 100% !important;
  }

  .lp-one-team-section .field__items {
    flex-direction: column !important;
}

  /* Feature Cards - 2 columns */
  html body .lp-page-wrapper .lp-feature-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    justify-content: center !important;
  }

  html body .lp-page-wrapper .lp-feature-cards-grid .field__item {
    width: 100% !important;
  }

  /* What We Handle Section - Stack header and content */
  html body .lp-page-wrapper .lp-what-we-handle-section .lp-section-container {
    flex-direction: column !important;
    gap: 40px !important;
  }

  html body .lp-page-wrapper .lp-what-we-handle-section .lp-section-header {
    width: 100% !important;
    text-align: center !important;
  }

  html body .lp-page-wrapper .lp-what-we-handle-section .lp-section-title {
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body .lp-page-wrapper .lp-what-we-handle-content {
    flex-basis: 100% !important;
  }

  /* Checklist - Keep 2 columns on tablet */
  html body .lp-page-wrapper .lp-checklist-columns .field__items {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 40px !important;
  }

  /* Project Images Slider */
  html body .lp-page-wrapper .lp-slider-arrow-left {
    left: 10px !important;
  }

  html body .lp-page-wrapper .lp-slider-arrow-right {
    right: 10px !important;
  }

  /* Process Section - Stack layout */
  html body .lp-page-wrapper .lp-process-split {
    flex-direction: column !important;
    gap: 50px !important;
  }

  html body .lp-page-wrapper .lp-process-images {
    width: 100% !important;
    max-width: 556px !important;
    margin: 0 auto !important;
    height: 400px !important;
    display: none;
  }

  /* Valley Section - Stack layout */
  html body .lp-page-wrapper .lp-valley-split {
    flex-direction: column !important;
    gap: 40px !important;
  }

  html body .lp-page-wrapper .lp-valley-content {
    width: 100% !important;
  }

  html body .lp-page-wrapper .lp-map-container {
    max-width: 100% !important;
  }

  /* Testimonials - Stack layout */
  html body .lp-page-wrapper .lp-testimonials-content {
    flex-direction: column !important;
    gap: 50px !important;
  }

  html body .lp-page-wrapper .lp-testimonials-section .lp-section-header {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
  }

  html body .lp-page-wrapper .lp-testimonials-section .lp-section-title {
    text-align: center !important;
  }

  html body .lp-page-wrapper .lp-testimonials-slider {
    width: 100% !important;
    max-width: 100% !important;
  }

  html body .lp-page-wrapper .lp-testimonial-cards-grid {
    width: 100% !important;
  }

  html body .lp-page-wrapper .lp-testimonial-images {
    max-width: 100% !important;
    height: 400px !important;
    min-height: unset !important;
    display: none;
  }

  /* Contact Form - Stack layout */
  html body .lp-page-wrapper .lp-contact-split {
    flex-direction: column !important;
  }

  html body .lp-page-wrapper .lp-contact-image {
    min-height: unset !important;
    width: 100% !important;
  }

  html body .lp-page-wrapper .lp-contact-form-container {
    padding: 50px var(--lp-section-padding-x) !important;
  }
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
  :root {
    --lp-section-padding-x: 20px;
  }

  /* Hero Section */
  html body .lp-page-wrapper .lp-hero-content {
    padding: 40px var(--lp-section-padding-x) !important;
  }

  html body .lp-page-wrapper .lp-hero-logo {
    width: 120px !important;
    height: auto !important;
    margin-bottom: 20px !important;
  }

  html body .lp-page-wrapper .lp-hero-title {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  html body .lp-page-wrapper .lp-hero-subtitle {
    font-size: 18px !important;
    line-height: 24px !important;
  }

  html body .lp-page-wrapper .lp-hero-cta {
    width: 100% !important;
    margin-top: 25px !important;
  }

  html body .lp-page-wrapper .lp-hero-image {
    height: 300px !important;
  }

  html body .lp-page-wrapper .lp-hero-container {
    flex-direction: column !important;
  }

  /* Feature Cards - single column */
  html body .lp-page-wrapper .lp-feature-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  html body .lp-page-wrapper .lp-feature-cards-grid .field__item {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  /* Section Headers */
  html body .lp-page-wrapper header.lp-section-header {
    width: 100% !important;
  }

  html body .lp-page-wrapper header.lp-section-header h2.lp-section-title {
    font-size: 32px !important;
  }

  html body .lp-page-wrapper .lp-what-we-handle-section .lp-section-title {
    font-size: 32px !important;
  }

  .lp-what-we-handle-section {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  section.lp-what-we-handle-section h2 .field {
    display: inline-block;
    margin-bottom: 0px !important;
    vertical-align: bottom;
  }

  /* Checklist - single column on mobile */
  html body .lp-page-wrapper .lp-checklist-columns .field__items {
    display: flex !important;
    flex-direction: column;
  }

  html body .lp-page-wrapper .lp-checklist-item-text {
    font-size: 22px !important;
    line-height: 28px !important;
  }

  /* Project Images Slider - hide arrows, rely on swipe */
  html body .lp-page-wrapper .lp-slider-arrow {
    display: none !important;
  }

  html body .lp-page-wrapper .lp-project-images-slider {
    margin-top: 30px !important;
  }

  html body .lp-page-wrapper .lp-home-project-images-slider {
    margin-top: 30px !important;
  }

  /* Process Section */
  html body .lp-page-wrapper .lp-process-content .lp-section-title {
    font-size: 32px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  html body .lp-page-wrapper .lp-process-images {
    height: 300px !important;
    display: none;
  }

  html body .lp-page-wrapper .lp-process-image--1,
  html body .lp-page-wrapper .lp-process-image-1 {
    width: 70% !important;
  }

  html body .lp-page-wrapper .lp-process-image--2,
  html body .lp-page-wrapper .lp-process-image-2 {
    width: 70% !important;
    left: 60px !important;
    top: 150px !important;
    height: 200px !important;
  }

  html body .lp-page-wrapper .lp-process-step-title {
    font-size: 22px !important;
  }

  html body .lp-page-wrapper .lp-process-step-number {
    font-size: 22px !important;
  }

  html body .lp-page-wrapper .lp-process-step-description {
    font-size: 18px !important;
    max-width: 100% !important;
  }

  /* Valley Section */
  html body .lp-page-wrapper .lp-valley-content .lp-section-title {
    font-size: 32px !important;
    text-align: center !important;
  }

  html body .lp-page-wrapper .lp-service-areas-list .field__item {
    font-size: 20px !important;
    text-align: center !important;
  }

  /* Testimonials Section */
  html body .lp-page-wrapper .lp-testimonials-section {
    padding: 40px 20px !important;
  }

  html body .lp-page-wrapper .lp-testimonials-section .lp-section-title {
    font-size: 32px !important;
  }

  html body .lp-page-wrapper .lp-testimonials-slider {
    padding: 0 50px !important;
  }

  html body .lp-page-wrapper .lp-testimonial-arrow-left,
  html body .lp-page-wrapper .lp-testimonial-arrow-right {
    width: 40px !important;
    height: 80px !important;
  }

  html body .lp-page-wrapper .lp-testimonial-arrow-left svg,
  html body .lp-page-wrapper .lp-testimonial-arrow-right svg {
    width: 40px !important;
    height: 80px !important;
  }

  html body .lp-page-wrapper .lp-testimonial-cards-grid {
    width: 100% !important;
  }

  html body .lp-page-wrapper .lp-testimonial-quote {
    font-size: 16px !important;
    line-height: 26px !important;
  }

  html body .lp-page-wrapper .lp-testimonial-author {
    font-size: 18px !important;
  }

  html body .lp-page-wrapper .lp-star {
    font-size: 24px !important;
  }

  html body .lp-page-wrapper .lp-testimonial-images {
    height: 350px !important;
    min-height: unset !important;
    display: none;
  }

  html body .lp-page-wrapper .lp-testimonial-image--1 {
    width: 80% !important;
    height: 220px !important;
  }

  html body .lp-page-wrapper .lp-testimonial-image--2 {
    width: 80% !important;
    height: 190px !important;
    left: 40px !important;
    top: 130px !important;
  }

  /* Contact Form - single column */
  html body .lp-page-wrapper .lp-contact-image {
    min-height: unset !important;
  }

  html body .lp-page-wrapper .lp-contact-form-container {
    padding: 40px var(--lp-section-padding-x) !important;
  }

  html body .lp-page-wrapper .lp-form-title {
    font-size: 32px !important;
  }

  /* Form fields - all full width on mobile */
  html body .lp-page-wrapper .lp-contact-form .form-item {
    flex: 0 0 100% !important;
  }

  /* Address fields also full width */
  html body .lp-page-wrapper .lp-contact-form .form-item-address-city,
  html body .lp-page-wrapper .lp-contact-form .form-item-address-state-province,
  html body .lp-page-wrapper .lp-contact-form .form-item-address-postal-code {
    flex: 0 0 100% !important;
  }

  html body .lp-page-wrapper .lp-contact-form .webform-button--submit,
  html body .lp-page-wrapper .lp-contact-form input[type="submit"],
  html body .lp-page-wrapper .lp-contact-form button[type="submit"] {
    width: 100% !important;
  }
}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
  /* Ensure container doesn't exceed Figma design width */
  .lp-hero-section,
  .lp-one-team-section,
  .lp-what-we-handle-section,
  .lp-home-project-images-section,
  .lp-our-process-section,
  .lp-serving-valley-section,
  .lp-testimonials-section,
  .lp-contact-form-section {
    max-width: var(--lp-container-max-width);
  }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Visually hidden class for screen readers */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--lp-orange);
  color: var(--lp-white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus visible for keyboard navigation */
.lp-cta-button:focus-visible,
.lp-submit-button:focus-visible,
.lp-contact-form input:focus-visible,
.lp-contact-form select:focus-visible,
.lp-contact-form textarea:focus-visible {
  outline: 3px solid var(--lp-black);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .lp-cta-button,
  .lp-submit-button {
    border: 2px solid var(--lp-black);
  }

  .lp-contact-form input,
  .lp-contact-form select,
  .lp-contact-form textarea {
    border: 2px solid var(--lp-black);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .lp-cta-button,
  .lp-submit-button {
    transition: none;
  }

  .lp-cta-button:hover,
  .lp-submit-button:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .lp-cta-buttons,
  .lp-contact-form-section {
    display: none;
  }

  .lp-hero-section,
  .lp-one-team-section,
  .lp-what-we-handle-section,
  .lp-home-project-images-section,
  .lp-our-process-section,
  .lp-serving-valley-section,
  .lp-testimonials-section {
    page-break-inside: avoid;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.lp-container {
  max-width: var(--lp-container-max-width);
  margin: 0 auto;
  padding: 0 var(--lp-section-padding-x);
}

.lp-section {
  padding: var(--lp-section-padding-y) 0;
}

.lp-text-center {
  text-align: center;
}

.lp-mb-small {
  margin-bottom: 20px;
}

.lp-mb-medium {
  margin-bottom: 40px;
}

.lp-mb-large {
  margin-bottom: 60px;
}

/* Image lazy loading optimization */
.lp-hero-image img,
.lp-project-image img,
.lp-process-image-1 img,
.lp-process-image-2 img,
.lp-testimonial-image-1 img,
.lp-testimonial-image-2 img,
.lp-contact-image img {
  loading: lazy;
}