/**
 * MasajesGay.madrid - Tema claro. Prefijo mg-
 * Paleta: blanco, coral #f05858, texto #333
 */
:root {
  --mg-coral: #f05858;
  --mg-coral-dark: #d94646;
  --mg-coral-soft: #fdeaea;
  --mg-text: #333333;
  --mg-text-muted: #777777;
  --mg-bg: #ffffff;
  --mg-bg-alt: #f9f9f9;
  --mg-footer-bg: #2d2d2d;
  --mg-gold: #f0a500;
  --mg-radius: 6px;
  --mg-shadow: 0 2px 12px rgba(0,0,0,.08);
  --mg-transition: all .25s ease;
}

/* ─── Base ─── */
body.mg-theme {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--mg-bg);
  color: var(--mg-text);
  -webkit-font-smoothing: antialiased;
}
body.mg-theme h1,body.mg-theme h2,body.mg-theme h3,
body.mg-theme h4,body.mg-theme h5 {
  font-family: 'Inter', sans-serif; font-weight: 700;
}
body.mg-theme a { transition: var(--mg-transition); }
body.mg-theme img { max-width: 100%; height: auto; }
body.mg-theme main { background: var(--mg-bg); }

/* ─── Navbar ─── */
.mg-navbar {
  background: #fff !important;
  border-bottom: 1px solid #eee;
  min-height: 212px;
  padding: 31px 0;
  z-index: 1050;
}
/* Logo: siempre visible, centrado absolutamente en desktop */
.mg-navbar .mg-navbar__brand { padding: 0; }
.mg-navbar .mg-navbar__brand img { height: 80px; width: auto; }

/* Desktop: logo absolutamente centrado, 400×150 */
@media (min-width: 992px) {
  .mg-navbar .container { position: relative; }
  .mg-navbar .mg-navbar__brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  .mg-navbar .mg-navbar__brand img {
    width: 400px;
    height: 150px;
    object-fit: contain;
  }
}

.mg-navbar .nav-link {
  color: var(--mg-text) !important;
  font-weight: 500;
  font-size: 1.1rem;
  padding: .5rem .9rem !important;
}
.mg-navbar .nav-link:hover,
.mg-navbar .nav-link.active { color: var(--mg-coral) !important; }
.mg-navbar .navbar-toggler { border: none; }
.mg-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28240,88,88,.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991px) {
  .mg-navbar .navbar-collapse {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem 0;
  }
  .mg-navbar .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: flex-start !important;
    width: 100%;
  }
  .mg-navbar .navbar-nav .nav-link { padding-left: 1rem !important; }
  .mg-navbar .navbar-nav .ms-1 { margin-left: 1rem !important; }
  .mg-navbar .mg-flag-link { margin-left: 1rem; }
}
/* ─── Flag links ─── */
.mg-flag-link {
  display: inline-flex; align-items: center;
  opacity: .65; border-radius: 2px; overflow: hidden;
  line-height: 1; transition: var(--mg-transition);
  text-decoration: none;
}
.mg-flag-link:hover, .mg-flag-link.active { opacity: 1; }
.mg-flag-link .fi { font-size: 1.35rem; }

/* ─── Hero ─── */
.mg-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}
.mg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 0;
}
.mg-hero .container { position: relative; z-index: 1; }
.mg-hero__title {
  font-size: 2.6rem;
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
  margin-bottom: 1.75rem;
}
.mg-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
}
.mg-hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Section Banner / Page Header / CTA Banner (shared pattern) ─── */
.mg-section-banner,
.mg-page-header,
.mg-cta-banner {
  background: var(--mg-coral);
  text-align: center;
  padding: 1.1rem 1rem 1.6rem;
  position: relative;
  margin-bottom: 1px;
}
.mg-section-banner::after,
.mg-page-header::after,
.mg-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid var(--mg-coral);
  z-index: 2;
}
.mg-section-banner__title,
.mg-page-header__title,
.mg-cta-banner__text,
.mg-section-banner h2,
.mg-page-header h2,
.mg-cta-banner h2 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}
.mg-cta-banner { margin: 2rem 0 0; }
.mg-cta-banner p { color: rgba(255,255,255,.85); }

/* ─── Buttons ─── */
.btn-mg-whatsapp,.mg-btn-whatsapp,.mg-btn-wa {
  background: #25d366 !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--mg-radius);
  padding: .7rem 1.75rem;
  transition: var(--mg-transition);
  text-decoration: none;
}
.btn-mg-whatsapp:hover,.mg-btn-whatsapp:hover,.mg-btn-wa:hover {
  background: #1ebe5a !important; color: #fff !important;
  transform: translateY(-1px);
}
.btn-mg-coral,.mg-btn-coral,.mg-btn-phone {
  background: var(--mg-coral) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--mg-radius);
  padding: .7rem 1.75rem;
  transition: var(--mg-transition);
  text-decoration: none;
}
.btn-mg-coral:hover,.mg-btn-coral:hover,.mg-btn-phone:hover {
  background: var(--mg-coral-dark) !important; color: #fff !important;
  transform: translateY(-1px);
}
.btn-mg-outline {
  background: transparent;
  border: 2px solid var(--mg-coral);
  color: var(--mg-coral);
  font-weight: 600;
  border-radius: var(--mg-radius);
  padding: .4rem 1rem;
}
.btn-mg-outline:hover { background: var(--mg-coral); color: #fff; }
.mg-btn-wa-outline {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--mg-radius);
  padding: .7rem 1.75rem;
  transition: var(--mg-transition);
  text-decoration: none;
}
.mg-btn-wa-outline:hover { background: rgba(255,255,255,.15) !important; color: #fff !important; }

/* Square icon buttons */
.mg-btn-sq-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--mg-radius);
  background: #25d366; color: #fff; font-size: 1.3rem;
  text-decoration: none; border: none; transition: var(--mg-transition);
}
.mg-btn-sq-wa:hover { background: #1ebe5a; color: #fff; }
.mg-btn-sq-tel {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--mg-radius);
  background: var(--mg-coral); color: #fff; font-size: 1.3rem;
  text-decoration: none; border: none; transition: var(--mg-transition);
}
.mg-btn-sq-tel:hover { background: var(--mg-coral-dark); color: #fff; }

/* ─── Sections ─── */
.mg-section { background: var(--mg-bg); }
.mg-section-alt { background: var(--mg-bg-alt); }
.mg-section__title { font-size: 1.4rem; font-weight: 700; color: var(--mg-text); margin-bottom: 1.25rem; }

/* ─── Intro text with left border ─── */
.mg-intro-text {
  border-left: 4px solid var(--mg-coral);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--mg-text-muted);
}

/* ─── Masajista card ─── */
.mg-masajista-card {
  background: #fff; border-radius: var(--mg-radius);
  overflow: hidden; box-shadow: var(--mg-shadow);
  transition: var(--mg-transition); text-align: center;
  height: 100%; display: flex; flex-direction: column;
}
.mg-masajista-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.mg-masajista-card__img-wrap { overflow: hidden; aspect-ratio: 3/4; width: 100%; flex: 0 0 auto; }
.mg-masajista-card__img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.mg-masajista-card:hover .mg-masajista-card__img { transform: scale(1.05); }
.mg-masajista-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,#eee 0%,#ddd 100%);
  min-height: 300px;
}
.mg-masajista-card__name {
  height: 3.25rem; padding: .75rem .5rem;
  font-size: .88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--mg-text); margin: 0;
  display: flex; align-items: center; justify-content: center;
  line-height: 1.25; overflow: hidden;
}

/* ─── Masaje row (home featured) ─── */
.mg-masaje-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #fff;
  border-radius: var(--mg-radius);
  box-shadow: var(--mg-shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
}
.mg-masaje-row__img-wrap { overflow: hidden; min-height: 200px; }
.mg-masaje-row__img { width: 100%; height: 100%; object-fit: cover; }
.mg-masaje-row__placeholder { width: 100%; height: 100%; background: #eee; min-height: 200px; }
.mg-masaje-row__body { padding: 1.25rem 1.5rem; }
.mg-masaje-row__title {
  font-size: .95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: .5rem; color: var(--mg-text);
}
.mg-masaje-row__desc {
  font-size: .88rem; color: var(--mg-text-muted);
  line-height: 1.6; margin-bottom: .75rem;
}
.mg-masaje-row__content { padding: 1.25rem 1.5rem; }
.mg-masaje-row__price { font-size: .9rem; color: var(--mg-coral); font-weight: 600; margin-bottom: .75rem; }
.mg-masaje-row__cta-label {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--mg-coral); margin-bottom: .5rem;
}
.mg-masaje-row__buttons { display: flex; gap: .5rem; }
@media (max-width: 576px) {
  .mg-masaje-row { grid-template-columns: 1fr; }
  .mg-masaje-row__img-wrap { min-height: 160px; aspect-ratio: 4/3; }
}

/* ─── Masaje card (index grid) ─── */
.mg-masaje-card {
  background: #fff; border-radius: var(--mg-radius);
  overflow: hidden; box-shadow: var(--mg-shadow);
  transition: var(--mg-transition); text-align: center;
  height: 100%; display: flex; flex-direction: column;
}
.mg-masaje-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.mg-masaje-card--highlight { outline: 3px solid var(--mg-coral); }
.mg-masaje-card__img-wrap { overflow: hidden; aspect-ratio: 4/3; width: 100%; flex: 0 0 auto; }
.mg-masaje-card__img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.mg-masaje-card:hover .mg-masaje-card__img { transform: scale(1.05); }
.mg-masaje-card__placeholder { width: 100%; height: 100%; background: #eee; }
.mg-masaje-card__name {
  height: 3.75rem; padding: .5rem .4rem;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--mg-text); margin: 0;
  display: flex; align-items: center; justify-content: center;
  line-height: 1.25; overflow: hidden;
}

.mg-benefits {
  max-width: 1080px;
  margin: 3rem auto 0;
}
.mg-benefits__title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--mg-text);
}
.mg-benefits__body {
  color: var(--mg-text-muted);
  font-size: .98rem;
  line-height: 1.8;
}
.mg-benefits__body p { margin-bottom: 1rem; }

/* ─── Review card ─── */
.mg-review-card {
  background: var(--mg-coral-soft);
  border-radius: var(--mg-radius);
  padding: 1.25rem;
  border-top: 3px solid var(--mg-coral);
}
.mg-review-card__stars { color: var(--mg-gold); font-size: .95rem; margin-bottom: .5rem; }
.mg-review-card__content {
  font-size: .9rem; color: var(--mg-text);
  line-height: 1.6; font-style: italic; margin-bottom: .75rem;
}
.mg-review-card__author { font-size: .85rem; font-weight: 600; color: var(--mg-coral); }

/* ─── Gallery ─── */
.mg-gallery-img-wrap {
  overflow: hidden; border-radius: var(--mg-radius);
  aspect-ratio: 4/3; box-shadow: var(--mg-shadow);
}
.mg-gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mg-gallery-img-wrap:hover .mg-gallery-img { transform: scale(1.06); }

/* ─── Address / Map ─── */
.mg-address__item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; font-size: .95rem; }
.mg-address__icon { color: var(--mg-coral); font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.mg-map-wrap { border-radius: var(--mg-radius); overflow: hidden; box-shadow: var(--mg-shadow); }
.mg-map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ─── Carousel (masajista detail) ─── */
.mg-carousel-wrap {
  border-radius: var(--mg-radius);
  overflow: hidden;
  box-shadow: var(--mg-shadow);
  border: 1px solid #eee;
}
.mg-carousel__img {
  aspect-ratio: 3/4;
  object-fit: cover;
}
.mg-carousel__placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #eee 0%, #ddd 100%);
}
.mg-carousel-wrap .carousel-control-prev,
.mg-carousel-wrap .carousel-control-next {
  width: 40px; height: 40px;
  top: 50%; bottom: auto;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .25s ease;
}
.mg-carousel-wrap:hover .carousel-control-prev,
.mg-carousel-wrap:hover .carousel-control-next { opacity: 1; }
.mg-carousel-wrap .carousel-control-prev { left: 12px; }
.mg-carousel-wrap .carousel-control-next { right: 12px; }
.mg-carousel-wrap .carousel-control-prev-icon,
.mg-carousel-wrap .carousel-control-next-icon { width: 16px; height: 16px; }

/* Thumbnails */
.mg-thumb { cursor: pointer; }
.mg-thumb__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--mg-radius);
  opacity: .55;
  transition: opacity .25s ease, outline-color .25s ease;
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.mg-thumb__img:hover { opacity: .85; }
.mg-thumb__img--active {
  opacity: 1;
  outline-color: var(--mg-coral);
}

/* Description */
.mg-detail-description {
  background: var(--mg-bg-alt);
  border-radius: var(--mg-radius);
  padding: 1.5rem;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--mg-text);
  border-left: 4px solid var(--mg-coral);
}

/* ─── Info table (masajista) ─── */
.mg-info-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .88rem; }
.mg-info-table thead th {
  background: var(--mg-coral); color: #fff;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; padding: .55rem 1rem;
  text-align: center; font-size: .78rem;
}
.mg-info-table tbody td {
  padding: .55rem 1rem; text-align: center;
  border-bottom: 1px solid #eee; color: var(--mg-text);
}

/* ─── Booking buttons ─── */
.mg-booking-buttons { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .75rem; }
.mg-booking-btn-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.5rem; border-radius: var(--mg-radius);
  background: #25d366; color: #fff; font-weight: 600;
  text-decoration: none; border: none; transition: var(--mg-transition);
}
.mg-booking-btn-wa:hover { background: #1ebe5a; color: #fff; }
.mg-booking-btn-tel {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.5rem; border-radius: var(--mg-radius);
  background: var(--mg-coral); color: #fff; font-weight: 600;
  text-decoration: none; border: none; transition: var(--mg-transition);
}
.mg-booking-btn-tel:hover { background: var(--mg-coral-dark); color: #fff; }

/* ─── Detail card (masajista detail) ─── */
.mg-detail-card {
  background: #fff;
  border-radius: var(--mg-radius);
  padding: 2rem;
  box-shadow: var(--mg-shadow);
  border: 1px solid #eee;
}
.mg-detail-card__name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--mg-text);
  position: relative;
  padding-bottom: .75rem;
}
.mg-detail-card__name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--mg-coral);
  border-radius: 2px;
}
.mg-detail-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mg-detail-item:last-of-type { border-bottom: none; }
.mg-detail-item__icon {
  color: var(--mg-coral);
  font-size: 1.1rem;
  min-width: 1.5rem;
  text-align: center;
  padding-top: .1rem;
}
.mg-detail-item__label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mg-coral);
  margin-bottom: .1rem;
}

/* ─── Calendar icon (masaje detail) ─── */
.mg-calendar-icon {
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--mg-coral); color: #fff;
  border-radius: var(--mg-radius);
  padding: .75rem 1.5rem; text-align: center; min-width: 120px;
}
.mg-calendar-icon i { font-size: 1.6rem; margin-bottom: .3rem; }
.mg-calendar-icon__duration { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.mg-calendar-icon__price { font-size: 1.1rem; font-weight: 700; }

/* ─── Bullet list (masaje detail) ─── */
.mg-bullet-list { list-style: none; padding: 0; margin: 1rem 0; }
.mg-bullet-list li {
  display: flex; align-items: flex-start;
  gap: .65rem; margin-bottom: .6rem;
  font-size: .93rem; color: var(--mg-text); line-height: 1.5;
}
.mg-bullet-list li::before {
  content: ''; display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mg-coral); flex-shrink: 0; margin-top: .3rem;
}

/* ─── Related cards ─── */
.mg-related-card {
  background: #fff; border-radius: var(--mg-radius);
  overflow: hidden; box-shadow: var(--mg-shadow);
  transition: var(--mg-transition); text-align: center;
}
.mg-related-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.mg-related-card__img-wrap { overflow: hidden; aspect-ratio: 3/2; }
.mg-related-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mg-related-card:hover .mg-related-card__img { transform: scale(1.05); }
.mg-related-card__placeholder { width: 100%; height: 140px; background: #eee; }
.mg-related-card__name {
  padding: .55rem .5rem;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--mg-coral); margin: 0;
}

/* ─── Feature boxes (instalaciones) ─── */
.mg-feature-box {
  background: #fff; border-radius: var(--mg-radius);
  box-shadow: var(--mg-shadow); padding: 1.5rem 1rem;
  text-align: center; transition: var(--mg-transition);
}
.mg-feature-box:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.mg-feature-box__icon { font-size: 2.2rem; color: var(--mg-coral); margin-bottom: .75rem; }
.mg-feature-box__title {
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--mg-text); margin: 0;
}

/* ─── Prose ─── */
.mg-prose { font-size: .97rem; line-height: 1.75; color: var(--mg-text); }
.mg-prose p { margin-bottom: 1rem; }
.mg-prose a { color: var(--mg-coral); }
.mg-prose a:hover { color: var(--mg-coral-dark); }
.mg-prose h2,.mg-prose h3 { margin-top: 1.5rem; margin-bottom: .75rem; }
.mg-prose img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; border-radius: var(--mg-radius); }
.mg-installations-copy { max-width: 1080px; }
.mg-installations-copy h2:first-child { margin-top: 0; }

/* ─── Blog article ─── */
.col-lg-8 .mg-prose { max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ─── Blog card ─── */
.mg-blog-card {
  background: #fff; border-radius: var(--mg-radius);
  overflow: hidden; box-shadow: var(--mg-shadow); transition: var(--mg-transition);
}
.mg-blog-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.mg-blog-card__img-link { display: block; overflow: hidden; }
.mg-blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s; }
.mg-blog-card:hover .mg-blog-card__img { transform: scale(1.04); }
.mg-blog-card__body { padding: 1.25rem; }
.mg-blog-card__title { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; color: var(--mg-text); }
.mg-blog-card__title a { color: inherit; text-decoration: none; }
.mg-blog-card__title a:hover { color: var(--mg-coral); }
.mg-blog-card__excerpt { font-size: .88rem; color: var(--mg-text-muted); margin-bottom: .5rem; }
.mg-blog-card__date { font-size: .82rem; color: var(--mg-text-muted); margin-bottom: .75rem; }
.mg-article__date { font-size: .85rem; color: var(--mg-text-muted); }

/* ─── 404 ─── */
.mg-404 {
  background: var(--mg-bg-alt); padding: 5rem 0;
  min-height: 50vh; display: flex; align-items: center;
}
.mg-404__title { font-size: 5rem; font-weight: 800; color: var(--mg-coral); margin-bottom: .5rem; }
.mg-404__subtitle { font-size: 1.5rem; margin-bottom: 1rem; color: var(--mg-text); }
.mg-404__text { color: var(--mg-text-muted); margin-bottom: 2rem; }

/* ─── Footer ─── */
.mg-footer {
  background: var(--mg-footer-bg);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.mg-footer .footer-brand { font-size: 1.1rem; font-weight: 700; color: #fff; display: block; margin-bottom: .75rem; }
.mg-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.mg-footer .footer-links { list-style: none; padding: 0; }
.mg-footer .footer-links li { margin-bottom: .4rem; }
.mg-footer .footer-links a { color: rgba(255,255,255,.65); text-decoration: none; }
.mg-footer .footer-links a:hover { color: var(--mg-coral); }
.mg-footer .footer-contact { list-style: none; padding: 0; }
.mg-footer .footer-contact li { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; font-size: .88rem; }
.mg-footer .footer-contact i { color: var(--mg-coral); flex-shrink: 0; margin-top: .15rem; }
.mg-footer .footer-contact a { color: rgba(255,255,255,.65); text-decoration: none; }
.mg-footer .footer-contact a:hover { color: var(--mg-coral); }
.mg-footer .footer-contact span { color: rgba(255,255,255,.65); }
.mg-footer .footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  margin-right: .4rem; transition: var(--mg-transition); text-decoration: none;
}
.mg-footer .footer-social a:hover { background: var(--mg-coral); color: #fff; }
.mg-footer hr { border-color: rgba(255,255,255,.1); }
.mg-footer .footer-bottom { font-size: .82rem; color: rgba(255,255,255,.4); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .mg-hero__title { font-size: 1.9rem; }
  .mg-hero { min-height: 300px; }
  .mg-section-banner__title,
  .mg-page-header__title,
  .mg-cta-banner__text { font-size: .95rem; }
}
@media (max-width: 576px) {
  .mg-hero__title { font-size: 1.5rem; }
}
