/* ==========================================================================
   1. VARIABLES & BASE RESET
   ========================================================================== */
:root {
  /* Colores principales */
  --forest: #0e3829;
  --forest-dark: #0d392a;
  --forest2: #164a36;
  --lime: #a6ae46;
  --lime-dark: #7f8b31;
  --olive-muted: #697442;

  /* Fondos y superficies */
  --cream: #f7f5ed;
  --page-bg: #ecece8;
  --surface-soft: #f6f7f5;

  /* Texto y bordes */
  --ink: #202420;
  --ink-dark: #202622;
  --muted: #68736c;
  --line: #dedfd2;

  /* Imagen del Hero y sus tamaños */
  --jobsite-photo: url("../images/hero limpio.jpeg");
  --jobsite-photo-size: cover;          /* Usa 'cover', 'contain' o un % como '110%' */
  --jobsite-photo-position: center;     /* Posición: 'center', 'right center', '60% 40%' */
  --jobsite-photo-height: 490px;        /* Alto mínimo en escritorio */
  --jobsite-photo-height-mobile: 280px; /* Alto mínimo en móvil */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 clamp(0px, 3.8vw, 58px);
  background: var(--page-bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   2. SHARED COMPONENTS & TYPOGRAPHY
   ========================================================================== */
.eyebrow {
  margin: 0 0 12px;
  color: var(--olive-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.accent-line {
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--lime);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 47px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.035em;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-lime {
  background: var(--ink-dark);
  border: 1px solid var(--ink-dark);
  color: #fff;
}

.button-lime:hover {
  background: #3d493e;
}

.button-outline {
  border: 1px solid var(--forest);
  color: var(--forest);
}

.button-ghost {
  border: 1px solid #d4d8d3;
  color: var(--ink-dark);
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 4;
  max-width: 1440px;
  height: 78px;
  margin: 18px auto 0;
  padding: 0 clamp(22px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 26px 26px 0 0;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  width: 190px;
  height: 78px;
  overflow: hidden;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--forest);
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 190px;
  height: 78px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.menu-toggle {
  display: none;
}

.main-nav,
.header-actions,
.languages {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: clamp(18px, 2.6vw, 42px);
  font-size: 13px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--lime-dark);
}

.header-actions {
  gap: 24px;
}

.languages {
  gap: 14px;
}

.languages button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 12px "DM Sans", sans-serif;
  opacity: 0.55;
  cursor: pointer;
}

.languages button:hover {
  opacity: 0.85;
}

.languages button.active {
  opacity: 1;
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-image-layout {
  position: relative;
  isolation: isolate;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 18px 102px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  background: #fff;
}

/* Left Slanted Copy Panel (4 esquinas externas redondeadas) */
.hero-code-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  min-height: var(--jobsite-photo-height);
  margin: 0;
  padding: clamp(36px, 4vw, 62px) clamp(28px, 4vw, 58px) 116px;
  background: var(--forest-dark);
  color: #fff;
  border-radius: 22px 0 0 22px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.hero-code-copy .hero-kicker {
  margin: 0 0 14px;
  color: #f4f3e9;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-code-copy h1 {
  max-width: 640px;
  margin: 0 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(50px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #fff;
}

.hero-code-copy .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-code-copy .hero-buttons .button {
  min-height: 48px;
  padding: 0 20px;
  font-size: 12px;
}

.hero-code-copy .button-ghost {
  border: 1px solid #fff;
  color: #fff;
}

.hero-code-copy .hero-proof {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-code-copy .hero-proof span {
  color: #d5df9a;
  font-size: 12px;
}

.hero-code-copy .hero-stats {
  display: flex;
  max-width: 430px;
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-code-copy .hero-stats > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-code-copy .hero-stats > div:first-child {
  padding-left: 0;
}

.hero-code-copy .hero-stats > div:last-child {
  border: 0;
}

.hero-code-copy .hero-stats strong {
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  letter-spacing: -0.05em;
  color: #fff;
}

.hero-code-copy .hero-stats span {
  max-width: 84px;
  color: #f4f3e9;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

/* Right Photo Panel (pasa por detrás de la diagonal para evitar huecos blancos) */
.hero-photo-panel {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: var(--jobsite-photo-height);
  margin: 0 0 0 38%;
  border-radius: 0 22px 22px 0;
  background-color: #6c745d;
  background-image: var(--jobsite-photo);
  background-position: var(--jobsite-photo-position);
  background-size: var(--jobsite-photo-size);
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-photo-shade {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(11, 52, 38, 0.72), transparent 30%),
              linear-gradient(0deg, rgba(9, 25, 19, 0.18), transparent 28%);
}

/* Oculto porque la foto actual ya muestra el letrero/escena sin cartel blanco */
.hero-photo-notice {
  display: none;
}

.hero-photo-notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #fff;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(14px, 1.4vw, 19px);
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 1px 5px #222;
}

.hero-photo-notes span {
  position: absolute;
  line-height: 1.05;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

.hero-photo-notes b {
  display: inline-block;
  margin-left: 6px;
  font-family: cursive;
  font-size: 25px;
  font-weight: 400;
}

.note-permits { top: 5%; left: 23%; }
.note-trades  { top: 13%; right: 5%; }
.note-county  { bottom: 7%; left: 16%; }

/* Bottom Floating Features Bar */
.hero-bottom-bar {
  position: absolute;
  z-index: 3;
  left: clamp(42px, 6vw, 86px);
  right: clamp(42px, 6vw, 86px);
  bottom: 20px;
  min-height: 70px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 15px;
  background: var(--ink-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(16, 28, 21, 0.14);
}

.hero-bottom-bar > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-bottom-bar > div:last-child {
  border: 0;
}

.mini-icon {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  color: #a5b64c;
  border: 1px solid rgba(165, 182, 76, 0.44);
  border-radius: 8px;
  font-size: 17px;
}

.hero-bottom-bar p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.hero-bottom-bar b,
.hero-bottom-bar small {
  font-size: 12px;
  line-height: 1.25;
}

.hero-bottom-bar small {
  color: #b6bdb6;
}

/* ==========================================================================
   5. QUICK LEAD FORM
   ========================================================================== */
.quick-lead {
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px clamp(24px, 5.8vw, 84px) 30px;
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: center;
  gap: 30px 44px;
  background: #fff;
}

.quick-lead-heading .eyebrow {
  margin: 0 0 7px;
  color: #788344;
  font-size: 12px;
}

.quick-lead-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink-dark);
}

.quick-lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  align-items: end;
  gap: 10px;
}

.quick-lead-form label {
  min-width: 0;
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #59615b;
}

.quick-lead-form input {
  display: block;
  width: 100%;
  height: 45px;
  margin-top: 5px;
  padding: 0 13px;
  border: 1px solid #dfe2dc;
  border-radius: 10px;
  background: #f8f9f7;
  color: var(--ink-dark);
  font: 13px "DM Sans", sans-serif;
  outline: none;
}

.quick-lead-form input:focus {
  border-color: #88924d;
  box-shadow: 0 0 0 2px #88924d22;
}

.quick-lead-form label:has(input:invalid:not(:placeholder-shown)) input {
  border-color: #b66b52;
}

.quick-lead-form .button {
  min-height: 45px;
  padding: 0 21px;
  white-space: nowrap;
}

.quick-lead-form .button b {
  padding-left: 13px;
  font-size: 18px;
}

.quick-success {
  grid-column: 1 / -1;
  padding: 10px 13px;
  border-radius: 9px;
  background: #edf0e6;
  color: #34412c;
  font-size: 12px;
}

/* ==========================================================================
   6. SERVICES & CTA BAND
   ========================================================================== */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 88px clamp(24px, 7vw, 106px);
  background: #fff;
}

.services {
  padding-top: 52px;
  padding-bottom: 64px;
}

.section-heading {
  margin: 0 0 27px;
  text-align: left;
}

.section h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 4vw, 51px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ink-dark);
}

.section-heading h2 {
  max-width: 700px;
}

.section-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 185px;
  padding: 21px;
  border-radius: 18px;
  background: var(--surface-soft);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  font-size: 12px;
  font-weight: 800;
  color: #778244;
}

.service-card h3 {
  margin: 17px 0 9px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: #252b26;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* CTA Band */
.cta-band {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px clamp(24px, 6vw, 85px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 50px;
  background: #f4f5f2;
  border-top: 1px solid #eff0ec;
  color: var(--forest);
}

.cta-band > div:first-child {
  max-width: 760px;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  color: var(--ink-dark);
}

.cta-band p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #58675e;
  font-size: 14px;
  line-height: 1.65;
}

.cta-band > .button {
  white-space: nowrap;
}

.cta-band .button span {
  padding-left: 14px;
  font-size: 18px;
}

.cta-secondary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 19px;
  border-top: 1px solid #dfe2dd;
  font-size: 14px;
}

.cta-secondary strong {
  font-family: "Manrope", sans-serif;
}

.cta-secondary a {
  font-weight: 800;
  color: var(--lime-dark);
}

.cta-secondary a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   7. TOPIC TAGS & GALLERY
   ========================================================================== */
.topic-tags {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 24px 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
}

.topic-tags a {
  display: inline-flex;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}

.topic-tags a:hover {
  border-color: var(--lime-dark);
  background: #f2f3e8;
}

.gallery-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 10px 10px;
  background: #fff;
}

.gallery-section > h2 {
  margin: 0 10px 22px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.04em;
  color: var(--forest);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 10px 12px 38px;
  background: #fff;
}

.photo-strip figure {
  position: relative;
  height: clamp(190px, 24vw, 300px);
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #d7d1c5;
}

.photo-strip figure::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  border-radius: 18px;
  background: linear-gradient(transparent, rgba(9, 31, 23, 0.7));
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 0.6s;
}

.photo-strip figure:hover img {
  transform: scale(1.04);
}

.gallery-framing img { object-position: 58% 64%; }
.gallery-plans img   { object-position: 74% 42%; transform: scale(1.24); }
.gallery-tag img     { object-position: 96% 49%; transform: scale(1.7); }

.gallery-plans:hover img,
.gallery-tag:hover img {
  transform: scale(1.78);
}

.photo-strip figcaption {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* ==========================================================================
   8. FAQ & PROCESS SECTIONS
   ========================================================================== */
.faq {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(35px, 8vw, 115px);
  padding-top: 58px;
  padding-bottom: 62px;
  margin-block: 0 14px;
  border-radius: 22px;
  background: var(--surface-soft);
}

.faq-intro h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--ink-dark);
}

.faq-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eaede7;
  color: #727b74;
  font-size: 12px;
  line-height: 1.65;
}

.faq-note a {
  display: block;
  margin-top: 9px;
  font-weight: 700;
  color: var(--forest);
}

.faq-note a:hover {
  text-decoration: underline;
}

.faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid #dfe2dd;
}

.faq-list details:first-child {
  border-top: 1px solid #dfe2dd;
}

.faq-list summary {
  position: relative;
  padding-right: 34px;
  list-style: none;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #242b26;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: -3px;
  color: var(--lime-dark);
  font-size: 25px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 14px 32px 3px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Process Section */
.process {
  padding-top: 56px;
  padding-bottom: 60px;
  background: #fff;
}

.process-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.process-top h2 {
  max-width: 690px;
}

.process-top > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 34px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid #e1e3de;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 30px;
}

.step > span {
  padding: 7px 9px;
  border: 1px solid #d9dec9;
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #707d3d;
}

.step h3 {
  max-width: 150px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.3;
}

.step-arrow {
  position: absolute;
  right: 18px;
  color: #798445;
  font-size: 23px;
  font-weight: 400;
}

/* ==========================================================================
   9. CONTACT & APPOINTMENT SECTION
   ========================================================================== */
.contact-section {
  max-width: 1440px;
  margin: 0 auto 14px;
  padding: clamp(42px, 6vw, 82px) clamp(24px, 7vw, 100px);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 6vw, 85px);
  border-radius: 22px;
  background: #23362c;
  color: #fff;
}

.contact-copy {
  padding-top: 24px;
}

.contact-copy .eyebrow {
  color: #d1d89d;
}

.contact-copy h2 {
  max-width: 380px;
  color: #fff;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 420px;
  color: #cad5ce;
  font-size: 15px;
  line-height: 1.65;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.contact-detail > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: var(--lime);
  font-size: 20px;
}

.contact-detail small,
.contact-detail strong {
  display: block;
}

.contact-detail small {
  margin-bottom: 6px;
  color: #a9b9af;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.contact-detail strong {
  font-size: 13px;
  font-weight: 600;
}

.contact-phone:hover strong {
  color: #d5df93;
}

/* Appointment Form */
.contact-form {
  padding: 32px clamp(23px, 4vw, 48px);
  border-radius: 20px;
  background: #faf9f3;
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(15, 28, 20, 0.1);
}

.contact-form h2 {
  margin: 0 0 22px;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.appointment-intro {
  margin: -9px 0 20px;
  color: #5f6b62;
  font-size: 15px;
  line-height: 1.45;
}

.contact-form label {
  display: block;
  margin-bottom: 15px;
  color: #39443d;
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #e7e9e5;
  border-radius: 10px;
  background: #f8f9f7;
  font: 13px "DM Sans", sans-serif;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 2px #a6ae4633;
}

.contact-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .appointment-row {
  margin-bottom: 4px;
}

/* Custom File Picker */
.upload-label {
  position: relative;
}

.file-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 45px;
  margin-top: 7px;
  padding: 7px 10px;
  border: 1px solid #dfe2dc;
  border-radius: 10px;
  background: #f8f9f7;
  color: #69716b;
  font-size: 12px;
  font-weight: 500;
}

.file-picker > span {
  padding: 8px 11px;
  border-radius: 7px;
  background: #e9ebe7;
  color: #28332b;
  font-size: 12px;
  font-weight: 700;
}

.file-picker small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.upload-label input[type="file"] {
  position: absolute;
  inset: auto auto 0 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.upload-label:has(input[type="file"]:focus-visible) .file-picker {
  outline: 2px solid #87954a;
  outline-offset: 2px;
}

.submit-button {
  width: 100%;
  justify-content: space-between;
  padding: 0 17px;
}

.form-success {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  background: #e9efdc;
  color: var(--forest);
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================================================
   10. FOOTER & LEGAL PAGES
   ========================================================================== */
.site-footer {
  max-width: 1440px;
  margin: 0 auto 18px;
  padding: 26px clamp(24px, 4vw, 58px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  border-radius: 0 0 26px 26px;
  background: #fff;
  color: #59625b;
  font-size: 12px;
}

.follow-us {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #687169;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}

.legal-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer small {
  width: 100%;
  padding-top: 17px;
  border-top: 1px solid #e4e6e1;
  color: #818980;
  font-size: 12px;
}

.site-footer small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Legal Subpages */
.legal-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 28px 90px;
}

.legal-content h1,
.legal-content h2 {
  font-family: "Manrope", sans-serif;
  color: var(--forest);
  letter-spacing: -0.035em;
}

.legal-content h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 56px);
}

.legal-content h2 {
  margin: 36px 0 10px;
  font-size: 23px;
}

.legal-content p,
.legal-content li {
  font-size: 16px;
  line-height: 1.75;
  color: #4f5d54;
}

.legal-content .legal-updated {
  margin-bottom: 38px;
  font-size: 13px;
  color: var(--muted);
}

.legal-content a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  display: inline-flex;
  margin-top: 36px;
  color: var(--forest);
  font-weight: 700;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
  body {
    padding: 0 12px;
  }

  .site-header {
    margin-top: 12px;
    padding: 0 24px;
  }

  .brand,
  .brand-logo {
    width: 168px;
    height: 69px;
  }

  .main-nav {
    gap: 15px;
    font-size: 12px;
  }

  .header-actions {
    gap: 13px;
  }

  .hero-image-layout {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 12px 12px 96px;
  }

  .hero-code-copy,
  .hero-photo-panel {
    min-height: 430px;
  }

  .hero-code-copy {
    padding: 38px 24px 108px;
  }

  .hero-code-copy h1 {
    font-size: clamp(46px, 5.3vw, 58px);
  }

  .hero-code-copy .hero-stats > div {
    padding-inline: 7px;
  }

  .hero-photo-panel {
    margin-left: 36%;
  }

  .hero-image-layout .hero-bottom-bar {
    left: 28px;
    right: 28px;
    bottom: 18px;
  }

  .quick-lead {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-inline: 30px;
  }

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

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

  .contact-section {
    gap: 36px;
    padding-inline: 35px;
  }
}

@media (max-width: 700px) {
  body {
    padding: 0 8px;
  }

  .site-header {
    height: 66px;
    padding: 0 16px;
    border-radius: 18px 18px 0 0;
  }

  .brand,
  .brand-logo {
    width: 145px;
    height: 60px;
  }

  .menu-toggle {
    display: block;
    border: 0;
    background: none;
    color: var(--forest);
    font-size: 23px;
    cursor: pointer;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    padding: 18px 22px 23px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #faf9f4;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
    margin-right: 15px;
  }

  .header-call {
    display: none;
  }

  .languages {
    gap: 9px;
  }

  /* Hero Mobile */
  .hero-image-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 8px 18px;
  }

  .hero-photo-panel {
    order: 0;
    min-height: var(--jobsite-photo-height-mobile);
    margin: 0;
    border-radius: 16px 16px 0 0;
  }

  .hero-photo-shade {
    background: linear-gradient(0deg, rgba(9, 25, 19, 0.3), transparent 36%);
  }

  .hero-code-copy .hero-kicker {
    font-size: 12px;
  }

  .hero-photo-notes {
    font-size: 14px;
  }

  .note-county {
    left: 8%;
  }

  .hero-code-copy {
    order: 1;
    min-height: 0;
    margin: 0;
    padding: 26px 22px 24px;
    clip-path: none;
    border-radius: 0 0 16px 16px;
  }

  .hero-code-copy h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-code-copy .hero-buttons {
    gap: 8px;
  }

  .hero-code-copy .hero-buttons .button {
    padding-inline: 14px;
  }

  .hero-code-copy .hero-stats {
    max-width: none;
    margin-top: 20px;
  }

  .hero-image-layout .hero-bottom-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 2;
    margin: 12px 8px 0;
    padding: 8px;
    grid-template-columns: 1fr 1fr;
    border-radius: 13px;
  }

  .hero-image-layout .hero-bottom-bar > div {
    min-height: 54px;
    padding: 7px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-image-layout .hero-bottom-bar > div:nth-child(2) {
    border-right: 0;
  }

  .hero-image-layout .hero-bottom-bar > div:nth-child(3) {
    border-bottom: 0;
  }

  .hero-image-layout .hero-bottom-bar > div:nth-child(4) {
    border: 0;
  }

  /* Quick Lead Mobile */
  .quick-lead {
    margin: 0 8px;
    padding: 25px 18px 22px;
    border-radius: 14px;
    gap: 15px;
  }

  .quick-lead-form {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .quick-lead-form label:nth-of-type(3),
  .quick-lead-form .button {
    grid-column: 1 / -1;
  }

  .quick-lead-form .button {
    width: 100%;
    justify-content: space-between;
  }

  /* Sections Mobile */
  .services,
  .faq,
  .process {
    padding: 48px 20px;
  }

  .section h2,
  .contact-copy h2,
  .faq-intro h2 {
    font-size: 36px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .service-card {
    min-height: 170px;
    padding: 17px;
    border-radius: 14px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    margin: 0 8px;
    padding: 42px 20px;
    border-radius: 16px;
  }

  .cta-band > .button {
    justify-self: start;
  }

  .cta-secondary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .topic-tags {
    padding-bottom: 24px;
  }

  .photo-strip {
    grid-template-columns: 1fr;
    padding: 8px 8px 26px;
    gap: 8px;
  }

  .photo-strip figure {
    height: 220px;
    border-radius: 14px;
  }

  .photo-strip figure::after {
    border-radius: 14px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 0 8px 10px;
    border-radius: 16px;
  }

  .process {
    margin-inline: 8px;
    border-radius: 16px;
  }

  .process-top {
    display: block;
  }

  .process-top > p {
    margin-top: 18px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
    margin-top: 30px;
  }

  .step {
    align-items: flex-start;
    gap: 10px;
    padding: 0;
  }

  .step h3 {
    font-size: 13px;
  }

  .step-arrow {
    display: none;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 0 8px 10px;
    padding: 42px 20px;
    border-radius: 16px;
  }

  .contact-copy {
    padding-top: 0;
  }

  .contact-form {
    padding: 24px 18px;
  }

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

  .site-footer {
    margin: 0 8px 12px;
    padding: 24px 18px;
    gap: 14px;
    border-radius: 0 0 16px 16px;
  }

  .follow-us {
    flex-wrap: wrap;
  }

  .legal-links {
    width: 100%;
    order: 4;
  }

  .legal-content {
    padding: 48px 22px 64px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
