/* ============================================================
   Melted Mane — Brand Stylesheet
   Palette: Black #0a0a0a · Gray #2e2e2e · Blue-gray #667e87
   ============================================================ */

:root {
  --cnvs-themecolor: #667e87;
  --cnvs-themecolor-rgb: 102,126,135;
  --mm-black: #0a0a0a;
  --mm-dark: #1a1a1a;
  --mm-charcoal: #2e2e2e;
  --mm-gray: #555;
  --mm-silver: #999;
  --mm-light-gray: #e8e8e8;
  --mm-bluegray: #667e87;
  --mm-bluegray-light: #8fa5af;
  --mm-bluegray-pale: #d0dde1;
  --mm-cream: #f6f4f2;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Typography ── */
body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #2e2e2e;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  letter-spacing: 0.12em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 200; }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 200; letter-spacing: 0.14em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 300; letter-spacing: 0.1em; }

p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.85;
  color: #444;
  text-wrap: pretty;
  max-width: 70ch;
}

/* ── Global page background ── */
#wrapper { background: #fff; }

/* ── Header ── */
#header { background: var(--mm-black) !important; }
#header #header-wrap { background: var(--mm-black) !important; }
#header .menu-link { color: rgba(255,255,255,0.82) !important; letter-spacing: 0.1em; font-family: 'Raleway', sans-serif; font-weight: 300; font-size: 0.78rem; text-transform: uppercase; transition: color 200ms var(--ease-out); }
#header .menu-link:hover { color: var(--mm-bluegray) !important; }
#header .menu-item.current > .menu-link,
#header .menu-item.active > .menu-link { color: var(--mm-bluegray) !important; }
#header #logo a { display: flex; align-items: center; }
/* logo sizing handled by Canvas Framework */
#header #logo img { filter: brightness(0) invert(1); }

/* cnvs-hamburger color */
#header .cnvs-hamburger-inner,
#header .cnvs-hamburger-inner::before,
#header .cnvs-hamburger-inner::after { background-color: #fff !important; }

/* ── Hero sections ── */
.mm-hero {
  height: 540px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.72) 0%, rgba(102,126,135,0.25) 100%);
  z-index: 1;
}
.mm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.mm-hero-content h1,
.mm-hero-content h2 {
  color: #fff;
  font-weight: 100;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.mm-hero-content .mm-hero-sub {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* compensate for letter-spacing optical right-shift */
  text-transform: uppercase;
  color: var(--mm-bluegray-pale);
  margin-bottom: 2rem;
  text-align: center;
  max-width: none;
  width: 100%;
  display: block;
}
.mm-hero-content .mm-divider {
  width: 60px;
  height: 1px;
  background: var(--mm-bluegray);
  margin: 0 auto 1.5rem;
}

/* ── Outlined Buttons ── */
.mm-btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 2.2rem;
  border: 1px solid #4a6470;
  color: #4a6470;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mm-btn:hover {
    background: #4a6470;
    color: #fff;
    border-color: #4a6470;
  }
}
.mm-btn-light {
  border-color: rgba(255,255,255,0.7);
  color: rgba(255,255,255,0.9);
}
@media (hover: hover) and (pointer: fine) {
  .mm-btn-light:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
  }
}
.mm-btn-dark {
  border-color: var(--mm-charcoal);
  color: var(--mm-charcoal);
}
@media (hover: hover) and (pointer: fine) {
  .mm-btn-dark:hover {
    background: var(--mm-charcoal);
    color: #fff;
  }
}
.mm-btn:active { transform: scale(0.97); }

/* ── Section headings ── */
.mm-section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #4a6470;
  margin-bottom: 0.75rem;
  display: block;
}
/* on dark/charcoal backgrounds, lighten the label */
.mm-section-dark .mm-section-label,
.mm-section-charcoal .mm-section-label { color: var(--mm-bluegray-light); }
.mm-section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  letter-spacing: 0.12em;
  color: var(--mm-black);
  margin-bottom: 1.25rem;
}
.mm-rule {
  width: 50px;
  height: 1px;
  background: var(--mm-bluegray);
  margin-bottom: 2rem;
}

/* ── Sections ── */
.mm-section-light { background: var(--mm-cream); }
.mm-section-dark { background: var(--mm-black); }
.mm-section-charcoal { background: var(--mm-charcoal); }
.mm-section-bluegray { background: var(--mm-bluegray); }

/* ── Welcome block ── */
.mm-welcome { padding: 6rem 0; }
.mm-welcome p { font-size: 1.05rem; line-height: 2; color: #555; max-width: 72ch; }

/* ── Service cards ── */
.mm-service-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--mm-light-gray);
  text-align: center;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mm-service-card:hover {
    border-color: var(--mm-bluegray);
    box-shadow: 0 8px 30px rgba(102,126,135,0.12);
  }
}
.mm-service-card .mm-service-icon {
  font-size: 2rem;
  color: var(--mm-bluegray);
  margin-bottom: 1.25rem;
  display: block;
}
.mm-service-card h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--mm-black);
  margin-bottom: 0.75rem;
}
.mm-service-card p {
  font-size: 0.88rem;
  color: var(--mm-gray);
  max-width: none;
  line-height: 1.7;
}
.mm-service-price {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--mm-bluegray);
  margin-top: 1rem;
  display: block;
}

/* ── Gallery grid ── */
.mm-gallery-item {
  overflow: hidden;
  position: relative;
}
.mm-gallery-item img {
  width: 100%;
  display: block;
  transition: transform 500ms var(--ease-out);
  aspect-ratio: 1/1;
  object-fit: cover;
}
@media (hover: hover) and (pointer: fine) {
  .mm-gallery-item:hover img { transform: scale(1.06); }
}
.mm-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mm-gallery-item:hover .mm-gallery-item-overlay { opacity: 1; }
}
.mm-gallery-item-overlay i { color: #fff; font-size: 1.5rem; }

/* ── Video cards ── */
.mm-video-card {
  position: relative;
  overflow: hidden;
  background: var(--mm-black);
}
.mm-video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}
.mm-video-thumb {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
}
.mm-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.4);
  transition: background 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mm-video-thumb:hover .mm-video-play { background: rgba(102,126,135,0.5); }
}
.mm-video-play i { font-size: 3.5rem; color: rgba(255,255,255,0.9); }

/* ── Review cards ── */
.mm-review-card {
  padding: 2.5rem;
  border: 1px solid var(--mm-light-gray);
  position: relative;
}
.mm-review-stars { color: var(--mm-bluegray); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.mm-review-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1.5rem;
  max-width: none;
}
.mm-review-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mm-black);
}
.mm-review-date { font-size: 0.78rem; color: #666; margin-top: 0.25rem; }
.mm-review-quote {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--mm-bluegray-pale);
  font-family: Georgia, serif;
  line-height: 1;
}

/* ── About page ── */
.mm-about-lead { font-size: 1.15rem; line-height: 2; font-weight: 300; color: #444; max-width: 68ch; }
.mm-about-stat {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--mm-light-gray);
}
.mm-about-stat:last-child { border-right: none; }
.mm-about-stat .mm-stat-number {
  font-family: 'Raleway', sans-serif;
  font-weight: 100;
  font-size: 3.5rem;
  letter-spacing: 0.05em;
  color: var(--mm-bluegray);
  line-height: 1;
  display: block;
}
.mm-about-stat .mm-stat-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mm-gray);
  margin-top: 0.5rem;
  display: block;
}
/* on dark backgrounds the stat label needs enough contrast */
.mm-section-dark .mm-about-stat .mm-stat-label { color: rgba(255,255,255,0.7); }

/* ── Contact form ── */
.mm-contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.mm-contact-info-item i {
  color: var(--mm-bluegray);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.mm-contact-info-item p { margin: 0; font-size: 0.92rem; color: #555; max-width: none; }
.mm-contact-info-item strong { font-weight: 400; font-family: 'Raleway', sans-serif; letter-spacing: 0.08em; color: var(--mm-black); display: block; margin-bottom: 0.2rem; }

/* form fields */
.mm-form-group { margin-bottom: 1.5rem; }
.mm-form-group label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mm-gray);
  margin-bottom: 0.5rem;
}
.mm-form-group input,
.mm-form-group textarea,
.mm-form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border: 1px solid #999999;
  padding: 0.75rem 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--mm-black);
  outline: none;
  transition: border-color 200ms var(--ease-out);
}
.mm-form-group input:focus,
.mm-form-group textarea:focus,
.mm-form-group select:focus {
  border-bottom-color: var(--mm-bluegray);
}
.mm-form-group textarea { resize: vertical; min-height: 120px; }

/* ── Page title bands (inner pages) ── */
.mm-page-title {
  background: var(--mm-dark);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.mm-page-title h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 100;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}
.mm-page-title .mm-breadcrumb {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mm-bluegray-light);
  margin-top: 0.5rem;
}

/* ── Dark section overrides ── */
.mm-section-dark h2,
.mm-section-dark h3,
.mm-section-dark p,
.mm-section-dark .mm-section-title { color: #e8e8e8; }
.mm-section-dark p { color: rgba(255,255,255,0.65); }
.mm-section-dark .mm-section-label { color: var(--mm-bluegray-light); }
.mm-section-dark .mm-rule { background: var(--mm-bluegray-light); }

/* ── Footer ── */
#footer {
  --cnvs-footer-bg: #0a0a0a;
  --cnvs-footer-top-border: 1px solid rgba(255,255,255,0.08);
  --cnvs-copyrights-link-color: rgba(255,255,255,0.45);
}
#footer .widget-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
#footer a { color: rgba(255,255,255,0.6) !important; transition: color 200ms var(--ease-out); }
#footer a:hover { color: var(--mm-bluegray) !important; }
.mm-footer-brand {
  font-family: 'Raleway', sans-serif;
  font-weight: 100;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}
.mm-footer-brand span { color: var(--mm-bluegray); }
.mm-footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 30ch; }
.mm-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out) !important;
  cursor: pointer;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .mm-social-link:hover {
    border-color: var(--mm-bluegray) !important;
    color: var(--mm-bluegray) !important;
  }
}
#copyrights { background: #050505; border-top: 1px solid rgba(255,255,255,0.06); padding: 1.25rem 0; text-align: center; }
#copyrights, #copyrights a { font-family: 'Raleway', sans-serif; font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.35) !important; }
#copyrights a:hover { color: var(--mm-bluegray) !important; }

/* ── Animations ── */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
}

/* ── Swiper carousel ── */
.mm-testimonial-carousel .swiper-pagination-bullet { background: var(--mm-bluegray); opacity: 0.4; }
.mm-testimonial-carousel .swiper-pagination-bullet-active { opacity: 1; }

/* ── Utility ── */
.mm-gap-section { padding: 5rem 0; }
.mm-gap-section-sm { padding: 3.5rem 0; }
.mm-text-bluegray { color: var(--mm-bluegray); }
.mm-text-upper { text-transform: uppercase; letter-spacing: 0.15em; }

/* focus visible */
a:focus-visible, button:focus-visible { outline: 2px solid var(--mm-bluegray); outline-offset: 3px; }

/* ── Services page specific ── */
.mm-service-row { padding: 3.5rem 0; border-bottom: 1px solid var(--mm-light-gray); }
.mm-service-row:last-child { border-bottom: none; }
.mm-service-row h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--mm-black);
}
.mm-service-row .mm-service-desc { font-size: 0.93rem; color: #555; line-height: 1.8; max-width: none; }
.mm-service-row .mm-price-tag {
  font-family: 'Raleway', sans-serif;
  font-weight: 200;
  font-size: 2rem;
  color: var(--mm-bluegray);
  letter-spacing: 0.05em;
}
.mm-service-row .mm-price-note { font-size: 0.72rem; color: var(--mm-silver); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Specialty badge ── */
.mm-badge {
  display: inline-block;
  border: 1px solid var(--mm-bluegray);
  color: var(--mm-bluegray);
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.5rem;
}

/* ── Video page ── */
.mm-video-card-wrap { margin-bottom: 2.5rem; }
.mm-video-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mm-gray);
  margin-top: 1rem;
}

/* ── Reviews page ── */
.mm-rating-summary {
  text-align: center;
  padding: 3rem;
  background: var(--mm-black);
  color: #fff;
}
.mm-rating-big {
  font-family: 'Raleway', sans-serif;
  font-weight: 100;
  font-size: 5rem;
  letter-spacing: 0.05em;
  color: var(--mm-bluegray);
  line-height: 1;
  display: block;
}
.mm-rating-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.5rem; display: block; }

/* ── Map placeholder ── */
.mm-map {
  width: 100%;
  height: 350px;
  background: var(--mm-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.08);
}
