/* =====================================================================
   MOOTHEDAN POOLS — shared brand layer (loaded last on every page)
   Header · dropdowns · drawer · page curtain · ticker · footer · polish
   ===================================================================== */

:root {
  --mp-indigo: #0A0A95;
  --mp-indigo-2: #07077a;
  --mp-indigo-3: #04044d;
  --mp-teal: #17BFB9;
  --mp-blue: #1C98D0;
  --mp-ink: #0D2B30;
  --mp-teal-deep: #1E5F63;
  --mp-cyan: #199396;
  --mp-aqua: #b5f0f2;
  --mp-sea: #0c3d40;
  --mp-mist: #f2fafa;
  --mp-wave: linear-gradient(90deg, #0A0A95 0%, #1C98D0 55%, #17BFB9 100%);
  --mp-wave-text: linear-gradient(100deg, #1E5F63 0%, #17BFB9 55%, #1C98D0 100%);
  --mp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mp-ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --mp-container: 1400px;
  --mp-gutter: 48px;
  --mp-header-h: 84px;

  /* one typeface, everywhere */
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: var(--sans);
  --serif: var(--sans);
}
@media (max-width: 768px) { :root { --mp-gutter: 20px; --mp-header-h: 70px; } }

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(23, 191, 185, .28); color: var(--mp-ink); }
:focus-visible { outline: 2px solid var(--mp-teal); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------------
   SCROLL PROGRESS
--------------------------------------------------------------------- */
html body #scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1002;
  background: var(--mp-wave) !important;
  border-radius: 0 3px 3px 0; pointer-events: none;
  box-shadow: 0 0 12px rgba(23, 191, 185, .55);
}
.page-progress { display: none !important; }

/* ---------------------------------------------------------------------
   HEADER
--------------------------------------------------------------------- */
html body #site-nav.mp-header {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 1000 !important;
  height: var(--mp-header-h) !important;
  padding: 0 !important; margin: 0 !important;
  background: rgba(255, 255, 255, .84) !important;
  -webkit-backdrop-filter: saturate(1.7) blur(18px) !important;
  backdrop-filter: saturate(1.7) blur(18px) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(13, 43, 48, .07) !important;
  box-shadow: none !important;
  color: var(--mp-ink) !important;
  transition: height .5s var(--mp-ease), background-color .45s ease, box-shadow .45s ease, border-color .45s ease, transform .5s var(--mp-ease) !important;
}
html body #site-nav.mp-header.is-scrolled {
  height: 70px !important;
  background: rgba(255, 255, 255, .93) !important;
  box-shadow: 0 14px 34px -22px rgba(13, 43, 48, .45) !important;
}
html body #site-nav.mp-header.is-hidden { transform: translateY(-100%) !important; }
html body #site-nav.mp-header #nav-inner {
  max-width: calc(var(--mp-container) + 2 * var(--mp-gutter)) !important;
  height: 100% !important; margin: 0 auto !important;
  padding: 0 var(--mp-gutter) !important;
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 28px;
}

.mp-logo { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; height: 46px; }
.mp-logo img { height: 46px; width: auto; display: block; transition: height .5s var(--mp-ease), opacity .35s ease; }
.mp-logo .mp-logo__white { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.is-scrolled .mp-logo img { height: 40px; }

.mp-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mp-nav__item { position: relative; }
.mp-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em; line-height: 1;
  color: rgba(13, 43, 48, .76); background: transparent; border: 0; cursor: pointer;
  font-family: var(--sans);
  transition: color .25s ease, background-color .25s ease;
}
.mp-nav__link:hover, .mp-nav__item.is-open > .mp-nav__link { color: var(--mp-ink); background: rgba(23, 191, 185, .10); }
.mp-nav__link[aria-current="page"] { color: var(--mp-indigo); font-weight: 600; }
.mp-nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--mp-teal); transform: translateX(-50%);
}
.mp-nav__chev { width: 10px; height: 10px; opacity: .6; transition: transform .35s var(--mp-ease); }
.mp-nav__item.is-open .mp-nav__chev { transform: rotate(180deg); }

/* dropdown panels */
.mp-drop {
  position: absolute; top: calc(100% + 14px); left: 50%;
  min-width: 290px; padding: 10px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 34px 70px -24px rgba(13, 43, 48, .38), 0 0 0 1px rgba(13, 43, 48, .06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 10px) scale(.985); transform-origin: 50% 0;
  transition: opacity .22s ease, transform .35s var(--mp-ease), visibility 0s linear .35s;
  z-index: 5;
}
.mp-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mp-nav__item.is-open > .mp-drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition: opacity .22s ease, transform .4s var(--mp-ease), visibility 0s;
}
.mp-drop__link {
  display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center;
  padding: 11px 12px; border-radius: 14px; color: var(--mp-ink);
  transition: background-color .2s ease;
}
.mp-drop__link:hover, .mp-drop__link:focus-visible { background: var(--mp-mist); }
.mp-drop__icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(23, 191, 185, .16), rgba(10, 10, 149, .10));
  color: var(--mp-teal-deep);
}
.mp-drop__icon svg { width: 18px; height: 18px; }
.mp-drop__title { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--mp-ink); }
.mp-drop__desc { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: #5b6e72; font-weight: 400; }

.mp-drop--mega { width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; }
.mp-drop--mega .mp-drop__link { grid-template-columns: 60px 1fr; }
.mp-drop__thumb { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--mp-mist); }
.mp-drop__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--mp-ease); }
.mp-drop__link:hover .mp-drop__thumb img { transform: scale(1.1); }
.mp-drop__foot {
  grid-column: 1 / -1; margin-top: 6px; padding: 14px 14px 6px;
  border-top: 1px solid rgba(13, 43, 48, .07);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: #5b6e72;
}
.mp-drop__foot a { font-weight: 600; color: var(--mp-teal-deep); white-space: nowrap; }
.mp-drop__foot a:hover { color: var(--mp-indigo); }

.mp-drop--feature { width: 560px; display: grid; grid-template-columns: 1fr 200px; gap: 10px; }
.mp-drop__list { display: grid; gap: 2px; align-content: start; }
.mp-drop__card {
  position: relative; border-radius: 14px; overflow: hidden; min-height: 210px;
  display: flex; align-items: flex-end; padding: 16px; color: #fff;
}
.mp-drop__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--mp-ease); }
.mp-drop__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 149, 0) 30%, rgba(4, 4, 77, .85) 100%); }
.mp-drop__card:hover img { transform: scale(1.06); }
.mp-drop__card span { position: relative; z-index: 1; font-size: 15px; font-weight: 600; line-height: 1.25; }
.mp-drop__card small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mp-aqua); margin-bottom: 6px; }

/* CTA */
.mp-cta {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  height: 48px; padding: 0 22px 0 6px; border-radius: 999px;
  background: var(--mp-teal-deep); color: #fff !important;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(30, 95, 99, .8);
  transition: background-color .3s ease, transform .3s var(--mp-ease), box-shadow .3s ease;
}
.mp-cta:hover { background: var(--mp-indigo); transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(10, 10, 149, .6); }
.mp-cta__icon {
  position: relative; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mp-teal); color: #fff;
}
.mp-cta__icon svg { width: 16px; height: 16px; }
.mp-cta__icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--mp-teal); animation: mpRing 2.4s ease-out infinite;
}
@keyframes mpRing { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* burger */
.mp-burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(13, 43, 48, .12) !important; background: rgba(255, 255, 255, .6) !important;
  cursor: pointer; padding: 0 !important; flex-shrink: 0;
  transition: background-color .3s ease, border-color .3s ease;
}
.mp-burger span {
  position: absolute !important; left: 14px !important; width: 18px !important; height: 2px !important;
  border-radius: 2px; background: var(--mp-ink) !important; margin: 0 !important;
  transition: transform .45s var(--mp-ease), opacity .25s ease, top .45s var(--mp-ease), background-color .3s;
}
.mp-burger span:nth-child(1) { top: 16px; }
.mp-burger span:nth-child(2) { top: 22px; width: 12px !important; }
.mp-burger span:nth-child(3) { top: 28px; }
.is-open .mp-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-open .mp-burger span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.is-open .mp-burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* transparent header over a dark hero */
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(3, 18, 28, .55) 0%, rgba(3, 18, 28, 0) 100%) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border-bottom-color: transparent !important; border-bottom-width: 0 !important;
}
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-logo__color,
#site-nav.mp-header.is-open .mp-logo__color { opacity: 0; }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-logo__white,
#site-nav.mp-header.is-open .mp-logo__white { opacity: 1; }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-nav__link { color: rgba(255, 255, 255, .88); }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-nav__link:hover,
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-nav__item.is-open > .mp-nav__link { color: #fff; background: rgba(255, 255, 255, .14); }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-nav__link[aria-current="page"] { color: #fff; }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-cta { background: #fff; color: var(--mp-ink) !important; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5); }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-cta:hover { background: var(--mp-aqua); }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-burger,
#site-nav.mp-header.is-open .mp-burger { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .28) !important; }
body[data-header="overlay"] #site-nav.mp-header:not(.is-scrolled) .mp-burger span,
#site-nav.mp-header.is-open .mp-burger span { background: #fff !important; }
#site-nav.mp-header.is-open { background: transparent !important; box-shadow: none !important; border-bottom-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ---------------------------------------------------------------------
   MOBILE DRAWER
--------------------------------------------------------------------- */
html body #mobile-nav.mp-drawer {
  position: fixed !important; inset: 0 !important; z-index: 999 !important;
  display: flex !important; flex-direction: column !important;
  width: auto !important; height: auto !important; max-height: none !important;
  padding: calc(var(--mp-header-h) + 16px) var(--mp-gutter) 28px !important;
  margin: 0 !important; overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(700px 480px at 100% 0%, rgba(23, 191, 185, .30), transparent 60%),
    radial-gradient(600px 420px at 0% 100%, rgba(28, 152, 208, .22), transparent 60%),
    linear-gradient(165deg, var(--mp-indigo) 0%, var(--mp-indigo-2) 50%, var(--mp-indigo-3) 100%) !important;
  color: #fff; border: 0 !important; box-shadow: none !important;
  clip-path: circle(0 at calc(100% - var(--mp-gutter) - 23px) calc(var(--mp-header-h) / 2));
  visibility: hidden;
  transition: clip-path .8s var(--mp-ease-io), visibility 0s linear .8s;
}
html.mp-menu-open body #mobile-nav.mp-drawer {
  clip-path: circle(150% at calc(100% - var(--mp-gutter) - 23px) calc(var(--mp-header-h) / 2));
  visibility: visible; transition: clip-path .8s var(--mp-ease-io), visibility 0s;
}
html.mp-menu-open, html.mp-menu-open body { overflow: hidden; }
.mp-drawer__nav { display: flex; flex-direction: column; }
.mp-drawer__row { border-bottom: 1px solid rgba(255, 255, 255, .10); opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s var(--mp-ease); }
html.mp-menu-open .mp-drawer__row { opacity: 1; transform: none; }
html.mp-menu-open .mp-drawer__row:nth-child(1) { transition-delay: .18s; }
html.mp-menu-open .mp-drawer__row:nth-child(2) { transition-delay: .23s; }
html.mp-menu-open .mp-drawer__row:nth-child(3) { transition-delay: .28s; }
html.mp-menu-open .mp-drawer__row:nth-child(4) { transition-delay: .33s; }
html.mp-menu-open .mp-drawer__row:nth-child(5) { transition-delay: .38s; }
html.mp-menu-open .mp-drawer__row:nth-child(6) { transition-delay: .43s; }
html.mp-menu-open .mp-drawer__row:nth-child(7) { transition-delay: .48s; }
.mp-drawer__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: clamp(24px, 6.4vw, 32px); font-weight: 500; letter-spacing: -0.025em;
  color: #fff !important;
}
.mp-drawer__link[aria-current="page"] { color: var(--mp-teal) !important; }
.mp-drawer__link svg { width: 18px; height: 18px; opacity: .7; transition: transform .4s var(--mp-ease); }
.mp-drawer__row.is-open .mp-drawer__link svg { transform: rotate(45deg); }
.mp-drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--mp-ease); }
.mp-drawer__row.is-open .mp-drawer__sub { grid-template-rows: 1fr; }
.mp-drawer__sub > div { overflow: hidden; }
.mp-drawer__sub a { display: block; padding: 9px 0 9px 14px; font-size: 16px; color: rgba(255, 255, 255, .78) !important; border-left: 1px solid rgba(23, 191, 185, .5); }
.mp-drawer__sub a:last-child { margin-bottom: 16px; }
.mp-drawer__sub a:hover { color: #fff !important; }
.mp-drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; opacity: 0; transition: opacity .5s ease .5s; }
html.mp-menu-open .mp-drawer__foot { opacity: 1; }
.mp-drawer__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mp-drawer__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--mp-ink) !important; background: #fff;
}
.mp-drawer__btn--wa { background: #25D366; color: #fff !important; }
.mp-drawer__btn svg { width: 18px; height: 18px; }
.mp-drawer__meta { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .6); }

@media (max-width: 1140px) {
  .mp-nav { display: none; }
  .mp-burger { display: block; }
  .mp-cta { height: 46px; padding: 0 5px; margin-left: auto; }
  .mp-cta__label { display: none; }
  html body #site-nav.mp-header #nav-inner { gap: 10px; }
}
@media (min-width: 1141px) { html body #mobile-nav.mp-drawer { display: none !important; } }

/* ---------------------------------------------------------------------
   PAGE CURTAIN — logo reveal on arrival, water-curtain on page change
--------------------------------------------------------------------- */
#mp-curtain { display: none; }
html.mp-js #mp-curtain {
  display: block; position: fixed; inset: 0; z-index: 100000; pointer-events: none;
  animation: mpCurtainFailsafe 0s linear 5s forwards;
}
html.mp-js.mp-busy #mp-curtain { pointer-events: auto; }
@keyframes mpCurtainFailsafe { to { visibility: hidden; } }
.mp-curtain__panel {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(23, 191, 185, .26), transparent 62%),
    radial-gradient(700px 480px at 12% 92%, rgba(28, 152, 208, .22), transparent 60%),
    linear-gradient(165deg, var(--mp-indigo) 0%, var(--mp-indigo-2) 52%, var(--mp-indigo-3) 100%);
  will-change: transform;
}
.mp-curtain__wave { position: absolute; left: 0; width: 100%; height: 90px; display: block; }
.mp-curtain__wave--bottom { top: calc(100% - 1px); }
.mp-curtain__wave--top { bottom: calc(100% - 1px); }
.mp-curtain__wave path { fill: var(--mp-indigo-3); }
.mp-curtain__wave--top path { fill: var(--mp-indigo); }
.mp-curtain__center {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 22px;
}
.mp-curtain__logo { width: min(250px, 58vw); height: auto; display: block; clip-path: inset(0 100% 0 0); opacity: 0; }
html.mp-js .mp-curtain__logo { animation: mpLogoIn 1s var(--mp-ease) .15s forwards; }
html.mp-arriving .mp-curtain__logo { animation: none; clip-path: inset(0 0 0 0); opacity: 1; }
@keyframes mpLogoIn {
  0% { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateY(8px); }
  15% { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
}
.mp-curtain__line { width: 160px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.mp-curtain__line i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--mp-teal), #fff); transform: scaleX(0); transform-origin: 0 50%; }
html.mp-js .mp-curtain__line i { animation: mpLine 1.1s var(--mp-ease-io) .25s forwards; }
html.mp-arriving .mp-curtain__line i { animation-duration: .45s; animation-delay: 0s; }
@keyframes mpLine { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html.mp-js #mp-curtain { display: none; }
}

/* ---------------------------------------------------------------------
   PRE-FOOTER TICKER
--------------------------------------------------------------------- */
.mp-ticker {
  position: relative; overflow: hidden; background: var(--mp-wave); color: #fff;
  padding: 20px 0; border: 0;
}
.mp-ticker::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 45%);
}
.mp-ticker__track { display: flex; width: max-content; animation: mpTicker 44s linear infinite; }
.mp-ticker:hover .mp-ticker__track { animation-play-state: paused; }
.mp-ticker__item {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.mp-ticker__item svg { width: 26px; height: 12px; flex-shrink: 0; opacity: .85; }
@keyframes mpTicker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
   FOOTER — brand indigo
--------------------------------------------------------------------- */
footer.mp-footer {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .74) !important;
  background:
    radial-gradient(900px 460px at 92% 0%, rgba(23, 191, 185, .22), transparent 62%),
    radial-gradient(760px 420px at 0% 100%, rgba(28, 152, 208, .18), transparent 60%),
    linear-gradient(172deg, var(--mp-indigo) 0%, var(--mp-indigo-2) 48%, var(--mp-indigo-3) 100%) !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important;
  font-size: 14.5px; line-height: 1.6; text-align: left;
}
:where(.mp-footer) p { margin: 0; }
.mp-footer a { color: inherit; }
.mp-footer__waves { position: absolute; right: -80px; top: 40px; width: 720px; max-width: 70%; opacity: .16; pointer-events: none; }
.mp-footer__waves path { fill: none; stroke: #fff; stroke-width: 1.2; stroke-dasharray: 8 10; animation: mpDrift 18s linear infinite; }
.mp-footer__waves path:nth-child(2) { stroke: var(--mp-teal); animation-duration: 24s; }
@keyframes mpDrift { to { stroke-dashoffset: -360; } }
.mp-footer__inner {
  position: relative; max-width: var(--mp-container); margin: 0 auto;
  padding: 88px var(--mp-gutter) 0; box-sizing: content-box;
}
.mp-footer__cta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mp-footer__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mp-teal); margin-bottom: 18px; }
.mp-footer__eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--mp-teal); }
.mp-footer__title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; font-weight: 500; letter-spacing: -0.035em; color: #fff; margin: 0; max-width: 16ch; }
.mp-footer__title em { font-style: italic; font-weight: 400; background: linear-gradient(90deg, var(--mp-aqua), var(--mp-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mp-footer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mp-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .3s var(--mp-ease), background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.mp-btn svg { width: 18px; height: 18px; }
.mp-btn:hover { transform: translateY(-2px); }
.mp-btn--light { background: #fff; color: var(--mp-indigo) !important; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6); }
.mp-btn--light:hover { background: var(--mp-aqua); }
.mp-btn--wa { background: #25D366; color: #fff !important; }
.mp-btn--wa:hover { background: #1ebe5a; }
.mp-btn--ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.mp-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.mp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 48px; }
.mp-footer__logo img { height: 58px; width: auto; display: block; }
.mp-footer__about { margin: 22px 0 26px; max-width: 34ch; color: rgba(255, 255, 255, .7); }
.mp-footer__social { display: flex; gap: 10px; }
.mp-footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  transition: background-color .3s ease, border-color .3s ease, transform .3s var(--mp-ease);
}
.mp-footer__social a:hover { background: var(--mp-teal); border-color: var(--mp-teal); transform: translateY(-3px); }
.mp-footer__social svg { width: 17px; height: 17px; }
.mp-footer__h { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mp-teal); margin: 6px 0 20px; }
.mp-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.mp-footer__list a { position: relative; color: rgba(255, 255, 255, .76); transition: color .25s ease; }
.mp-footer__list a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--mp-teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--mp-ease);
}
.mp-footer__list a:hover { color: #fff; }
.mp-footer__list a:hover::after { transform: scaleX(1); }
.mp-footer__contact { display: grid; gap: 14px; }
.mp-footer__contact a, .mp-footer__contact div { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: rgba(255, 255, 255, .8); }
.mp-footer__contact a:hover { color: #fff; }
.mp-footer__contact svg { width: 16px; height: 16px; margin-top: 3px; color: var(--mp-teal); }
.mp-footer__bottom {
  margin-top: 64px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .55);
}
.mp-footer__top {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #fff !important; background: none; border: 0; cursor: pointer; font-size: 13px; font-family: var(--sans);
}
.mp-footer__top span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); transition: background-color .3s, transform .3s var(--mp-ease); }
.mp-footer__top:hover span { background: var(--mp-teal); border-color: var(--mp-teal); transform: translateY(-3px); }
.mp-footer__top svg { width: 15px; height: 15px; }
@media (max-width: 1024px) { .mp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .mp-footer__inner { padding-top: 64px; }
  .mp-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .mp-footer__actions, .mp-btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------
   WHATSAPP FLOAT (one, everywhere)
--------------------------------------------------------------------- */
.whatsapp-fab { display: none !important; }
html body #wa-float {
  position: fixed !important; right: 24px !important; bottom: 24px !important; left: auto !important; top: auto !important; z-index: 900 !important;
  display: inline-flex !important; align-items: center; gap: 10px;
  width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important; overflow: visible !important;
  padding: 12px 20px 12px 14px !important; border-radius: 999px !important;
  background: #25D366 !important; color: #fff !important; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.2;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7), 0 2px 8px rgba(0, 0, 0, .12) !important;
  transition: transform .35s var(--mp-ease), box-shadow .35s ease, opacity .35s ease;
}
html body #wa-float::before { content: none !important; }
html body #wa-float::after { inset: -4px !important; border-radius: 999px !important; }
html body #wa-float .wa-label { display: inline !important; color: #fff !important; }
@media (max-width: 640px) {
  html body #wa-float { padding: 14px !important; right: 16px !important; bottom: 16px !important; }
  html body #wa-float .wa-label { display: none !important; }
}
html body #wa-float:hover { transform: translateY(-3px); }
html body #wa-float .wa-icon { width: 22px; height: 22px; }
html.mp-menu-open body #wa-float { opacity: 0; pointer-events: none; }


/* ---------------------------------------------------------------------
   GLOBAL POLISH
--------------------------------------------------------------------- */
.mp-first { margin-top: 0 !important; }
.pg-blog-infinity-pools .mp-first { padding-top: var(--mp-header-h) !important; min-height: 460px; }
.section-h2::after, .section-title::after { content: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   HOMEPAGE
   ===================================================================== */
.pg-home .hero { height: 100svh; min-height: 760px; max-height: 1080px; }
.pg-home .slide img { filter: saturate(1.08) contrast(1.04); }
.pg-home .hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 20, 30, .62) 0%, rgba(3, 20, 30, .30) 38%, rgba(3, 20, 30, 0) 66%),
    linear-gradient(180deg, rgba(3, 20, 30, .50) 0%, rgba(3, 20, 30, 0) 26%, rgba(3, 20, 30, .05) 58%, rgba(3, 20, 30, .78) 100%) !important;
}
/* Anchored a fixed distance below the header (not from the bottom), so every
   slide sits at exactly the same height regardless of how many lines its
   headline wraps to — this is what keeps the hero content clear of the logo
   and consistent from slide to slide. */
.pg-home .hero-content {
  position: absolute !important;
  left: max(var(--mp-gutter), calc((100% - var(--mp-container)) / 2)) !important;
  right: max(var(--mp-gutter), calc((100% - var(--mp-container)) / 2)) !important;
  bottom: auto !important;
  top: clamp(152px, 15vh + var(--mp-header-h), 260px) !important;
  max-width: 820px !important;
}
.pg-home .hero-eyebrow { font-size: 12px; letter-spacing: .22em; color: var(--mp-aqua); margin-bottom: 22px; }
.pg-home .cyan-line { width: 40px; height: 2px; border-radius: 2px; background: var(--mp-teal); }
.pg-home .hero-h1 {
  font-size: clamp(40px, 5.2vw, 78px) !important; line-height: 1.06 !important;
  letter-spacing: -0.035em !important; font-weight: 500 !important;
  text-shadow: 0 4px 40px rgba(3, 20, 30, .35); margin-bottom: 22px !important;
}
.pg-home .hero-h1 em { font-weight: 400; color: var(--mp-aqua); }
.pg-home .hero-h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pg-home .hero-h1 .w > span { display: inline-block; transform: translateY(105%); animation: mpWord 1s var(--mp-ease) forwards; }
html.mp-js:not(.mp-revealing) .pg-home .hero-h1 .w > span { animation-play-state: paused; }
@keyframes mpWord { to { transform: none; } }
.pg-home .hero-p { font-size: 18px; color: rgba(236, 248, 250, .92); max-width: 48ch; margin-bottom: 34px; }
.pg-home .hero-cta { height: 56px; padding: 0 30px; font-size: 15.5px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.pg-home .hero-cta:hover { background: var(--mp-aqua); }
.pg-home .hero-stats-bar {
  left: max(var(--mp-gutter), calc((100% - var(--mp-container)) / 2)) !important;
  bottom: 96px !important; gap: 10px !important;
}
.pg-home .hero-stat-chip {
  flex-direction: row !important; align-items: baseline !important; gap: 8px;
  padding: 12px 20px !important; background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .20) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.pg-home .hsc-num { font-size: 20px !important; font-weight: 600 !important; letter-spacing: -0.02em; }
.pg-home .hsc-label { margin-top: 0 !important; font-size: 11px !important; color: var(--mp-aqua) !important; }
/* slider controls: one tidy cluster, bottom right */
.pg-home .hero-arrow {
  top: auto !important; bottom: 96px !important; transform: none !important;
  width: 52px !important; height: 52px !important;
  background: rgba(255, 255, 255, .10) !important; border: 1px solid rgba(255, 255, 255, .28) !important;
  color: #fff !important; font-size: 18px !important;
  transition: background-color .3s ease, transform .3s var(--mp-ease) !important;
}
.pg-home .hero-arrow:hover { background: #fff !important; color: var(--mp-ink) !important; }
.pg-home .hero-arrow.next { right: max(var(--mp-gutter), calc((100% - var(--mp-container)) / 2)) !important; left: auto !important; }
.pg-home .hero-arrow.prev { right: calc(max(var(--mp-gutter), calc((100% - var(--mp-container)) / 2)) + 62px) !important; left: auto !important; }
.pg-home .hero-dots {
  left: auto !important; transform: none !important; bottom: 118px !important;
  right: calc(max(var(--mp-gutter), calc((100% - var(--mp-container)) / 2)) + 146px) !important;
}
.pg-home .hero-dot { position: relative; overflow: hidden; height: 4px !important; width: 18px !important; border-radius: 4px !important; background: rgba(255, 255, 255, .35) !important; }
.pg-home .hero-dot.active { width: 54px !important; background: rgba(255, 255, 255, .28) !important; }
.pg-home .hero-dot.active::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; animation: mpDot 5s linear forwards; }
@keyframes mpDot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pg-home .scroll-indicator { display: none !important; }
.pg-home .hero-badge { display: none; }
/* hero entrance, gated behind the curtain */
.pg-home .hero-eyebrow, .pg-home .hero-p, .pg-home .hero-cta, .pg-home .hero-stat-chip, .pg-home .hero-arrow, .pg-home .hero-dots {
  animation: mpRise 1s var(--mp-ease) both;
}
html.mp-js:not(.mp-revealing) .pg-home :is(.hero-eyebrow, .hero-p, .hero-cta, .hero-stat-chip, .hero-arrow, .hero-dots) { animation-play-state: paused; }
.pg-home .hero-eyebrow { animation-delay: .15s; }
.pg-home .hero-p { animation-delay: .55s; }
.pg-home .hero-cta { animation-delay: .7s; }
.pg-home .hero-stat-chip:nth-child(1) { animation-delay: .85s; }
.pg-home .hero-stat-chip:nth-child(2) { animation-delay: .95s; }
.pg-home .hero-stat-chip:nth-child(3) { animation-delay: 1.05s; }
.pg-home .hero-arrow, .pg-home .hero-dots { animation-delay: 1.1s; }
@keyframes mpRise { from { opacity: 0; transform: translateY(24px); } }
.pg-home .hero-arrow { animation-name: mpFade; }
@keyframes mpFade { from { opacity: 0; } }
.pg-home .slide.active img { animation: mpHeroZoom 7s var(--mp-ease) both; }
html.mp-js:not(.mp-revealing) .pg-home .slide.active img { animation-play-state: paused; }
@keyframes mpHeroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }

/* trust strip */
.pg-home .trust-row-1 { max-width: calc(var(--mp-container) + 2 * var(--mp-gutter)) !important; padding: 26px var(--mp-gutter) 22px !important; flex-wrap: nowrap !important; gap: 36px !important; }
.pg-home .trust-label { flex-shrink: 0; }
.pg-home .marquee-track { flex: 1; min-width: 0; padding: 14px 0 !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pg-home .marquee-track::before, .pg-home .marquee-track::after { display: none !important; }
.pg-home .marquee-item { font-size: 13px !important; letter-spacing: .14em !important; }
.pg-home .trust-row-2 { max-width: var(--mp-container) !important; }
.pg-home .stat-num { font-weight: 600 !important; font-size: clamp(40px, 4vw, 56px) !important; letter-spacing: -0.035em !important; }
.pg-home .trust-stat { padding: 34px var(--mp-gutter) !important; }

/* about teaser */
.pg-home .about-welcome span, .pg-home .about-headline span, .pg-home .why-h2 span {
  background: var(--mp-wave-text); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.pg-home .about-headline { font-weight: 600 !important; letter-spacing: -0.045em !important; }
.pg-home .why-h2 { font-weight: 600 !important; letter-spacing: -0.04em !important; }
.pg-home .why-h2 span { font-weight: 600 !important; }
.pg-home .about-cta-pill { background: var(--mp-ink) !important; }
.pg-home .about-cta-pill:hover { background: var(--mp-indigo) !important; }
.pg-home .about-photo-wrap { position: relative; border-radius: 22px !important; box-shadow: 0 40px 80px -40px rgba(13, 43, 48, .55); }
.pg-home .about-photo-wrap::after {
  content: 'Since 2003'; position: absolute; left: 22px; bottom: 22px;
  padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(10, 10, 149, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .25);
}

/* image wipe reveals */
.pg-home :is(.about-photo-wrap, .filter-img-card, .proj-item, .pool-card).reveal {
  opacity: 1 !important; transform: none;
  clip-path: inset(14% 10% 14% 10% round 22px);
  transition-property: clip-path, box-shadow, transform !important;
  transition-duration: 1.25s, .4s, .4s !important;
  transition-timing-function: var(--mp-ease) !important;
}
.pg-home :is(.about-photo-wrap, .filter-img-card, .proj-item, .pool-card).reveal img { transform: scale(1.18); transition: transform 1.6s var(--mp-ease) !important; transition-delay: inherit !important; }
.pg-home :is(.about-photo-wrap, .filter-img-card, .proj-item, .pool-card).reveal.in { clip-path: inset(0 0 0 0 round 0px); }
.pg-home .about-photo-wrap.reveal.in { clip-path: inset(0 0 0 0 round 22px); }
.pg-home :is(.pool-card, .proj-item).reveal.in { clip-path: inset(0 0 0 0 round 10px); }
.pg-home :is(.about-photo-wrap, .filter-img-card, .proj-item, .pool-card).reveal.in img { transform: scale(1); }
.pg-home .pool-card.reveal.in:hover img, .pg-home .proj-item.reveal.in:hover img { transform: scale(1.07); transition-duration: .8s !important; }
.pg-home .filter-img-wrap .filter-img-card { transform: rotate(-2deg); }
.pg-home .filter-img-card.reveal { clip-path: none; opacity: 0 !important; transform: rotate(-2deg) translateY(40px); transition-property: opacity, transform, box-shadow !important; transition-duration: .9s, 1.2s, .5s !important; }
.pg-home .filter-img-card.reveal.in { opacity: 1 !important; transform: rotate(-2deg); }
.pg-home .filter-img-card.reveal.in:hover { transform: rotate(0) scale(1.02); }
.pg-home .filter-img-card img { height: 560px !important; }

/* pool type cards */
.pg-home .pool-card { height: 340px !important; border-radius: 10px !important; }
.pg-home .pool-card-overlay { top: 0 !important; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(4, 20, 30, 0) 38%, rgba(4, 20, 30, .55) 62%, rgba(4, 20, 30, .9) 100%) !important; padding: 26px !important; transform: none !important; }
.pg-home .pool-card-name { font-size: 22px !important; font-weight: 600 !important; letter-spacing: -0.02em !important; }
.pg-home .pool-card-tag { font-size: 13.5px !important; line-height: 1.5 !important; color: rgba(255, 255, 255, .82) !important; max-width: 34ch; }

/* competition band */
.pg-home .competition-section { min-height: 640px; }
.pg-home .proj-label { padding: 60px 22px 20px !important; background: linear-gradient(to top, rgba(4, 25, 38, .88), rgba(4, 25, 38, 0)) !important; }
.pg-home .proj-label-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* section rhythm & eyebrows */
.pg-home .section-eyebrow { font-size: 12px !important; letter-spacing: .22em !important; font-weight: 600 !important; }
.pg-home .section-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.pg-home .section-eyebrow[style*="center"]::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.pg-home .section-h2 { font-weight: 500 !important; }

@media (max-width: 1024px) {
  .pg-home .hero-content { top: calc(var(--mp-header-h) + 64px) !important; right: var(--mp-gutter); max-width: calc(100% - 2 * var(--mp-gutter)) !important; }
  .pg-home .hero-arrow, .pg-home .hero-dots { display: none !important; }
}
@media (max-width: 768px) {
  .pg-home .hero { min-height: 660px; }
  .pg-home .hero-h1 { font-size: clamp(36px, 9.5vw, 50px) !important; line-height: 1.12 !important; }
  .pg-home .hero-p { font-size: 16px; }
  .pg-home .hero-stats-bar { display: none !important; }
  .pg-home .hero-content { top: calc(var(--mp-header-h) + 44px) !important; }
  .pg-home .trust-row-1 { flex-direction: column; align-items: flex-start !important; gap: 8px !important; }
  .pg-home .marquee-track { width: 100%; }
  .pg-home .filter-img-card img { height: 420px !important; }
  .pg-home .pool-card { height: 280px !important; }
}
@media (max-height: 700px) and (min-width: 769px) {
  .pg-home .hero-content { top: calc(var(--mp-header-h) + 48px) !important; }
  .pg-home .hero-stats-bar, .pg-home .hero-arrow, .pg-home .hero-dots { bottom: 56px !important; }
}

/* =====================================================================
   ROUND 2 — shared buttons, inner heroes, Poolmate, blog, Pools, About
   ===================================================================== */
/* one button language site-wide */
html body .btn-gold {
  text-transform: none !important; letter-spacing: -0.005em !important; font-weight: 600 !important;
  border-radius: 999px !important; background: var(--mp-teal-deep) !important; color: #fff !important;
  box-shadow: 0 12px 26px -14px rgba(30, 95, 99, .8) !important;
  transition: background-color .3s ease, transform .35s var(--mp-ease), box-shadow .3s ease !important;
}
html body .btn-gold:hover { background: var(--mp-indigo) !important; transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(10, 10, 149, .6) !important; }

/* WhatsApp float steps aside when the footer (which has its own WhatsApp button) is on screen */
html.mp-footer-in body #wa-float { opacity: 0 !important; transform: translateY(24px) scale(.9) !important; pointer-events: none !important; }

/* inner-page heroes: same entrance language as the homepage */
body:not(.pg-home) .mp-first h1 { animation: mpRise 1.1s var(--mp-ease) .12s both; }
body:not(.pg-home) .mp-first h1 ~ p, body:not(.pg-home) .mp-first h1 + div { animation: mpRise 1.1s var(--mp-ease) .32s both; }
body:not(.pg-home) .mp-first img { animation: mpHeroZoom 9s var(--mp-ease) both; }
html.mp-js:not(.mp-revealing) body:not(.pg-home) .mp-first :is(h1, h1 ~ p, h1 + div, img) { animation-play-state: paused; }

/* Poolmate product cards */
.pm-card { position: relative; overflow: hidden; transition: transform .5s var(--mp-ease), box-shadow .5s ease !important; }
.pm-card:hover { transform: translateY(-8px); box-shadow: 0 36px 70px -32px rgba(13, 43, 48, .5); }
.pm-card::before {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg);
  transition: left 1s var(--mp-ease);
}
.pm-card:hover::before { left: 135%; }
.pm-card--dark { box-shadow: 0 0 0 1px rgba(23, 191, 185, .35), 0 30px 60px -30px rgba(12, 61, 64, .9); }
.pm-img { position: relative; margin: -36px -32px 26px; height: 230px; overflow: hidden; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform 1.1s var(--mp-ease); }
.pm-card:hover .pm-img img { transform: scale(1.1); }
.pm-img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0)); }
.pm-card--dark .pm-img::after { background: linear-gradient(to top, #0c3d40, rgba(12, 61, 64, 0)); }

/* homepage robot cards */
.pg-home .robot-card { overflow: hidden; border-radius: 14px !important; }
.pg-home .robot-img { position: relative; margin: -40px -36px 28px; height: 260px; overflow: hidden; }
.pg-home .robot-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--mp-ease); }
.pg-home .robot-card:hover .robot-img img { transform: scale(1.07); }
.pg-home .robot-img::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(12, 61, 64, .95), rgba(12, 61, 64, 0)); }

/* blog cards with photos */
.card-photo { position: relative; overflow: hidden; background: var(--mp-sea) !important; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--mp-ease); }
.article-card:hover .card-photo img { transform: scale(1.07); }
.article-card { transition: transform .45s var(--mp-ease), box-shadow .45s ease !important; }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13, 43, 48, .45) !important; }

/* Pools page: image wipe, staggered features, badge */
.pg-pools .pool-img-main, .pg-pools .pool-img-thumb { overflow: hidden; border-radius: 18px !important; }
.pg-pools .pool-img-main img, .pg-pools .pool-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-pools .pool-split.reveal .pool-img-main { clip-path: inset(10% 10% 10% 10% round 18px); transition: clip-path 1.3s var(--mp-ease); }
.pg-pools .pool-split.reveal .pool-img-main img { transform: scale(1.2); transition: transform 1.8s var(--mp-ease); }
.pg-pools .pool-split.reveal .pool-img-thumb { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform 1s var(--mp-ease); }
.pg-pools .pool-split.reveal .pool-features li { opacity: 0; transform: translateX(-16px); transition: opacity .6s ease, transform .8s var(--mp-ease); }
.pg-pools .pool-split.reveal.visible .pool-img-main { clip-path: inset(0 round 18px); }
.pg-pools .pool-split.reveal.visible .pool-img-main img { transform: scale(1); }
.pg-pools .pool-split.reveal.visible .pool-img-thumb { opacity: 1; transform: none; transition-delay: .35s; }
.pg-pools .pool-split.reveal.visible .pool-img-thumb:nth-child(2) { transition-delay: .5s; }
.pg-pools .pool-split.reveal.visible .pool-features li { opacity: 1; transform: none; }
.pg-pools .pool-split.reveal.visible .pool-features li:nth-child(1) { transition-delay: .3s; }
.pg-pools .pool-split.reveal.visible .pool-features li:nth-child(2) { transition-delay: .38s; }
.pg-pools .pool-split.reveal.visible .pool-features li:nth-child(3) { transition-delay: .46s; }
.pg-pools .pool-split.reveal.visible .pool-features li:nth-child(4) { transition-delay: .54s; }
.pg-pools .pool-split.reveal.visible .pool-features li:nth-child(5) { transition-delay: .62s; }
.pg-pools .pool-split.reveal.visible .pool-features li:nth-child(6) { transition-delay: .7s; }
.pg-pools .pool-split.reveal.visible .pool-img-main:hover img,
.pg-pools .pool-split.reveal.visible .pool-img-thumb:hover img { transform: scale(1.06); transition: transform .9s var(--mp-ease); }
.pg-pools .pool-num-badge { position: relative; background: linear-gradient(135deg, var(--mp-teal-deep), var(--mp-teal)) !important; color: #fff !important; }
.pg-pools .pool-num-badge::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(23, 191, 185, .5); animation: mpRing 2.8s ease-out infinite; }

/* About: story image with presence */
.pg-about .brand-story-img-wrap {
  aspect-ratio: 4 / 5 !important; max-width: 500px !important; border: 0 !important; border-radius: 24px !important;
  box-shadow: 0 40px 80px -40px rgba(13, 43, 48, .6); position: relative;
}
.pg-about .brand-story-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pg-about .brand-story-img-wrap::after {
  content: 'Est. 2003 \00B7  Chalakudy, Kerala'; position: absolute; left: 18px; bottom: 18px;
  padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(10, 10, 149, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25);
}
.pg-about .pillar-card { position: relative; overflow: hidden; }
.pg-about .pillar-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--mp-wave); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--mp-ease); }
.pg-about .pillar-card:hover::before, .pg-about .pillar-card.visible::before { transform: scaleX(1); }
.pg-about .timeline-text { transition: transform .45s var(--mp-ease), box-shadow .45s ease; }
.pg-about .timeline-text:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(13, 43, 48, .5); }

/* =====================================================================
   ARTICLES (long-form guides)
   ===================================================================== */
.pg-article .mp-first { padding-top: var(--mp-header-h) !important; min-height: 460px; }
.key-takeaways {
  margin: 8px 0 40px; padding: 26px 30px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 191, 185, .10), rgba(10, 10, 149, .06));
  border: 1px solid rgba(23, 191, 185, .30); position: relative; overflow: hidden;
}
.key-takeaways::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mp-wave); }
.key-takeaways__h { font-size: 12px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mp-teal-deep) !important; margin: 0 0 12px !important; }
.key-takeaways ul { margin: 0 !important; padding-left: 20px !important; display: grid; gap: 8px; }
.key-takeaways li { color: var(--mp-ink); line-height: 1.6; }
.article-body ol { padding-left: 22px; display: grid; gap: 12px; margin: 0 0 1.6rem; }
.article-body ol li { line-height: 1.75; padding-left: 4px; }
.article-body ol li::marker { color: var(--mp-teal); font-weight: 700; }
.article-body a { color: var(--mp-teal-deep); text-decoration: underline; text-decoration-color: rgba(23, 191, 185, .5); text-underline-offset: 3px; }
.article-body a:hover { color: var(--mp-indigo); }
.article-figure { margin: 34px 0 38px; }
.article-figure .article-image { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 18px; display: block; }
.article-figure.reveal { opacity: 1 !important; transform: none !important; }
.article-figure.reveal .article-image { clip-path: inset(8% 8% 8% 8% round 18px); transition: clip-path 1.2s var(--mp-ease); }
.article-figure.reveal.visible .article-image, .article-figure.reveal.in .article-image { clip-path: inset(0 round 18px); }
.article-figure .image-caption { margin-top: 12px; }
.pg-article .cost-table td strong { color: var(--mp-teal-deep); }
