/* Martinez Services + About Elementor Widget */
.msa-widget,
.msa-widget *{
  box-sizing:border-box;
}

.msa-widget{
  --msa-navy:#071f34;
  --msa-gold:#c79945;
  --msa-gold-light:#e2ba62;
  --msa-ink:#102131;
  --msa-muted:#6f7c87;
  --msa-white:#ffffff;
  --msa-services-bg:#ffffff;
  --msa-about-bg:#f8f9fb;
  --msa-container:1180px;
  font-family:"Inter", Arial, sans-serif;
  color:var(--msa-ink);
  width:100%;
  overflow:hidden;
}

.msa-widget a{
  color:inherit;
  text-decoration:none;
}

.msa-container{
  width:min(var(--msa-container), calc(100% - 48px));
  margin-inline:auto;
}

.msa-services{
  background:var(--msa-services-bg);
  border-top:5px solid var(--msa-navy);
  border-bottom:1px solid rgba(7,31,52,.06);
  padding:48px 0 42px;
}

.msa-services-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  align-items:start;
  gap:30px;
}

.msa-service-item{
  text-align:center;
  color:var(--msa-navy);
  min-width:0;
  padding:0 10px;
}

.msa-service-icon{
  width:50px;
  height:50px;
  margin:0 auto 15px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--msa-navy);
  font-size:38px;
  line-height:1;
}

.msa-service-icon svg{
  width:1em;
  height:1em;
  fill:currentColor;
}

.msa-service-title{
  margin:0 0 10px;
  color:var(--msa-navy);
  font-size:15px;
  line-height:1.25;
  font-weight:900;
}

.msa-service-desc{
  margin:0 auto;
  max-width:170px;
  color:#6d7781;
  font-size:13px;
  line-height:1.72;
  font-weight:500;
}

.msa-about{
  background:var(--msa-about-bg);
  padding:58px 0 64px;
}

.msa-about-grid{
  display:grid;
  grid-template-columns:minmax(280px, 512px) minmax(0, 1fr);
  gap:82px;
  align-items:center;
}

.msa-media-card{
  position:relative;
  width:100%;
  max-width:512px;
  border-radius:7px;
  overflow:hidden;
  background:#dfe3e7;
  box-shadow:0 18px 50px rgba(16,33,49,.10);
}

.msa-media-card img{
  display:block;
  width:100%;
  height:100%;
  min-height:415px;
  object-fit:cover;
  object-position:center;
}

.msa-play-button{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#ffffff;
  color:var(--msa-gold);
  box-shadow:0 13px 34px rgba(16,33,49,.22);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border:0;
}

.msa-play-button:hover{
  transform:translate(-50%, -50%) scale(1.045);
  box-shadow:0 18px 42px rgba(16,33,49,.27);
}

.msa-play-button svg{
  width:17px;
  height:17px;
  fill:currentColor;
  margin-left:3px;
}

.msa-play-button .msa-play-fallback{
  display:block;
  width:0;
  height:0;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-left:15px solid currentColor;
  margin-left:4px;
}

.msa-content{
  max-width:620px;
}

.msa-eyebrow{
  margin:0 0 14px;
  color:var(--msa-gold);
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:1.05px;
  text-transform:uppercase;
}

.msa-heading{
  margin:0 0 22px;
  color:var(--msa-navy);
  font-family:"Playfair Display", Georgia, serif;
  font-size:40px;
  line-height:1.13;
  font-weight:900;
  letter-spacing:-.7px;
}

.msa-heading-highlight{
  color:var(--msa-gold);
}

.msa-description{
  margin:0 0 25px;
  max-width:575px;
  color:#26384a;
  font-size:15px;
  line-height:1.82;
  font-weight:500;
}

.msa-bullets{
  display:grid;
  gap:13px;
  margin:0 0 28px;
  padding:0;
  list-style:none;
}

.msa-bullet{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#26384a;
  font-size:14px;
  line-height:1.5;
}

.msa-bullet-icon{
  flex:0 0 22px;
  width:22px;
  height:22px;
  margin-top:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--msa-gold);
  color:#ffffff;
  font-size:11px;
  line-height:1;
}

.msa-bullet-icon svg{
  width:12px;
  height:12px;
  fill:currentColor;
}

.msa-bullet strong{
  color:#13283d;
  font-weight:900;
}

.msa-about-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:183px;
  min-height:52px;
  padding:0 25px;
  border-radius:4px;
  background:var(--msa-navy);
  color:#ffffff!important;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.35px;
  text-transform:uppercase;
  box-shadow:0 12px 28px rgba(7,31,52,.16);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.msa-about-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 17px 36px rgba(7,31,52,.22);
}

@media (max-width:1024px){
  .msa-services-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    row-gap:34px;
  }
  .msa-about-grid{
    grid-template-columns:1fr;
    gap:42px;
  }
  .msa-media-card{
    max-width:560px;
  }
}

@media (max-width:767px){
  .msa-container{
    width:min(100% - 30px, var(--msa-container));
  }
  .msa-services{
    padding:36px 0 32px;
  }
  .msa-services-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .msa-service-desc{
    max-width:250px;
  }
  .msa-about{
    padding:42px 0 48px;
  }
  .msa-about-grid{
    gap:34px;
  }
  .msa-media-card img{
    min-height:330px;
  }
  .msa-heading{
    font-size:34px;
  }
  .msa-description{
    font-size:14px;
  }
}

/* =========================================================
   RESPONSIVE REFINEMENT v1.1
   Desktop layout is unchanged.
========================================================= */
@media (max-width: 980px) {
  .msa-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .msa-about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .msa-media-card,
  .msa-content {
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .msa-container {
    width: min(100% - 28px, var(--msa-container));
  }

  .msa-services {
    padding: 34px 0 32px;
    border-top-width: 3px;
  }

  .msa-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
  }

  .msa-service-item {
    padding: 0 4px;
  }

  .msa-service-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 240px);
    margin-inline: auto;
  }

  .msa-service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 11px;
    font-size: 31px;
  }

  .msa-service-title {
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.25;
  }

  .msa-service-desc {
    max-width: 150px;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .msa-about {
    padding: 44px 0 48px;
  }

  .msa-about-grid {
    gap: 34px;
  }

  .msa-media-card {
    max-width: none;
    border-radius: 6px;
  }

  .msa-media-card img {
    min-height: 0;
    height: 360px;
    object-fit: cover;
  }

  .msa-content {
    max-width: none;
  }

  .msa-eyebrow {
    margin-bottom: 11px;
    font-size: 10px;
    letter-spacing: .9px;
  }

  .msa-heading {
    margin-bottom: 17px;
    font-size: 33px;
    line-height: 1.08;
    letter-spacing: -.45px;
  }

  .msa-description {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.66;
  }

  .msa-bullets {
    gap: 11px;
    margin-bottom: 25px;
  }

  .msa-bullet {
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .msa-bullet-icon {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .msa-about-btn {
    min-width: 0;
    min-height: 48px;
    padding: 0 21px;
    font-size: 10.5px;
  }
}

@media (max-width: 430px) {
  .msa-media-card img {
    height: 330px;
  }

  .msa-heading {
    font-size: 31px;
  }
}
