/* MG Clean — azul acuarela, oro y tarjetas */
:root {
  --mg-navy: #0c2461;
  --mg-ink: #10224f;
  --mg-blue: #1e4fa8;
  --mg-sky: #7eb6f5;
  --mg-gold: #d4af37;
  --mg-gold-bright: #f6e7b2;
  --mg-logo-navy: #011655;
  --mg-logo-blue: #0081dd;
  --mg-paper: rgba(255, 255, 255, 0.9);
  --gold: #d4af37;
  --gold-bright: #f3e2a0;
  --gold-dim: #a6852c;
  --line: rgba(212, 175, 55, 0.55);
}

body.theme-mgclean {
  color: #24304a;
  font-family: Montserrat, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 42% 36% at 0% 0%, rgba(30, 90, 210, 0.55), transparent 62%),
    radial-gradient(ellipse 48% 42% at 100% 8%, rgba(120, 190, 255, 0.65), transparent 58%),
    radial-gradient(ellipse 36% 28% at 100% 100%, rgba(212, 175, 55, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 34% at 0% 100%, rgba(12, 45, 140, 0.38), transparent 60%),
    linear-gradient(180deg, #c5e0ff 0%, #f4f9ff 28%, #f8fbff 62%, #d5e8ff 100%);
}

body.theme-mgclean .bg-glow {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 12%, rgba(0, 129, 221, 0.7) 0 1.5px, transparent 3px),
    radial-gradient(circle at 88% 40%, rgba(255, 255, 255, 0.8) 0 1.5px, transparent 3px),
    radial-gradient(circle at 20% 70%, rgba(0, 129, 221, 0.55) 0 1.5px, transparent 3px),
    radial-gradient(circle at 64% 78%, rgba(255, 255, 255, 0.75) 0 1.5px, transparent 3px),
    radial-gradient(circle at 40% 30%, rgba(0, 129, 221, 0.45) 0 1px, transparent 2px);
  animation: mgSparkle 4.5s ease-in-out infinite;
}

body.theme-mgclean .frame-left,
body.theme-mgclean .frame-right,
body.theme-mgclean .gold-corner {
  opacity: 0;
}

body.theme-mgclean .cursor-ring {
  border-color: rgba(212, 175, 55, 0.9);
}

body.theme-mgclean .nav,
body.theme-mgclean .nav.scrolled {
  background: linear-gradient(100deg, #07183f 0%, #0c2461 48%, #1a4fa0 100%);
  border-bottom: 3px solid var(--mg-logo-blue);
}

body.theme-mgclean .nav-links a,
body.theme-mgclean .nav-mobile-links a,
body.theme-mgclean .nav-mobile-close {
  color: #fff;
}

body.theme-mgclean .nav-links a:hover,
body.theme-mgclean .nav-links a.active {
  color: var(--mg-gold-bright);
}

body.theme-mgclean {
  --nav-h: 8rem;
}

body.theme-mgclean .nav-brand img {
  height: 6.5rem;
  width: auto;
  max-width: min(22rem, 54vw);
  object-fit: contain;
  background: transparent;
  filter: none;
}

body.theme-mgclean .nav-mobile-top .nav-brand img {
  height: 5.2rem;
  max-width: 16rem;
}

body.theme-mgclean .nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: #fff;
}

body.theme-mgclean .nav-toggle span,
body.theme-mgclean .nav-toggle span::before,
body.theme-mgclean .nav-toggle span::after {
  width: 1.45rem;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

body.theme-mgclean .nav-toggle span::before { top: -8px; }
body.theme-mgclean .nav-toggle span::after { top: 8px; }

body.theme-mgclean .nav-mobile {
  background: rgba(7, 24, 63, 0.38);
  color: #fff;
}

body.theme-mgclean .nav-mobile-panel {
  background: linear-gradient(180deg, #07183f 0%, #0c2461 100%);
  color: #fff;
  border-left-color: rgba(255, 255, 255, 0.12);
  box-shadow: -16px 0 36px rgba(7, 24, 63, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-mgclean .btn {
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
}

body.theme-mgclean .nav-cta {
  font-size: 0.88rem;
  padding: 0.65rem 1.05rem;
}

body.theme-mgclean .btn-primary {
  background: var(--mg-logo-blue);
  color: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}

body.theme-mgclean .btn-ghost {
  color: var(--mg-logo-navy);
  border-color: var(--mg-logo-blue);
  border-radius: 999px;
  background: #fff;
}

body.theme-mgclean .btn-ghost:hover {
  background: var(--mg-logo-blue);
  color: #fff;
}

/* Hero: foto a la derecha y curva azul con el texto */
body.theme-mgclean .hero {
  margin-top: var(--nav-h);
  min-height: 32rem;
  height: auto;
  aspect-ratio: auto;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-align: left;
  padding: 2.4rem clamp(2rem, 5vw, 4.5rem) 3rem;
}

body.theme-mgclean .hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: -6%;
  top: -8%;
  width: 48%;
  height: 125%;
  background: linear-gradient(105deg, rgba(7, 24, 63, 0.78) 0%, rgba(7, 24, 63, 0.62) 46%, rgba(0, 129, 221, 0.34) 100%);
  border-radius: 0 50% 50% 0;
  pointer-events: none;
}

body.theme-mgclean .hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  z-index: 0;
}

body.theme-mgclean .hero-overlay {
  display: none;
}

body.theme-mgclean .hero-arrow {
  display: none;
}

body.theme-mgclean .hero-slide img,
body.theme-mgclean .hero-slide.is-active img {
  object-fit: cover;
  object-position: 72% center;
  transform: none !important;
  animation: none !important;
}

body.theme-mgclean .hero-content {
  position: relative;
  z-index: 3;
  width: min(26rem, 42%);
  max-width: 26rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  animation: mgHeroIn 0.85s ease both;
}

body.theme-mgclean .hero-badge {
  position: absolute;
  left: auto;
  right: 3.2rem;
  top: 50%;
  bottom: auto;
  z-index: 6;
  width: min(15rem, 28vw);
  height: auto;
  margin: 0;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(12, 36, 97, 0.28));
  animation: mgBadgeFloat 4.6s ease-in-out infinite;
}

@keyframes mgHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes mgBadgeFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

body.theme-mgclean .hero h1,
body.theme-mgclean .hero-lede,
body.theme-mgclean .eyebrow {
  text-shadow: 0 2px 16px rgba(1, 22, 85, 0.85), 0 1px 2px rgba(1, 22, 85, 0.7);
}

body.theme-mgclean .hero .eyebrow {
  display: inline-flex;
  width: auto;
  margin-bottom: 0.45rem;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  gap: 0;
}

body.theme-mgclean .hero .eyebrow::before,
body.theme-mgclean .hero .eyebrow::after {
  display: none;
}

body.theme-mgclean .hero h1 {
  color: #fff;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
}

body.theme-mgclean .hero h1 .gold {
  color: #fff;
}

body.theme-mgclean .hero-lede {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
  max-width: 24rem;
  margin: 0 0 1.4rem;
}

body.theme-mgclean .hero-actions {
  justify-content: flex-start;
}

body.theme-mgclean .hero-actions .btn:not(:first-child) {
  display: none;
}

body.theme-mgclean .hero-actions .btn-primary {
  background: #fff;
  color: var(--mg-logo-navy);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  gap: 0.45rem;
}

body.theme-mgclean .hero-actions .btn-primary:hover {
  background: var(--mg-logo-navy);
  color: #fff;
  border-color: var(--mg-logo-navy);
  filter: none;
}

body.theme-mgclean .hero-tagline {
  display: none;
}

body.theme-mgclean .hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 3.15rem;
  height: 3.15rem;
  margin-top: -1.55rem;
  border-radius: 50%;
  border: 2px solid #d4af37;
  background: #fff;
  color: #0c2461;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
}

body.theme-mgclean .hero-arrow-prev { left: 1.1rem; }
body.theme-mgclean .hero-arrow-next { right: 8.2rem; }

body.theme-mgclean .hero-arrow:hover {
  background: #0c2461;
  color: #f6e7b2;
  border-color: #d4af37;
}

body.theme-mgclean .hero-dots {
  bottom: 1.15rem;
  gap: 0.75rem;
  z-index: 5;
}

body.theme-mgclean .hero-dots button {
  width: 0.95rem;
  height: 0.95rem;
  border: 3px solid var(--mg-logo-blue);
  background: #fff;
  box-shadow: 0 2px 8px rgba(2, 133, 223, 0.4);
}

body.theme-mgclean .hero-dots button[aria-selected="true"] {
  background: var(--mg-logo-blue);
  border-color: var(--mg-logo-blue);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(2, 133, 223, 0.5);
}

body.theme-mgclean .section-head h2 {
  color: var(--mg-logo-blue);
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

body.theme-mgclean .section-head h2::before,
body.theme-mgclean .section-head h2::after {
  background: rgba(0, 129, 221, 0.4);
  opacity: 1;
}

body.theme-mgclean .section-head .title {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.05rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--mg-logo-navy);
}

body.theme-mgclean .section-head p {
  font-family: Montserrat, sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: #3a4a66;
}

body.theme-mgclean .about-copy,
body.theme-mgclean .owner-name,
body.theme-mgclean .owner-title,
body.theme-mgclean .contact-value,
body.theme-mgclean .contact-label,
body.theme-mgclean .footer,
body.theme-mgclean .footer a {
  color: var(--mg-ink);
}

body.theme-mgclean .section .container {
  background: #fff;
  border: 1px solid rgba(0, 129, 221, 0.14);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(12, 36, 97, 0.06);
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
  position: relative;
}

body.theme-mgclean .section .container::before,
body.theme-mgclean .section .container::after {
  display: none;
}

body.theme-mgclean .section .container::before { top: 18px; right: 28px; }
body.theme-mgclean .section .container::after { bottom: 22px; left: 26px; }

body.theme-mgclean #about {
  background: #fff;
}

body.theme-mgclean #about .container {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.theme-mgclean #about .container::before,
body.theme-mgclean #about .container::after {
  display: none;
}

/* Services: sin cuadro, fondo propio y circulos de color */
body.theme-mgclean #services {
  background:
    radial-gradient(ellipse 62% 48% at 0% 0%, rgba(0, 129, 221, 0.5), transparent 58%),
    radial-gradient(ellipse 46% 40% at 100% 100%, rgba(126, 182, 245, 0.22), transparent 62%),
    linear-gradient(165deg, #082056 0%, #0e3d8c 55%, #071433 100%);
}

body.theme-mgclean #services .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.theme-mgclean #services .container::before,
body.theme-mgclean #services .container::after {
  display: none;
}

body.theme-mgclean #services .section-head {
  max-width: 46rem;
}

body.theme-mgclean #services .section-head h2 {
  color: var(--mg-gold-bright);
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  letter-spacing: 0.28em;
}

body.theme-mgclean #services .section-head h2::before,
body.theme-mgclean #services .section-head h2::after {
  background: rgba(246, 231, 178, 0.75);
}

body.theme-mgclean #services .section-head .title {
  color: #fff;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

body.theme-mgclean #services .section-head p {
  color: rgba(255, 255, 255, 0.86);
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

body.theme-mgclean .services-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 0.9rem;
}

body.theme-mgclean .service,
body.theme-mgclean .service:nth-child(n) {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0 0 1.45rem;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  overflow: visible;
  text-align: center;
  box-shadow: 0 22px 44px rgba(4, 16, 48, 0.28);
}

body.theme-mgclean .service:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 28px 50px rgba(4, 16, 48, 0.34);
}

body.theme-mgclean .service-photo {
  position: relative;
  width: 100%;
  height: 13.2rem;
  flex: 0 0 13.2rem;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 18px 18px 0 0;
  border: none;
  box-shadow: none;
  background: #e8f1ff;
  overflow: hidden;
  z-index: 1;
}

body.theme-mgclean .service-badge {
  width: 4.6rem;
  height: 4.6rem;
  margin: -2.3rem auto 0.85rem;
  border-radius: 50%;
  background: var(--mg-logo-blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(0, 129, 221, 0.22), 0 12px 22px rgba(0, 81, 160, 0.35);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  color: #fff;
}

body.theme-mgclean .service-badge svg {
  width: 1.85rem;
  height: 1.85rem;
}

body.theme-mgclean .service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.55) 46%, rgba(212, 175, 55, 0.35) 52%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

body.theme-mgclean .service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: scale(1);
  transition: transform 0.7s ease, filter 0.7s ease;
}

body.theme-mgclean .service:hover .service-photo img,
body.theme-mgclean .service:focus-visible .service-photo img {
  transform: scale(1.1);
  filter: saturate(1.08) brightness(1.04);
}

body.theme-mgclean .service:hover .service-photo::after,
body.theme-mgclean .service:focus-visible .service-photo::after {
  transform: translateX(130%);
}

body.theme-mgclean .service-body {
  padding: 0 1.25rem;
  background: transparent;
}

body.theme-mgclean .service h3 {
  color: #10224f;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-transform: none;
  text-align: center;
  margin-bottom: 0.55rem;
}

body.theme-mgclean .service p,
body.theme-mgclean .service-more {
  color: #2c3a55;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 32ch;
  margin-inline: auto;
}

body.theme-mgclean .service-points {
  margin: 0.95rem auto 0;
  padding: 0.85rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
  width: min(100%, 16.5rem);
  border-top: 1px solid #e4edf7;
  text-align: left;
}

body.theme-mgclean .service-points li {
  position: relative;
  padding-left: 1.05rem;
  color: #1c2b48;
  font-family: Montserrat, sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

body.theme-mgclean .service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--mg-logo-blue);
}

body.theme-mgclean .service-modal-media {
  display: block;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #e8f1ff;
}

body.theme-mgclean .service-modal-media img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  margin: 0;
  transition: transform 0.7s ease;
}

body.theme-mgclean .service-modal-media:hover img {
  transform: scale(1.06);
}

/* Gallery: banda clara, distinta del azul de Services */
body.theme-mgclean #gallery {
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(255, 255, 255, 0.75), transparent 58%),
    radial-gradient(ellipse 48% 40% at 100% 100%, rgba(0, 129, 221, 0.18), transparent 62%),
    linear-gradient(180deg, #d6ebff 0%, #f4f9ff 42%, #c5e2fb 100%);
}

body.theme-mgclean #gallery .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.theme-mgclean #gallery .container::before,
body.theme-mgclean #gallery .container::after {
  display: none;
}

body.theme-mgclean #gallery .section-head h2 {
  color: var(--mg-logo-blue);
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  letter-spacing: 0.28em;
}

body.theme-mgclean #gallery .section-head h2::before,
body.theme-mgclean #gallery .section-head h2::after {
  background: rgba(0, 129, 221, 0.45);
}

body.theme-mgclean #gallery .section-head .title {
  color: var(--mg-logo-navy);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
}

body.theme-mgclean #gallery .section-head p,
body.theme-mgclean #gallery .gallery-empty-msg {
  color: #24304a;
}

body.theme-mgclean .gallery-item {
  background: #fff;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(12, 36, 97, 0.12);
}

body.theme-mgclean .gallery-item:hover,
body.theme-mgclean .gallery-item:focus-visible {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(12, 36, 97, 0.16);
}

body.theme-mgclean .gallery-item .gallery-thumb {
  background: #e8f1ff;
}

body.theme-mgclean .gallery-item img {
  filter: none;
}

body.theme-mgclean .gallery-zoom-hint {
  opacity: 1;
  transform: none;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 0.7rem;
  background: #fff;
  color: var(--mg-logo-blue);
  box-shadow: 0 8px 18px rgba(12, 36, 97, 0.2);
}

body.theme-mgclean .gallery-zoom-hint svg {
  width: 1.15rem;
  height: 1.15rem;
}

body.theme-mgclean .gallery-item:hover .gallery-zoom-hint,
body.theme-mgclean .gallery-item:focus-visible .gallery-zoom-hint {
  background: var(--mg-logo-blue);
  color: #fff;
  transform: none;
}

body.theme-mgclean .gallery-item figcaption {
  padding: 0.95rem 1rem 1.1rem;
}

body.theme-mgclean .lightbox-figure {
  background: #fff;
  border: 0;
  border-radius: 18px;
}

body.theme-mgclean .lightbox-figure figcaption {
  border-top: 1px solid #e6edf6;
  background: #fff;
}

body.theme-mgclean .lightbox-figure figcaption span {
  color: var(--mg-logo-blue);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

body.theme-mgclean .lightbox-figure figcaption strong {
  color: var(--mg-logo-navy);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
}

body.theme-mgclean .lightbox-nav {
  background: #fff;
  color: var(--mg-logo-blue);
  border: 0;
  border-radius: 0.7rem;
  box-shadow: 0 8px 18px rgba(12, 36, 97, 0.2);
}

body.theme-mgclean .lightbox-nav:hover {
  background: var(--mg-logo-blue);
  color: #fff;
  border-color: transparent;
}

body.theme-mgclean .gallery-card,
body.theme-mgclean .process-step,
body.theme-mgclean .comment-card {
  border-color: rgba(0, 129, 221, 0.45);
  border-radius: 20px;
}

body.theme-mgclean .contact-icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mg-logo-blue);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 16px rgba(0, 129, 221, 0.28);
}

body.theme-mgclean .contact-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.theme-mgclean .contact-list li + li {
  border-top: 0;
}

body.theme-mgclean input,
body.theme-mgclean textarea,
body.theme-mgclean select {
  background: #fff;
  color: var(--mg-ink);
  border: 1px solid rgba(30, 79, 168, 0.2);
  border-radius: 12px;
}

body.theme-mgclean .footer {
  margin-top: 1rem;
  background:
    linear-gradient(180deg, transparent, rgba(12, 36, 97, 0.92) 18%),
    radial-gradient(ellipse 80% 80% at 50% 120%, #1e4fa8, #071433);
  color: #fff;
  border-top: 3px solid var(--mg-logo-blue);
}

body.theme-mgclean .footer,
body.theme-mgclean .footer a,
body.theme-mgclean .footer-tagline,
body.theme-mgclean .footer-legal {
  color: #fff;
}

body.theme-mgclean .footer-motto {
  margin: 0.4rem 0 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--mg-gold-bright);
}

body.theme-mgclean .footer-tagline {
  font-family: "Great Vibes", cursive;
  font-size: 2.15rem;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 0.35rem;
}

body.theme-mgclean .footer-social a {
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.theme-mgclean .footer-social a:hover {
  background: var(--mg-logo-blue);
  color: #fff;
  border-color: transparent;
}

body.theme-mgclean .footer-links {
  gap: 0.65rem 1.2rem;
  margin: 1.15rem 0 0.9rem;
}

body.theme-mgclean .footer-links a {
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
}

body.theme-mgclean .footer-links a:hover {
  color: #fff;
}

body.theme-mgclean .footer-legal {
  font-family: Montserrat, sans-serif;
  color: rgba(255, 255, 255, 0.72);
}

body.theme-mgclean .back-to-top {
  color: var(--mg-logo-navy);
  background: #fff;
  border-radius: 999px;
  padding: 0.65rem 0.4rem;
  box-shadow: 0 8px 18px rgba(12, 36, 97, 0.16);
  gap: 0.35rem;
}

body.theme-mgclean .back-to-top-line {
  width: 2px;
  height: 1.5rem;
  background: var(--mg-logo-blue);
}

body.theme-mgclean .back-to-top > span:last-child {
  font-family: Montserrat, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

body.theme-mgclean .back-to-top:hover,
body.theme-mgclean .back-to-top:focus-visible {
  background: var(--mg-logo-blue);
  color: #fff;
}

body.theme-mgclean .modal-dialog,
body.theme-mgclean .service-dialog,
body.theme-mgclean .newsletter-dialog {
  background: #fff;
  color: #24304a;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(7, 24, 63, 0.28);
}

body.theme-mgclean .service-dialog {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.theme-mgclean .service-modal-content {
  overflow: auto;
}

body.theme-mgclean .modal-close,
body.theme-mgclean .video-close,
body.theme-mgclean .lightbox .modal-close {
  top: 0.85rem;
  right: 0.85rem;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--mg-logo-navy);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(12, 36, 97, 0.22);
}

body.theme-mgclean .service-dialog .modal-close,
body.theme-mgclean .lightbox .modal-close {
  top: 1rem;
  right: 1rem;
}

body.theme-mgclean .modal-close:hover,
body.theme-mgclean .video-close:hover,
body.theme-mgclean .lightbox .modal-close:hover {
  background: var(--mg-logo-blue);
  color: #fff;
  border-color: transparent;
}

body.theme-mgclean .service-modal-label,
body.theme-mgclean .newsletter-eyebrow {
  color: var(--mg-logo-blue);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

body.theme-mgclean #service-modal-title,
body.theme-mgclean .newsletter-form h3,
body.theme-mgclean .comment-form-title {
  color: var(--mg-logo-navy);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  line-height: 1.12;
  text-transform: none;
  letter-spacing: -0.015em;
}

body.theme-mgclean .service-modal-summary,
body.theme-mgclean .newsletter-copy,
body.theme-mgclean .service-modal-note,
body.theme-mgclean .form-note {
  color: #3a4a66;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

body.theme-mgclean .service-modal-points {
  display: grid;
  gap: 0.45rem;
  margin: 0.2rem 0 1.1rem;
  padding: 0.85rem 0 0;
  list-style: none;
  border-top: 1px solid #e4edf7;
}

body.theme-mgclean .service-modal-points[hidden],
body.theme-mgclean .service-modal-details[hidden] {
  display: none;
}

body.theme-mgclean .service-modal-points li {
  position: relative;
  padding-left: 1.05rem;
  color: #1c2b48;
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

body.theme-mgclean .service-modal-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--mg-logo-blue);
}

body.theme-mgclean .comment-form,
body.theme-mgclean .newsletter-form {
  background: #fff;
  font-family: Montserrat, sans-serif;
}

body.theme-mgclean .comment-form label,
body.theme-mgclean .comment-form .rating-field,
body.theme-mgclean .newsletter-form label {
  font-family: Montserrat, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mg-logo-navy);
}

body.theme-mgclean .comment-form input:focus,
body.theme-mgclean .comment-form textarea:focus,
body.theme-mgclean .comment-form select:focus,
body.theme-mgclean .newsletter-form input:focus {
  border-color: var(--mg-logo-blue);
}

body.theme-mgclean .rating-stars .star {
  color: #c5d4ea;
}

body.theme-mgclean .rating-stars:has(input[value="1"]:checked) label:nth-child(-n + 1) .star,
body.theme-mgclean .rating-stars:has(input[value="2"]:checked) label:nth-child(-n + 2) .star,
body.theme-mgclean .rating-stars:has(input[value="3"]:checked) label:nth-child(-n + 3) .star,
body.theme-mgclean .rating-stars:has(input[value="4"]:checked) label:nth-child(-n + 4) .star,
body.theme-mgclean .rating-stars:has(input[value="5"]:checked) label:nth-child(-n + 5) .star {
  color: var(--mg-logo-blue);
}

body.theme-mgclean #process .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.theme-mgclean #process .process-steps {
  position: relative;
  margin-top: 0.4rem;
}

body.theme-mgclean .step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
  border-top: 0;
  text-align: center;
}

body.theme-mgclean .step-icon {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 5.4rem;
  height: 5.4rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--mg-logo-blue);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: none;
  transition: transform 0.35s ease;
}

body.theme-mgclean .step-icon svg {
  width: 2.65rem;
  height: 2.65rem;
}

body.theme-mgclean .step:hover .step-icon {
  transform: translateY(-4px);
}

body.theme-mgclean .step-num {
  color: var(--mg-logo-blue);
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

body.theme-mgclean .step h3 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--mg-logo-navy);
  margin-bottom: 0.4rem;
}

body.theme-mgclean .step p {
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #5b6b86;
  max-width: 26ch;
}

@media (min-width: 800px) {
  body.theme-mgclean #process .process-steps::before {
    content: "";
    position: absolute;
    top: calc(2.7rem - 1px);
    left: 16%;
    right: 16%;
    height: 2px;
    background: var(--mg-logo-blue);
    z-index: 0;
  }
}

body.theme-mgclean .comment-text {
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: #24304a;
}

body.theme-mgclean .comment-author {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--mg-logo-navy);
}

body.theme-mgclean .comment-role {
  font-family: Montserrat, sans-serif;
  color: #5b6b86;
}

body.theme-mgclean .comment-stars {
  color: var(--mg-logo-blue);
}

body.theme-mgclean .filter-btn {
  font-family: Montserrat, sans-serif;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mg-logo-navy);
  border: 1px solid rgba(0, 129, 221, 0.28);
  border-radius: 999px;
  background: #fff;
  padding: 0.55rem 1.05rem;
}

body.theme-mgclean .filter-btn:hover,
body.theme-mgclean .filter-btn.is-active {
  background: var(--mg-logo-blue);
  color: #fff;
  border-color: transparent;
}

body.theme-mgclean .gallery-item figcaption span {
  font-family: Montserrat, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mg-logo-blue);
  margin-bottom: 0.28rem;
}

body.theme-mgclean .gallery-item figcaption p {
  font-family: Montserrat, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: #8b93a7;
}

body.theme-mgclean .gallery-item figcaption strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mg-logo-navy);
  margin-bottom: 0.15rem;
}

body.theme-mgclean .contact-label,
body.theme-mgclean .owner-title {
  font-family: Montserrat, sans-serif;
  color: var(--mg-logo-blue);
  letter-spacing: 0.06em;
}

body.theme-mgclean .contact-value,
body.theme-mgclean .owner-name {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  color: var(--mg-logo-navy);
}

body.theme-mgclean input,
body.theme-mgclean textarea,
body.theme-mgclean select {
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
}

body.theme-mgclean .newsletter-banner-copy h2 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.15;
}

body.theme-mgclean .newsletter-banner-copy h2 span {
  color: #fff;
}

body.theme-mgclean .newsletter-banner-btn {
  background: #fff;
  color: var(--mg-logo-navy);
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body.theme-mgclean .newsletter-terms,
body.theme-mgclean .newsletter-terms span {
  font-family: Montserrat, sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 799px) {
  body.theme-mgclean #process .process-steps {
    gap: 1.8rem;
  }

  body.theme-mgclean .step-icon {
    width: 4.4rem;
    height: 4.4rem;
  }

  body.theme-mgclean .step-icon svg {
    width: 2.15rem;
    height: 2.15rem;
  }
}

body.theme-mgclean .about-incluye-text strong,
body.theme-mgclean .about-incluye-text span,
body.theme-mgclean .phone-box .contact-value {
  color: var(--mg-ink);
}

body.theme-mgclean #comments {
  background: #fff;
}

body.theme-mgclean #comments .section-head {
  max-width: 42rem;
}

body.theme-mgclean #comments .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.theme-mgclean #comments .comment-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.2rem 0.15rem 0.4rem;
  gap: 0.8rem;
}

body.theme-mgclean .comment-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 0;
  padding: 0;
}

body.theme-mgclean .comment-avatar {
  width: 3.15rem;
  height: 3.15rem;
  border: 0;
  border-radius: 50%;
  background: var(--mg-logo-blue);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.theme-mgclean .comment-stars {
  margin-left: auto;
  color: #f0b429;
  letter-spacing: 0.08em;
  font-size: 1rem;
  white-space: nowrap;
}

body.theme-mgclean .comment-text {
  font-family: Montserrat, sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.7;
  color: #3a4a66;
}

@media (min-width: 1000px) {
  body.theme-mgclean .comments-carousel {
    padding-inline: 3.4rem;
  }
}

body.theme-mgclean .comments-nav {
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--mg-logo-navy);
  box-shadow: 0 8px 18px rgba(12, 36, 97, 0.12);
}

body.theme-mgclean .comments-nav:hover {
  background: var(--mg-logo-blue);
  color: #fff;
}

body.theme-mgclean .comments-dots button {
  border: 0;
  background: #d5e0ef;
}

body.theme-mgclean .comments-dots button[aria-selected="true"] {
  background: var(--mg-logo-blue);
}

body.theme-mgclean #contact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(226, 239, 252, 0.5) 100%),
    url("../assets/gallery/living-room.jpg") center 32% / cover no-repeat;
}

body.theme-mgclean #contact .container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.theme-mgclean .owner-title::before,
body.theme-mgclean .owner-title::after {
  display: none;
}

body.theme-mgclean .contact-intro,
body.theme-mgclean .phone-box,
body.theme-mgclean .estimate-box {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(12, 36, 97, 0.14);
}

body.theme-mgclean #contact .contact-intro {
  background: #fff;
  padding: 1.85rem 1.7rem 1.55rem;
  box-shadow: 0 18px 40px rgba(7, 24, 63, 0.16);
}

body.theme-mgclean #contact .contact-intro .section-head {
  margin-bottom: 0.85rem;
}

body.theme-mgclean #contact .contact-intro .section-head h2 {
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--mg-logo-blue);
}

body.theme-mgclean #contact .contact-intro .section-head .title {
  max-width: none;
  margin-bottom: 0.55rem;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2.15rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--mg-logo-navy);
}

body.theme-mgclean #contact .owner-name {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.85rem;
  line-height: 1.1;
  color: var(--mg-logo-navy);
}

body.theme-mgclean #contact .owner-title {
  display: block;
  margin: 0 0 1.15rem;
  color: var(--mg-logo-blue);
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

body.theme-mgclean #contact .contact-list {
  gap: 1.15rem;
}

body.theme-mgclean #contact .contact-label {
  margin-bottom: 0.08rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #016bb8;
}

body.theme-mgclean #contact .contact-value {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mg-logo-navy);
}

body.theme-mgclean #contact .phone-box .contact-value {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--mg-logo-navy);
}

body.theme-mgclean .contact-list > li > a,
body.theme-mgclean .contact-list > li > span {
  grid-template-columns: 3.7rem minmax(0, 1fr);
  gap: 0.85rem;
}

body.theme-mgclean .contact-list a:hover {
  color: var(--mg-blue);
}

body.theme-mgclean .contact-lead {
  max-width: 20.5rem;
  margin: 0 0 1.2rem;
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: #1c2d4a;
}

body.theme-mgclean #contact .section-head h2::before,
body.theme-mgclean #contact .section-head h2::after {
  background: var(--mg-logo-blue);
}

body.theme-mgclean .estimate-box p:not(.form-note),
body.theme-mgclean .contact-form label {
  font-family: Montserrat, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #016bb8;
}

body.theme-mgclean .contact-form input,
body.theme-mgclean .contact-form textarea,
body.theme-mgclean .contact-form select {
  background-color: #f4f9ff;
  color: var(--mg-logo-navy);
  border: 1px solid rgba(0, 129, 221, 0.35);
  border-radius: 12px;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

body.theme-mgclean .contact-form input::placeholder,
body.theme-mgclean .contact-form textarea::placeholder {
  color: #8b93a7;
}

body.theme-mgclean .contact-form input:focus,
body.theme-mgclean .contact-form textarea:focus,
body.theme-mgclean .contact-form select:focus {
  border-color: var(--mg-logo-blue);
}

body.theme-mgclean .contact-form select {
  color: var(--mg-logo-navy);
  background-color: #f4f9ff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--mg-logo-blue) 50%),
    linear-gradient(135deg, var(--mg-logo-blue) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

body.theme-mgclean .form-note {
  font-family: Montserrat, sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #3a4a66;
}

body.theme-mgclean #contact .estimate-box .btn {
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

body.theme-mgclean .cursor-ring {
  border-color: var(--mg-logo-blue);
}

body.theme-mgclean .cursor-dot,
body.theme-mgclean .cursor.is-hover .cursor-dot {
  background: var(--mg-logo-blue);
  box-shadow: 0 0 10px rgba(0, 129, 221, 0.4);
}

body.theme-mgclean .cursor.is-hover .cursor-ring {
  border-color: var(--mg-logo-blue);
  background: rgba(0, 129, 221, 0.1);
}

body.theme-mgclean #about .about-grid {
  align-items: center;
}

body.theme-mgclean #about .about-photos {
  order: -1;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 588 / 670;
  min-height: 0;
}

@media (min-width: 800px) {
  body.theme-mgclean #about .about-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3.2rem;
  }
}

body.theme-mgclean #about .about-blob,
body.theme-mgclean #about .about-photo-circle {
  display: none;
}

body.theme-mgclean #about .about-stat {
  position: absolute;
  top: 2%;
  left: 0;
  z-index: 2;
}

body.theme-mgclean #about .about-stat strong {
  display: block;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--mg-logo-blue);
}

body.theme-mgclean #about .about-stat span {
  display: block;
  margin-top: 0.35rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5b6b86;
}

body.theme-mgclean #about .about-help {
  position: absolute;
  right: 0;
  bottom: 7%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 13.5rem;
  padding: 0.85rem 1.05rem;
  background: var(--mg-logo-blue);
  color: #fff;
  border-radius: 1.05rem;
  box-shadow: 0 14px 28px rgba(0, 129, 221, 0.28);
  text-decoration: none;
}

body.theme-mgclean #about .about-help-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

body.theme-mgclean #about .about-help-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

body.theme-mgclean #about .about-help small {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

body.theme-mgclean #about .about-help strong {
  display: block;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

body.theme-mgclean #about .about-photo,
body.theme-mgclean #about .about-photo-main,
body.theme-mgclean #about .about-photo-circle,
body.theme-mgclean #about .about-photo-accent {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  box-shadow: 0 16px 36px rgba(1, 22, 85, 0.16);
  max-height: none;
  max-width: none;
}

body.theme-mgclean #about .about-photo-main {
  top: auto;
  left: 0;
  right: auto;
  bottom: 0;
  width: 70%;
  height: 58%;
  aspect-ratio: auto;
  justify-self: auto;
  border: 6px solid #fff;
  border-radius: 1.7rem;
  z-index: 2;
}

body.theme-mgclean #about .about-photo-accent {
  right: 0;
  top: 8%;
  left: auto;
  bottom: auto;
  width: 54%;
  height: 46%;
  aspect-ratio: auto;
  border: 6px solid #fff;
  border-radius: 1.7rem;
  z-index: 3;
}

@media (max-width: 899px) {
  body.theme-mgclean #about .about-photos {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 588 / 670;
  }

  body.theme-mgclean #about .about-photo-main {
    position: absolute !important;
    top: auto !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: 70% !important;
    height: 58% !important;
    aspect-ratio: auto !important;
    border-radius: 1.15rem !important;
  }

  body.theme-mgclean #about .about-photo-circle {
    display: none !important;
  }

  body.theme-mgclean #about .about-photo-accent {
    position: absolute !important;
    right: 0 !important;
    top: 8% !important;
    left: auto !important;
    bottom: auto !important;
    width: 54% !important;
    height: 46% !important;
    aspect-ratio: auto !important;
    border-radius: 1.15rem !important;
  }

  body.theme-mgclean #about .about-help {
    min-width: 0;
    padding: 0.7rem 0.85rem;
  }

  body.theme-mgclean #about .about-help strong {
    font-size: 1.05rem;
  }
}

body.theme-mgclean #about .about-photo img {
  filter: none;
}

body.theme-mgclean #about .about-photo::after {
  display: none;
}

body.theme-mgclean #about .section-head {
  margin-bottom: 0.8rem;
  text-align: left;
}

body.theme-mgclean #about .about-copy {
  font-family: "Frank Ruhl Libre", Georgia, serif;
}

body.theme-mgclean #about .section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #161616;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

body.theme-mgclean #about .section-head h2::before {
  display: none;
}

body.theme-mgclean #about .section-head h2::after {
  display: block;
  content: "";
  width: 2.6rem;
  height: 3px;
  background: var(--mg-logo-blue);
}

body.theme-mgclean #about .section-head .title {
  color: #111;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.15rem, 3.6vw, 3.05rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
  max-width: 14ch;
}

body.theme-mgclean #about .section-head .title::after {
  display: none;
}

body.theme-mgclean #about .about-body,
body.theme-mgclean #about .about-body p,
body.theme-mgclean #about .about-copy p {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.45;
  color: #24304a;
}

body.theme-mgclean #about .about-body p:first-child {
  color: var(--mg-logo-navy);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

body.theme-mgclean #about p.about-name {
  margin: 1.1rem 0 0.15rem;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mg-logo-navy);
}

body.theme-mgclean #about .about-role {
  display: block;
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--mg-logo-blue);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: none;
}

body.theme-mgclean #about .about-role::before,
body.theme-mgclean #about .about-role::after {
  display: none;
}

body.theme-mgclean #about .about-incluye {
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

@media (min-width: 800px) {
  body.theme-mgclean #about .about-incluye {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.theme-mgclean #about .about-incluye-icon {
  width: 3.1rem;
  height: 3.1rem;
  margin-top: 0;
  color: #fff;
  background: var(--mg-logo-blue);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

body.theme-mgclean #about .about-incluye-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

body.theme-mgclean #about .about-incluye-text strong,
body.theme-mgclean #about .about-incluye-text span {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 500;
}

body.theme-mgclean #about .about-incluye-text strong {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mg-logo-navy);
}

body.theme-mgclean #about .about-incluye-text span {
  font-size: 0.95rem;
  color: #24304a;
}

body.theme-mgclean #about .about-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
  color: #0c2461;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

body.theme-mgclean #about .about-phone span {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mg-logo-blue);
  color: #fff;
  flex: 0 0 auto;
}

body.theme-mgclean #about .about-phone svg {
  width: 1.15rem;
  height: 1.15rem;
}

body.theme-mgclean #about .about-actions {
  margin-top: 1rem;
}

body.theme-mgclean #about .about-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.8rem 1.35rem;
  background: var(--mg-logo-blue);
  color: #fff;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.05rem;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

body.theme-mgclean #about .about-actions .btn::after {
  content: "→";
  font-weight: 500;
}

body.theme-mgclean #about .about-actions .btn:hover {
  background: var(--mg-logo-navy);
  color: #fff;
}

body.theme-mgclean .newsletter-banner {
  background:
    radial-gradient(ellipse at left center, rgba(246, 231, 178, 0.22), transparent 52%),
    linear-gradient(135deg, #1e4fa8 0%, #0c2461 100%);
  border-color: rgba(0, 129, 221, 0.55);
  border-radius: 24px;
}

body.theme-mgclean .newsletter-copy,
body.theme-mgclean .newsletter-banner-copy p {
  color: rgba(255, 255, 255, 0.82);
}

@keyframes mgSparkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (max-width: 899px) {
  body.theme-mgclean .mobile-dock {
    background: #fff;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(7, 24, 63, 0.18);
  }

  body.theme-mgclean .mobile-dock-item {
    color: var(--mg-logo-navy);
    font-family: Montserrat, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  body.theme-mgclean .mobile-dock-item svg {
    color: var(--mg-logo-blue);
  }

  body.theme-mgclean .mobile-dock-item:hover,
  body.theme-mgclean .mobile-dock-item:focus-visible {
    color: var(--mg-logo-blue);
  }

  body.theme-mgclean .mobile-dock-fab {
    background: #25d366;
    color: #fff;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
    font-family: Montserrat, sans-serif;
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.35);
  }

  body.theme-mgclean .back-to-top {
    bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 900px) {
  body.theme-mgclean {
    --nav-h: 4.6rem;
  }

  body.theme-mgclean .nav-brand img {
    height: 3.2rem;
    max-width: 10.5rem;
  }

  body.theme-mgclean .hero {
    margin-top: var(--nav-h);
    width: 100%;
    height: auto !important;
    min-height: 24rem !important;
    max-height: none;
    aspect-ratio: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-align: left;
    padding: 1.2rem 1rem 1.6rem;
  }

  body.theme-mgclean .hero::before {
    left: -22%;
    width: 78%;
    top: -6%;
    height: 120%;
  }

  body.theme-mgclean .hero-slider,
  body.theme-mgclean .hero-slide,
  body.theme-mgclean .hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    object-fit: cover;
    object-position: 75% center;
  }

  body.theme-mgclean .hero-slider {
    overflow: hidden;
  }

  body.theme-mgclean .hero-slide.is-active {
    opacity: 1;
    z-index: 1;
  }

  body.theme-mgclean .hero-content {
    width: min(64%, 16rem);
    max-width: 64%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.theme-mgclean .hero .eyebrow {
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  body.theme-mgclean .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
    margin-bottom: 0.45rem;
  }

  body.theme-mgclean .hero-lede {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.theme-mgclean .hero-actions .btn-primary {
    font-size: 0.85rem;
    padding: 0.55rem 0.9rem;
  }

  body.theme-mgclean .hero-badge {
    width: 4.2rem;
    right: 0.45rem;
    top: auto;
    bottom: 0.7rem;
    left: auto;
  }

  body.theme-mgclean .hero-arrow {
    display: none;
  }
}

@media (max-width: 899px) {
  body.theme-mgclean .service-photo {
    height: 8.5rem;
    flex-basis: 8.5rem;
  }

  body.theme-mgclean .service-badge {
    width: 3.5rem;
    height: 3.5rem;
    margin-top: -1.75rem;
  }

  body.theme-mgclean .service-badge svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  body.theme-mgclean .service-body {
    padding: 0 0.7rem;
  }

  body.theme-mgclean .service h3 {
    font-size: 1.18rem;
    line-height: 1.15;
  }

  body.theme-mgclean .service p,
  body.theme-mgclean .service-points li {
    font-size: 0.78rem;
  }

  body.theme-mgclean .service-points {
    width: 100%;
    gap: 0.32rem;
  }

  body.theme-mgclean .service-modal-media img {
    height: 14rem;
  }

  body.theme-mgclean .gallery-item figcaption {
    padding: 0.75rem 0.75rem 0.9rem;
  }

  body.theme-mgclean .gallery-item figcaption strong {
    font-size: 1.05rem;
  }

  body.theme-mgclean .gallery-item figcaption p,
  body.theme-mgclean .gallery-item figcaption span {
    font-size: 0.72rem;
  }

  body.theme-mgclean .gallery-zoom-hint {
    width: 2rem;
    height: 2rem;
    right: 0.45rem;
    bottom: 0.45rem;
  }
}

@media (min-width: 900px) {
  body.theme-mgclean .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}
