/* =========================================================================
   Meridian Pro Services — Static rebuild
   Brand colors:
     --red:        #DC2626 (hero red, CTA)
     --red-dark:   #C02020
     --navy:       #0E1726 (footer)
     --grey-bg:    #F4F5F7 (alternating section bg)
     --text:       #1A1A1A
     --muted:      #5A5A5A
   Font: DM Sans (matches the "orig_dm_sans_*" referenced by the source).
   ========================================================================= */

:root {
  --red: #DC2626;
  --red-dark: #C02020;
  --navy: #0E1726;
  --grey-bg: #F4F5F7;
  --grey-line: #E5E7EB;
  --text: #1A1A1A;
  --muted: #5A5A5A;
  --white: #FFFFFF;
  --container: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}
.section--grey { background: var(--grey-bg); }
.section--red { background: var(--red); color: var(--white); }
.section--red h2,
.section--red h3,
.section--red p { color: var(--white); }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section--red .section-subtitle { color: rgba(255, 255, 255, 0.92); }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  text-align: center;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--red);
  color: var(--white) !important;
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--red) !important;
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--grey-line);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-header__logo img {
  height: 56px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.4rem;
}
.site-nav__link {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: inline-block;
  position: relative;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--red);
}
.site-nav__cta {
  margin-left: 0.75rem;
}
.site-header__call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 0.95rem;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  margin-left: auto;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.site-header__call:hover { background: var(--red); color: var(--white); }
.site-header__call svg { width: 16px; height: 16px; flex-shrink: 0; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--grey-line);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }
  .site-nav__list li { border-bottom: 1px solid var(--grey-line); }
  .site-nav__link {
    padding: 0.85rem 0;
    display: block;
  }
  .site-nav__cta {
    margin: 1rem 0 0;
    text-align: center;
  }
  .menu-toggle { display: block; }
  .site-header__call { padding: 0.5rem 0.7rem; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .site-header__call svg { width: 18px; height: 18px; }
  .site-header__call span { display: none; }
  .site-header__call { padding: 0.55rem; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 5rem 1.25rem;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 30, 50, 0.55), rgba(20, 30, 50, 0.65));
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero__eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  opacity: 0.95;
  color: var(--white);
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero__subtitle {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.94);
}
.hero__buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero--short { min-height: 320px; padding: 4rem 1.25rem; }

/* =========================================================================
   HOMEPAGE: "Has you covered" two-column intro
   ========================================================================= */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}
.intro__image img { border-radius: var(--radius); }
.intro h2 { margin-bottom: 1rem; }
.intro__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.intro__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.intro__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}
@media (max-width: 800px) {
  .intro { grid-template-columns: 1fr; }
  .intro__list { grid-template-columns: 1fr; }
}

/* =========================================================================
   SERVICE GRID
   ========================================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.service-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.93rem;
  margin: 0;
}

.center-action {
  text-align: center;
  margin-top: 1rem;
}

/* =========================================================================
   COMMERCIAL OVERVIEW (red section with image + bullet list)
   ========================================================================= */
.commercial-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.commercial-overview__list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}
.commercial-overview__list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.commercial-overview__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
}
.commercial-overview__image img { border-radius: var(--radius); }
@media (max-width: 800px) {
  .commercial-overview { grid-template-columns: 1fr; }
}

/* =========================================================================
   "What Sets Us Apart" feature list
   ========================================================================= */
.features {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-list {
  display: grid;
  gap: 1.25rem;
}
.feature-list__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}
.feature-list__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-list__icon img { max-width: 100%; max-height: 100%; }
.feature-list__item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.feature-list__item p { margin: 0; font-size: 0.95rem; }
.features__image img { border-radius: var(--radius); }
@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
}

/* =========================================================================
   3-STEP PROCESS (red band)
   ========================================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__icon img { width: 44px; height: 44px; filter: brightness(0) invert(1); }
.step h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--grey-line);
  display: flex;
  flex-direction: column;
}
.testimonial__stars {
  color: #FFBB00;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.testimonial__text {
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 1rem;
  flex: 1;
}
.testimonial__name {
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

.rating-display {
  text-align: center;
  margin-bottom: 2rem;
}
.rating-display__stars {
  font-size: 1.5rem;
  color: #FFBB00;
  letter-spacing: 0.15em;
}
.rating-display__label {
  font-weight: 600;
  margin-top: 0.25rem;
}

/* =========================================================================
   SERVICE AREAS
   ========================================================================= */
.service-areas {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.service-areas__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 520px;
}
.service-areas__list li {
  padding-left: 1.25rem;
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
}
.service-areas__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 1.2rem;
  line-height: 1;
}
.service-areas__radius {
  font-style: italic;
  color: var(--muted);
  font-size: 0.93rem;
  margin-top: 0.5rem;
}
.service-areas__image img { border-radius: var(--radius); }
@media (max-width: 800px) {
  .service-areas { grid-template-columns: 1fr; }
  .service-areas__list { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   CONTACT FORM
   ========================================================================= */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  margin: 0.5rem 0 1rem;
}
@media (max-width: 600px) { .form-checks { grid-template-columns: 1fr; } }
.form-checks label {
  font-weight: 400;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-submit {
  text-align: center;
  margin-top: 0.5rem;
}

/* =========================================================================
   CONTACT PAGE TWO-COLUMN
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.contact-info h3 {
  color: var(--red);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}
.contact-info h3:first-of-type { margin-top: 0; }
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
}
.contact-info p { margin: 0.25rem 0; }
.contact-info a { color: var(--text); }
.contact-info a:hover { color: var(--red); }
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icons img { width: 26px; height: 26px; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   GALLERY GRID
   ========================================================================= */
.gallery {
  column-count: 4;
  column-gap: 1rem;
}
@media (max-width: 1100px) { .gallery { column-count: 3; } }
@media (max-width: 760px)  { .gallery { column-count: 2; } }
@media (max-width: 480px)  { .gallery { column-count: 1; } }
.gallery img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  break-inside: avoid;
}

/* =========================================================================
   BLOG INDEX & POST
   ========================================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--red); }
.blog-card__excerpt {
  font-size: 0.9rem;
  flex: 1;
}

.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.post__back {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}
.post__meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.post h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.post__hero {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.post__hero img { width: 100%; height: auto; }
.post__body p { margin-bottom: 1.25rem; color: var(--text); font-size: 1rem; }
.post__body h2 { font-size: 1.4rem; margin: 1.5rem 0 0.75rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.site-footer__brand img { height: 60px; margin-bottom: 1rem; }
.site-footer__tagline { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 0.85rem;
  font-weight: 700;
  text-transform: none;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.site-footer a:hover { color: var(--white); }
.site-footer__contact p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; margin-bottom: 0.5rem; }
.site-footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.site-footer__social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.site-footer__social a:hover { transform: translateY(-2px); }
.site-footer__social img { width: 20px; height: 20px; }
.site-footer__bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 800px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: span 1; }
}

/* =========================================================================
   UTILITIES
   ========================================================================= */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

/* =========================================================================
   THANK YOU PAGE
   ========================================================================= */
.thankyou__icon {
  color: var(--red);
  margin: 0 auto 0.5rem;
  display: inline-block;
}
.thankyou__next {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  background: var(--grey-bg);
  border-radius: 12px;
}
.thankyou__explore { margin-top: 3rem; }
.thankyou__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  margin-top: 1rem;
}
.thankyou__links a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
.thankyou__links a:hover { border-color: var(--red); }
