/* ============================================================
   DESKTOP STYLESHEET — Pleasant View Cleaning

   HOW TO EDIT:
   - Colors are defined as variables in the CSS VARIABLES section below.
     Change a color once there and it updates everywhere.
   - Each section is labeled with a comment block so you can find it easily.
   - This file handles desktop/laptop layouts (screens wider than 768px).
   - Mobile overrides are in mobile.css.
   ============================================================ */

/* === RESET & BASE === */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  color: var(--dark-text);       /* dark text color */
  background-color: var(--white); /* white background */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: var(--navy);            /* default link color */
}

a:hover {
  color: var(--navy);
  opacity: 0.8;
}

ul {
  list-style: none;
}


/* === CSS VARIABLES === */
/* Change any color here and it updates across the entire site */

:root {
  --navy: #211f54;              /* primary — dark navy (nav, headings, backgrounds) */
  --cyan: #69d5fc;              /* accent — light cyan (buttons, hovers) */
  --text-secondary: #6e7191;   /* secondary body text */
  --white: #ffffff;             /* white backgrounds and text on dark */
  --light-bg: #eff0f6;         /* alternating section backgrounds */
  --dark-text: #211f54;        /* body copy (same navy for strong legibility) */
  --border-color: #eff0f6;     /* card and input borders */
  --card-border: #dcddeb;      /* card outlines */
  --overlay-dark: rgba(20, 20, 50, 0.62); /* hero overlay */
  --focus-ring: #211f54;       /* keyboard focus indicator */
  --font-main: 'Jost', sans-serif;
  --max-width: 1200px;         /* max content width */

  /* Convenience aliases kept for comments in section rules */
  --primary: var(--navy);
  --accent: var(--cyan);
}


/* === TYPOGRAPHY === */

h1, h2, h3, h4 {
  color: var(--navy);    /* heading color */
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}


/* === LAYOUT UTILITIES === */

.container {
  max-width: var(--max-width);   /* centered content container */
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 5rem 0;
}

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

.sr-only {
  /* Visually hidden but accessible to screen readers */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* === SKIP LINK (accessibility) === */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}


/* === HEADER & NAVIGATION === */

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: top 0.35s ease;
}

/* Top bar with email and phone */
.top-bar {
  background-color: var(--white);
  color: var(--navy);
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--card-border);  /* clear separator between contact bar and nav */
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--navy);
  font-weight: 500;
}

.top-bar a:hover {
  opacity: 0.65;
}

/* Social media icons — centered in the top bar */
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icons a {
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.social-icons a:hover {
  color: var(--navy);
  opacity: 1;
}

/* Main nav bar */
.nav-bar {
  padding: 1.25rem 0;  /* more breathing room */
}

.nav-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.site-logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  opacity: 0.7;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--cyan);
}

@media (prefers-reduced-motion: no-preference) {
  .nav-link::after {
    transition: width 0.3s ease;
  }
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA button in nav */
@keyframes nav-cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(105, 213, 252, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(105, 213, 252, 0); }
  100% { box-shadow: 0 0 0 0 rgba(105, 213, 252, 0); }
}

.nav-cta {
  background-color: var(--cyan);
  color: var(--navy);
  padding: 0.6rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  animation: nav-cta-pulse 2.5s ease-out infinite;
}

.page-home .nav-cta {
  display: none;
}

.nav-cta:hover {
  background-color: var(--navy);
  color: var(--white);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-cta {
    transition: background-color 0.2s ease;
  }
}

/* Phone number in nav */
.nav-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.nav-phone:hover {
  opacity: 0.7;
}

/* Dropdown nav item */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-caret {
  font-size: 0.65rem;
  margin-left: 0.2rem;
}

@media (prefers-reduced-motion: no-preference) {
  .nav-dropdown-caret {
    transition: transform 0.2s ease;
  }
}

.nav-item-dropdown:hover .nav-dropdown-caret,
.nav-item-dropdown.open .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 0.375rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  padding: 0.35rem 0;
  display: none;
  z-index: 150;
  list-style: none;
}

/* Invisible bridge that covers the gap so hover doesn't break */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -0.65rem;
  left: 0;
  right: 0;
  height: 0.65rem;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.open .nav-dropdown {
  display: block;
}

.nav-dropdown-link {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  background-color: var(--light-bg);
  color: var(--navy);
  opacity: 1;
}

.nav-dropdown-link--active {
  font-weight: 700;
}


/* Mobile nav toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}


/* === HERO SECTIONS === */

.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 2rem;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 3px rgba(60,60,60,0.9), 1px 1px 5px rgba(60,60,60,0.7);
}

.hero p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 3px rgba(60,60,60,0.9), 1px 1px 5px rgba(60,60,60,0.7);
  opacity: 0.95;
}

.hero-btn {
  display: inline-block;
  background-color: var(--cyan);
  color: var(--navy);
  padding: 0.9rem 2.5rem;
  border-radius: 0.375rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-btn:hover {
  background-color: var(--white);
  color: var(--navy);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-btn {
    transition: background-color 0.2s ease;
  }
}

/* Smaller page hero (for About, Services, Contact pages) */
.hero-small {
  min-height: 300px;
}


/* === SERVICES GRID (home page overview) === */

.services-section {
  background-color: var(--light-bg);
}

.section-subtitle {
  color: var(--dark-text);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.services-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-icon-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--navy);
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .service-icon-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }
}

.service-icon-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
  color: var(--navy);
}

.service-icon-card i {
  font-size: 2.25rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 0.85rem;
}

.service-icon-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.service-icon-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.services-icon-cta {
  margin-top: 2.5rem;
}


/* === SERVICES PAGE (detailed service sections) === */

.service-detail {
  padding: 4rem 0;
  scroll-margin-top: 120px;
}

.service-detail:nth-child(even) {
  background-color: var(--light-bg);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* image + text side by side */
  gap: 3rem;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-inner {
  direction: rtl;                   /* flip image to right on even sections */
}

.service-detail:nth-child(even) .service-detail-inner > * {
  direction: ltr;                   /* reset text direction */
}

.service-detail-img {
  border-radius: 0.5rem;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-detail-text h2 {
  margin-bottom: 1rem;
}

.service-detail-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.service-detail-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.service-detail-text ul li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}


/* === WHY CHOOSE US === */

.why-section {
  background-color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3-column grid */
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  background: var(--white);
}

.why-icon {
  font-size: 2rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
}

.why-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--dark-text);
  line-height: 1.6;
}


/* === TESTIMONIALS === */

.testimonials-section {
  background-color: var(--light-bg);
}

#testimonial-carousel {
  position: relative;
  min-height: 360px;              /* tall enough for the longest testimonial */
  margin: 2rem auto 0;
  max-width: 700px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.testimonial-stars {
  color: #f5a623;                   /* gold star color */
  font-size: 1.4rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-text);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

/* Carousel dot indicators */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card-border);
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .dot {
    transition: background 0.2s ease;
  }
}

.dot.active {
  background: var(--navy);
}


/* === CTA BANNER === */

.cta-section {
  background-color: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta-section p {
  color: var(--white);
  opacity: 0.92;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background-color: var(--cyan);
  color: var(--navy);
  padding: 0.9rem 2.5rem;
  border-radius: 0.375rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.cta-btn:hover {
  background-color: var(--white);
  color: var(--navy);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .cta-btn {
    transition: background-color 0.2s ease;
  }
}

.cta-phone {
  display: block;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 1rem;
}

.cta-phone:hover {
  opacity: 0.85;
  color: var(--white);
}


/* === ABOUT PAGE === */

.about-mission {
  background: var(--white);
}

.about-mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-mission-img {
  border-radius: 0.5rem;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 10%;
}

.about-mission-text h2 {
  margin-bottom: 1rem;
}

.about-mission-text p {
  line-height: 1.7;
}

.values-section {
  background-color: var(--light-bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--card-border);
}

.value-card h3 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Full-width card — spans both columns (used for the ownership card) */
.value-card--full {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}


/* === CONTACT PAGE === */

.contact-section {
  background: var(--white);
}

.contact-grid {
  max-width: 640px;
}

/* Two-column contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-details-col {
  max-width: 420px;
}

/* Quote form card */
.quote-form-wrap {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.quote-form-header h2 {
  margin-bottom: 0.25rem;
}

.quote-form-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Mini testimonial carousel inside quote form */
.form-testimonial-wrap {
  position: relative;
  margin-bottom: 1.5rem;
  background: var(--light-bg);
  border-radius: 0.4rem;
  padding: 0.85rem 1rem;
}

.form-testimonial {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  right: 1rem;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .form-testimonial {
    transition: opacity 0.6s ease;
  }
}

.form-testimonial.active {
  opacity: 1;
  pointer-events: auto;
}

.form-testimonial-stars {
  color: #f5a623;
  font-size: 0.85rem;
  letter-spacing: 0.1rem;
  margin-bottom: 0.35rem;
}

.form-testimonial p {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--dark-text);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.form-testimonial span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

/* Progress bar */
.form-progress-wrap {
  margin-bottom: 1.75rem;
}

.form-progress-track {
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.form-progress-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
  width: 33.33%;
}

@media (prefers-reduced-motion: no-preference) {
  .form-progress-fill {
    transition: width 0.4s ease;
  }
}

.form-step-labels {
  display: flex;
  justify-content: space-between;
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.step-label.active {
  color: var(--navy);
  font-weight: 700;
}

/* Form steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.step-hint {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Residential / Commercial toggle */
.inquiry-type-toggle {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.inquiry-type-option {
  cursor: pointer;
  flex: 1;
}

.inquiry-type-option input {
  display: none;
}

.inquiry-type-option span {
  display: block;
  text-align: center;
  padding: 0.55rem 1rem;
  border: 2px solid var(--card-border);
  border-radius: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

@media (prefers-reduced-motion: no-preference) {
  .inquiry-type-option span {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }
}

.inquiry-type-option input:checked + span {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Service checkboxes */
.service-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.service-check {
  cursor: pointer;
  display: block;
}

.service-check input {
  display: none;
}

.service-check span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--card-border);
  border-radius: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  width: 100%;
  line-height: 1.3;
}

@media (prefers-reduced-motion: no-preference) {
  .service-check span {
    transition: border-color 0.15s ease, background-color 0.15s ease;
  }
}

.service-check span i {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.service-check input:checked + span {
  border-color: var(--navy);
  background-color: rgba(33, 31, 84, 0.05);
}

.service-check input:checked + span i {
  color: var(--navy);
}

/* Form inputs */
.form-fields {
  margin-bottom: 0.25rem;
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--card-border);
  border-radius: 0.375rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--white);
  margin-bottom: 0.65rem;
}

.form-input:focus {
  border-color: var(--navy);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.form-row .form-input {
  margin-bottom: 0.65rem;
}

/* Nav buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.form-nav-right {
  justify-content: flex-end;
}

.form-btn-next,
.form-btn-submit {
  background-color: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 0.375rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

@media (prefers-reduced-motion: no-preference) {
  .form-btn-next,
  .form-btn-submit {
    transition: background-color 0.2s ease, color 0.2s ease;
  }
}

.form-btn-next:hover,
.form-btn-submit:hover {
  background-color: var(--cyan);
  color: var(--navy);
  opacity: 1;
}

.form-btn-back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0;
}

.form-btn-back:hover {
  color: var(--navy);
  opacity: 1;
}

/* Cialdini — scarcity & authority */
.form-scarcity {
  font-size: 0.82rem;
  color: #b45309;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-authority {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Validation errors */
.form-step-error {
  color: #991b1b;
  font-size: 0.83rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Success & error states */
.form-success,
.form-error-state {
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success-icon {
  font-size: 3rem;
  color: #059669;
  display: block;
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-error-state i {
  font-size: 2.5rem;
  color: #991b1b;
  display: block;
  margin-bottom: 0.75rem;
}

.contact-details h2 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-item-text a {
  font-weight: 500;
}

.contact-item-text p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-item-text .label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.15rem;
}

/* Direct email/contact link button */
.contact-email-btn {
  display: inline-block;
  background-color: var(--cyan);
  color: var(--navy);
  padding: 0.9rem 2.5rem;
  border-radius: 0.375rem;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.contact-email-btn:hover {
  background-color: var(--navy);
  color: var(--white);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-email-btn {
    transition: background-color 0.2s ease, color 0.2s ease;
  }
}


/* === OUR STORY SECTION (about page) === */

.story-section {
  background-color: var(--light-bg);
}

.story-inner {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.story-part h2 {
  margin-bottom: 1rem;
}

.story-part p {
  line-height: 1.8;
  color: var(--dark-text);
}

.story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.story-images img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}


/* === SERVICE AREA SECTION (contact page) === */

.service-area-section {
  background-color: var(--light-bg);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-area-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.service-area-col h3 .fa-location-dot {
  color: var(--cyan);
  font-size: 1rem;
}

.service-area-col ul {
  padding: 0;
}

.service-area-col li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--dark-text);
  border-bottom: 1px solid var(--card-border);
}

.service-area-col li:last-child {
  border-bottom: none;
}


/* === COMMERCIAL PAGE === */

.commercial-intro {
  background: var(--white);
  text-align: center;
}

.commercial-intro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.commercial-intro-inner h2 {
  margin-bottom: 1.25rem;
}

.property-types-section {
  background-color: var(--light-bg);
}

.property-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.property-type-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--card-border);
  text-align: left;
}

.property-type-icon {
  font-size: 1.75rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
}

.property-type-card h3 {
  margin-bottom: 0.5rem;
}

.property-type-card p {
  font-size: 0.95rem;
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.commercial-services-section {
  background: var(--white);
  text-align: center;
}

.commercial-services-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.commercial-services-inner h2 {
  margin-bottom: 1rem;
}

.commercial-services-inner > p {
  margin-bottom: 0.25rem;
}

.commercial-services-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0;
}

.commercial-service-item {
  flex: 0 0 calc(33.333% - 0.67rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 0.85rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 0.4rem;
}

.commercial-service-item i {
  color: var(--cyan);
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}

.contracts-section {
  background-color: var(--light-bg);
}

.contracts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contract-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--card-border);
  text-align: left;
}

.contract-icon {
  font-size: 2rem;
  color: var(--cyan);
  display: block;
  margin-bottom: 1rem;
}

.contract-card h3 {
  margin-bottom: 0.75rem;
}

.contract-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-text);
}

/* Credentials strip */
.commercial-creds {
  background-color: var(--navy);
  padding: 2.25rem 0;
}

.commercial-creds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.commercial-cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.commercial-cred-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}

.commercial-cred-label {
  font-size: 0.82rem;
  color: var(--white);
  opacity: 0.8;
  line-height: 1.4;
  max-width: 130px;
}


/* Commercial callout banner (home page) */
.commercial-callout {
  background-color: var(--white);
}

.commercial-callout-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.commercial-callout-photo {
  position: relative;
}

.commercial-callout-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}

.commercial-callout-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-dark, #0ea5c8);
  margin-bottom: 0.75rem;
}

.commercial-callout h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.commercial-callout p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.commercial-callout-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.commercial-callout-icon-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}

.commercial-callout-icon-item i {
  font-size: 1.1rem;
  color: var(--cyan-dark, #0ea5c8);
  flex-shrink: 0;
}

.commercial-callout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 0.1rem;
  transition: gap 0.2s, color 0.2s;
}

.commercial-callout-link:hover {
  gap: 0.85rem;
  color: var(--cyan-dark, #0ea5c8);
}


/* === FOOTER === */

.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;  /* brand | services | pages | contact */
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--white);
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.85;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-contact-item {
  color: var(--white);
  opacity: 0.85;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-contact-item a {
  color: var(--white);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer-badge {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}


/* === GALLERY PAGE === */

/* === BEFORE & AFTER COMPARISON SLIDERS === */

.comparison-section {
  background-color: var(--light-bg);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.comparison-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.comparison-before {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 50% 0 0);
}

.comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.comparison-handle::before,
.comparison-handle::after {
  content: '';
  flex: 1;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.comparison-handle i {
  background: var(--white);
  color: var(--navy);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.comparison-label {
  position: absolute;
  top: 0.75rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0.25rem;
  pointer-events: none;
  z-index: 5;
}

.label-before {
  left: 0.75rem;
  background: rgba(33, 31, 84, 0.75);
  color: var(--white);
}

.label-after {
  right: 0.75rem;
  background: rgba(105, 213, 252, 0.9);
  color: var(--navy);
}

/* === GALLERY SERVICE GROUPS === */

.gallery-service-group {
  margin-top: 3.5rem;
}

.gallery-group-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--card-border);
}

.gallery-group-heading i {
  color: var(--cyan);
  font-size: 0.95rem;
}

.comparison-grid--single {
  grid-template-columns: 1fr;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Center a lone last slider in a 2-col grid (odd total count) */
.comparison-grid > .comparison-slider:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-extra {
  display: none;
}

.comparison-grid.is-expanded .comparison-extra {
  display: block;
}

.gallery-show-more {
  display: block;
  margin: 1.75rem auto 0;
  padding: 0.6rem 1.75rem;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 2rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gallery-show-more:hover {
  background: var(--navy);
  color: var(--white);
}

/* === TIME-LAPSE VIDEOS === */

.video-section {
  background-color: var(--white);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.video-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
}

.video-item video {
  width: 100%;
  display: block;
  height: 280px;
  object-fit: cover;
}

.video-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 0.6rem;
}

.gallery-section {
  background-color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item img {
    transition: transform 0.35s ease;
  }
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(33, 31, 84, 0.82) 0%, transparent 100%);
  padding: 2rem 1rem 0.85rem;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item-overlay {
    transition: opacity 0.3s ease;
  }
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}


/* === FAQ PAGE === */

.faq-band {
  /* background set per band via class below */
}

.faq-band--white {
  background-color: var(--white);
}

.faq-band--tint {
  background-color: var(--light-bg);
}

.faq-category {
  max-width: 760px;
  margin: 0 auto;
}

.faq-category-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-category-heading i {
  color: var(--cyan);
  font-size: 1.05rem;
}

.faq-list {
  /* no outer box — bands do the visual separation */
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--card-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  user-select: none;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-question {
    transition: color 0.15s ease;
  }
}

.faq-question:hover {
  color: var(--cyan-dark, #0ea5c8);
}

.faq-item[open] .faq-question {
  color: var(--navy);
}

.faq-caret {
  font-size: 0.7rem;
  color: var(--cyan);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-caret {
    transition: transform 0.25s ease;
  }
}

.faq-answer {
  padding: 0 0 1.25rem;
  background: transparent;
  overflow: hidden;
}

.faq-answer p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.faq-answer a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer a:hover {
  opacity: 0.75;
}

.faq-answer-img {
  float: right;
  width: 260px;
  height: 175px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 0.75rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}


/* === FOCUS STYLES (keyboard accessibility) === */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Remove duplicate outline for form fields (already handled above) */
.form-group input:focus,
.form-group textarea:focus {
  outline-offset: 1px;
}
