/**
 * Modern Life Pool Villa — หน้าแรก (index.html)
 */
:root {
  --mlp-navy: #1a3d6e;
  --mlp-navy-dark: #0f2a4d;
  --mlp-navy-light: #2a5494;
  --mlp-sky: #e8f2fb;
  --mlp-sky-mid: #d4e8f7;
  --mlp-white: #ffffff;
  --mlp-text: #1f2937;
  --mlp-muted: #6b7280;
  --mlp-gold: #c9a962;
  --mlp-cal-available: #ffffff;
  --mlp-cal-booked: #f9a8d4;
  --mlp-cal-pending: #fdba74;
  --mlp-cal-selected: #86efac;
  --mlp-shadow: 0 8px 32px rgba(26, 61, 110, 0.12);
  --mlp-radius: 12px;
  --mlp-font-script: "Great Vibes", cursive;
  --mlp-font-body: "Kanit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.mlp-home {
  margin: 0;
  font-family: var(--mlp-font-body);
  color: var(--mlp-text);
  background: var(--mlp-white);
  line-height: 1.6;
}

/* ── Header ── */
.mlp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0.85rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.mlp-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.22) 0%,
      rgba(212, 175, 55, 0.55) 25%,
      rgba(212, 175, 55, 0.35) 50%,
      rgba(212, 175, 55, 0.55) 75%,
      rgba(212, 175, 55, 0.22) 100%
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 20%,
      rgba(255, 244, 200, 0.55) 38%,
      rgba(255, 236, 170, 1) 46%,
      #f0d060 50%,
      #d4af37 54%,
      rgba(255, 236, 170, 1) 58%,
      rgba(255, 244, 200, 0.55) 66%,
      transparent 80%,
      transparent 100%
    );
  background-size: 100% 100%, 70% 100%;
  background-repeat: no-repeat;
  background-position: 0 0, -70% 0;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.55), 0 0 4px rgba(255, 236, 170, 0.8);
  animation: mlp-gold-underline 2.8s ease-in-out 1 forwards;
  animation-delay: 0.35s;
  z-index: 2;
  opacity: 0.85;
}

.mlp-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mlp-header.is-scrolled {
  background: rgba(15, 42, 77, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

@keyframes mlp-gold-underline {
  0% {
    background-position: 0 0, -70% 0;
    opacity: 0.7;
  }
  20% { opacity: 1; }
  100% {
    background-position: 0 0, 160% 0;
    opacity: 0.9;
  }
}

.mlp-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--mlp-white);
  line-height: 1.1;
}

.mlp-logo__script {
  font-family: var(--mlp-font-script);
  font-size: 1.65rem;
  font-weight: 400;
}

.mlp-logo__sans {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.92;
}

.mlp-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.mlp-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.mlp-nav a:hover,
.mlp-nav a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.mlp-btn-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--mlp-white);
  color: var(--mlp-navy);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mlp-btn-check:hover {
  color: var(--mlp-navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.mlp-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
}

.mlp-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.mlp-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mlp-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mlp-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mlp-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(15, 42, 77, 0.98);
  padding: 1.5rem;
  z-index: 1029;
}

.mlp-mobile-menu.is-open {
  display: block;
}

.mlp-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mlp-mobile-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
  .mlp-nav {
    display: flex;
  }

  .mlp-nav-toggle {
    display: none;
  }

  .mlp-btn-check--mobile-only {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .mlp-btn-check--desktop {
    display: none;
  }
}

/* ── Hero ── */
.mlp-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
}

.mlp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.mlp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 77, 0.35) 0%,
    rgba(15, 42, 77, 0.15) 40%,
    rgba(15, 42, 77, 0.55) 100%
  );
}

.mlp-hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 0;
  text-align: left;
}

.mlp-hero__script {
  font-family: var(--mlp-font-script);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 0.15rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.mlp-hero__title {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.mlp-hero__location {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  margin: 0.5rem 0 1rem;
  opacity: 0.95;
}

.mlp-hero__desc {
  max-width: 520px;
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.92;
  margin: 0 0 1.5rem;
}

.mlp-hero__features {
  position: relative;
  z-index: 2;
  background: rgba(15, 42, 77, 0.78);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mlp-hero__features-inner {
  display: flex;
  gap: 0.55rem;
  padding: 0.75rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
}

.mlp-hero__features-inner.is-auto-scrolling {
  scroll-snap-type: none;
}

.mlp-hero__features-inner::-webkit-scrollbar {
  display: none;
}

.mlp-hero__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

.mlp-hero__feature i {
  font-size: 0.95rem;
  color: var(--mlp-gold);
  flex-shrink: 0;
}

.mlp-hero__feature--more {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.45);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.25);
}

#facilities {
  scroll-margin-top: 5.5rem;
}

@media (min-width: 992px) {
  .mlp-hero__features-inner {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible;
    padding: 0.95rem 0;
  }

  .mlp-hero__feature {
    justify-content: center;
    white-space: normal;
    text-align: center;
    border-radius: 12px;
    min-height: 3.1rem;
  }
}

/* ── Booking bar ── */
.mlp-booking-bar {
  background: var(--mlp-white);
  padding: 1.75rem 0;
  box-shadow: var(--mlp-shadow);
  position: relative;
  z-index: 10;
}

.mlp-booking-bar__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mlp-navy);
  margin: 0 0 1rem;
}

.mlp-booking-form {
  display: grid;
  gap: 0.75rem;
  align-items: end;
}

.mlp-avail-result {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.mlp-avail-result[hidden] {
  display: none !important;
}

.mlp-avail-result.is-available {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.mlp-avail-result.is-unavailable {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.mlp-avail-result.is-loading,
.mlp-avail-result.is-error {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.mlp-avail-result strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.mlp-avail-result ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.mlp-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mlp-navy);
  margin-bottom: 0.35rem;
}

.mlp-field__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}

.mlp-field__input i {
  color: var(--mlp-navy-light);
  font-size: 1rem;
}

.mlp-field__input input,
.mlp-field__input select {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--mlp-text);
  outline: none;
  min-width: 0;
}

.mlp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mlp-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  width: 100%;
}

.mlp-btn-primary:hover {
  background: var(--mlp-navy-dark);
  color: #fff;
}

@media (min-width: 768px) {
  .mlp-booking-form {
    grid-template-columns: 1fr 1fr 1fr auto;
  }

  .mlp-btn-primary {
    width: auto;
    min-width: 160px;
    height: 46px;
  }
}

/* ── Section common ── */
.mlp-section {
  padding: 4rem 0;
}

.mlp-section__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--mlp-navy);
  margin: 0 0 0.5rem;
}

.mlp-section__title span {
  font-weight: 400;
}

.mlp-section__subtitle {
  color: var(--mlp-muted);
  font-size: 0.95rem;
  margin: 0;
}

.mlp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--mlp-navy);
  border: 2px solid var(--mlp-navy);
  border-radius: 8px;
  padding: 0.7rem 1.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mlp-btn-outline:hover {
  background: var(--mlp-navy);
  color: #fff;
}

/* ── Welcome ── */
.mlp-welcome__text p {
  color: var(--mlp-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.mlp-welcome__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.mlp-welcome__img-main {
  border-radius: var(--mlp-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mlp-welcome__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mlp-welcome__img-stack {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}

.mlp-welcome__img-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--mlp-radius);
  aspect-ratio: 4 / 3;
}

@media (min-width: 992px) {
  .mlp-welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .mlp-welcome__grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .mlp-welcome__img-main {
    grid-row: 1 / 3;
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }

  .mlp-welcome__img-stack {
    grid-template-columns: 1fr;
    grid-row: 1 / 3;
  }
}

/* ── Facilities (grouped card) ── */
.mlp-facilities {
  position: relative;
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%);
}

.mlp-facilities__card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(15, 42, 77, 0.06);
  box-shadow: 0 12px 36px rgba(15, 42, 77, 0.08);
  padding: 1.35rem 1.25rem 1.5rem;
}

.mlp-facilities__card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #eef2f7;
  position: relative;
}

.mlp-facilities__card-head::after {
  content: "";
  position: absolute;
  left: 2.75rem;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37 0%, rgba(212, 175, 55, 0.15) 42%, transparent 70%);
  background-size: 180% 100%;
  animation: mlp-facilities-gold-gleam 3s ease-in-out infinite;
}

.mlp-facilities__badge {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mlp-navy);
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mlp-facilities__card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.mlp-facilities__group + .mlp-facilities__group {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid #f1f5f9;
}

.mlp-facilities__group-title {
  margin: 0 0 0.95rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #111827;
}

.mlp-facilities__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1rem;
}

.mlp-facility-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.mlp-facility-item i {
  width: 1.35rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 1.15rem;
  color: #1f2937;
}

.mlp-facility-item span {
  font-size: 0.92rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .mlp-facilities__card {
    padding: 1.6rem 1.75rem 1.85rem;
  }

  .mlp-facilities__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem 1.25rem;
  }
}

@media (min-width: 992px) {
  .mlp-facilities {
    padding: 3.75rem 0 4.25rem;
  }

  .mlp-facilities__card {
    padding: 1.85rem 2rem 2.1rem;
    border-radius: 24px;
  }

  .mlp-facilities__card-title {
    font-size: 1.35rem;
  }

  .mlp-facilities__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }

  .mlp-facility-item span {
    font-size: 0.95rem;
  }
}

@keyframes mlp-facilities-gold-gleam {
  0%, 100% { background-position: 0% 0; opacity: 0.7; }
  50% { background-position: 100% 0; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .mlp-facilities__card-head::after {
    animation: none;
  }
}

/* ── Calendar + Promo ── */
.mlp-availability {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .mlp-availability {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.mlp-calendar {
  background: var(--mlp-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--mlp-radius);
  padding: 1.25rem;
  box-shadow: var(--mlp-shadow);
}

.mlp-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mlp-calendar__month {
  font-weight: 600;
  color: var(--mlp-navy);
  font-size: 1rem;
}

.mlp-calendar__nav {
  display: flex;
  gap: 0.35rem;
}

.mlp-calendar__nav button {
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: var(--mlp-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mlp-calendar__nav button:hover {
  background: var(--mlp-sky);
}

.mlp-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.mlp-calendar__weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mlp-muted);
  padding: 0.25rem;
}

.mlp-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.mlp-calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
  background: var(--mlp-cal-available);
  cursor: default;
}

.mlp-calendar__day.is-empty {
  background: transparent;
  border-color: transparent;
}

.mlp-calendar__day.is-booked {
  background: var(--mlp-cal-booked);
  border-color: #f472b6;
}

.mlp-calendar__day.is-pending {
  background: var(--mlp-cal-pending);
  border-color: #fb923c;
}

.mlp-calendar__day.is-selected {
  background: var(--mlp-cal-selected);
  border-color: #4ade80;
  font-weight: 600;
}

.mlp-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.mlp-calendar__legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--mlp-muted);
}

.mlp-calendar__legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.mlp-promo {
  position: relative;
  border-radius: var(--mlp-radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--mlp-shadow);
}

.mlp-promo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mlp-promo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 42, 77, 0.88) 0%, rgba(15, 42, 77, 0.3) 60%);
}

.mlp-promo__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #fff;
}

.mlp-promo__content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.mlp-promo__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.mlp-promo__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  opacity: 0.95;
}

.mlp-promo__list i {
  color: var(--mlp-gold);
  margin-top: 0.15rem;
}

.mlp-promo .mlp-btn-primary {
  background: var(--mlp-white);
  color: var(--mlp-navy);
}

.mlp-promo .mlp-btn-primary:hover {
  background: var(--mlp-sky);
}

/* ── Gallery ── */
.mlp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.mlp-gallery__item {
  border-radius: var(--mlp-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.mlp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mlp-gallery__item:hover img {
  transform: scale(1.05);
}

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

@media (min-width: 992px) {
  .mlp-gallery__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.mlp-gallery__cta {
  text-align: center;
}

/* ── Blog ── */
.mlp-blog__grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

.mlp-blog-card {
  background: var(--mlp-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--mlp-radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.mlp-blog-card:hover {
  box-shadow: var(--mlp-shadow);
  transform: translateY(-3px);
}

.mlp-blog-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.mlp-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mlp-blog-card__body {
  padding: 1rem 1.15rem 1.25rem;
}

.mlp-blog-card__title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--mlp-navy);
  margin: 0 0 0.5rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mlp-blog-card__date {
  font-size: 0.78rem;
  color: var(--mlp-muted);
}

@media (min-width: 576px) {
  .mlp-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .mlp-blog__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mlp-blog__cta {
  text-align: center;
}

/* ── Footer ── */
.mlp-footer {
  background: var(--mlp-navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 0;
}

.mlp-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.mlp-footer__brand {
  font-family: var(--mlp-font-script);
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 1rem;
}

.mlp-footer__brand-sub {
  font-family: var(--mlp-font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.15rem;
  opacity: 0.8;
}

.mlp-footer p,
.mlp-footer li {
  font-size: 0.88rem;
  line-height: 1.7;
}

.mlp-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.mlp-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.mlp-footer h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
}

.mlp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mlp-footer ul li {
  margin-bottom: 0.5rem;
}

.mlp-footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mlp-footer__social a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mlp-footer__social i {
  font-size: 1.2rem;
}

.mlp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.mlp-scroll-top {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

/* ── Mobile sticky CTA bar ── */
.mlp-mobile-cta {
  display: none;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 5.5rem;
  }

  .mlp-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 90;
    background: #fff;
    border-radius: 1.25rem;
    padding: 0.55rem 0.55rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.06);
  }

  .mlp-mobile-cta__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-decoration: none;
    color: #334155;
    min-width: 0;
    padding: 0.15rem 0.25rem;
  }

  .mlp-mobile-cta__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
  }

  .mlp-mobile-cta__icon--book {
    background: #e8f1fb;
    color: #3b82f6;
  }

  .mlp-mobile-cta__icon--call {
    background: #eef2f7;
    color: #1f2937;
  }

  .mlp-mobile-cta__icon--line {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1rem;
  }

  .mlp-mobile-cta__label {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mlp-mobile-cta__line {
    flex: 1.35;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-decoration: none;
    background: #24c04f;
    color: #fff;
    border-radius: 0.9rem;
    padding: 0.55rem 0.7rem;
    min-height: 3.35rem;
    box-shadow: 0 6px 14px rgba(36, 192, 79, 0.28);
  }

  .mlp-mobile-cta__line-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .mlp-mobile-cta__line-text strong {
    font-size: 0.92rem;
    font-weight: 600;
  }

  .mlp-mobile-cta__line-text small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.95;
  }
}

.mlp-scroll-top:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (min-width: 768px) {
  .mlp-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

/* ── Container ── */
.mlp-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.15rem;
}

@media (min-width: 1200px) {
  .mlp-container {
    max-width: 1200px;
    padding: 0 1.5rem;
  }
}
