/*
Theme Name: TR Earthworks
Theme URI: https://www.trearthworks.com/
Author: TR Earthworks LLC
Description: Custom one-page theme for TR Earthworks LLC — excavation, grading, demolition and site work in Hutchinson, MN. Converted from the original static site design.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tr-earthworks
*/

/* TR Earthworks LLC — site styles */

:root {
  --red: #D32F2F;
  --red-dark: #A82121;
  --red-press: #7d1c1c;
  --red-bright: #E01F1F;
  --near-black: #1A1A1A;
  --charcoal-900: #1C1D1C;
  --charcoal-800: #141414;
  --charcoal-disc: #282828;
  --off-white: #F7F5F2;
  --tan: #C9A876;
  --white: #FFFFFF;
  --border-warm: #E5E0D9;
  --body-text: #555049;
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--near-black);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

input, select, textarea, button { font-family: inherit; }

.wrap { width: 100%; overflow-x: hidden; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--near-black);
  border-bottom: 3px solid var(--red);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}

.site-header .logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header .logo-link img {
  height: 58px;
  width: auto;
  display: block;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  color: var(--off-white);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.header-actions-desktop {
  display: none;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid #4a4a4a;
  color: var(--off-white);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header-phone:hover { border-color: var(--tan); color: #fff; }

.header-phone .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--tan);
  flex: 0 0 auto;
}

.btn-quote-header {
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 0 var(--red-press);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-quote-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--red-press);
  color: #fff;
}

.header-actions-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-phone-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header-phone-mobile:hover { background: #b52626; color: #fff; }

.menu-toggle {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid #4a4a4a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--off-white);
}

.mobile-menu {
  border-top: 1px solid #2b2b2b;
  background: var(--charcoal-800);
  padding: 12px 24px 20px;
  display: none;
  flex-direction: column;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid #2b2b2b;
  color: var(--off-white);
  font-family: var(--heading-font);
  font-size: 18px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mobile-menu .btn-quote-mobile {
  margin-top: 16px;
  padding: 16px;
  text-align: center;
  background: var(--red);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: none;
}

@media (min-width: 1040px) {
  .main-nav, .header-actions-desktop { display: flex; }
  .header-actions-mobile { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background: var(--near-black);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,16,16,.90) 0%, rgba(16,16,16,.68) 48%, rgba(16,16,16,.18) 100%);
  pointer-events: none;
}

.hero-overlay-top {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(16,16,16,.75), rgba(16,16,16,0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 24px 92px;
  width: 100%;
}

.hero-rule {
  width: 62px;
  height: 5px;
  background: var(--red);
  margin-bottom: 26px;
}

.hero h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  max-width: 16ch;
  text-wrap: balance;
}

.hero p {
  margin: 22px 0 0;
  font-size: 21px;
  line-height: 1.5;
  color: #DCD8D2;
  max-width: 52ch;
}

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

/* ---------- Buttons (shared) ---------- */

.btn {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.btn-red {
  padding: 18px 30px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 0 var(--red-press);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-red:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--red-press); color: #fff; }

.btn-outline {
  padding: 18px 30px;
  background: transparent;
  border: 2px solid var(--off-white);
  color: var(--off-white);
  font-size: 20px;
  letter-spacing: 0.05em;
  transition: background .15s ease, color .15s ease;
}

.btn-outline:hover { background: var(--off-white); color: var(--near-black); }

/* ---------- Trust bar (disc row) ---------- */

.trust-bar {
  background: var(--charcoal-900);
  padding: 0 24px 62px;
}

.trust-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  transform: translateY(-56px);
}

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

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.disc {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--charcoal-disc);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  flex: 0 0 auto;
}

.disc i { font-size: 44px; color: var(--red-bright); }

.trust-item .label {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F2EFEB;
}

/* ---------- Section heading helpers ---------- */

.eyebrow {
  font-family: var(--heading-font);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.eyebrow.on-dark { color: var(--tan); }
.eyebrow.on-dark-alt { color: var(--red-bright); }

h2 {
  margin: 10px 0 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  text-transform: uppercase;
}

/* ---------- Services ---------- */

.services {
  scroll-margin-top: 78px;
  padding: 92px 24px 96px;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.services-head p {
  margin: 0;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-warm);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26,26,26,.13);
}

.service-card .disc-wrap {
  padding: 34px 24px 0;
  display: flex;
  justify-content: center;
}

.service-card .disc {
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.service-card .disc i { font-size: 45px; }

.service-card .body {
  padding: 22px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 1;
}

.service-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 26px;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
  flex: 1;
}

.service-card .quote-link {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
}

.service-card.cta-card {
  background: var(--near-black);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.service-card.cta-card:hover { transform: none; box-shadow: none; }

.service-card.cta-card h3 {
  font-size: 30px;
  line-height: 1.1;
  color: #fff;
}

.service-card.cta-card p {
  color: #C6C1BA;
  flex: none;
}

.service-card.cta-card .btn-red {
  align-self: flex-start;
  margin-top: 6px;
  padding: 14px 22px;
  font-size: 17px;
  box-shadow: none;
}

.service-card.cta-card .btn-red:hover {
  background: #b52626;
  transform: none;
  box-shadow: none;
}

/* ---------- Featured work ---------- */

.featured {
  scroll-margin-top: 78px;
  background: var(--near-black);
  padding: 92px 24px;
}

.featured h2 { color: #fff; margin-bottom: 44px; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.featured-photo {
  position: relative;
  height: 420px;
}

.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-caption {
  border-left: 4px solid var(--red);
  padding: 16px 0 0 16px;
  margin-top: 18px;
}

.featured-caption.alt { border-left-color: var(--tan); }

.featured-caption h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
}

.featured-caption p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #B9B4AD;
}

/* ---------- Why us ---------- */

.why-us {
  padding: 88px 24px;
  background: var(--off-white);
}

.why-us h2 { margin-bottom: 44px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-item .disc {
  width: 72px;
  height: 72px;
}

.why-item .disc i { font-size: 30px; }

.why-item h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 21px;
  text-transform: uppercase;
}

.why-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
}

/* ---------- Gallery ---------- */

.gallery {
  scroll-margin-top: 78px;
  padding: 0 24px 92px;
  background: var(--off-white);
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gallery-head h2 { margin: 0; }

.gallery-head span { font-size: 15px; color: #7a736a; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  cursor: zoom-in;
  border: none;
  padding: 0;
  background: none;
  display: block;
  width: 100%;
}

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

.gallery-item.span-4 { grid-column: span 4; height: 340px; }
.gallery-item.span-2 { grid-column: span 2; height: 340px; }
.gallery-item.span-3 { grid-column: span 3; height: 300px; }

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span-4,
  .gallery-item.span-2,
  .gallery-item.span-3 { grid-column: span 2; height: 260px; }
}

/* ---------- Facebook band ---------- */

.facebook-band {
  background: var(--charcoal-900);
  padding: 78px 24px;
}

.facebook-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.facebook-head h2 { color: #fff; margin: 10px 0 0; }

.facebook-link {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #EDE9E4;
  border-bottom: 2px solid var(--red-bright);
  padding-bottom: 4px;
}

.facebook-link:hover { color: #fff; }

.facebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.facebook-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255,255,255,.22);
}

/* ---------- Service area ---------- */

.service-area {
  padding: 80px 24px;
  background: #fff;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.service-area-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .service-area-grid { grid-template-columns: 0.8fr 1.4fr; }
}

.service-area h2 { margin: 10px 0 16px; font-size: 40px; }

.service-area p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
  max-width: 46ch;
}

.map-card {
  border: 1px solid var(--border-warm);
  background: var(--off-white);
}

.map-embed {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-radius-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: rgba(211, 47, 47, .14);
  pointer-events: none;
}

.map-radius-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px #fff;
  pointer-events: none;
}

.map-caption {
  padding: 18px 20px;
  background: var(--charcoal-900);
  border-top: 4px solid var(--red-bright);
}

.map-caption .title {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.map-caption .sub {
  margin-top: 4px;
  font-size: 16px;
  color: #C6C1BA;
}

.map-cta {
  display: block;
  padding: 15px 18px;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.map-cta:hover { background: #b52626; color: #fff; }

/* ---------- Testimonials ---------- */

.testimonials {
  padding: 88px 24px;
  background: var(--off-white);
}

.testimonials-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.testimonials-head h2 { margin: 0; }

.testimonials-head a {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-top: 4px solid var(--red);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-card .stars {
  display: flex;
  gap: 3px;
  color: var(--red-bright);
  font-size: 15px;
}

.testimonial-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #33302c;
  flex: 1;
}

.testimonial-card .name {
  font-family: var(--heading-font);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonial-card .meta {
  margin-top: 4px;
  font-size: 14px;
  color: #7a736a;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--red);
  padding: 64px 24px;
}

.cta-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.03;
  color: #fff;
}

.cta-banner p {
  margin: 12px 0 0;
  font-size: 19px;
  color: #FBE7E7;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-dark {
  padding: 18px 28px;
  background: var(--near-black);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-dark:hover { background: #000; color: #fff; }

.btn-white {
  padding: 18px 28px;
  background: #fff;
  color: var(--near-black);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-white:hover { background: var(--off-white); color: var(--near-black); }

/* ---------- Contact form ---------- */

.contact {
  scroll-margin-top: 78px;
  padding: 92px 24px;
  background: var(--off-white);
}

.contact .container {
  max-width: 1040px;
}

.contact h2 { margin: 10px 0 6px; font-size: 46px; }

.contact-intro { margin: 0 0 34px; font-size: 17px; color: var(--body-text); }

.quote-form {
  background: #fff;
  border: 1px solid var(--border-warm);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .quote-form { grid-template-columns: 1fr; }
  .quote-form .col-span-2 { grid-column: span 1 !important; }
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-form .col-span-2 { grid-column: span 2; }

.quote-form span.field-label {
  font-family: var(--heading-font);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--near-black);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 14px;
  border: 1px solid #D8D2C9;
  background: #FBFAF8;
  font-size: 16px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.quote-form textarea { resize: vertical; }

.form-footer {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .form-footer { grid-column: span 1; }
}

.btn-submit {
  padding: 18px 34px;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--red-press);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--red-press); }

.form-footer .call-instead { font-size: 15px; color: #7a736a; }
.form-footer .call-instead a { font-weight: 600; }

.form-message {
  grid-column: span 2;
  padding: 16px 18px;
  font-size: 16px;
  display: none;
}

@media (max-width: 640px) {
  .form-message { grid-column: span 1; }
}

.form-message.is-visible { display: block; }

.form-message.success {
  background: #F2F7F2;
  border-left: 4px solid #2E7D32;
  color: #245127;
}

.form-message.error {
  background: #FBEDEC;
  border-left: 4px solid var(--red);
  color: #7d1c1c;
}

/* honeypot field — hidden from real visitors, left open for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--near-black);
  padding: 64px 24px 34px;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.footer-col { display: flex; flex-direction: column; gap: 18px; }
.footer-col.links { gap: 12px; }

.footer-col img { width: 150px; height: auto; display: block; }

.footer-col p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #A9A49D;
  max-width: 32ch;
}

.footer-fb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #EDE9E4;
  font-family: var(--heading-font);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: max-content;
}

.footer-fb:hover { color: var(--tan); }

.footer-fb .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #2b2b2b;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  color: #EDE9E4;
}

.footer-heading {
  font-family: var(--heading-font);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan);
}

.footer-col.links a { color: #A9A49D; font-size: 16px; }
.footer-col.links a:hover { color: #fff; }

.footer-phone {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 24px;
  letter-spacing: 0.02em;
}

.footer-phone:hover { color: var(--tan); }

.footer-email { color: #A9A49D; font-size: 16px; }
.footer-email:hover { color: #fff; }

.footer-address { color: #A9A49D; font-size: 16px; line-height: 1.6; }

.footer-bottom {
  max-width: 1240px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid #2b2b2b;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #7d776f;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10,10,10,.92);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(1100px, 90vw);
  max-height: 74vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.lightbox-caption {
  font-family: var(--heading-font);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EDE9E4;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { border-color: #fff; }

/* ---------- Headings shared responsive tweaks ---------- */

@media (max-width: 640px) {
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 18px; }
  .cta-banner h2 { font-size: 34px; }
  h2 { font-size: 34px; }
  .service-area h2 { font-size: 30px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- WordPress-specific additions ---------- */

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.gallery-grid--dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.gallery-grid--dynamic .gallery-item {
  height: 260px;
}

.services-grid .service-card img.service-icon-photo {
  display: none;
}

/* ---------- Thank-you page ---------- */

.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--off-white);
  padding: 92px 24px;
}

.thanks-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.thanks-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--charcoal-disc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}

.thanks-icon i { font-size: 40px; color: var(--red-bright); }

.thanks-card h1 {
  margin: 0 0 16px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  text-transform: uppercase;
}

.thanks-card p {
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-text);
}

.thanks-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
