/* ===============================
   GLOBAL SAFETY
   =============================== */
* {
  box-sizing: border-box;
}

/* ===============================
   HERO SECTION (FLEX, NO FLOATS)
   =============================== */
div#madHero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

#madHeroContent,
#madFormContainer {
  flex: 1 1 480px;
  width: auto;
}

/* ===============================
   MAIN TITLES AND CONTENT
   =============================== */
.madTitle {
  font-size: 44px;
  color: #000;
  text-align: left;
}

.madContent {
  font-size: 24px;
  color: #f34297;
  text-align: left;
}

/* ===============================
   BUTTONS
   =============================== */
.madButton {
  color: #fff;
  background-color: #f34297;
  border-color: #f34297;
  border-radius: 200px;
  padding: 10px 30px;
  display: inline-block;
  margin: 20px 0;
}

a.madButton {
  color: #fff !important;
}

.madButton:hover {
  background-color: #d43984;
  border-color: #d43984;
}

/* ===============================
   ACCORDION (CHECKLIST CLEAN)
   =============================== */
.accordion-section {
  margin: 14px 0;
  clear: both;
}

.accordion-toggle {
  background-color: #ed4c9d;
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-radius: 12px;
}

.accordion-toggle:hover {
  background-color: #d8448f;
}

.accordion-toggle::after {
  content: "+";
  float: right;
  font-size: 18px;
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms ease;
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-top: 10px;
  padding: 0 16px;
}

.accordion-content-inner {
  padding: 14px 0;
}

/* ===============================
   SERVICE TILES
   =============================== */
.madServiceTiles {
  margin: 40px 0;
  text-align: center;
}

.madServiceTilesGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.madServiceTile {
  display: block;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 22px;
  text-align: left;
  text-decoration: none;
  color: #111;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.madServiceTile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.madServiceTile h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.madServiceTile p {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.madServiceTile span {
  font-weight: 800;
  color: #ed4c9d;
}

/* ===============================
   RESPONSIVE GRID
   =============================== */
@media (max-width: 1024px) {
  .madServiceTilesGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .madServiceTilesGrid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   HOMEPAGE ONLY – REMOVE DUPLICATE H1
   =============================== */
.isHomepage .pageTitleContainer,
.isHomepage .pageTitleContent,
.isHomepage h1.pageTitle {
  display: none !important;
}

.isHomepage .pageTitleContainer + div {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ===============================
   NEW BOOKING PAGE STYLES (.ma-*)
   =============================== */
:root {
  --ma-pink: #ff52a8;
  --ma-blue: #9fd8ff;
  --ma-black: #111111;
  --ma-white: #ffffff;
  --ma-border: rgba(17,17,17,0.14);
}

.ma-book {
  background: linear-gradient(180deg, rgba(159,216,255,0.35), #ffffff);
  padding: 42px 0;
}

.ma-container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  color: var(--ma-black);
  font-family: Tahoma, Arial, sans-serif;
}

.ma-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 22px;
}

@media (max-width: 900px) {
  .ma-hero {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   HERO IMAGE (DESKTOP SAFE, NO CROP)
   =============================== */
.ma-hero-image {
  max-width: 360px;
  margin: 14px 0 18px;
}

.ma-hero-image img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(17,17,17,0.14);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  background: #ffffff;
  display: block;
}

/* ===============================
   PHOTO ROW
   =============================== */
.ma-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.ma-photo-row img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,0.14);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

@media (max-width: 900px) {
  .ma-photo-row {
    grid-template-columns: 1fr;
  }
}