/* =====================================================================
   ultra.css — unified spacing, luxury Products & Booking,
   custom calendar / dropdown, FAQ photo fix. Loaded last.
   ===================================================================== */

/* ---------- 1. One spacing rhythm between every section ---------- */
:root { --section-space: clamp(56px, 6.5vw, 104px); --card-pad: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { :root { --section-space: 56px; --card-pad: 28px; } }
@media (max-width: 600px) { :root { --card-pad: 22px; } }

.products-section.products-reference { margin-top: var(--section-space); }
.products-reference + .booking-section { margin-top: var(--section-space); }
.perth-footer { margin-top: var(--section-space); }
.aftercare { margin-top: 0; }
.aftercare .client-stories { padding: var(--section-space) 0 0; }
.aftercare .ac-faq { padding: var(--section-space) 0 0; }
.aftercare .closing-cta { padding: var(--section-space) 0; }
.aftercare .closing-cta-inner { padding: var(--card-pad) calc(var(--card-pad) * 1.15); }

/* ---------- 2. FAQ: fixed photo panel (no zoom when answers open) ---------- */
.aftercare .ac-faq { --faq-photo-h: clamp(380px, 31vw, 440px); }
.aftercare .ac-faq .ac-container::before {
  align-self: start; height: var(--faq-photo-h); min-height: 0;
  background-size: cover; background-position: 8% top;
}
.aftercare .faq-stack { position: relative; align-self: start; }
.aftercare .ac-faq .ac-container::after { align-self: start; margin-top: calc(var(--faq-photo-h) - 76px); }

/* ---------- 3. Products — original strip layout, refined icons ---------- */
.products-reference .product-seal {
  display: grid; place-items: center;
  border-color: #cfe5c4; background: radial-gradient(circle at 50% 35%, #ffffff, #f2f9ef);
  box-shadow: 0 6px 16px -10px #3d7f3755;
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s;
}
.products-reference .product-seal img { width: 68%; height: 68%; }
.products-reference .products-panel h2 {
  font-family: Montserrat, Arial, sans-serif; font-weight: 800; letter-spacing: calc(-.6 * var(--product-px)); color: #061d3e;
}
.products-reference .products-list li,
.products-reference .products-list li:nth-child(n) {
  gap: calc(11 * var(--product-px));
  font-family: Lato, Arial, sans-serif; font-weight: 700;
  font-size: calc(14.5 * var(--product-px)); line-height: 1.35; letter-spacing: calc(.1 * var(--product-px));
  color: #12304d;
}
@media (max-width: 900px) {
  .products-reference .products-list li,
  .products-reference .products-list li:nth-child(n) { gap: 10px; font-size: 13.5px; }
}
.products-reference .products-list li:hover .product-seal { transform: translateY(-4px); box-shadow: 0 14px 24px -12px #3d7f3766; }

/* ---------- 4. Booking — luxury panel ---------- */
.booking-section {
  position: relative; z-index: 5; overflow: visible;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, .85fr); gap: clamp(28px, 3.5vw, 56px);
  padding: var(--card-pad); border: 1px solid #ffffff1a; border-radius: 32px;
  background: radial-gradient(40% 60% at 0% 0%, #0b5c7a99 0, transparent 70%),
              radial-gradient(35% 60% at 100% 100%, #00c4c92e 0, transparent 70%),
              linear-gradient(115deg, #021d33f5, #03304ce8),
              url('dekstop-banner.png') center / cover no-repeat;
  box-shadow: 0 50px 90px -50px #021d33c0;
}
.booking-steps::before {
  content: "✦  EASY BOOKING"; display: inline-flex; margin-bottom: 20px; padding: 8px 16px;
  border: 1px solid #ffffff2e; border-radius: 999px; background: #ffffff10;
  font: 700 11px/1 Lato, Arial, sans-serif; letter-spacing: .24em; color: #8ff3f1;
}
.booking-steps h2 { margin-bottom: 36px; font: 800 clamp(22px, 1.85vw, 28px)/1.25 Montserrat, Arial, sans-serif; letter-spacing: -.8px; }
.booking-steps h2 span { background: linear-gradient(100deg, #5fe9f0, #a8f5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.booking-steps ol { gap: 30px; counter-reset: step; }
.booking-steps li { position: relative; counter-increment: step; gap: 18px; font: 600 16px/1.4 Lato, Arial, sans-serif; color: #e6f1f6; }
.booking-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 64px; bottom: -24px; width: 2px; border-radius: 2px;
  background: linear-gradient(#5fe3ec99, #5fe3ec14);
}
.booking-steps .step-icon {
  position: relative; width: 56px; height: 56px;
  background: linear-gradient(140deg, #fff, #e4f6f9);
  box-shadow: 0 0 0 6px #ffffff12, 0 14px 26px -12px #000b;
}
.booking-steps .step-icon img { width: 56%; height: 56%; }
.booking-steps .step-icon::after {
  content: counter(step); position: absolute; top: -4px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(140deg, #29d1d6, #00a1b4); box-shadow: 0 0 0 2px #03304c;
  font: 800 11px/22px Montserrat, Arial, sans-serif; color: #fff; text-align: center;
}

.inline-booking {
  z-index: 6; overflow: visible; padding: 36px 32px 26px;
  border: 1px solid #fff; border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f6fafc);
  box-shadow: 0 0 0 8px #ffffff12, 0 50px 90px -40px #000d;
}
.inline-booking h3 { margin: 0 0 26px; font: 800 22px/1.25 Montserrat, Arial, sans-serif; letter-spacing: -.5px; color: #061d3e; }
.inline-booking h3::after { content: "Tell us what you need — we'll handle the rest."; display: block; margin-top: 8px; font: 400 14px/1.5 Lato, Arial, sans-serif; letter-spacing: 0; color: #6b7d8c; }
.booking-fields { gap: 14px; }
.booking-field {
  height: 54px; border: 1px solid #dfe8ee; border-radius: 14px; background: #f8fbfd; box-shadow: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.booking-field:hover { border-color: #c6dbe3; }
.booking-field:focus-within, .booking-field.is-open { border-color: #00a7b8; background: #fff; box-shadow: 0 0 0 4px #00a7b81f; }
.booking-field.has-error { border-color: #e0566b; box-shadow: 0 0 0 4px #e0566b1a; animation: field-shake .4s; }
@keyframes field-shake { 25% { translate: -4px 0; } 50% { translate: 4px 0; } 75% { translate: -2px 0; } }
.booking-field > svg { left: 16px; width: 18px; height: 18px; color: #6a8796; transition: color .25s; }
.booking-field:focus-within > svg, .booking-field.is-open > svg { color: #00a7b8; }
.booking-field input { padding: 0 16px 0 46px; font: 500 15px Lato, Arial, sans-serif; color: #0b2340; }
.booking-field input::placeholder { color: #8094a3; }
.booking-submit {
  position: relative; overflow: hidden; height: 58px; margin-top: 20px; border-radius: 16px;
  background: linear-gradient(110deg, #00a7b8, #00788f); box-shadow: 0 18px 34px -14px #00a7b8a0;
  font: 700 17px/1 Montserrat, Arial, sans-serif; transition: transform .3s, box-shadow .3s;
}
.booking-submit:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px #00a7b8c0; }
.booking-submit::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, #ffffff70, transparent); skew: -20deg; transition: left .8s cubic-bezier(.22,1,.36,1); }
.booking-submit:hover::after { left: 130%; }
.booking-disclosure { margin-top: 14px; font-size: 12px; color: #7a8c99; }

.booking-promise { padding: 32px 24px; border: 1px solid #ffffff1c; border-radius: 24px; background: linear-gradient(160deg, #ffffff12, #ffffff04); box-shadow: inset 0 1px 0 #ffffff1a; }
.booking-promise .script-heading { margin-bottom: 30px; }
.booking-promise li > span { border: 1px solid #5fe3ec55; background: #ffffff0d; transition: background .3s, transform .4s cubic-bezier(.22,1,.36,1); }
.booking-promise li:hover > span { background: #00a7b833; transform: translateY(-3px); }

/* ---------- 5. Custom dropdown ---------- */
.cs-field { cursor: pointer; }
.cs-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.cs-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; height: 100%; padding: 0 14px 0 46px; border: 0; border-radius: inherit;
  background: none; text-align: left; cursor: pointer;
  font: 500 15px Lato, Arial, sans-serif; color: #0b2340;
}
.cs-trigger:focus-visible { outline: none; }
.cs-value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cs-value.placeholder { color: #8094a3; }
.cs-chev { flex-shrink: 0; width: 18px !important; height: 18px !important; color: #6a8796; transition: rotate .35s cubic-bezier(.22,1,.36,1), color .25s; }
.is-open .cs-chev { rotate: 180deg; color: #00a7b8; }

.cs-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  padding: 8px; border: 1px solid #e3edf2; border-radius: 16px; background: #fff;
  box-shadow: 0 30px 60px -20px #021d3366, 0 2px 6px #021d3314;
  opacity: 0; visibility: hidden; translate: 0 -8px; scale: .98; transform-origin: top center; pointer-events: none;
  transition: opacity .22s ease, translate .35s cubic-bezier(.22,1,.36,1), scale .35s cubic-bezier(.22,1,.36,1), visibility 0s linear .35s;
  cursor: default;
}
.is-open > .cs-panel { opacity: 1; visibility: visible; translate: 0 0; scale: 1; pointer-events: auto; transition-delay: 0s; }
.cs-list { max-height: 252px; margin: 0; padding: 0; overflow-y: auto; list-style: none; outline: none; scrollbar-width: thin; scrollbar-color: #cfe0e6 transparent; overscroll-behavior: contain; }
.cs-option {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  font: 500 14.5px/1.3 Lato, Arial, sans-serif; color: #16304a; transition: background .15s, color .15s;
}
.cs-option svg { width: 16px !important; height: 16px !important; flex-shrink: 0; opacity: 0; color: #00a7b8; transition: opacity .2s; }
.cs-option.active { background: #f0f8fa; }
.cs-option[aria-selected="true"] { background: #e6f6f8; color: #007f9e; font-weight: 700; }
.cs-option[aria-selected="true"] svg { opacity: 1; }

/* ---------- 6. Custom calendar ---------- */
.cal-panel { right: auto; width: 320px; padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font: 800 15px/1 Montserrat, Arial, sans-serif; color: #061d3e; letter-spacing: -.2px; }
.cal-nav {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid #e3edf2; border-radius: 10px; background: #fff; color: #16304a; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.cal-nav:hover:not(:disabled) { background: #f0f8fa; border-color: #bfe3ea; color: #007f9e; }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { padding: 6px 0; text-align: center; font: 700 11px/1 Lato, Arial, sans-serif; letter-spacing: .08em; color: #8a9ba8; }
.cal-day {
  position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font: 600 14px/1 Lato, Arial, sans-serif; color: #16304a; transition: background .18s, color .18s;
}
.cal-day:hover:not(:disabled) { background: #eef8fa; color: #007f9e; }
.cal-day:focus-visible { outline: 2px solid #00a7b8; outline-offset: 1px; }
.cal-day.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #00a7b8; }
.cal-day[aria-selected="true"] { background: linear-gradient(140deg, #00a7b8, #00788f); color: #fff; box-shadow: 0 8px 16px -8px #00788fb0; }
.cal-day[aria-selected="true"]::after { background: #fff; }
.cal-day:disabled { color: #c5ced5; cursor: not-allowed; }
.cal-day.blank { visibility: hidden; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf2f5; font: 500 12px/1.4 Lato, Arial, sans-serif; color: #6b7d8c; }
.cal-foot button { padding: 0; border: 0; background: none; cursor: pointer; font: 700 13px/1 Lato, Arial, sans-serif; color: #007f9e; }

/* ---------- 7. Responsive ---------- */
@media (max-width: 1100px) {
  .booking-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .booking-promise { padding: 26px 24px; }
}
@media (max-width: 900px) {
  .aftercare .ac-faq { --faq-photo-h: 260px; }
  .aftercare .ac-faq .ac-container::after { grid-row: 2; align-self: start; margin: calc(var(--faq-photo-h) - 64px) 0 0 16px; }
  .booking-section { grid-template-columns: 1fr; border-radius: 26px; }
  .booking-steps h2 { margin-bottom: 28px; font-size: 26px; }
  .booking-steps ol { gap: 26px; }
  .inline-booking { padding: 28px 20px 22px; border-radius: 24px; }
  .inline-booking h3 { font-size: 20px; margin-bottom: 22px; }
}
@media (max-width: 600px) {
  .booking-field input, .cs-trigger { font-size: 16px; }
  .cal-panel { width: auto; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-panel { transition: none; }
  .booking-field.has-error { animation: none; }
}

/* ---------- 8. Footer columns — premium glass cards ---------- */
.aftercare .footer-grid { row-gap: 0; }
.aftercare .footer-column:not(.footer-newsletter) {
  position: relative; margin-top: 0; padding: 30px 28px 32px !important;
  border: 1px solid #ffffff14 !important; border-radius: 22px;
  background: linear-gradient(160deg, #ffffff0f, #ffffff03 60%);
  box-shadow: inset 0 1px 0 #ffffff12, 0 24px 48px -32px #000c;
  transition: border-color .4s, background .4s, transform .5s cubic-bezier(.22,1,.36,1);
}
.aftercare .footer-column:not(.footer-newsletter):hover { border-color: #5fe3ec40 !important; background: linear-gradient(160deg, #ffffff14, #ffffff05 60%); }
.aftercare .footer-grid { column-gap: 20px; }
.aftercare .footer-column h2, .aftercare .footer-hours h3 { position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.aftercare .footer-column h2::after, .aftercare .footer-hours h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #00c4c9, #5fe3ec00);
}
.aftercare .footer-hours h3 { margin-top: 26px; }

/* Links: animated accent line */
.aftercare .footer-column ul a, .aftercare .footer-column li button { display: inline-flex; align-items: center; color: #c9dbe5; }
.aftercare .footer-column ul a:hover, .aftercare .footer-column li button:hover { translate: 0 0; color: #fff; }
.aftercare .footer-column:not(.footer-contact) li a::before, .aftercare .footer-column li button::before {
  content: ""; width: 0; height: 2px; margin-right: 0; border-radius: 2px; background: linear-gradient(90deg, #00c4c9, #5fe3ec);
  transition: width .35s cubic-bezier(.22,1,.36,1), margin .35s cubic-bezier(.22,1,.36,1);
}
.aftercare .footer-column:not(.footer-contact) li a:hover::before, .aftercare .footer-column li button:hover::before { width: 14px; margin-right: 10px; }
.aftercare .footer-column ul { gap: 14px; }

/* Contact + hours icons in glowing badges */
.aftercare .footer-contact ul { gap: 16px; }
.aftercare .footer-contact li { align-items: center; gap: 14px; }
.aftercare .footer-contact li svg, .aftercare .footer-hours-row > svg {
  box-sizing: content-box; width: 17px; height: 17px; margin: 0; padding: 10px; flex-shrink: 0;
  border-radius: 12px; color: #6fe0ec;
  background: linear-gradient(140deg, #00a7b833, #00708f1a); box-shadow: inset 0 0 0 1px #5fe3ec33;
}
.aftercare .footer-contact li a { overflow-wrap: anywhere; transition: color .25s; }
.aftercare .footer-contact li a:hover { color: #fff; }
.aftercare .footer-hours-row { align-items: center; gap: 14px; }
.aftercare .footer-hours-row > p { line-height: 1.6; }

/* Live open / closed status */
.footer-status {
  display: inline-flex; align-items: center; gap: 8px; margin: -8px 0 18px; padding: 6px 12px;
  border-radius: 999px; font: 700 12px/1 Lato, Arial, sans-serif; letter-spacing: .04em;
  background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff1f; color: #c9dbe5;
}
.footer-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a9ba8; }
.footer-status.is-open { color: #9ff5d6; box-shadow: inset 0 0 0 1px #3fdc9f40; background: #3fdc9f14; }
.footer-status.is-open::before { background: #3fdc9f; box-shadow: 0 0 0 0 #3fdc9f80; animation: status-pulse 2s ease-out infinite; }
@keyframes status-pulse { 70%, 100% { box-shadow: 0 0 0 7px #3fdc9f00; } }

/* Socials */
.aftercare .footer-column .footer-socials button { width: 42px; height: 42px; border-radius: 12px; }

@media (max-width: 1100px) { .aftercare .footer-column:not(.footer-newsletter) { padding: 26px 20px 28px !important; } }
@media (max-width: 900px) {
  .aftercare .footer-grid { gap: 16px; }
  .aftercare .footer-brand-column { padding-bottom: 20px; }
  .aftercare .footer-newsletter { margin: 0 0 4px; }
  .aftercare .footer-column:not(.footer-newsletter) { padding: 24px 20px 26px !important; border-top: 1px solid #ffffff14 !important; }
}
@media (prefers-reduced-motion: reduce) { .footer-status.is-open::before { animation: none; } }

/* ---------- 9. Footer — "wow" layer ---------- */
/* Slow aurora light behind the footer */
.footer-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.footer-aurora span { position: absolute; width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; border-radius: 50%; will-change: transform; }
.footer-aurora span:nth-child(1) { left: -14%; top: -38%; background: radial-gradient(circle, #0a86a866 0, transparent 62%); animation: aurora-a 24s ease-in-out infinite alternate; }
.footer-aurora span:nth-child(2) { right: -12%; top: -6%; background: radial-gradient(circle, #1166a055 0, transparent 62%); animation: aurora-b 28s ease-in-out infinite alternate; }
.footer-aurora span:nth-child(3) { left: 30%; top: 18%; width: 36vw; height: 36vw; background: radial-gradient(circle, #00c4c92e 0, transparent 62%); animation: aurora-c 20s ease-in-out infinite alternate; }
@keyframes aurora-a { to { transform: translate(22%, 26%) scale(1.15); } }
@keyframes aurora-b { to { transform: translate(-20%, 18%) scale(1.2); } }
@keyframes aurora-c { to { transform: translate(-25%, -12%) scale(.9); } }

/* Brand */
.aftercare .footer-brand > img { filter: drop-shadow(0 0 22px #00c4c966); }
.aftercare .footer-brand-column > p {
  max-width: 380px; margin-top: 22px; font: 800 clamp(20px, 1.8vw, 26px)/1.25 Montserrat, Arial, sans-serif; letter-spacing: -.6px;
  background: linear-gradient(100deg, #ffffff 30%, #8ff3f1); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Cursor spotlight on every card */
.aftercare .footer-column:not(.footer-newsletter)::before, .aftercare .footer-newsletter::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), #5fe3ec1f, transparent 62%);
}
.aftercare .footer-column:hover::before, .aftercare .footer-newsletter:hover::before { opacity: 1; }
.aftercare .footer-newsletter { position: relative; }
.aftercare .footer-column > *, .aftercare .footer-newsletter > * { position: relative; z-index: 1; }

/* Icon link rows */
.aftercare .footer-column ul.fl-list { gap: 4px; margin: 0 -10px; }
.aftercare .footer-column .fl-link {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 7px 10px; border-radius: 12px;
  color: #c9dbe5; text-align: left; font-size: 15px; line-height: 1.35; cursor: pointer;
  transition: background .3s, color .3s;
}
.aftercare .footer-column .fl-link::before { display: none !important; }
.aftercare .footer-column .fl-link:hover { translate: 0 0; background: #ffffff0b; color: #fff; }
.aftercare .fl-ico {
  display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: #ffffff0a; box-shadow: inset 0 0 0 1px #ffffff17; color: #6fe0ec;
  transition: background .35s, box-shadow .35s, color .35s, transform .45s cubic-bezier(.22,1,.36,1);
}
.aftercare .fl-ico svg { width: 17px; height: 17px; }
.aftercare .fl-txt { flex: 1; min-width: 0; }
.aftercare .fl-arrow { width: 14px !important; height: 12px !important; flex-shrink: 0; color: #5fe3ec; opacity: 0; translate: -8px 0; transition: opacity .3s, translate .4s cubic-bezier(.22,1,.36,1); }
.aftercare .fl-link:hover .fl-ico { background: linear-gradient(140deg, #00a7b8, #00708f); box-shadow: 0 10px 20px -8px #00c4c9a0; color: #fff; transform: scale(1.06) rotate(-4deg); }
.aftercare .fl-link:hover .fl-arrow { opacity: 1; translate: 0 0; }

/* Contact rows react too */
.aftercare .footer-contact li svg { transition: background .35s, color .35s, transform .45s cubic-bezier(.22,1,.36,1); }
.aftercare .footer-contact li:hover svg { background: linear-gradient(140deg, #00a7b8, #00708f); color: #fff; transform: scale(1.06) rotate(-4deg); }

/* Social buttons: brand-tinted glow on hover */
.aftercare .footer-column .footer-socials button { transition: background .3s, transform .4s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.aftercare .footer-column .footer-socials button:hover { transform: translateY(-3px); }

/* Copyright stays readable over the artwork */
.aftercare .footer-bottom-inner > p:first-child {
  padding: 9px 16px; border-radius: 999px; background: #011627b3; box-shadow: inset 0 0 0 1px #ffffff14;
  backdrop-filter: blur(6px); color: #b9cdd8;
}

@media (max-width: 900px) {
  .footer-aurora span { width: 110vw; height: 110vw; }
  .aftercare .footer-brand-column > p { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .footer-aurora span { animation: none; } }
.aftercare .footer-brand-column > p { max-width: 480px; }
@media (max-width: 600px) {
  .aftercare .footer-column:not(.footer-newsletter) { grid-column: 1 / -1; }
  .aftercare .footer-grid > nav.footer-column:first-of-type ul.fl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aftercare .footer-bottom-inner > p:first-child { padding: 0; background: none; box-shadow: none; backdrop-filter: none; }
}

/* ---------- 10. Footer without top row: cards first, compact brand in the bottom bar ---------- */
.aftercare .footer-grid { padding-top: clamp(64px, 6vw, 88px); padding-bottom: 56px; }
.aftercare .footer-column:not(.footer-newsletter) { grid-row: auto; }
.footer-bottom-brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-mini-brand { display: flex; align-items: center; gap: 6px; color: #fff; }
.footer-mini-brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 14px #00c4c966); }
.footer-mini-brand span { display: grid; gap: 3px; font: 800 19px/1 Montserrat, Arial, sans-serif; letter-spacing: -.6px; }
.footer-mini-brand small { font: 700 7.5px/1 Lato, Arial, sans-serif; letter-spacing: 1.8px; color: #6fe0ec; }
.footer-copy {
  margin: 0; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; line-height: 1.4; color: #b9cdd8;
  background: #011627b3; box-shadow: inset 0 0 0 1px #ffffff14; backdrop-filter: blur(6px);
}
@media (max-width: 900px) {
  .aftercare .footer-grid { padding-top: 48px; padding-bottom: 32px; }
}
@media (max-width: 600px) {
  .footer-bottom-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-copy { padding: 0; background: none; box-shadow: none; backdrop-filter: none; }
}

.footer-bottom-inner { justify-content: flex-end; }

/* ---------- 11. Our Products — premium mobile / tablet (photo hero + icon chips) ---------- */
@media (max-width: 900px) {
  .products-section.products-reference {
    display: flex; flex-direction: column; padding: 14px 14px 22px; overflow: hidden;
    border: 1px solid transparent; border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #f4faf6) padding-box,
                linear-gradient(150deg, #d5eedd, #ffffff 45%, #cfe9ef) border-box;
    box-shadow: 0 2px 4px #0a2e4a08, 0 30px 60px -36px #0a3a5a55;
  }
  /* Photo becomes the hero of the card */
  .products-reference .product-visual {
    order: -1; width: 100%; max-width: none; height: auto; aspect-ratio: 16 / 10; margin: 0;
    border-radius: 20px; overflow: hidden;
    background: radial-gradient(65% 60% at 50% 70%, #d9f1dc 0, #eef8f1 55%, #f7fbf8 100%);
  }
  .products-reference .product-visual > .generated-product-art {
    inset: 8% 4% 0; width: 92%; height: 92%; object-fit: contain; object-position: center bottom;
    filter: drop-shadow(0 18px 20px #2f5a4038);
  }
  .products-reference .planet-label {
    top: 12px; right: 12px; transform: none; padding: 7px 12px; border-radius: 999px;
    border: 1px solid #fff; background: #ffffffe6; backdrop-filter: blur(6px);
    box-shadow: 0 8px 18px -10px #2f5a4066; font-size: 9px; line-height: 1.4; letter-spacing: .06em;
  }
  .products-reference .planet-label br { display: none; }
  .products-reference .planet-label svg { width: 13px; height: 13px; vertical-align: -2px; }

  .products-reference .products-panel { padding: 24px 4px 0; text-align: center; }
  .products-reference .products-panel::before {
    content: "✦  ECO-CONSCIOUS CARE"; display: inline-flex; margin-bottom: 12px; padding: 7px 14px;
    border: 1px solid #cfe8d4; border-radius: 999px; background: #f1faf2;
    font: 700 10px/1 Lato, Arial, sans-serif; letter-spacing: .22em; color: #3b7d3f;
  }
  .products-reference .products-panel h2 { margin: 0 0 20px; font-size: 26px; letter-spacing: -.6px; }
  .products-reference .products-panel h2::after { display: none; }

  /* Icon chips */
  .products-reference .products-list,
  .products-reference .products-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; }
  .products-reference .products-list li,
  .products-reference .products-list li:nth-child(n) {
    grid-column: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px;
    min-height: 62px; padding: 10px 12px 10px 10px; text-align: left;
    border: 1px solid #e3efe8; border-radius: 16px; background: #fff;
    box-shadow: 0 1px 2px #0a2e4a08, 0 10px 20px -16px #2f6e3a40;
    font-size: 12.5px; line-height: 1.3; letter-spacing: 0; color: #12304d;
  }
  .products-reference .products-list li:nth-child(5) { grid-column: 1 / -1; justify-content: center; }
  .products-reference .products-list li br { display: none; }
  .products-reference .product-seal { width: 40px; height: 40px; flex-shrink: 0; }
  .products-reference .product-seal img { width: 62%; height: 62%; }
  .products-reference .products-list li:hover .product-seal { transform: none; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .products-reference .product-visual { aspect-ratio: 21 / 9; }
  .products-reference .products-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products-reference .products-list li:nth-child(4) { grid-column: auto; }
  .products-reference .products-list li:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 360px) {
  .products-section.products-reference { padding-inline: 10px; }
  .products-reference .products-list li, .products-reference .products-list li:nth-child(n) { font-size: 11.5px; padding-inline: 8px; gap: 8px; }
  .products-reference .product-seal { width: 36px; height: 36px; }
}

/* ---------- 12. Booking — premium mobile layout ---------- */
@media (max-width: 760px) {
  .booking-section { padding: 30px 18px 22px; gap: 26px; }
  .booking-steps { text-align: center; }
  .booking-steps::before { margin-bottom: 16px; }
  .booking-steps h2 { margin-bottom: 22px; font-size: clamp(21px, 6.2vw, 26px); line-height: 1.25; }
  .booking-steps ol {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 20px 8px 18px;
    border: 1px solid #ffffff1a; border-radius: 20px; background: linear-gradient(160deg, #ffffff12, #ffffff04);
  }
  .booking-steps li { flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 12.5px; line-height: 1.35; }
  .booking-steps li:not(:last-child)::after {
    top: 26px; bottom: auto; left: calc(50% + 34px); width: calc(100% + 8px - 68px); height: 2px;
    background: linear-gradient(90deg, #5fe3ec99, #5fe3ec22);
  }
  .booking-steps .step-icon { width: 52px; height: 52px; box-shadow: 0 0 0 5px #ffffff12, 0 12px 22px -12px #000b; }
  .inline-booking { padding: 26px 18px 20px; box-shadow: 0 30px 60px -30px #000d; }
  .inline-booking h3 { font-size: 20px; }
  .inline-booking h3::after { font-size: 13.5px; }
  .booking-promise { margin: 0; padding: 26px 16px 24px; }
  .booking-promise .script-heading { margin-bottom: 22px; font-size: 40px; }
  .js-reveal .booking-steps.rv, .js-reveal .booking-promise.rv { translate: 0 30px; }
  .js-reveal .booking-steps.rv.in, .js-reveal .booking-promise.rv.in { translate: 0 0; }
}
@media (max-width: 360px) {
  .booking-section { padding-inline: 14px; }
  .booking-steps li { font-size: 11.5px; }
  .booking-steps .step-icon { width: 46px; height: 46px; }
  .booking-steps li:not(:last-child)::after { top: 23px; left: calc(50% + 31px); width: calc(100% + 8px - 62px); }
}

/* ---------- 13. Perth service banner — premium mobile card ---------- */
@media (max-width: 760px) {
  .perth-footer {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    height: clamp(330px, 92vw, 400px); margin-inline: var(--page-gutter); padding: 28px 18px 0;
    border: 1px solid #ffffffcc; border-radius: 26px; overflow: hidden;
    background:
      linear-gradient(180deg, #f5fbfcf7 0%, #f5fbfce0 30%, #f5fbfc00 56%),
      #dfeff4 url('assets/perth-footer.png') 72% bottom / auto 100% no-repeat;
    box-shadow: 0 2px 4px #0a2e4a08, 0 30px 60px -34px #0a3a5a66;
  }
  .perth-footer > a { width: min(200px, 58vw); }
  .perth-footer > p {
    position: relative; inset: auto; display: inline-flex; align-items: center; gap: 10px;
    margin: 14px 0 0; padding: 10px 16px 10px 12px; text-align: left;
    border: 1px solid #ffffff; border-radius: 999px; background: #ffffffd9; backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px -14px #0a3a5a66; font-size: 12px; line-height: 1.35; color: #0b2340;
  }
  .perth-footer > p > svg { width: 20px; height: 24px; color: #00a7b8; }
}

/* ---------- 14. Footer bottom — premium mobile signature ---------- */
@media (max-width: 900px) {
  .aftercare .footer-bottom { padding: 30px 0 clamp(110px, 30vw, 150px); border-top: 0; }
  .aftercare .footer-bottom-inner { flex-direction: column; align-items: center; justify-content: center; gap: 0; }
  .aftercare .footer-bottom-inner::before {
    content: ""; display: block; width: 60px; height: 2px; margin-bottom: 26px; border-radius: 2px;
    background: linear-gradient(90deg, #5fe3ec00, #5fe3ec, #5fe3ec00);
  }
  .aftercare .footer-signature {
    align-self: center; margin: 0; font-size: clamp(44px, 12.5vw, 56px); line-height: .9; text-align: center; transform: rotate(-3deg);
    text-shadow: 0 0 24px #00c4c966;
  }
  .aftercare .footer-signature span { padding-left: 0; }
  .aftercare .footer-signature svg { width: 22px; height: 26px; color: #6fe0ec; }
}
/* The signature is now the only paragraph: drop the old copyright pill styling from it. */
.aftercare .footer-bottom-inner > p.footer-signature { font-size: 34px; padding: 0; background: none; box-shadow: none; backdrop-filter: none; color: #fff; }
@media (max-width: 900px) { .aftercare .footer-bottom-inner > p.footer-signature { font-size: clamp(44px, 12.5vw, 56px); } }
